/* ============================================================
   PharaohUnlock — Premium Ancient Egypt × Cyberpunk Design v3
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables (Premium V5) ---------- */
:root {
    /* Ancient Gold & Lapis */
    --pharaoh-gold: #D4AF37;
    --pharaoh-gold-dim: #997A1D;
    --pharaoh-gold-light: #F7D87D;
    --pharaoh-gold-ultra: #FFD700;

    --lapis-blue: #0F2337;
    --lapis-light: #1B3A5C;
    --nile-teal: #2A9D8F;

    /* Cyber Elements */
    --cyber-blue: #00D4FF;
    --cyber-blue-glow: rgba(0, 212, 255, 0.4);
    --cyber-purple: #9B59FF;
    --cyber-pink: #FF00E5;

    /* Dark Matter Palette */
    --obsidian: #050508;
    --obsidian-dark: #020205;
    --obsidian-soft: #0D0D15;
    --obsidian-card: rgba(10, 10, 20, 0.7);

    /* Textures & Accents */
    --sandstone: #C2A97E;
    --papyrus: #F5E6C8;
    --success: #00FF88;
    --error: #FF3366;
    --warning: #FFCC00;

    /* Glassmorphism V5 */
    --glass-bg: rgba(8, 8, 15, 0.7);
    --glass-border: rgba(212, 175, 55, 0.15);
    --glass-border-bright: rgba(212, 175, 55, 0.3);
    --glass-hover: rgba(212, 175, 55, 0.08);
    --glass-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    --glass-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

    /* Spacing & Motion */
    --container-w: 1240px;
    --section-pad: 140px 0;
    --transition-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--obsidian);
    color: var(--papyrus);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--pharaoh-gold);
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: var(--neon-gold);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--pharaoh-gold);
    color: var(--obsidian);
}

.container {
    width: 90%;
    max-width: var(--container-w);
    margin: 0 auto;
}

/* ---------- Animated Background Grain ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ---------- Floating Hieroglyphs Background ---------- */
.floating-hieroglyphs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-hieroglyphs span {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    animation: floatHiero 20s linear infinite;
    color: var(--pharaoh-gold);
}

@keyframes floatHiero {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }

    10% {
        opacity: 0.08;
    }

    90% {
        opacity: 0.08;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) rotate(360deg);
    }
}

/* ---------- Hieroglyphic Border Pattern ---------- */
.hiero-border {
    position: relative;
}

.hiero-border::before {
    content: '𓂀 𓃭 𓆣 𓇼 𓊝 𓋹 𓌙 𓂀 𓃭 𓆣 𓇼 𓊝 𓋹 𓌙 𓂀 𓃭 𓆣 𓇼 𓊝 𓋹 𓌙 𓂀 𓃭 𓆣 𓇼';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--pharaoh-gold);
    opacity: 0.3;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    animation: scrollHiero 30s linear infinite;
}

@keyframes scrollHiero {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all .5s var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 8, 15, 0.95);
    backdrop-filter: blur(25px) saturate(1.2);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo image in navbar --- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--pharaoh-gold);
    flex-shrink: 0;
    z-index: 10;
}

.nav-logo .logo-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--cyber-blue-glow));
    animation: logoGlow 3s ease-in-out infinite;
    transition: transform .4s var(--transition-smooth);
    display: block;
}

.nav-logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px var(--cyber-blue-glow));
    }

    50% {
        filter: drop-shadow(0 0 20px var(--pharaoh-gold));
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--papyrus);
    position: relative;
    padding-bottom: 4px;
    transition: all .3s var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--pharaoh-gold), var(--cyber-blue));
    transition: width .4s var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--pharaoh-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--pharaoh-gold);
    font-size: 24px;
    cursor: pointer;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at center, transparent 30%, var(--obsidian) 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

/* --- Hero Logo --- */
.hero-logo-wrap {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    animation: fadeInDown .8s var(--transition-smooth) forwards;
    width: 160px;
    height: 160px;
}

.hero-logo {
    width: 100% !important;
    height: 100% !important;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.3));
    animation: heroLogoFloat 5s ease-in-out infinite, heroLogoGlow 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
    display: block;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, rgba(212, 175, 55, 0.06) 40%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroLogoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes heroLogoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.7)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.5));
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Animated badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(17, 17, 32, 0.7);
    backdrop-filter: blur(15px);
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 500;
    color: var(--cyber-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown .8s var(--transition-smooth) .2s forwards, badgePulse 4s ease-in-out infinite 1s;
    opacity: 0;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }

    50% {
        box-shadow: 0 0 20px 2px rgba(0, 212, 255, 0.15);
    }
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green);
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--success-green);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px var(--success-green);
    }

    50% {
        opacity: .6;
        transform: scale(1.4);
        box-shadow: 0 0 16px var(--success-green);
    }
}

/* Hero Title */
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 82px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    animation: fadeInUp 1s var(--transition-smooth) forwards;
}

.hero h1 .gold {
    color: var(--pharaoh-gold);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
}

.hero h1 .glow {
    background: linear-gradient(135deg, var(--pharaoh-gold), var(--cyber-blue), var(--pharaoh-gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--sandstone);
    max-width: 620px;
    margin: 0 auto 44px;
    opacity: 0;
    animation: fadeInUp 1s var(--transition-smooth) .3s forwards;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--transition-smooth) .6s forwards;
}

/* ---------- Buttons (Premium V5) ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    border-radius: 12px;
    border: 1px solid var(--pharaoh-gold-light);
    cursor: pointer;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--pharaoh-gold), var(--pharaoh-gold-dim));
    color: var(--obsidian-dark);
    box-shadow:
        0 4px 15px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s var(--transition-premium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s var(--transition-premium);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    color: #000;
    border-color: var(--pharaoh-gold-ultra);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    border-radius: 12px;
    border: 1px solid var(--glass-border-bright);
    cursor: pointer;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--pharaoh-gold);
    transition: all 0.4s var(--transition-premium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    transform: translateY(-5px);
    border-color: var(--pharaoh-gold);
    color: var(--pharaoh-gold-ultra);
    background: var(--glass-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
}

/* ---------- Section Titles ---------- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyber-blue);
    margin-bottom: 18px;
    padding: 8px 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.05);
    animation: tagGlow 3s ease-in-out infinite;
}

@keyframes tagGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 700;
    color: var(--papyrus);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.section-title .gold {
    color: var(--pharaoh-gold);
}

.section-desc {
    font-size: 16px;
    color: var(--sandstone-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Stats Bar (Animated) ---------- */
.stats-bar {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(17, 17, 32, 0.8), rgba(8, 8, 15, 0.9));
    backdrop-filter: blur(25px);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 20px;
    transition: transform .4s var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    display: block;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.stat-item .stat-label {
    font-size: 12px;
    color: var(--sandstone-dim);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 6px;
    font-family: var(--font-accent);
    font-weight: 500;
}

/* ---------- Registration Section ---------- */
.register-section {
    padding: var(--section-pad);
    position: relative;
    background: linear-gradient(180deg, var(--obsidian), var(--obsidian-mid));
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.register-card {
    background: rgba(17, 17, 32, 0.7);
    backdrop-filter: blur(25px) saturate(1.2);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 28px;
    padding: 55px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all .5s var(--transition-smooth);
}

.register-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.05);
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pharaoh-gold), var(--cyber-blue), var(--cyber-purple), var(--pharaoh-gold));
    background-size: 300% 100%;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 300% 0;
    }

    100% {
        background-position: -300% 0;
    }
}

.register-card::after {
    content: '𓂀';
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 40px;
    color: var(--pharaoh-gold);
    opacity: 0.04;
    pointer-events: none;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 14px;
    color: var(--papyrus);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.form-label i {
    color: var(--pharaoh-gold);
    font-size: 16px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(8, 8, 15, 0.6);
    color: var(--papyrus);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all .4s var(--transition-smooth);
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--pharaoh-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08), 0 0 20px rgba(212, 175, 55, 0.08);
    background: rgba(8, 8, 15, 0.8);
}

.form-input::placeholder {
    color: var(--sandstone-dim);
}

.form-help {
    font-size: 12px;
    color: var(--sandstone-dim);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-help i {
    color: var(--cyber-blue);
    font-size: 11px;
}

.register-btn {
    width: 100%;
    padding: 20px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--pharaoh-gold), var(--pharaoh-gold-dim));
    color: var(--obsidian);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.3);
    transition: all .4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left .6s var(--transition-smooth);
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 45px rgba(212, 175, 55, 0.5);
}

.register-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.register-btn .spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid transparent;
    border-top-color: var(--obsidian);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto;
}

.register-btn.loading .btn-text {
    display: none;
}

.register-btn.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Registration messages */
.form-message {
    margin-top: 22px;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: fadeInUp .4s var(--transition-smooth);
}

.form-message.success {
    display: block;
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.25);
    color: var(--success-green);
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.05);
}

.form-message.error {
    display: block;
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.25);
    color: var(--error-red);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.05);
}

/* Status check area */
.status-check {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid var(--glass-border);
}

.status-row {
    display: flex;
    gap: 12px;
}

.status-row .form-input {
    flex: 1;
}

.status-btn {
    padding: 16px 28px;
    border-radius: 14px;
    border: 1px solid var(--cyber-blue);
    background: rgba(0, 212, 255, 0.04);
    color: var(--cyber-blue);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .4s var(--transition-smooth);
}

.status-btn:hover {
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.12), 0 0 0 1px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* ---------- How It Works Section ---------- */
.howto-section {
    padding: var(--section-pad);
    background: linear-gradient(180deg, var(--obsidian-mid), var(--obsidian));
    position: relative;
}

.howto-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.howto-step {
    background: rgba(17, 17, 32, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 24px;
    padding: 45px 32px;
    text-align: center;
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    transition: all .5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.howto-step:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.05);
}

.step-number {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 900;
    color: var(--pharaoh-gold);
    opacity: 0.06;
    line-height: 1;
}

.step-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.15);
    color: var(--cyber-blue);
    transition: all .4s var(--transition-smooth);
}

.howto-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(212, 175, 55, 0.12));
}

.howto-step h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    margin-bottom: 10px;
}

.howto-step p {
    font-size: 14px;
    color: var(--sandstone-dim);
    line-height: 1.7;
}

.howto-connector {
    color: var(--pharaoh-gold);
    font-size: 22px;
    opacity: 0.3;
    flex-shrink: 0;
}

/* ---------- Services Section ---------- */
.services-section {
    padding: var(--section-pad);
    background: linear-gradient(180deg, var(--obsidian), var(--obsidian-light), var(--obsidian));
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(17, 17, 32, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 24px;
    padding: 45px 32px;
    text-align: center;
    transition: all .5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.2) 50%, transparent 60%);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .5s;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.05);
}

.service-card.featured {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.08);
    background: rgba(17, 17, 32, 0.75);
}

.service-card.featured::after {
    content: '★ POPULAR';
    position: absolute;
    top: 22px;
    right: -30px;
    background: linear-gradient(135deg, var(--pharaoh-gold), var(--pharaoh-gold-dim));
    color: var(--obsidian);
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 38px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(0, 212, 255, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all .4s var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--pharaoh-gold);
    margin-bottom: 10px;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 900;
    color: var(--papyrus);
    margin-bottom: 6px;
}

.service-price .period {
    font-size: 14px;
    font-weight: 400;
    color: var(--sandstone-dim);
}

.service-price.free {
    color: var(--success-green);
    font-size: 34px;
    text-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
}

.service-desc {
    font-size: 14px;
    color: var(--sandstone-dim);
    margin-bottom: 28px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.service-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--sandstone);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.04);
    transition: all .3s;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:hover {
    padding-left: 8px;
    color: var(--papyrus);
}

.service-features li .check {
    color: var(--success-green);
    font-size: 14px;
    flex-shrink: 0;
}

/* ---------- Devices Section ---------- */
.devices-section {
    padding: var(--section-pad);
    background: var(--obsidian);
}

.devices-table-wrap {
    background: rgba(17, 17, 32, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.devices-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.devices-table-wrap thead {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 212, 255, 0.04));
}

.devices-table-wrap th {
    padding: 20px 24px;
    text-align: left;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pharaoh-gold);
    border-bottom: 1px solid var(--glass-border);
}

.devices-table-wrap td {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--sandstone);
    border-bottom: 1px solid rgba(212, 175, 55, 0.04);
    transition: all .3s;
}

.devices-table-wrap tbody tr {
    transition: all .3s var(--transition-smooth);
}

.devices-table-wrap tbody tr:hover {
    background: rgba(212, 175, 55, 0.04);
}

.devices-table-wrap tbody tr:hover td {
    color: var(--papyrus);
}

.device-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-accent);
}

.device-badge.iphone {
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyber-blue);
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.device-badge.ipad {
    background: rgba(155, 89, 255, 0.08);
    color: var(--cyber-purple);
    border: 1px solid rgba(155, 89, 255, 0.15);
}

.device-tabs {
    display: flex;
    gap: 10px;
    padding: 22px 24px 0;
    flex-wrap: wrap;
}

.device-tab {
    padding: 10px 26px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: transparent;
    color: var(--sandstone);
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .4s var(--transition-smooth);
}

.device-tab.active,
.device-tab:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--pharaoh-gold);
    color: var(--pharaoh-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

/* ---------- Download Section ---------- */
.download-section {
    padding: var(--section-pad);
    background: radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.05), transparent 40%);
    position: relative;
}

.download-card {
    background: var(--obsidian-card);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform: translateY(-5px);
}

.download-card .dl-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 28px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.download-card h3 {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--pharaoh-gold);
    margin-bottom: 14px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.download-card p {
    color: var(--sandstone-dim);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.8;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.download-info span {
    font-size: 13px;
    color: var(--sandstone-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all .3s;
}

.download-info span:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.download-info span i {
    color: var(--pharaoh-gold);
}

/* ---------- Community / Contact ---------- */
.community-section {
    padding: var(--section-pad);
    background: var(--obsidian);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.community-card {
    background: rgba(17, 17, 32, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    transition: all .5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.06), transparent 70%);
    opacity: 0;
    transition: opacity .5s;
}

.community-card:hover::before {
    opacity: 1;
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}

.community-card .card-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 18px;
    transition: transform .4s var(--transition-smooth);
}

.community-card:hover .card-icon {
    transform: scale(1.15);
}

.community-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--pharaoh-gold);
    margin-bottom: 10px;
}

.community-card p {
    font-size: 14px;
    color: var(--sandstone-dim);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(8, 8, 15, 0.8);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    opacity: 0.7;
    transition: all .4s;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-text {
    font-size: 14px;
    color: var(--sandstone-dim);
}

.footer-text .brand {
    color: var(--pharaoh-gold);
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .reveal:nth-child(1) {
    transition-delay: 0s;
}

.services-grid .reveal:nth-child(2) {
    transition-delay: .15s;
}

.services-grid .reveal:nth-child(3) {
    transition-delay: .3s;
}

.howto-grid .reveal:nth-child(1) {
    transition-delay: 0s;
}

.howto-grid .reveal:nth-child(2) {
    transition-delay: .1s;
}

.howto-grid .reveal:nth-child(3) {
    transition-delay: .2s;
}

.howto-grid .reveal:nth-child(4) {
    transition-delay: .3s;
}

.howto-grid .reveal:nth-child(5) {
    transition-delay: .4s;
}

/* ---------- Splash animation keyframes ---------- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 8, 15, 0.98);
        backdrop-filter: blur(25px);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-logo .logo-img {
        width: 36px !important;
        height: 36px !important;
    }

    .hero-logo-wrap {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }

    .howto-grid {
        flex-direction: column;
    }

    .howto-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-logo-wrap {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 10px;
    }
}

/* ---------- Panel Section (Lostmode) ---------- */
.panel-section {
    padding: var(--section-pad);
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05), transparent 40%);
    position: relative;
    z-index: 5;
}

.panel-rent-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 80px;
    align-items: center;
    background: var(--obsidian-card);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.panel-rent-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--glass-noise);
    opacity: 0.03;
    pointer-events: none;
}

.premium-list {
    list-style: none;
    margin: 30px 0 45px;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--papyrus);
}

.panel-cta {
    display: flex;
    gap: 20px;
}

.panel-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-logo {
    width: 280px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ---------- Courses Section ---------- */
.courses-section {
    padding: var(--section-pad);
    background: var(--obsidian-dark);
    position: relative;
    z-index: 5;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 30px;
    transition: all 0.5s var(--transition-premium);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.course-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-15px);
    border-color: var(--pharaoh-gold-light);
    background: rgba(17, 17, 32, 0.9);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--pharaoh-gold);
    color: var(--obsidian);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.course-card h3 {
    font-family: var(--font-heading);
    color: var(--pharaoh-gold);
    font-size: 24px;
    margin-bottom: 20px;
}

.course-card p {
    color: var(--sandstone);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.course-price {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--papyrus);
    margin-bottom: 30px;
}

/* ---------- Global Responsive Breaks ---------- */
@media (max-width: 1024px) {
    .panel-rent-card {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }

    .panel-visual {
        display: none;
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }

    .premium-list li {
        justify-content: center;
    }

    .panel-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .panel-cta {
        flex-direction: column;
    }

    .panel-cta .btn-primary,
    .panel-cta .btn-secondary {
        width: 100%;
    }

    .hero-logo {
        width: 130px;
        height: 130px;
    }
}