
:root {
    --pink: #FF6B9D;
    --teal: #4ECDC4;
    --yellow: #FFDB5E;
    --purple: #C76BFF;
    --light: #FFF8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(180deg, #FFF8F0 0%, #F5E8D3 100%);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Images should never overflow their containers */
img { max-width: 100%; height: auto; display: block; }

/* ===== PRODUCT BODY ===== */
.product-body{
    padding:28px 26px;
    text-align:left;
}

/* TITLE */
.product-title{
    font-size:1.5rem;
    font-weight:800;
    margin-bottom:6px;
    color:#333;
    letter-spacing:.3px;
}

/* META INFO */
.product-meta{
    font-size:.95rem;
    color:#777;
    margin-bottom:18px;
}

/* PRICE ROW */
.price-row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    margin-bottom:22px;
}

/* PRICE */
.price{
    font-size:2.2rem;
    font-weight:900;
    color:var(--pink);
}

/* OLD PRICE */
.old-price{
    font-size:1rem;
    color:#aaa;
}

/* BUTTON */
.btn-buy{
    background:linear-gradient(45deg,#FF6B9D,#FF9EBE);
    border:none;
    width:100%;
    padding:14px;
    border-radius:50px;
    font-size:1.1rem;
    font-weight:700;
    color:white;
    transition:.35s ease;
    letter-spacing:.4px;
}

.btn-buy:hover{
    transform:translateY(-3px) scale(1.04);
    box-shadow:0 12px 25px rgba(255,107,157,.25);
}


/* Floating magical elements */
.floating-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floaty {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.18;
    animation: floatUp 25s linear infinite;
    z-index: 1;
}

.sparkle {
    position: absolute;
    font-size: 1.4rem;
    color: #FFDB5E;
    animation: twinkle 1.8s infinite alternate;
    z-index: 2;
}

@keyframes floatUp {
    0% {
        transform: translateY(120vh) rotate(0deg);
    }

    100% {
        transform: translateY(-120vh) rotate(360deg);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: scale(0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1030;
}

/* Mobile hamburger placement */
.hamburger{
    position: fixed;
    top: calc(var(--nav-height, 64px) / 2 - 17px);
    right: 16px;
    background: transparent;
    border-radius: 8px;
    padding: 6px;
    z-index: 1045;
    cursor: pointer;
}

.hamburger:focus{outline:none; box-shadow:0 0 0 4px rgba(78,205,196,0.12);}

/* Mobile dropdown look */
.mobile-menu{
    position: fixed;
    top: calc(var(--nav-height, 64px) + 8px);
    left: 12px;
    right: 12px;
    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    z-index: 1040;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mobile-nav{ padding: 10px 14px; }
.mobile-link{ padding: 14px 10px; font-size: 1.05rem; }
.mobile-link.btn{ display:inline-block; width:100%; text-align:center; padding:10px 12px; border-radius:10px; }

/* Smooth open using max-height; make sure it clips nicely */
.mobile-menu{ max-height:0; overflow:hidden; transition: max-height .36s cubic-bezier(.2,.9,.2,1), opacity .25s ease, transform .28s ease; opacity:0; transform:translateY(-6px); }
.mobile-menu.active{ max-height:420px; opacity:1; transform:translateY(0); }

/* Slightly bolder shop button in mobile menu */
.mobile-link.btn-explore{ background: linear-gradient(45deg, var(--pink), var(--teal)); color: #fff; font-weight:800; }

@media(min-width:992px){
    /* hide mobile-specific fixed elements if something slips through */
    .hamburger, .mobile-menu{ display:none !important; }
}

/* Mobile Nav Slider (small screens) */
/* ===========================
   MOBILE NAVBAR BAR
=========================== */

.mobile-navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 4px 14px rgba(0,0,0,0.05);
    z-index:9999;
}

.mobile-nav-inner{
    height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
}

.mobile-logo{
    font-weight:600;
    font-size:16px;
}

/* ===========================
   HAMBURGER ICON
=========================== */

.hamburger{
    width:34px;
    height:34px;
    border:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
}

.hamburger span{
    width:22px;
    height:2px;
    background:#333;
    transition:.3s;
}

/* Animate into X */
.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(4px,4px);
}
.hamburger.active span:nth-child(2){
    opacity:0;
}
.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(5px,-5px);
}

/* ===========================
   DROPDOWN MENU
=========================== */

.mobile-menu{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    padding:0 16px;
}

.mobile-menu.active{
    max-height:300px;
    padding-bottom:12px;
}

.mobile-link{
    display:block;
    padding:12px 0;
    text-decoration:none;
    color:#333;
    font-weight:500;
    border-bottom:1px solid #f2f2f2;
}

.mobile-link:last-child{
    border-bottom:none;
}
/* Make headings respect navbar when using anchor navigation */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height, 56px) + 12px); }
h1, h2, h3, h4, h5, h6 { scroll-margin-top: calc(var(--nav-height, 56px) + 12px); }


.logo {
    font-family: "Comic Sans MS", cursive;
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--pink), var(--teal), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.brand-logo{
    height:50px;        /* desktop size */
    width:auto;
    object-fit:contain;
    transition:0.3s ease;
}

.brand-logo:hover{
    transform:scale(1.05);
}

@media (max-width:768px){
    .brand-logo{
height:38px;
    }
}



.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--pink) !important;
    transform: scale(1.08);
}

/* Hero */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height, 64px) + 26px);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(90deg, #FF6B9D, #4ECDC4, #FFDB5E);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero .lead {
    font-size: 1.35rem;
    color: #555;
    max-width: 420px;
}

.btn-explore {
    background: linear-gradient(45deg, var(--pink), var(--teal));
    border: none;
    color: white;
    font-weight: 700;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.btn-explore:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.5);
}

/* Open Book Animation */
.book-container {
    max-width: 680px;
    margin: 0 auto;
    perspective: 1800px;
}

.book {
    display: flex;
    height: 480px;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
    background: #f5e9d0;
    padding: 18px;
    gap: 8px;
}

.page {
    flex: 1;
    background: #fffef5;
    border-radius: 8px;
    box-shadow:
        inset 0 0 40px rgba(139, 69, 19, 0.08),
        0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 14px solid #f8f0e0;
}

.page-left {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    transform: rotateY(-6deg);
}

.page-right {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    transform: rotateY(6deg);
}

.page-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 18px 18px;
    position: relative;
}

.page-title {
    font-family: "Comic Sans MS", cursive;
    font-size: 1.65rem;
    color: #FF6B9D;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.mandala-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
    filter: drop-shadow(4px 8px 12px rgba(0, 0, 0, 0.25));
}

.crayon {
    position: absolute;
    font-size: 52px;
    left: 40px;
    bottom: 80px;
    z-index: 20;
    transition: all 900ms cubic-bezier(0.68, -0.55, 0.27, 1.55);
    filter: drop-shadow(3px 6px 8px rgba(0, 0, 0, 0.4));
    cursor: pointer;
}

       /* ===============================
   🎨 ARTORIA PRODUCT CARDS
================================ */

#books{
    padding:120px 0;
    background:linear-gradient(180deg,#fff9fb,#f6fffd);
    position:relative;
}

/* ===== SECTION TITLE (MAGIC TEXT) ===== */
.section-title{
    font-size:3rem;
    font-weight:900;
    background:linear-gradient(90deg,var(--pink),var(--purple),var(--teal));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    text-align:center;
    margin-bottom:3.5rem;
    letter-spacing:1px;
}

/* ===== PRODUCT CARD ===== */
.product-card{
    background:white;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,0.08);
    transition:all .6s cubic-bezier(.34,1.56,.64,1);
    height:100%;
    position:relative;
    isolation:isolate;
}

/* SOFT GLOW BORDER */
.product-card::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:30px;
    background:linear-gradient(120deg,#ffd6e6,#e6f9ff,#f3e6ff);
    opacity:0;
    z-index:-1;
    transition:.4s;
}

.product-card:hover::before{
    opacity:1;
}

/* PREMIUM HOVER */
.product-card:hover{
    transform:translateY(-12px) scale(1.05) rotate(1deg);
    box-shadow:0 35px 70px rgba(255,107,157,0.18);
}

/* SCROLL ENTRY ANIMATION */
.product-card.slide-left{
    opacity:0;
    transform:translateX(-120px) scale(.9);
}

.product-card.slide-right{
    opacity:0;
    transform:translateX(120px) scale(.9);
}

.product-card.visible{
    opacity:1;
    transform:translateX(0) scale(1);
}

/* ===== BOOK COVER AREA ===== */
.card-cover{
    height:280px;
    background-size:cover;
    background-position:center;
    position:relative;
    overflow:hidden;
}

/* SOFT LIGHT SWEEP ANIMATION */
.card-cover::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:rgba(255,255,255,.4);
    transform:skewX(-20deg);
    transition:.8s;
}

.product-card:hover .card-cover::before{
    left:150%;
}

/* FADE BOTTOM GRADIENT */
.card-cover::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,transparent 70%,rgba(255,255,255,.95));
}

/* ===== VOL BADGE ===== */
.vol-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:linear-gradient(45deg,#FFDB5E,#FFD166);
    color:#333;
    font-weight:900;
    padding:6px 22px;
    border-radius:50px;
    font-size:1rem;
    box-shadow:0 8px 20px rgba(255,219,94,.4);
}

/* ===== BODY ===== */
.card-body{
    padding:26px;
}

/* PRICE STYLE */
.price{
    font-size:2.2rem;
    font-weight:900;
    color:var(--pink);
    letter-spacing:.5px;
}

/* ===== BUY BUTTON ===== */
.btn-buy{
    background:linear-gradient(45deg,#FF6B9D,#FF9EBE,#ffc3d9);
    border:none;
    width:100%;
    padding:16px;
    border-radius:50px;
    font-size:1.2rem;
    font-weight:700;
    color:white;
    transition:.4s;
    position:relative;
    overflow:hidden;
}

/* BUTTON SHINE EFFECT */
.btn-buy::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:50%;
    height:100%;
    background:rgba(255,255,255,.4);
    transform:skewX(-20deg);
    transition:.6s;
}

.btn-buy:hover::before{
    left:140%;
}

.btn-buy:hover{
    transform:scale(1.06);
    box-shadow:0 15px 25px rgba(255,107,157,.25);
}

      /* ──────────────────────────────────────────────
   Attractive Benefits – Upgraded Style
─────────────────────────────────────────────── */
.bg-decor {
    background-size: 300px;
}

.benefit-card {
    perspective: 1200px;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover {
    transform: translateY(-16px) rotate(1.5deg);
    filter: drop-shadow(0 30px 40px rgba(255,107,157,0.18));
}

.card-front {
    background: white;
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    height: 100%;
    border: 3px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.benefit-card:hover .card-front::before {
    opacity: 1;
}

.icon-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.8rem;
    box-shadow: 
inset 0 6px 12px rgba(255,255,255,0.9),
0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}

.benefit-card:hover .icon-circle {
    transform: scale(1.12) rotate(8deg);
}

.benefit-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: #333;
    line-height: 1.2;
}

.benefit-text {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .icon-circle {
width: 90px;
height: 90px;
font-size: 3rem;
    }
    .benefit-title {
font-size: 1.4rem;
    }
}
.benefits-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
}

.benefit-square{
    flex:1;
    aspect-ratio:1/1;              /* makes perfect square */
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 12px 20px rgba(0,0,0,0.06);
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    transition:0.3s ease;
}

.benefit-square:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 30px rgba(0,0,0,0.1);
}

.benefit-icon{
    font-size:2rem;
    margin-bottom:10px;
}

.benefit-square p{
    font-size:0.9rem;
    font-weight:500;
    color:#444;
}
@media (max-width:768px){

    .benefits-row{
flex-direction:column;
gap:20px;
padding:10px 5px;
    }

    .benefit-square{
aspect-ratio:auto;          /* allow natural height on mobile */
padding:22px;
border-radius:20px;
display:flex;
flex-direction:row;         /* icon + text side-by-side */
align-items:center;
gap:15px;
text-align:left;

/* kids soft gradient */
background:linear-gradient(135deg,#fff7f2,#ffffff);

/* soft floating shadow */
box-shadow:0 14px 25px rgba(0,0,0,0.08);

transform:translateY(20px);
opacity:0;
animation:mobileFadeUp 0.6s ease forwards;
    }

    .benefit-square:nth-child(2){
animation-delay:0.15s;
    }

    .benefit-square:nth-child(3){
animation-delay:0.3s;
    }

    .benefit-icon{
font-size:2.2rem;
min-width:50px;
height:50px;
border-radius:14px;
background:#fff3e8;
display:flex;
align-items:center;
justify-content:center;
    }

    .benefit-square p{
font-size:1rem;
line-height:1.4;
    }
}

/* smooth entry animation */
@keyframes mobileFadeUp{
    to{
transform:translateY(0);
opacity:1;
    }
}


.mandala-frame {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.mandala-frame:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(255,107,157,0.25) !important;
}

.bg-gradient-soft {
    background: linear-gradient(135deg, #fff8f5 0%, #f0faff 100%);
}
/* Publisher */
#publisher {
    padding: 90px 0;
    background: linear-gradient(135deg, #F8F0E0, #FFF8F0);
}

/* Footer */
footer {
    background: linear-gradient(to top, #f5e8d3, #fff8f0);
    padding: 70px 0 30px;
}

.footer-link {
    color: #666;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--pink);
}

/* Responsive */
@media (max-width: 768px) {
    .book {
        height: 380px;
    }

    .page {
        border-width: 10px;
    }

    .crayon {
        font-size: 42px;
    }
}


/* ──────────────────────────────────────────────
   YouTube Shorts Section – Attractive Style
─────────────────────────────────────────────── */

.bg-gradient-soft {
    background: linear-gradient(135deg, #fff8f5 0%, #f0faff 100%);
}

.shorts-container {
    position: relative;
}

.shorts-grid {
    --bs-gutter-x: 1.5rem;
}

@media (max-width: 991px) {
    .shorts-grid {
flex-wrap: nowrap;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 1rem;
scrollbar-width: none; /* Firefox - progressive enhancement, ignored by unsupported browsers */
-ms-overflow-style: none; /* Internet Explorer and Edge */
    }
    
    .shorts-grid::-webkit-scrollbar {
display: none; /* Chrome, Safari, and Edge (Chromium) */
    }
    
    .shorts-item {
flex: 0 0 85%;
max-width: 320px;
scroll-snap-align: center;
    }
}

.short-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}

.short-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(255,107,157,0.22) !important;
    border-color: rgba(255,107,157,0.4);
}

.ratio-9x16 iframe {
    border-radius: 12px;
}

/* Optional subtle hover shine effect */
.short-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    border-radius: 1rem;
}

.short-card:hover::after {
    opacity: 1;
} 

/* Social + Contact Section */

.float-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 22s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -50px) rotate(12deg); }
}

.social-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover .social-circle {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.social-icons .social-link {
    transition: all 0.3s;
}

.social-icons .social-link:hover {
    transform: translateY(-6px);
}

.contact-card {
    transition: all 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(78,205,196,0.18) !important;
}

.form-control-lg.rounded-pill {
    padding: 0.9rem 1.6rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.form-control-lg.rounded-pill:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.25rem rgba(255,107,157,0.25);
}

.success-icon {
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}


.float-shape {
    position: absolute;
    border-radius: 50%;
    animation: floatGentle 24s infinite ease-in-out;
}

@keyframes floatGentle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, -60px) rotate(10deg); }
}

.main-book-frame, .kids-frame {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-book-frame:hover, .kids-frame:hover {
    transform: scale(1.04) rotate(2deg);
    box-shadow: 0 35px 70px rgba(255,107,157,0.25) !important;
}

.small-frame {
    transition: all 0.4s ease;
}

.small-frame:hover {
    transform: translateY(-8px) scale(1.08);
}

.highlight-pill {
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.highlight-pill:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,157,0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* .mandala-img{
    height: 390px;
} */

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color:#ff6b9d;
    border-radius:50%;
    padding:18px;
    background-size:60%;
}
.parent-note-box{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border:2px solid rgba(78,205,196,0.2);
}

.parent-title{
    color:var(--teal);
}

.parent-img{
    border-radius:14px;
    transition:0.4s ease;
}

.parent-note-box:hover .parent-img{
    transform:scale(1.05);
}

/* ===============================
ARTORIA FOOTER STYLE
================================ */
/* ===============================
   🌈 ARTORIA FOOTER PREMIUM STYLE
================================ */

.artoria-footer{
    background:linear-gradient(180deg,#fff0f5,#f3fcff);
    position:relative;
    text-align:center;
}

/* WAVE TOP SHAPE */
.footer-wave{
    position:absolute;
    top:-70px;
    left:0;
    width:100%;
    height:140px;
    background:radial-gradient(circle at 50% 120%, #fff0f5 60%, transparent 61%);
    pointer-events:none;
}

/* ===== LOGO ===== */
.footer-logo-wrap{
    display:flex;
    align-items:center;
    justify-content:center;   /* center logo */
    margin-bottom:10px;
}

.footer-logo-img{
    height:60px;
    width:auto;
    object-fit:contain;
    transition:.4s ease;
    filter:drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.footer-logo-img:hover{
    transform:scale(1.08) rotate(-3deg);
}

.footer-social a:hover i {
    transform: scale(1.2);
}

/* ===============================
   FLIPBOOK MODAL STYLES
================================ */
.flipbook-modal .modal-content {
    border: none;
    border-radius: 0;
}

#flipbook-wrapper {
    touch-action: none;
}

#book-element .page {
    background-color: white;
    overflow: hidden;
    /* Soft shadow to simulate paper depth */
    box-shadow: inset -2px 0 5px rgba(0,0,0,0.1); 
}

#book-element .page img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevent skewing by maintaining aspect ratio */
    background-color: white; /* Ensure gaps are white like paper */
    user-select: none;
    -webkit-user-drag: none;
}

/* Hard covers (front and back) */
#book-element .page.--hard {
    background-color: #fdfbf7;
    box-shadow: none;
}

/* Hide navigation overlay initially */
.flipbook-overlay {
    pointer-events: none;
}

/* ===== TEXT ===== */
.footer-text{
    color:#666;
    font-size:1.5rem;
    line-height:1.7;
    max-width:420px;
    margin:0 auto;
}

/* ===== TITLES ===== */
.footer-title{
    font-weight:700;
    color:var(--teal);
    margin-bottom:12px;
    text-align: center;
}

/* ===== LINKS ===== */
.footer-links{
    padding:0;
    text-align: center;
}

.footer-links li{
    margin-bottom:8px;
   font-size:1.5rem;
}

.footer-links a{
    text-decoration:none;
    color:#555;
    transition:.3s;
    font-weight:500;
    display:inline-block;
}

.footer-links a:hover{
    color:var(--pink);
    transform:translateX(6px);
}

/* ===== SOCIAL ICONS ===== */
.footer-social{
    justify-content:center;
}

.footer-social a{
    width:48px;
    height:48px;
    border-radius:14px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.3rem;
    color:var(--pink);
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
    transition:.4s ease;
}

.footer-social a:hover{
    transform:translateY(-6px) rotate(8deg) scale(1.05);
    background:linear-gradient(45deg,#ffd6e6,#e6f9ff);
}

/* ===== COPYRIGHT ===== */
.footer-copy{
    font-size:.95rem;
    color:#888;
    text-align:center;
}

/* ===============================
   📱 RESPONSIVE IMPROVEMENTS
================================ */

/* Tablet */
@media(max-width:992px){

.footer-text{
    max-width:100%;
}

}

/* Mobile */
@media(max-width:768px){

.artoria-footer{
    text-align:center;
}

.footer-logo-img{
    height:50px;
}

.footer-links a:hover{
    transform:none; /* smoother mobile */
}

.footer-social{
    justify-content:center;
    gap:14px;
}

}

/* Small Mobile */
@media(max-width:480px){

.footer-logo-img{
    height:42px;
}

.footer-social a{
    width:42px;
    height:42px;
    font-size:1.1rem;
}

}
.footer-bottom{
    font-size:.95rem;
    color:#888;
}

/* mobile spacing */
@media(max-width:768px){

.footer-bottom .col-md-4{
    margin-bottom:6px;
}

}
