@import url('../fonts/fonts.css');

:root {
            --bg-color: #0a0502;
            --radial-start: #1c110a;
            --radial-end: #050302;
            --parch-light: #eaddbd;
            --parch-dark: #bba078;
            --gold-light: #fff2a8;
            --gold-mid: #f0d070;
            --gold-dark: #a87c24;
            --text-ink: #2e1a12;
            --text-muted: rgba(46, 26, 18, 0.7);
            --gold-border: #e8d9b1;
            --error-color: #a92c2c;
            --success-color: #275a3c;
            --font-serif: 'Cinzel', serif;
            --font-sans: 'Outfit', sans-serif;
        }

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

        html {
            background: #0a0502;
            height: -webkit-fill-available;
            height: 100dvh;
        }

        body {
            background: transparent;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            min-height: 100dvh;
            color: #ebd3b4;
            font-family: var(--font-sans);
            overflow-x: hidden;
            position: relative;
            line-height: 1.6;
            padding-top: env(safe-area-inset-top, 0px);
            padding-bottom: env(safe-area-inset-bottom, 0px);
        }

        /* Royal premium background using settings screen's login_bg */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(16, 10, 6, 0.6) 0%, rgba(10, 5, 2, 0.75) 100%), 
                        url('../login_bg.png');
            background-size: cover;
            background-position: center top;
            background-repeat: no-repeat;
            z-index: -2;
            pointer-events: none;
        }

        /* Ambient glowing lights in the background for a modern gaming portal feel */
        body::after {
            content: "";
            position: fixed;
            top: 15%;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 1200px;
            height: 70%;
            background: radial-gradient(circle, rgba(240, 208, 112, 0.12) 0%, rgba(240, 208, 112, 0.03) 45%, rgba(0,0,0,0) 85%);
            z-index: -1;
            pointer-events: none;
            filter: blur(55px);
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            position: relative;
            z-index: 1;
        }

        /* --- HEADER --- */
        header {
            padding: 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(240, 216, 136, 0.15);
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-emblem {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px double var(--gold-mid);
            display: flex;
            justify-content: center;
            align-items: center;
            background: radial-gradient(circle, #3e2723 0%, #1a0f0d 100%);
            box-shadow: 0 0 15px rgba(240, 216, 136, 0.25);
            flex-shrink: 0;
            overflow: hidden;
        }

        .logo-emblem span {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            color: var(--gold-mid);
            font-weight: 700;
        }

        .logo-text h2 {
            font-family: var(--font-serif);
            font-size: 1.6rem;
            font-weight: 900;
            letter-spacing: 2px;
            font-variant: normal;
            text-transform: uppercase;
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Language Toggle */
        .lang-toggle {
            background: rgba(30, 20, 15, 0.6);
            border: 1px solid rgba(240, 216, 136, 0.3);
            border-radius: 20px;
            padding: 4px;
            display: flex;
            gap: 4px;
            cursor: pointer;
        }

        .lang-btn {
            border: none;
            background: transparent;
            color: #a8947c;
            font-family: var(--font-serif);
            font-size: 0.85rem;
            font-weight: bold;
            padding: 6px 14px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lang-btn.active {
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 100%);
            color: var(--text-ink);
            box-shadow: 0 2px 8px rgba(240, 216, 136, 0.3);
        }

        /* --- HERO SECTION --- */
        .hero {
            padding: 48px 0;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            align-items: center;
            gap: 60px;
        }

        .hero-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .badge-premium {
            font-family: var(--font-serif);
            font-size: 0.85rem;
            letter-spacing: 2px;
            color: var(--gold-mid);
            border: 1px solid rgba(240, 216, 136, 0.4);
            background: rgba(240, 216, 136, 0.05);
            padding: 6px 16px;
            border-radius: 4px;
            margin-bottom: 24px;
            text-transform: uppercase;
        }

        .hero-info h1 {
            font-family: var(--font-serif);
            font-size: 3.6rem;
            line-height: 1.15;
            margin-bottom: 20px;
            font-variant: normal;
            text-transform: uppercase;
            background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-mid) 70%, var(--gold-dark) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 4px 15px rgba(0,0,0,0.6);
        }

        .hero-info p {
            font-size: 1.2rem;
            color: #cbd5e1;
            margin-bottom: 40px;
            max-width: 580px;
        }

        /* Badges */
        .store-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 32px;
        }

        .store-btn {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            padding: 12px 24px;
            border: 1px solid rgba(240, 208, 112, 0.35);
            background: linear-gradient(135deg, rgba(20, 12, 9, 0.85) 0%, rgba(10, 5, 2, 0.95) 100%);
            color: #ebd3b4;
            font-family: var(--font-sans);
            text-decoration: none;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            z-index: 1;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        }

        .store-btn::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(135deg, var(--gold-mid) 0%, var(--gold-dark) 100%);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.4s ease;
        }

        .store-btn:hover {
            transform: translateY(-4px) scale(1.02);
            border-color: var(--gold-light);
            box-shadow: 0 10px 25px rgba(240, 208, 112, 0.25);
            color: #0d0704;
        }

        .store-btn:hover::before {
            opacity: 1;
        }

        .store-btn svg {
            width: 28px;
            height: 28px;
            fill: var(--gold-mid);
            transition: fill 0.4s ease;
        }

        .store-btn:hover svg {
            fill: #0d0704;
        }

        .store-btn .store-btn-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .store-btn .store-desc {
            font-size: 9px;
            font-weight: 700;
            color: var(--gold-mid);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 2px;
            transition: color 0.4s ease;
        }

        .store-btn:hover .store-desc {
            color: rgba(13, 7, 6, 0.75);
        }

        .store-btn .store-name {
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.5px;
            transition: color 0.4s ease;
            font-family: var(--font-sans);
            display: block;
        }

        /* Mockup Container */
        .hero-mockup {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .mockup-wrapper {
            width: 290px;
            height: 580px;
            border-radius: 40px;
            border: 12px solid #1a0f0d;
            background: #110908;
            padding: 0;
            box-shadow: 0 25px 60px rgba(0,0,0,0.85), 
                        0 0 40px rgba(240, 208, 112, 0.15), 
                        inset 0 0 10px rgba(240, 208, 112, 0.3);
            position: relative;
            animation: float 6s ease-in-out infinite;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Gold frame accent */
        .mockup-wrapper::after {
            content: "";
            position: absolute;
            top: -2px; left: -2px; right: -2px; bottom: -2px;
            border: 2px solid var(--gold-mid);
            border-radius: 30px;
            pointer-events: none;
            opacity: 0.7;
        }



        .mockup-screen {
            width: 100%;
            height: 100%;
            border-radius: 28px;
            position: relative;
            overflow: hidden;
            background: #000;
        }

        /* Glass reflection effect on the screen */
        .mockup-screen::after {
            content: '';
            position: absolute;
            top: -150%; left: -150%;
            width: 300%; height: 300%;
            background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 55%, rgba(255,255,255,0) 100%);
            transform: rotate(30deg);
            animation: shine-mockup 8s ease-in-out infinite;
            pointer-events: none;
            z-index: 5;
        }

        /* Individual slides inside the mockup screen */
        .mockup-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            pointer-events: none;
            z-index: 1;
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            transform: scale(1.08);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            flex-direction: column;
        }

        .mockup-slide.active {
            opacity: 1;
            pointer-events: auto;
            z-index: 2;
            transform: scale(1);
        }

        /* Slide 1: Splash/Cover screen style */
        .slide-cover {
            background: linear-gradient(180deg, rgba(16, 10, 6, 0.45) 0%, rgba(10, 5, 2, 0.8) 100%), 
                        url('../login_bg.png') center top / cover no-repeat;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            box-sizing: border-box;
        }

        .splash-logo-wrap {
            width: 80px;
            height: 80px;
            margin-bottom: 16px;
            border-radius: 50%;
            border: 3px double var(--gold-mid);
            background: radial-gradient(circle, #3e2723 0%, #1a0f0d 100%);
            box-shadow: 0 0 20px rgba(240, 216, 136, 0.45);
            animation: pulse-logo 2.5s ease-in-out infinite;
            flex-shrink: 0;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .splash-logo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        @keyframes pulse-logo {
            0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(240, 216, 136, 0.3); }
            50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(240, 216, 136, 0.65); }
        }

        .splash-title {
            font-family: var(--font-serif);
            font-size: 1.6rem;
            font-weight: 900;
            letter-spacing: 2px;
            color: #ffffff;
            text-align: center;
            text-transform: uppercase;
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
            margin: 0 0 2px 0;
        }

        .splash-subtitle {
            font-family: var(--font-serif);
            font-size: 1.05rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 3px;
            opacity: 0.9;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
            margin: 0 0 12px 0;
            text-transform: uppercase;
        }

        .splash-tagline {
            font-family: var(--font-serif);
            font-size: 0.8rem;
            letter-spacing: 2px;
            color: var(--gold-mid);
            background: rgba(0,0,0,0.5);
            border: 1px solid rgba(240, 208, 112, 0.25);
            border-radius: 12px;
            padding: 4px 12px;
            font-weight: 600;
            text-transform: uppercase;
            box-shadow: inset 0 0 8px rgba(0,0,0,0.6);
            margin: 0 0 40px 0;
            text-align: center;
        }

        .splash-loading-container {
            width: 80%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: auto;
            margin-bottom: 24px;
        }

        .splash-loading-bar {
            width: 100%;
            height: 6px;
            background: rgba(0,0,0,0.6);
            border: 1px solid rgba(240, 208, 112, 0.2);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            margin-bottom: 8px;
        }

        .splash-loading-bar::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 50%;
            background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-mid) 50%, var(--gold-light) 100%);
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(240, 208, 112, 0.8);
            animation: loading-fill 2s infinite ease-in-out;
        }

        @keyframes loading-fill {
            0% { left: -50%; }
            100% { left: 100%; }
        }

        .splash-loading-text {
            font-family: var(--font-sans);
            font-size: 0.65rem;
            font-weight: bold;
            letter-spacing: 1.5px;
            color: var(--gold-mid);
            opacity: 0.8;
            text-transform: uppercase;
        }

        /* Gameplay screen styles with premium header overlay */
        .slide-gameplay {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .gameplay-header {
            position: absolute;
            top: 24px;
            left: 0;
            right: 0;
            padding: 0 16px;
            text-align: center;
            z-index: 10;
        }

        .gameplay-header-text {
            background: rgba(16, 10, 6, 0.85);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            border: 1px solid var(--gold-border);
            border-radius: 20px;
            padding: 6px 14px;
            color: var(--gold-mid);
            font-family: var(--font-serif);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 0 5px rgba(240, 208, 112, 0.2);
            display: inline-block;
        }

        @keyframes shine-mockup {
            0% { transform: translate(-10%, -10%) rotate(30deg); }
            15%, 100% { transform: translate(10%, 10%) rotate(30deg); }
        }

        /* --- FEATURES SECTION --- */
        .features {
            padding: 48px 0;
            border-top: 1px solid rgba(240, 216, 136, 0.15);
        }

        .section-title-wrapper {
            text-align: center;
            margin-bottom: 36px;
        }

        .section-header-ornate {
            font-family: var(--font-serif);
            font-size: 0.95rem;
            letter-spacing: 3px;
            color: var(--gold-mid);
            margin-bottom: 12px;
            text-transform: uppercase;
        }

        .section-title {
            font-family: var(--font-serif);
            font-size: 2.8rem;
            font-weight: 900;
            font-variant: normal;
            text-transform: uppercase;
            background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--gold-mid) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        /* Parchment Cards Style */
        .parchment-card {
            border: 1px solid rgba(240, 216, 136, 0.25);
            border-radius: 12px;
            padding: 4px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            transition: all 0.3s ease;
        }

        .parchment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(240, 216, 136, 0.15);
            border-color: rgba(240, 216, 136, 0.5);
        }

        .parchment-card-inner {
            background: linear-gradient(135deg, var(--parch-light) 0%, var(--parch-dark) 100%);
            border-radius: 8px;
            padding: 32px 24px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            border: 2px solid var(--gold-border);
            position: relative;
        }

        /* Ornate corner widgets */
        .parchment-card-inner::before, .parchment-card-inner::after {
            content: '♦';
            position: absolute;
            font-size: 10px;
            color: var(--text-ink);
            opacity: 0.6;
        }
        .parchment-card-inner::before { top: 6px; left: 8px; }
        .parchment-card-inner::after { bottom: 6px; right: 8px; }

        .feature-icon-wrapper {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 2px solid var(--text-ink);
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(46, 26, 18, 0.05);
            margin-bottom: 24px;
            box-shadow: 0 4px 10px rgba(46, 26, 18, 0.1);
        }

        .feature-icon-wrapper svg {
            width: 38px;
            height: 38px;
            fill: var(--text-ink);
            opacity: 0.9;
        }

        .feature-title {
            font-family: var(--font-serif);
            font-size: 1.35rem;
            color: var(--text-ink);
            font-weight: 700;
            margin-bottom: 12px;
            font-variant: normal;
            text-transform: uppercase;
        }

        .feature-desc {
            font-size: 0.95rem;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1.5;
        }

        /* --- SCREENSHOTS SECTION --- */
        .screenshots {
            padding: 48px 0;
            border-top: 1px solid rgba(240, 216, 136, 0.15);
        }

        .gallery-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 24px;
            margin-top: 40px;
        }

        @media (max-width: 1200px) {
            .gallery-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 992px) {
            .gallery-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .gallery-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
        }

        @media (max-width: 480px) {
            .gallery-container {
                grid-template-columns: 1fr;
                gap: 16px;
            }
        }

        .screenshot-card {
            width: 100%;
            border: 4px solid #1c120c;
            background: #0d0704;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 0 0 2px rgba(240, 216, 136, 0.25), 0 20px 45px rgba(0,0,0,0.85);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            cursor: pointer;
        }

        .screenshot-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 0 0 3px var(--gold-mid), 0 25px 55px rgba(240, 216, 136, 0.2);
        }

        .screenshot-img-wrapper {
            width: 100%;
            aspect-ratio: 777 / 1600; /* Match exact modern smartphone screenshot resolution */
            overflow: hidden;
            position: relative;
            background: #140c06;
        }


        .screenshot-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .screenshot-card:hover .screenshot-img {
            transform: scale(1.04);
        }

        .screenshot-title-box {
            background: linear-gradient(to top, #160f0d 0%, #261611 100%);
            padding: 12px 10px;
            text-align: center;
            border-top: 2px solid #1c120c;
        }

        .screenshot-title-box p {
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            color: var(--gold-mid);
            text-transform: uppercase;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        }

        /* --- PREMIUM SCREENSHOT MODAL --- */
        .screenshot-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(5, 3, 2, 0.93);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .screenshot-modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .screenshot-modal-content {
            max-width: 90%;
            max-height: 95vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .screenshot-modal-overlay.active .screenshot-modal-content {
            transform: scale(1);
        }

        .screenshot-modal-img-frame {
            border: 4px double var(--gold-mid);
            box-shadow: 0 0 45px rgba(240, 216, 136, 0.35), 0 30px 80px rgba(0,0,0,0.95);
            background: #0d0704;
            border-radius: 28px;
            overflow: hidden;
            display: flex;
            max-height: 78vh;
            aspect-ratio: 777 / 1600;
        }

        .screenshot-modal-img {
            height: 100%;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            display: block;
        }

        .screenshot-modal-title {
            margin-top: 15px;
            font-family: var(--font-serif);
            font-size: 1.15rem;
            color: var(--gold-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.9);
            font-weight: 700;
        }

        .screenshot-modal-close {
            position: absolute;
            top: -55px;
            right: 0;
            background: none;
            border: none;
            color: var(--gold-mid);
            font-size: 2.8rem;
            cursor: pointer;
            line-height: 1;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .screenshot-modal-close:hover {
            color: var(--gold-light);
            transform: scale(1.15);
        }

        @media (max-width: 768px) {
            .screenshot-modal-img-frame {
                max-height: 68vh;
            }
            .screenshot-modal-close {
                top: auto;
                bottom: -60px;
                right: 50%;
                transform: translateX(50%);
            }
            .screenshot-modal-close:hover {
                transform: translateX(50%) scale(1.15);
            }
        }

        /* --- SOCIAL / COMMUNITY SECTION --- */
        .community {
            padding: 48px 0;
            border-top: 1px solid rgba(240, 216, 136, 0.15);
            text-align: center;
        }

        .community-card {
            background: linear-gradient(135deg, var(--parch-light) 0%, var(--parch-dark) 100%);
            border: 2px solid var(--gold-border);
            border-radius: 16px;
            padding: 50px 30px;
            max-width: 900px;
            margin: 0 auto;
            box-shadow: 0 0 0 4px rgba(240, 216, 136, 0.15), 0 20px 45px rgba(0,0,0,0.85);
            position: relative;
        }

        .community-card::before, .community-card::after {
            content: '♦';
            position: absolute;
            font-size: 14px;
            color: var(--text-ink);
            opacity: 0.6;
        }
        .community-card::before { top: 12px; left: 16px; }
        .community-card::after { bottom: 12px; right: 16px; }

        .community-card h2 {
            font-family: var(--font-serif);
            font-size: 2.4rem;
            color: var(--text-ink);
            margin-bottom: 16px;
            font-weight: 700;
            font-variant: normal;
            text-transform: uppercase;
        }

        .community-card p {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 36px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 500;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
        }

        .social-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #fff2a8 0%, #f0d070 40%, #dcb14f 75%, #a87c24 100%);
            border: 1px solid var(--gold-dark);
            border-radius: 30px;
            padding: 12px 28px;
            color: var(--text-ink);
            font-family: var(--font-serif);
            font-weight: bold;
            font-size: 0.95rem;
            text-decoration: none;
            letter-spacing: 1.5px;
            box-shadow: 0 4px 15px rgba(168, 124, 36, 0.25);
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .social-btn:hover {
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 8px 25px rgba(168, 124, 36, 0.45);
            filter: brightness(1.08);
            color: var(--text-ink);
        }

        .social-btn svg {
            width: 20px;
            height: 20px;
            fill: var(--text-ink);
        }

        /* --- FOOTER --- */
        footer {
            padding: 48px 0;
            border-top: 1px solid rgba(240, 216, 136, 0.15);
            background: rgba(10, 5, 2, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-info h3 {
            font-family: var(--font-serif);
            font-size: 1.4rem;
            color: var(--gold-mid);
            margin-bottom: 16px;
            font-weight: 700;
        }

        .footer-info p {
            font-size: 0.9rem;
            color: #94a3b8;
            max-width: 400px;
        }

        .footer-links h4 {
            font-family: var(--font-serif);
            font-size: 1rem;
            color: var(--gold-mid);
            margin-bottom: 18px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links ul li {
            margin-bottom: 12px;
        }

        .footer-links ul li a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-links ul li a:hover {
            color: var(--gold-mid);
        }

        .footer-bottom {
            border-top: 1px solid rgba(240, 216, 136, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            font-size: 0.85rem;
            color: #64748b;
        }

        .footer-contact {
            color: #a8947c;
            text-decoration: none;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: color 0.3s ease;
        }

        .footer-contact:hover {
            color: var(--gold-mid);
        }

        /* --- ANIMATIONS --- */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
            100% { transform: translateY(0px); }
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 992px) {
            .hero {
                grid-template-columns: 1fr;
                gap: 50px;
                text-align: center;
                padding: 40px 0;
            }

            .hero-info {
                align-items: center;
            }

            .hero-info h1 {
                font-size: 2.8rem;
            }

            .store-buttons {
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            .store-btn {
                width: 280px;
                justify-content: center;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                padding: 0 16px;
            }

            .feature-card, .parchment-card {
                width: 100%;
                max-width: 100%;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }

            .footer-info p {
                margin: 0 auto;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 576px) {
            .hero-info h1 {
                font-size: 2.2rem;
            }
            .section-title {
                font-size: 2rem;
            }
            .community-card {
                padding: 40px 20px;
            }
            .community-card h2 {
                font-size: 1.8rem;
            }
        }

        /* Modal Navigation Arrows */
        .modal-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(30, 20, 15, 0.7);
            border: 1px solid rgba(240, 216, 136, 0.4);
            color: var(--gold-mid);
            font-size: 2.2rem;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            z-index: 10001;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
            user-select: none;
        }

        .modal-nav-btn:hover {
            background: rgba(240, 216, 136, 0.2);
            color: var(--gold-light);
            border-color: var(--gold-mid);
            box-shadow: 0 0 20px rgba(240, 216, 136, 0.4);
            transform: translateY(-50%) scale(1.08);
        }

        .modal-nav-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        .prev-btn {
            left: 40px;
        }

        .next-btn {
            right: 40px;
        }

        @media (max-width: 992px) {
            .prev-btn {
                left: 20px;
            }
            .next-btn {
                right: 20px;
            }
        }

        @media (max-width: 768px) {
            .modal-nav-btn {
                width: 46px;
                height: 46px;
                font-size: 1.4rem;
            }
            .prev-btn {
                left: 12px;
            }
            .next-btn {
                right: 12px;
            }
        }

        .emblem-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .mail-icon {
            width: 16px;
            height: 16px;
            fill: var(--gold-mid);
        }

        body.modal-open {
            overflow: hidden;
        }

        .mockup-slide-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }