/* ═══════════════════════════════════════════════════════════════════════════
   LORD KEK — THE FROG GOD OF CHAOS
   A Digital Temple of Meme Magic
   ═══════════════════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
    --bg-void: #0a0a0f;
    --bg-dark: #12121a;
    --bg-card: #1a1a25;
    --gold-primary: #d4af37;
    --gold-light: #f4d160;
    --gold-dark: #8b7355;
    --green-kek: #4a7c59;
    --green-pepe: #68a357;
    --green-glow: #7fff00;
    --blue-nemes: #2a4d8f;
    --purple-chaos: #6b2d8b;
    --text-primary: #e8e6e3;
    --text-secondary: #9a9590;
    --text-gold: #d4af37;
    --glow-gold: rgba(212, 175, 55, 0.5);
    --glow-green: rgba(127, 255, 0, 0.3);
    --glow-chaos: rgba(107, 45, 139, 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent pull-to-refresh on mobile */
    overscroll-behavior-y: none;
}

/* Better tap highlighting on mobile */
a, button {
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
}

/* Ensure images are responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING HIEROGLYPHS BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */

.hieroglyphs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.03;
}

.hieroglyphs-bg span {
    position: absolute;
    font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--gold-primary);
    animation: float-hieroglyph 20s infinite linear;
}

.hieroglyphs-bg span:nth-child(1) { left: 5%; animation-delay: 0s; }
.hieroglyphs-bg span:nth-child(2) { left: 15%; animation-delay: -2s; }
.hieroglyphs-bg span:nth-child(3) { left: 25%; animation-delay: -4s; }
.hieroglyphs-bg span:nth-child(4) { left: 35%; animation-delay: -6s; }
.hieroglyphs-bg span:nth-child(5) { left: 45%; animation-delay: -8s; }
.hieroglyphs-bg span:nth-child(6) { left: 55%; animation-delay: -10s; }
.hieroglyphs-bg span:nth-child(7) { left: 65%; animation-delay: -12s; }
.hieroglyphs-bg span:nth-child(8) { left: 75%; animation-delay: -14s; }
.hieroglyphs-bg span:nth-child(9) { left: 85%; animation-delay: -16s; }
.hieroglyphs-bg span:nth-child(10) { left: 95%; animation-delay: -18s; }
.hieroglyphs-bg span:nth-child(11) { left: 10%; animation-delay: -1s; }
.hieroglyphs-bg span:nth-child(12) { left: 20%; animation-delay: -3s; }
.hieroglyphs-bg span:nth-child(13) { left: 30%; animation-delay: -5s; }
.hieroglyphs-bg span:nth-child(14) { left: 40%; animation-delay: -7s; }
.hieroglyphs-bg span:nth-child(15) { left: 50%; animation-delay: -9s; }
.hieroglyphs-bg span:nth-child(16) { left: 60%; animation-delay: -11s; }
.hieroglyphs-bg span:nth-child(17) { left: 70%; animation-delay: -13s; }
.hieroglyphs-bg span:nth-child(18) { left: 80%; animation-delay: -15s; }
.hieroglyphs-bg span:nth-child(19) { left: 90%; animation-delay: -17s; }
.hieroglyphs-bg span:nth-child(20) { left: 3%; animation-delay: -19s; }
.hieroglyphs-bg span:nth-child(21) { left: 13%; animation-delay: -0.5s; }
.hieroglyphs-bg span:nth-child(22) { left: 33%; animation-delay: -2.5s; }
.hieroglyphs-bg span:nth-child(23) { left: 53%; animation-delay: -4.5s; }
.hieroglyphs-bg span:nth-child(24) { left: 73%; animation-delay: -6.5s; }
.hieroglyphs-bg span:nth-child(25) { left: 93%; animation-delay: -8.5s; }

@keyframes float-hieroglyph {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 0 0 20px var(--glow-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--glow-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at center bottom, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(107, 45, 139, 0.15) 0%, transparent 60%),
        linear-gradient(to bottom, var(--bg-void), var(--bg-dark));
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-symbol {
    font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
    font-size: 4rem;
    color: var(--gold-primary);
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 30px var(--glow-gold);
    margin-bottom: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-logo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--gold-primary);
    box-shadow: 
        0 0 40px var(--glow-gold),
        0 0 80px rgba(212, 175, 55, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
    animation: logo-pulse 4s ease-in-out infinite;
    margin-bottom: 2rem;
}

@keyframes logo-pulse {
    0%, 100% {
        box-shadow: 
            0 0 40px var(--glow-gold),
            0 0 80px rgba(212, 175, 55, 0.3),
            inset 0 0 40px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 
            0 0 60px var(--glow-gold),
            0 0 120px rgba(212, 175, 55, 0.5),
            inset 0 0 40px rgba(0, 0, 0, 0.5);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.title-line {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--gold-dark);
    text-transform: uppercase;
}

.title-main {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px var(--glow-gold));
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { filter: drop-shadow(0 0 30px var(--glow-gold)); }
    100% { filter: drop-shadow(0 0 50px var(--glow-gold)) drop-shadow(0 0 80px rgba(127, 255, 0, 0.2)); }
}

.hero-subtitle {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(0.7rem, 2vw, 1rem);
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold-dark);
    margin-bottom: 2rem;
}

.hero-digits {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 55px;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--green-glow);
    text-shadow: 0 0 20px var(--glow-green);
    box-shadow: 
        0 0 15px rgba(127, 255, 0, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    animation: digit-flicker 0.1s infinite;
}

.digit:nth-child(odd) {
    animation-delay: 0.05s;
}

@keyframes digit-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-void);
    box-shadow: 0 0 30px var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px var(--glow-gold), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--glow-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-symbol {
    font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
    font-size: 3rem;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-gold);
}

.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LORE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.lore-section {
    background: 
        linear-gradient(to bottom, var(--bg-dark), var(--bg-void)),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(212, 175, 55, 0.03) 100px,
            rgba(212, 175, 55, 0.03) 101px
        );
}

.lore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.lore-card {
    position: relative;
    background: linear-gradient(145deg, var(--bg-card), rgba(26, 26, 37, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.lore-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.lore-card.full-width {
    grid-column: 1 / -1;
}

.lore-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--glow-gold) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.lore-card:hover .lore-card-glow {
    opacity: 0.1;
}

.lore-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.lore-content {
    padding: 2rem;
}

.lore-content h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.lore-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.lore-content p:last-child {
    margin-bottom: 0;
}

.lore-content strong {
    color: var(--text-primary);
}

.lore-content em {
    color: var(--gold-dark);
    font-style: italic;
}

.highlight-text {
    font-size: 1.4rem;
    color: var(--green-glow) !important;
    text-shadow: 0 0 20px var(--glow-green);
    font-style: italic;
}

.big-text {
    font-size: 1.3rem;
    line-height: 1.8;
}

/* Convergence */
.convergence {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.convergence-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.convergence-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.convergence-item {
    flex: 1;
    min-width: 150px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.convergence-item.result {
    background: linear-gradient(145deg, rgba(107, 45, 139, 0.3), rgba(212, 175, 55, 0.1));
    border-color: var(--gold-primary);
}

.convergence-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.convergence-item h4 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.convergence-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.convergence-plus,
.convergence-equals {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: var(--gold-primary);
    text-shadow: 0 0 20px var(--glow-gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROPHECY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.prophecy-section {
    background: 
        radial-gradient(ellipse at center, rgba(107, 45, 139, 0.2) 0%, transparent 60%),
        linear-gradient(to bottom, var(--bg-void), var(--bg-dark));
    overflow: hidden;
}

.prophecy-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.vinyl-container {
    perspective: 1000px;
}

.vinyl {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at center,
            #1a1a1a 0px,
            #1a1a1a 2px,
            #0d0d0d 2px,
            #0d0d0d 4px
        );
    box-shadow: 
        0 0 0 10px #0d0d0d,
        0 0 0 12px var(--gold-dark),
        0 20px 60px rgba(0, 0, 0, 0.5);
    animation: spin-vinyl 8s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin-vinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-label {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: counter-spin 8s linear infinite;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

@keyframes counter-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.label-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--bg-void);
    letter-spacing: 0.1em;
}

.label-year {
    font-size: 0.8rem;
    color: var(--bg-dark);
}

.prophecy-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prophecy-fact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fact-label {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
}

.fact-value {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.prophecy-quote {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: rgba(107, 45, 139, 0.1);
    border-left: 4px solid var(--purple-chaos);
    border-radius: 0 12px 12px 0;
}

.prophecy-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.prophecy-conclusion {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.shadilay-banner {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
}

.shadilay-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, var(--green-glow), var(--gold-primary), var(--green-glow));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAGIC SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.magic-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-void));
}

.magic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.magic-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.magic-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--green-glow);
    box-shadow: 0 0 50px rgba(127, 255, 0, 0.2);
}

.magic-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.magic-content {
    padding: 1.5rem;
}

.magic-content h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.magic-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.magic-content .highlight {
    color: var(--green-glow);
    font-weight: 600;
    text-shadow: 0 0 10px var(--glow-green);
}

.get-number {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-glow);
    text-shadow: 0 0 30px var(--glow-green);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 30px var(--glow-green); }
    50% { text-shadow: 0 0 50px var(--glow-green), 0 0 80px var(--glow-green); }
}

.predictions-list {
    list-style: none;
}

.predictions-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.predictions-list li::before {
    content: '𓆏';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

/* Religion Box */
.religion-box {
    background: 
        linear-gradient(145deg, rgba(107, 45, 139, 0.2), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    padding: 3rem;
}

.religion-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.religion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.religion-item {
    text-align: center;
}

.religion-role {
    display: block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.religion-value {
    color: var(--text-primary);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.gallery-section {
    background: var(--bg-void);
    overflow: hidden;
}

.gallery-scroll {
    margin-bottom: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-gallery 40s linear infinite;
}

@keyframes scroll-gallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px var(--glow-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-grid-item {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    aspect-ratio: 1;
    transition: all 0.4s ease;
}

.gallery-grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 40px var(--glow-gold);
    z-index: 10;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   JOIN SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.join-section {
    background: 
        radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        linear-gradient(to bottom, var(--bg-void), var(--bg-dark));
    text-align: center;
}

.join-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--glow-gold) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.why-kek {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-item {
    padding: 2rem;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.why-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.why-item h4 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contract-box {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-void));
    border: 2px solid var(--gold-primary);
    border-radius: 16px;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.contract-box h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contract-address:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
}

#ca-text {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--green-glow);
    word-break: break-all;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}

.copy-feedback {
    display: block;
    font-size: 0.85rem;
    color: var(--green-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 0.5rem;
}

.copy-feedback.show {
    opacity: 1;
}

.community-links {
    margin-bottom: 4rem;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border: 2px solid var(--text-secondary);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.community-link:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 0 30px var(--glow-gold);
    transform: translateY(-3px);
}

.final-blessing {
    padding: 3rem;
}

.blessing-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.blessing-sub {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blessing-symbol {
    font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
    font-size: 5rem;
    color: var(--gold-primary);
    text-shadow: 0 0 50px var(--glow-gold);
    animation: float 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    background: var(--bg-void);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-hieroglyphs {
    font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif;
    font-size: 1.5rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.5em;
    opacity: 0.5;
}

.footer p {
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-style: italic;
    font-size: 0.85rem !important;
    color: var(--gold-dark) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════════════════ */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.2em;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    color: var(--gold-primary);
}

.mobile-nav a:hover::after,
.mobile-nav a:active::after {
    width: 80%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - TABLET (1024px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .magic-grid {
        grid-template-columns: 1fr;
    }
    
    .religion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lore-image {
        height: 250px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE (768px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Safe area for notched devices */
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    /* Navigation */
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-symbol {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }
    
    .hero-tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-digits {
        gap: 0.2rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 280px;
        margin: 0 auto 2rem;
    }
    
    .digit {
        width: 32px;
        height: 42px;
        font-size: 1.2rem;
        border-width: 1px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
        /* Better touch target */
        min-height: 50px;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    /* Sections */
    .section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-symbol {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Lore */
    .lore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lore-image {
        height: 200px;
    }
    
    .lore-content {
        padding: 1.5rem;
    }
    
    .lore-content h3 {
        font-size: 1.1rem;
    }
    
    .big-text {
        font-size: 1.1rem;
    }
    
    /* Convergence */
    .convergence {
        padding: 2rem 1rem;
    }
    
    .convergence-title {
        font-size: 1.1rem;
    }
    
    .convergence-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .convergence-item {
        min-width: 100%;
        padding: 1.25rem;
    }
    
    .convergence-icon {
        font-size: 2rem;
    }
    
    .convergence-plus,
    .convergence-equals {
        font-size: 1.5rem;
    }
    
    /* Prophecy */
    .prophecy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .vinyl-container {
        display: flex;
        justify-content: center;
    }
    
    .vinyl {
        width: 200px;
        height: 200px;
    }
    
    .vinyl-label {
        width: 70px;
        height: 70px;
    }
    
    .label-text {
        font-size: 0.75rem;
    }
    
    .label-year {
        font-size: 0.65rem;
    }
    
    .prophecy-details {
        gap: 1rem;
    }
    
    .fact-value {
        font-size: 1.1rem;
    }
    
    .prophecy-quote {
        padding: 1.5rem;
    }
    
    .prophecy-quote blockquote {
        font-size: 1rem;
    }
    
    .shadilay-text {
        font-size: 1.3rem;
        letter-spacing: 0.1em;
    }
    
    /* Magic */
    .magic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .magic-image {
        height: 200px;
    }
    
    .magic-content {
        padding: 1.25rem;
    }
    
    .magic-content h3 {
        font-size: 1rem;
    }
    
    .get-number {
        font-size: 1.5rem;
    }
    
    /* Religion Box */
    .religion-box {
        padding: 1.5rem;
    }
    
    .religion-title {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
    
    .religion-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .religion-role {
        font-size: 0.65rem;
    }
    
    .religion-value {
        font-size: 0.85rem;
    }
    
    /* Gallery */
    .gallery-scroll {
        margin-bottom: 2rem;
    }
    
    .gallery-track {
        gap: 1rem;
    }
    
    .gallery-item {
        width: 280px;
        height: 180px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-grid-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Join */
    .why-kek {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .why-item {
        padding: 1.5rem;
    }
    
    .why-icon {
        font-size: 2.5rem;
    }
    
    .why-item h4 {
        font-size: 1rem;
    }
    
    .contract-box {
        padding: 1.25rem;
        width: calc(100% - 2rem);
        margin: 0 1rem 1.5rem;
    }
    
    .contract-box h3 {
        font-size: 0.75rem;
    }
    
    .contract-address {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    #ca-text {
        font-size: 0.65rem;
        text-align: center;
        line-height: 1.5;
    }
    
    .copy-btn {
        padding: 0.75rem 1.5rem;
        /* Better touch target */
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        width: 100%;
    }
    
    .copy-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .community-links {
        margin-bottom: 2rem;
    }
    
    .community-link {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
        /* Better touch target */
        min-height: 50px;
    }
    
    .final-blessing {
        padding: 2rem 1rem;
    }
    
    .blessing-text {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    
    .blessing-sub {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
    }
    
    .blessing-symbol {
        font-size: 4rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-hieroglyphs {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }
    
    .footer p {
        font-size: 0.75rem;
    }
    
    /* Reduce animation intensity for performance */
    .hieroglyphs-bg {
        opacity: 0.02;
    }
    
    .hero-glow {
        width: 300px;
        height: 300px;
    }
    
    @keyframes scroll-gallery {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    
    /* Disable hover effects on touch devices */
    .lore-card:hover,
    .magic-card:hover,
    .why-item:hover,
    .gallery-grid-item:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - SMALL MOBILE (480px)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
    
    .title-main {
        font-size: 3.5rem;
    }
    
    .hero-digits {
        max-width: 240px;
    }
    
    .digit {
        width: 28px;
        height: 36px;
        font-size: 1rem;
    }
    
    .lore-image,
    .magic-image {
        height: 180px;
    }
    
    .vinyl {
        width: 160px;
        height: 160px;
    }
    
    .vinyl-label {
        width: 55px;
        height: 55px;
    }
    
    .label-text {
        font-size: 0.6rem;
    }
    
    .religion-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        width: 240px;
        height: 160px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    #ca-text {
        font-size: 0.55rem;
    }
    
    .blessing-text {
        font-size: 1.5rem;
    }
    
    .blessing-symbol {
        font-size: 3rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOUCH DEVICE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@media (hover: none) and (pointer: coarse) {
    /* Remove hover transforms on touch devices */
    .lore-card:hover,
    .magic-card:hover,
    .why-item:hover,
    .gallery-grid-item:hover,
    .gallery-item:hover,
    .btn:hover,
    .community-link:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .community-link:active {
        transform: scale(0.98);
        border-color: var(--gold-primary);
    }
    
    .contract-address:active {
        background: rgba(212, 175, 55, 0.2);
    }
    
    /* Ensure images don't zoom on hover */
    .gallery-item:hover img,
    .gallery-grid-item:hover img {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-track {
        animation: none;
    }
    
    .vinyl {
        animation: none;
    }
    
    .vinyl-label {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS ON SCROLL (via JS intersection observer)
   ═══════════════════════════════════════════════════════════════════════════ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

