@import url(https://fonts.googleapis.com/css?family=Lexend:300,400,600,700,800,900,1000&display=swap);

/* Base styles */
.container,.row.row-c-full>*{width:100%}
.bg-half,.game{position:relative}
.game__btn:hover,.item{cursor:pointer}
*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin:0 0 .5rem;font-weight:500}
p,ul{margin-top:0;margin-bottom:1rem}
.fb-h1,.fb_head{font-weight:900!important}
.h1,h1{font-size:calc(1.3875rem + 1.65vw)}
.fb-h1{font-size:38px!important}
.fb_head{font-size:26px!important;text-align:center}
.fb-h2,.fb_h3{font-size:19px!important}
.fb-h2{font-weight:400!important}
.fb_h3{font-weight:700!important}
.fb_text{font-size:18px;margin:auto}
.fb_step{margin:30px auto 12px;max-width:700px}
@media (max-width:767px){.fb-h1{font-size:34px!important}}
.item,.step_head{font-size:20px;font-weight:700}
ul{padding-left:2rem}
ul ul{margin-bottom:0}
.game_ul{padding-left:0}
.list-inline-item{display:inline-block}
.list-inline-item:not(:last-child){margin-right:.5rem}
.container{padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem)}
@media (min-width:576px){.container{max-width:540px}}
@media (min-width:768px){.container{max-width:720px}.col-md-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}}
@media (min-width:992px){.container{max-width:960px}.col-lg-8{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-6{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:56%}}
@media (min-width:1200px){.h1,h1{font-size:1.6rem}.container{max-width:1140px}}
@media (min-width:1400px){.container{max-width:1320px}}
.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}
.row>*{max-width:100%;-ms-flex-negative:0;flex-shrink:0;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}
.fb_title{background-color:#fff}
.justify-content-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}
.align-items-center{-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important}
.mt-2{margin-top:.5rem!important}
.mt-4{margin-top:1.5rem!important}
.mt-5{margin-top:3rem!important}
.mb-4{margin-bottom:1.5rem!important}
.text-center{text-align:center!important}
.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}
@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm{max-width:1140px}}
body{font-family:Lexend,sans-serif;overflow-x:hidden!important;font-size:16px;color:#161c2d;margin:0}
.section-title .title{letter-spacing:.5px;font-size:28px!important}
@media (max-width:768px){.section-title .title{font-size:24px!important}}
.fb_howto{max-width:400px;margin:20px auto}
.fb_howto_img{max-width:100%;border-radius:16px}
.para-desc{max-width:1000px;margin:20px}
.bg-half{padding:32px 0;background-size:cover;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;background-position:center center}
.footer{padding:20px 0 10px;background:rgb(231 235 241 / .58)}
.container{max-width:100%;margin:0 auto;padding:0 15px}
body.dark .faq_block{color:#000}
.fb-h2,body.dark .fb-h1{color:#1e1e1e}
a,a:visited{text-decoration:none}
.step_head{margin-top:16px}
.faq_block{background-color:#bfd4e080;border-radius:14px;margin-top:35px;padding:32px}
.item{border-radius:20px;padding:14px 24px;display:inline-block;margin:5px;background:#ffff54;color:#000;line-height:.7em;border:1px solid #c8c8c8}
.game__btn,.game__title{font-weight:700;color:#fff}
.menu{font-size:large;font-weight:700}
.game{z-index:1;min-height:620px;background-repeat:no-repeat;background-size:cover;background-position:center center}
.game-locked::before,.game__preview{position:absolute;width:100%;display:block}
.game-locked::before{content:"";top:0;right:0;bottom:0;left:0;z-index:1;height:100%;background:rgb(5 19 40 / .1)}
.game.preview-hidden .game__preview,.game__preview.is--hidden{display:none}
.game.preview-hidden::before{opacity:0;pointer-events:none}
.game__preview{top:50%;left:50%;z-index:10;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:402px;padding:45px 35px;text-align:center;background:rgb(5 19 40 / .5);border-radius:30px}
.game__title{display:block;font-size:60px}
.game__btn{display:block;margin:20px auto 0;padding:12px;min-width:134px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:28px;text-align:center;background:#6dc238;border:none;border-radius:20px;-webkit-filter:drop-shadow(0 5px 0 #59a828);filter:drop-shadow(0 5px 0 #59a828);-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out;-webkit-animation:.5s infinite crunch;animation:.5s infinite crunch}
.game__btn:focus{outline:0}
.game__help{display:block;margin-top:16px;font-size:16px;font-weight:400;color:#d4dcec}
@media screen and (max-width:575px){.game__preview{max-width:85%}.game__title{font-size:45px}.game__help{font-size:14px}}
@-webkit-keyframes crunch{0%{-webkit-transform:rotate(-2.5deg) scale(.97);transform:rotate(-2.5deg) scale(.97)}50%{-webkit-transform:rotate(2.6deg) scale(1.03);transform:rotate(2.6deg) scale(1.03)}100%{-webkit-transform:rotate(-2.4deg) scale(1);transform:rotate(-2.4deg) scale(1)}}
@keyframes crunch{0%{-webkit-transform:rotate(-2.5deg) scale(.97);transform:rotate(-2.5deg) scale(.97)}50%{-webkit-transform:rotate(2.5deg) scale(1.03);transform:rotate(2.5deg) scale(1.03)}100%{-webkit-transform:rotate(-2.2deg) scale(1);transform:rotate(-2.2deg) scale(1)}}
.frames_block{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center;max-width:1000px;margin:auto}
.lang_but{display:block;margin:12px;width:calc(25% - 24px);padding:12px 20px;font-size:14px;border-radius:8px;border:1px solid #000;color:#3c4858!important;background-color:#ffff54!important;transition:.2s ease-in-out}
.lang_but:hover{box-shadow:-2px -2px 6px rgb(255 255 255 / .6),-2px -2px 4px rgb(255 255 255 / .4),2px 2px 2px rgb(255 255 255 / .05),2px 2px 4px rgb(0 0 0 / .1)}
.lang_but:active{box-shadow:inset -2px -2px 6px rgb(255 255 255 / .7),inset -2px -2px 4px rgb(255 255 255 / .5),inset 2px 2px 2px rgb(255 255 255 / .075),inset 2px 2px 4px rgb(0 0 0 / .15)}
.lang__block{margin-top:.5rem!important;margin-bottom:.5rem!important;-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}
@media (max-width:991px){.frames_block{margin-left:3px;margin-right:3px}}
body.dark .lang_but{box-shadow:none}
@media (max-width:710px){.lang_but{width:calc(50% - 24px);font-size:12px;margin-top:5px}}
.flag{width:20px;vertical-align:middle;margin-right:6px;float:left}
.feature-list{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.feature{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:30%;border-radius:10px;padding:10px;background-color:#ffeda1}
.feature_desc{font-size:18px}
.feature_title{font-size:20px!important;font-weight:800!important}
.feature_image{margin-bottom:10px;display:flex;align-items:center;justify-content:center;width:100px;height:50px}
.feature_img{max-width:100%;max-height:100%}
@media (max-width:1200px){.feature{width:45%}}
@media (max-width:1024px){.fb_head{font-size:24px!important;font-weight:800!important}.feature_title{font-size:16px!important;font-weight:800!important}.feature_desc{font-size:14px}}
@media (max-width:512px){.fb_head{font-size:20px!important;font-weight:800!important}.feature_title{font-size:16px!important;font-weight:800!important}.feature{width:100%}}

/* ============================================
   MOBILE HORIZONTAL SCROLL FIX
   ============================================ */

/* Prevent horizontal scroll globally */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

/* Features Wrapper with Gradient Background */
.features-modern-wrapper {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    overflow: hidden !important;
    margin: 40px -15px;
    border-radius: 0;
}

/* Container for large screens */
.features-modern-wrapper .container {
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .features-modern-wrapper {
        padding: 100px 40px;
    }
}

@media (min-width: 1600px) {
    .features-modern-wrapper {
        padding: 100px 60px;
    }
    
    .features-modern-wrapper .container {
        max-width: 1500px;
    }
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.features-main-title {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.features-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Features Grid */
.features-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto 60px;
    max-width: 1200px;
    padding: 0 20px;
}

/* Modern Feature Card */
.feature-modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-modern-card:nth-child(1) { animation-delay: 0.1s; }
.feature-modern-card:nth-child(2) { animation-delay: 0.2s; }
.feature-modern-card:nth-child(3) { animation-delay: 0.3s; }
.feature-modern-card:nth-child(4) { animation-delay: 0.4s; }
.feature-modern-card:nth-child(5) { animation-delay: 0.5s; }
.feature-modern-card:nth-child(6) { animation-delay: 0.6s; }

/* Gradient Top Border */
.feature-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Card Hover Effect */
.feature-modern-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Feature Icon */
.feature-modern-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.feature-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.feature-modern-card:hover .feature-modern-icon {
    transform: rotate(0deg) scale(1.1);
}

/* Feature Title & Description */
.feature-modern-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.feature-modern-desc {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* Feature Badge */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.feature-modern-card:hover .feature-badge {
    opacity: 1;
    transform: translateX(0);
}

/* Decorative Elements */
.features-decoration {
    position: absolute;
    width: 60px;
    height: 200px;
    background: linear-gradient(180deg, #4ade80, #22c55e);
    border-radius: 10px;
    opacity: 0.1;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
    overflow: hidden;
}

.pipe-1 { 
    top: 10%; 
    left: 20px;
    animation-delay: 0s; 
}

.pipe-2 { 
    bottom: 10%; 
    right: 20px;
    animation-delay: 3s; 
}

.pipe-3 { 
    top: 50%; 
    right: 20px;
    animation-delay: 6s; 
}

/* Stats Section */
.features-stats-section {
    margin: 60px auto 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    opacity: 0;
    max-width: 1000px;
}

.features-stats-title {
    color: white;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
}

.features-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(2deg); 
    }
    50% { 
        transform: translateY(5px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-5px) rotate(1deg); 
    }
}

@keyframes gradientShift {
    0% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
    100% { 
        background-position: 0% 50%; 
    }
}

/* Dark Mode Support */
body.dark .feature-modern-card {
    background: rgba(30, 30, 30, 0.95);
}

body.dark .feature-modern-title {
    color: #ffffff;
}

body.dark .feature-modern-desc {
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .features-modern-grid {
        max-width: 1100px;
    }
}

@media (max-width: 1200px) {
    .features-modern-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .features-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .features-modern-wrapper {
        margin: 40px 0;
        border-radius: 20px;
        padding: 40px 15px;
    }
    
    .features-main-title {
        font-size: 26px !important;
    }
    
    .features-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        padding: 0 15px;
    }
    
    .feature-modern-card {
        padding: 25px 20px;
    }
    
    .features-decoration {
        display: none !important;
    }
    
    .features-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Disable hover effects that might cause overflow */
    .fb_step:hover {
        transform: translateX(0) !important;
    }
    
    /* Fix other sections */
    .fb_title, #howto, .share_s {
        margin: 20px 10px !important;
        max-width: calc(100% - 20px) !important;
    }

    .game {
        margin: 20px 10px !important;
        max-width: calc(100% - 20px) !important;
    }

    /* Ensure FAQ blocks don't overflow */
    .faq_block {
        margin: 20px 10px !important;
        max-width: calc(100% - 20px) !important;
    }

    /* Prevent button overflow */
    .item {
        max-width: calc(100% - 20px);
        white-space: normal;
    }
}

@media (max-width: 512px) {
    /* Ensure all sections fit */
    section {
        overflow-x: hidden !important;
    }

    /* Fix features wrapper for very small screens */
    .features-modern-wrapper {
        padding: 30px 10px;
    }

    .features-modern-grid {
        padding: 0 10px;
    }

    .feature-modern-card {
        padding: 20px 15px;
        max-width: 100%;
    }

    /* Fix stats section */
    .features-stats-section {
        padding: 20px 15px;
        margin: 40px 10px 0;
    }

    .features-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Ensure no horizontal overflow from text */
    .feature-modern-title,
    .feature-modern-desc,
    .fb-h1,
    .fb-h2,
    .fb_head {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .features-main-title {
        font-size: 22px !important;
    }
    
    .feature-modern-title {
        font-size: 1.1rem !important;
    }
    
    .feature-modern-desc {
        font-size: 0.9rem;
    }
    
    .features-stats-section {
        padding: 30px 20px;
    }
}

/* ============================================
   REFINED MODERN DESIGN - LIGHT THEME
   ============================================ */

/* Light, clean background */
body {
    background: #f8f9fa;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   GAME SECTION
   ============================================ */

.game {
    border-radius: 16px;
    overflow: hidden;
    margin: 20px auto;
    max-width: 1400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeInDown 0.6s ease-out;
    background: white;
}

.fb_iframe {
    border-radius: 16px;
}

/* ============================================
   TITLE SECTION
   ============================================ */

.fb_title {
    background: white !important;
    border-radius: 24px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 50px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    animation: fadeInUp 0.6s ease-out 0.2s both;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.fb-h1 {
    color: #1a202c !important;
    position: relative;
    display: inline-block;
    animation: fadeInDown 0.6s ease-out 0.3s both;
}

.fb-h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.fb-h2 {
    color: #64748b !important;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Modern Play Button - Subtle gradient */
.item {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35) !important;
}

.item:hover::before {
    width: 300px;
    height: 300px;
}

/* Menu items - subtle underline */
.menu a {
    position: relative;
    color: #475569 !important;
    transition: color 0.3s ease;
    font-weight: 600 !important;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #667eea !important;
}

.menu a:hover::after {
    width: 100%;
}

/* ============================================
   HOW TO SECTION
   ============================================ */

#howto {
    background: white;
    border-radius: 24px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 60px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.fb_step {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 28px;
    margin: 25px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    border: 1px solid #e2e8f0;
}

.fb_step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fb_step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.fb_step:hover::before {
    opacity: 1;
}

.step_head {
    color: #1e293b !important;
    font-size: 21px !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
}

.step_head::before {
    content: '→';
    margin-right: 12px;
    color: #667eea;
    font-size: 20px;
}

.fb_howto_img {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.fb_howto_img:hover {
    transform: scale(1.03);
}

/* ============================================
   FAQ SECTION
   ============================================ */

#faq {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

#faq .container {
    max-width: 100%;
}

#faq .fb_head {
    color: #1e293b !important;
    text-align: center;
    margin-bottom: 50px !important;
    position: relative;
    grid-column: 1 / -1;
}

#faq .fb_head::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Create wrapper for FAQ blocks */
.faq-blocks-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    align-items: start;
}

/* FAQ Block styling */
.faq_block {
    background: white !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.faq_block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Add subtle left border accent */
.faq_block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq_block:hover::before {
    opacity: 1;
}

/* Question styling */
.faq_block .fb_h3 {
    color: #1e293b !important;
    margin-bottom: 12px !important;
    font-size: 19px !important;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.faq_block .fb_h3::before {
    content: '•';
    margin-right: 12px;
    color: #667eea;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -2px;
}

/* Answer text */
.faq_block .fb_text {
    color: #64748b;
    line-height: 1.7;
    padding-left: 28px;
}

/* Stagger animation for FAQ items */
.faq_block {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.faq_block:nth-child(1) { animation-delay: 0.1s; }
.faq_block:nth-child(2) { animation-delay: 0.15s; }
.faq_block:nth-child(3) { animation-delay: 0.2s; }
.faq_block:nth-child(4) { animation-delay: 0.25s; }
.faq_block:nth-child(5) { animation-delay: 0.3s; }
.faq_block:nth-child(6) { animation-delay: 0.35s; }
.faq_block:nth-child(7) { animation-delay: 0.4s; }
.faq_block:nth-child(8) { animation-delay: 0.45s; }
.faq_block:nth-child(9) { animation-delay: 0.5s; }
.faq_block:nth-child(10) { animation-delay: 0.55s; }

/* FAQ Responsive Design */
@media (min-width: 1200px) {
    #faq {
        padding: 80px 40px;
    }
    
    .faq-blocks-wrapper {
        gap: 24px 40px;
    }
    
    .faq_block {
        padding: 28px 32px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #faq {
        padding: 60px 30px;
    }
    
    .faq-blocks-wrapper {
        gap: 20px 25px;
    }
    
    .faq_block {
        padding: 24px 28px !important;
    }
}

@media (max-width: 767px) {
    #faq {
        padding: 40px 20px;
        max-width: 700px;
    }
    
    .faq-blocks-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .faq_block {
        padding: 20px 24px !important;
    }
    
    #faq .fb_head {
        margin-bottom: 30px !important;
        font-size: 24px !important;
    }
}

@media (max-width: 512px) {
    #faq {
        padding: 30px 15px;
    }
    
    .faq-blocks-wrapper {
        gap: 12px;
    }
    
    .faq_block {
        padding: 18px 20px !important;
        min-height: auto;
    }
    
    .faq_block .fb_h3 {
        font-size: 17px !important;
    }
    
    .faq_block .fb_text {
        font-size: 15px;
        padding-left: 24px;
    }
}

/* ============================================
   SHARE/ABOUT SECTION
   ============================================ */

.share_s {
    background: white;
    border-radius: 24px;
    padding: 60px 30px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.share_s .fb_head {
    color: #1e293b !important;
    font-size: 30px !important;
    margin-bottom: 20px !important;
    position: relative;
    display: inline-block;
}

/* Option 1: Remove the underline completely */
.share_s .fb_head::after {
    display: none !important;
}

/* Alternative: Add icon before heading */
.share_s .fb_head::before {
    content: '🐦';
    display: block;
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
    animation: gentleFloat 3s ease-in-out infinite;
}

.share_s .para-desc {
    color: #64748b;
    line-height: 1.8;
    font-size: 17px !important;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.lang_but {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.lang_but:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
    border-color: #667eea !important;
    color: #667eea !important;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: white !important;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
    padding: 40px 20px 20px !important;
}

.footer a {
    color: #667eea !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: #764ba2 !important;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

body.dark {
    background: #1a202c;
}

body.dark .fb_title,
body.dark #howto,
body.dark .share_s,
body.dark .faq_block {
    background: #2d3748 !important;
    border-color: rgba(102, 126, 234, 0.2);
}

body.dark .fb-h1,
body.dark .fb_head,
body.dark .step_head,
body.dark .faq_block .fb_h3 {
    color: #e2e8f0 !important;
}

body.dark .fb-h2,
body.dark .fb_text,
body.dark .para-desc {
    color: #cbd5e0 !important;
}

body.dark .fb_step {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #4a5568;
}

body.dark .menu a {
    color: #cbd5e0 !important;
}

body.dark .faq_block:hover {
    border-color: rgba(102, 126, 234, 0.4);
}

body.dark #faq .fb_head {
    color: #e2e8f0 !important;
}

body.dark .faq_block .fb_h3 {
    color: #e2e8f0 !important;
}

body.dark .faq_block .fb_text {
    color: #cbd5e0 !important;
}

.menu a { 
    color: #202942; 
}

.section-title-center { 
    text-align: center !important; 
}

.section-title-howto { 
    text-align: center !important; 
    font-weight: 600; 
    font-size: 26px;
}

.section-title-faq {
    font-weight: 600;
    font-size: 26px;
}

.about-section-wrapper {
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.about-text {
    font-size: 20px;
    margin: auto;
}

/* ============================================
   CSS VARIABLES FOR THEME SWITCHING
   ============================================ */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --border-color: rgba(102, 126, 234, 0.08);
    --shadow-light: 0 4px 20px rgba(0,0,0,0.06);
    --gradient-primary: linear-gradient(135deg, #667eea, #764ba2);
}

[data-theme="dark"] {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e0;
    --border-color: rgba(102, 126, 234, 0.2);
    --shadow-light: 0 4px 20px rgba(0,0,0,0.3);
}

/* Override body background for dark theme */
[data-theme="dark"] body {
    background: #1a202c !important;
    color: #e2e8f0 !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%) !important;
}

/* ============================================
   HEADER CONTROLS STYLES
   ============================================ */

/* Controls bar at the top of fb_title */
.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Language selector dropdown */
.language-selector {
    position: relative;
}

.language-dropdown {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.language-dropdown:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.current-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    margin-right: 10px;
    object-fit: cover;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 14px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.language-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.language-option:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.language-option.active {
    background: var(--gradient-primary);
    color: white !important;
}

.language-option .flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    margin-right: 10px;
    object-fit: cover;
}

/* Dark mode toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.toggle-switch.active {
    background: var(--gradient-primary);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.theme-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

.theme-icon.sun {
    color: #f59e0b;
}

.theme-icon.moon {
    color: #6366f1;
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 0.5;
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
    color: #fbbf24;
}

/* Responsive design for controls */
@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .language-dropdown {
        min-width: 140px;
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .current-flag {
        width: 22px;
        height: 16px;
        margin-right: 9px;
    }
    
    .dropdown-arrow {
        font-size: 13px;
    }
}

@media (max-width: 512px) {
    .header-controls {
        align-items: stretch;
    }
}

/* Update existing elements for theme support */
.fb_title {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.fb-h1 {
    color: var(--text-primary) !important;
}

.fb-h2 {
    color: var(--text-secondary) !important;
}

.menu a {
    color: var(--text-secondary) !important;
}

.menu a:hover {
    color: #667eea !important;
}

/* Dark theme overrides for existing elements */
[data-theme="dark"] .fb_title,
[data-theme="dark"] #howto,
[data-theme="dark"] .share_s {
    background: var(--bg-primary) !important;
    border-color: var(--border-color);
}

[data-theme="dark"] .fb_step {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
    border-color: #4a5568 !important;
}

[data-theme="dark"] .step_head {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .fb_text {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .faq_block {
    background: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .faq_block .fb_h3 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .para-desc {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .footer {
    background: var(--bg-primary) !important;
    border-color: var(--border-color);
}

/* Responsive design for controls */
@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .language-dropdown {
        min-width: 120px;
        font-size: 13px;
    }
}

@media (max-width: 512px) {
    .header-controls {
        align-items: stretch;
    }
}

/* Smooth scrolling for language menu */
.language-menu {
    scrollbar-width: thin;
    scrollbar-color: #667eea transparent;
}

.language-menu::-webkit-scrollbar {
    width: 6px;
}

.language-menu::-webkit-scrollbar-track {
    background: transparent;
}

.language-menu::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

/* ============================================
   SHARETHIS SPACING ONLY - MINIMAL STYLING
   ============================================ */

/* ShareThis inline share buttons - minimal spacing */
.sharethis-inline-share-buttons {
    margin: 20px 0 !important;
    padding: 0 !important;
}

/* ShareThis inline reaction buttons - minimal spacing */
.sharethis-inline-reaction-buttons {
    margin: 15px 0 !important;
    padding: 0 !important;
}

/* Mobile responsive spacing */
@media (max-width: 768px) {
    .sharethis-inline-share-buttons {
        margin: 15px 0 !important;
    }
    
    .sharethis-inline-reaction-buttons {
        margin: 12px 0 !important;
    }
}

@media (max-width: 512px) {
    .sharethis-inline-share-buttons {
        margin: 12px 0 !important;
    }
    
    .sharethis-inline-reaction-buttons {
        margin: 10px 0 !important;
    }
}

/* ============================================
   RATING SYSTEM STYLES - COMPLETE VERSION
   ============================================ */

/* Main rating section container */
.rating-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.rating-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.rating-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Star wrapper for number display */
.star-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 4px;
    position: relative;
}

.star-number {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

/* Star Rating Container */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 25px;
    align-items: flex-end;
}

.star {
    font-size: 2.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    transform: scale(1);
    display: block;
}

.star:hover {
    transform: scale(1.1);
}

/* Active star (current selection) */
.star.active {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

/* Hover state */
.star.hover {
    color: #fcd34d;
}

/* User's previous rating - special color */
.star.user-voted {
    color: #10b981 !important; /* Green color for user's vote */
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.star-wrapper.user-voted .star-number {
    color: #10b981;
    font-weight: 700;
}

/* When hovering, update numbers too */
.star-wrapper:has(.star.hover) .star-number,
.star-wrapper:has(.star.active) .star-number {
    color: #f59e0b;
}

/* Rating Display */
.rating-display {
    margin-bottom: 20px;
}

.current-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.rating-value {
    color: #fbbf24;
    font-size: 1.3rem;
    font-weight: 700;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* User rating info section */
.user-rating-info {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 12px 20px;
    margin: 15px auto;
    max-width: 400px;
    text-align: center;
    animation: slideIn 0.4s ease;
}

.user-rating-text {
    color: #047857;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.user-rating-text #userRatingValue {
    color: #059669;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Rating Stats */
.rating-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.rating-breakdown {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.rating-bar {
    text-align: center;
}

.rating-bar-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.rating-bar-fill {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-progress {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.rating-bar-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Messages */
.rating-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.rating-message.show {
    opacity: 1;
    transform: translateY(0);
}

.rating-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.rating-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rating-message.info {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Loading state */
.rating-section.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #fbbf24;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation for user rating display */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for new ratings */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.rating-display.updated {
    animation: pulse 0.6s ease-in-out;
}

/* Dark theme adjustments */
[data-theme="dark"] .rating-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .star-number {
    color: #64748b;
}

[data-theme="dark"] .star-wrapper:has(.star.hover) .star-number,
[data-theme="dark"] .star-wrapper:has(.star.active) .star-number {
    color: #fbbf24;
}

[data-theme="dark"] .star-wrapper.user-voted .star-number {
    color: #34d399;
}

[data-theme="dark"] .star.user-voted {
    color: #34d399 !important;
}

[data-theme="dark"] .user-rating-info {
    background: linear-gradient(135deg, #064e3b, #065f46);
    border-color: #10b981;
}

[data-theme="dark"] .user-rating-text {
    color: #6ee7b7;
}

[data-theme="dark"] .user-rating-text #userRatingValue {
    color: #34d399;
}

[data-theme="dark"] .rating-message.success {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #065f46;
}

[data-theme="dark"] .rating-message.error {
    background: #7f1d1d;
    color: #fca5a5;
    border-color: #991b1b;
}

[data-theme="dark"] .rating-message.info {
    background: #1e3a8a;
    color: #93c5fd;
    border-color: #1d4ed8;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .rating-section {
        margin: 30px 10px;
        padding: 25px 20px;
    }
    
    .star-wrapper {
        margin: 0 2px;
    }
    
    .star {
        font-size: 2rem;
    }
    
    .star-number {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .rating-breakdown {
        gap: 8px;
    }
    
    .rating-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 512px) {
    .star {
        font-size: 1.8rem;
    }
    
    .star-number {
        font-size: 0.75rem;
    }
    
    .user-rating-info {
        padding: 10px 16px;
    }
    
    .user-rating-text {
        font-size: 0.9rem;
    }
    
    .rating-breakdown {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .rating-bar {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .rating-bar-label {
        min-width: 60px;
        text-align: left;
        margin-bottom: 0;
    }
    
    .rating-bar-fill {
        flex: 1;
    }
    
    .rating-bar-count {
        min-width: 40px;
        margin-top: 0;
    }
}

        /* Import Google Font */
        @import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;700;800;900&display=swap');
        
        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Lexend', sans-serif;
            background: #f8f9fa;
            color: #1a202c;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }
        
        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Back Button */
        .about-back-section {
            padding: 30px 0 20px;
            text-align: center;
        }
        
        .about-back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white !important;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
        }
        
        .about-back-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
        }
        
        /* Hero Section */
        .about-hero {
            background: white;
            border-radius: 24px;
            padding: 60px 40px;
            margin: 20px auto 40px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            position: relative;
            overflow: hidden;
        }
        
        .about-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            opacity: 0.05;
            border-radius: 50%;
        }
        
        .about-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, #f093fb, #f5576c);
            opacity: 0.05;
            border-radius: 50%;
        }
        
        .about-bird-icon {
            font-size: 80px;
            margin-bottom: 20px;
            display: inline-block;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        
        .about-main-title {
            font-size: 42px;
            font-weight: 900;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .about-subtitle {
            font-size: 20px;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        /* Story Section */
        .about-story {
            padding: 60px 0;
        }
        
        .about-story-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .about-story-content {
            animation: fadeInLeft 0.8s ease-out;
        }
        
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .about-badge {
            display: inline-block;
            padding: 8px 16px;
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .about-section-title {
            font-size: 32px;
            font-weight: 800;
            color: #1a202c;
            margin-bottom: 25px;
            line-height: 1.2;
        }
        
        .about-text {
            color: #64748b;
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .about-story-image {
            animation: fadeInRight 0.8s ease-out;
        }
        
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .about-story-image img {
            width: 100%;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }
        
        .about-story-image img:hover {
            transform: scale(1.02);
        }
        
        /* Timeline Section */
        .about-timeline {
            background: white;
            border-radius: 24px;
            padding: 60px 40px;
            margin: 40px auto;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }
        
        .about-timeline-title {
            text-align: center;
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 50px;
            color: #1a202c;
        }
        
        .about-timeline-container {
            position: relative;
            padding: 20px 0;
        }
        
        .about-timeline-container::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, #667eea, #764ba2);
            opacity: 0.3;
        }
        
        .about-timeline-item {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .about-timeline-item:nth-child(1) { animation-delay: 0.1s; }
        .about-timeline-item:nth-child(2) { animation-delay: 0.2s; }
        .about-timeline-item:nth-child(3) { animation-delay: 0.3s; }
        .about-timeline-item:nth-child(4) { animation-delay: 0.4s; }
        .about-timeline-item:nth-child(5) { animation-delay: 0.5s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .about-timeline-content {
            background: #f8f9fa;
            padding: 20px 25px;
            border-radius: 12px;
            width: 45%;
            position: relative;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
        }
        
        .about-timeline-item:nth-child(even) .about-timeline-content {
            margin-left: auto;
        }
        
        .about-timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        }
        
        .about-timeline-date {
            font-weight: 700;
            color: #667eea;
            margin-bottom: 8px;
            font-size: 16px;
        }
        
        .about-timeline-text {
            color: #64748b;
            line-height: 1.6;
            font-size: 15px;
        }
        
        .about-timeline-dot {
            position: absolute;
            width: 16px;
            height: 16px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            top: 25px;
            box-shadow: 0 0 0 4px white, 0 0 0 6px rgba(102, 126, 234, 0.2);
        }
        
        .about-timeline-item:nth-child(odd) .about-timeline-dot {
            right: -8px;
        }
        
        .about-timeline-item:nth-child(even) .about-timeline-dot {
            left: -8px;
        }
        
        /* Features Grid */
        .about-features {
            padding: 60px 0;
        }
        
        .about-features-title {
            text-align: center;
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 50px;
            color: #1a202c;
        }
        
        .about-features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        
        .about-feature-card {
            background: white;
            padding: 30px;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .about-feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.12);
            border-color: #667eea;
        }
        
        .about-feature-icon {
            font-size: 48px;
            margin-bottom: 20px;
            display: inline-block;
        }
        
        .about-feature-title {
            font-size: 20px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 12px;
        }
        
        .about-feature-desc {
            color: #64748b;
            line-height: 1.6;
            font-size: 15px;
        }
        
        /* Stats Section */
        .about-stats {
            background: linear-gradient(135deg, #667eea, #764ba2);
            padding: 80px 40px;
            margin: 40px -20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .about-stats::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: white;
            opacity: 0.05;
            border-radius: 50%;
        }
        
        .about-stats-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 50px;
            color: white;
            position: relative;
            z-index: 1;
        }
        
        .about-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        .about-stat-item {
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .about-stat-item:nth-child(1) { animation-delay: 0.1s; }
        .about-stat-item:nth-child(2) { animation-delay: 0.2s; }
        .about-stat-item:nth-child(3) { animation-delay: 0.3s; }
        .about-stat-item:nth-child(4) { animation-delay: 0.4s; }
        
        .about-stat-number {
            font-size: 42px;
            font-weight: 900;
            margin-bottom: 10px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        .about-stat-label {
            font-size: 14px;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: white;
        }
        
        /* FAQ Section */
        .about-faq {
            background: #f8f9fa;
            border-radius: 24px;
            padding: 60px 40px;
            margin: 40px auto;
        }
        
        .about-faq-title {
            text-align: center;
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 40px;
            color: #1a202c;
        }
        
        .about-faq-grid {
            display: grid;
            gap: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .about-faq-item {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }
        
        .about-faq-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            border-left-color: #667eea;
        }
        
        .about-faq-question {
            font-size: 18px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 12px;
        }
        
        .about-faq-answer {
            color: #64748b;
            line-height: 1.6;
            font-size: 15px;
        }
        
        /* CTA Section */
        .about-cta {
            padding: 80px 40px;
            text-align: center;
        }
        
        .about-cta-card {
            background: white;
            padding: 50px;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            border: 2px solid;
            border-image: linear-gradient(135deg, #667eea, #764ba2) 1;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }
        
        .about-cta-card::before {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 300%;
            height: 300%;
            background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.03), transparent);
            transform: rotate(45deg);
            animation: shimmer 3s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }
        
        .about-cta-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 15px;
            color: #1a202c;
            position: relative;
            z-index: 1;
        }
        
        .about-cta-text {
            color: #64748b;
            font-size: 18px;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }
        
        .about-cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white !important;
            text-decoration: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
            position: relative;
            z-index: 1;
        }
        
        .about-cta-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
        }
        
        .about-play-icon {
            font-size: 24px;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .about-story-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .about-features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .about-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .about-main-title {
                font-size: 32px;
            }
            
            .about-subtitle {
                font-size: 18px;
            }
            
            .about-section-title {
                font-size: 26px;
            }
            
            .about-timeline-content {
                width: 85%;
            }
            
            .about-timeline-container::before {
                left: 20px;
            }
            
            .about-timeline-item {
                justify-content: flex-start;
                padding-left: 50px;
            }
            
            .about-timeline-item:nth-child(even) .about-timeline-content {
                margin-left: 0;
            }
            
            .about-timeline-dot {
                left: 12px !important;
            }
            
            .about-features-grid {
                grid-template-columns: 1fr;
            }
            
            .about-stats-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .about-hero {
                padding: 40px 25px;
            }
            
            .about-timeline {
                padding: 40px 25px;
            }
            
            .about-cta-card {
                padding: 35px 25px;
            }
        }
        
        @media (max-width: 512px) {
            .about-main-title {
                font-size: 28px;
            }
            
            .about-bird-icon {
                font-size: 60px;
            }
            
            .about-subtitle {
                font-size: 16px;
            }
            
            .about-section-title {
                font-size: 24px;
            }
            
            .about-text {
                font-size: 16px;
            }
            
            .about-stats {
                padding: 60px 20px;
                margin: 40px -20px;
            }
            
            .about-stat-number {
                font-size: 32px;
            }
            
            .about-cta-title {
                font-size: 26px;
            }
            
            .about-cta-button {
                width: 100%;
                justify-content: center;
            }
        }

/* ============================================
   LEGAL PAGES STYLES (Privacy Policy & Terms)
   Add this to your existing style.css file
   ============================================ */

/* Legal Hero Section */
.legal-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: -50px;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    color: white;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.legal-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.legal-meta-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
}

/* Legal Content Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content {
    background: white;
    border-radius: 24px;
    padding: 60px;
    margin-top: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

/* Navigation Pills */
.legal-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    overflow-x: auto;
    flex-wrap: wrap;
}

.legal-nav-item {
    padding: 10px 20px;
    background: white;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.legal-nav-item:hover {
    color: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
}

.legal-nav-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Content Sections */
.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h2::before {
    font-size: 24px;
}

.legal-section h3 {
    color: #475569;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
}

.legal-section p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    color: #64748b;
    line-height: 1.8;
    padding-left: 30px;
    margin: 15px 0;
}

.legal-section li {
    margin-bottom: 10px;
    position: relative;
}

/* Info Box */
.legal-info-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}

.legal-info-box h4 {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-info-box p {
    color: #3b82f6;
    margin: 0;
}

/* Warning Box */
.legal-warning-box {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}

.legal-warning-box h4 {
    color: #d97706;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-warning-box p {
    color: #92400e;
    margin: 0;
}

/* Agreement Box */
.legal-agreement {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    border: 2px solid #86efac;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.legal-agreement-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.legal-agreement-title {
    font-size: 24px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 15px;
}

.legal-agreement-text {
    color: #15803d;
    line-height: 1.8;
}

/* Contact Card */
.legal-contact {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.legal-contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.legal-contact-info {
    color: #64748b;
    line-height: 1.8;
}

.legal-contact-email {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Action Buttons */
.legal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.legal-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.legal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.legal-btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.legal-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Dark Mode Support for Legal Pages */
body.dark .legal-content {
    background: #2d3748;
}

body.dark .legal-nav {
    background: #1a202c;
}

body.dark .legal-nav-item {
    background: #2d3748;
    color: #cbd5e0;
}

body.dark .legal-nav-item:hover {
    color: #667eea;
    border-color: #667eea;
}

body.dark .legal-section h2 {
    color: #e2e8f0;
}

body.dark .legal-section h3 {
    color: #cbd5e0;
}

body.dark .legal-section p,
body.dark .legal-section ul {
    color: #a0aec0;
}

body.dark .legal-info-box {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

body.dark .legal-info-box h4 {
    color: #93c5fd;
}

body.dark .legal-info-box p {
    color: #dbeafe;
}

body.dark .legal-warning-box {
    background: linear-gradient(135deg, #78350f, #92400e);
}

body.dark .legal-warning-box h4 {
    color: #fbbf24;
}

body.dark .legal-warning-box p {
    color: #fef3c7;
}

body.dark .legal-agreement {
    background: linear-gradient(135deg, #064e3b, #065f46);
    border-color: #10b981;
}

body.dark .legal-agreement-title {
    color: #6ee7b7;
}

body.dark .legal-agreement-text {
    color: #a7f3d0;
}

body.dark .legal-contact {
    background: #1a202c;
}

body.dark .legal-contact-title {
    color: #e2e8f0;
}

body.dark .legal-contact-info {
    color: #cbd5e0;
}

body.dark .legal-btn-secondary {
    background: #2d3748;
    color: #667eea;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 36px;
    }
    
    .legal-content {
        padding: 40px 30px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .legal-nav {
        padding: 15px;
    }
    
    .legal-nav-item {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 512px) {
    .legal-hero {
        padding: 60px 20px 80px;
    }
    
    .legal-hero h1 {
        font-size: 28px;
    }
    
    .legal-hero-subtitle {
        font-size: 16px;
    }
    
    .legal-content {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .legal-meta {
        gap: 15px;
    }
    
    .legal-meta-item {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .legal-actions {
        flex-direction: column;
    }
    
    .legal-btn {
        width: 100%;
        justify-content: center;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
    
    .legal-agreement-title {
        font-size: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}