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

body {
    background: #0a0a0a;
    color: #d4af37;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

/* Enhanced dark entrance */
.entrance {
    height: 100vh;
    background: 
        radial-gradient(ellipse 60% 100% at center top, #1a1a1a 0%, #000000 70%),
        linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.darkness {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0f0f0f 60%, #1a1a1a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.darkness::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            rgba(212, 175, 55, 0.01) 1px,
            transparent 2px,
            transparent 100px
        );
    animation: shimmer 8s ease-in-out infinite;
}

/* Intro text */
.intro-text {
    text-align: center;
    z-index: 10;
    margin-bottom: 100px;
}

.title {
    font-size: 4rem;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 
        0 0 30px rgba(212, 175, 55, 0.8),
        0 0 60px rgba(212, 175, 55, 0.4);
    margin-bottom: 20px;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 8px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.7);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 3px;
    animation: fadeInUp 2s ease-out 0.5s both;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(212, 175, 55, 0.6);
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

.scroll-hint span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            0 0 30px rgba(212, 175, 55, 0.8),
            0 0 60px rgba(212, 175, 55, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 40px rgba(212, 175, 55, 1),
            0 0 80px rgba(212, 175, 55, 0.6),
            0 0 120px rgba(212, 175, 55, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

@keyframes shimmer {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Descent tunnel with parallax layers */
.descent {
    height: 150vh;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 50%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

/* Parallax layer system */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Slightly taller for parallax movement */
    pointer-events: none;
}

/* Background layer - moves slowest (far walls) */
.background-layer {
    background: 
        radial-gradient(ellipse 90% 120% at center top, transparent 30%, #1a1a1a 80%),
        linear-gradient(90deg, #0a0a0a 0%, transparent 15%, transparent 85%, #0a0a0a 100%),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(42, 42, 42, 0.05) 2px,
            transparent 4px,
            transparent 30px
        );
    z-index: 1;
}

/* Mid layer - medium speed (close walls with textures) */
.mid-layer {
    z-index: 2;
    background: 
        radial-gradient(ellipse 70% 100% at center top, transparent 50%, rgba(26, 26, 26, 0.3) 90%);
}

/* Foreground layer - moves fastest (particles and debris) */
.foreground-layer {
    z-index: 3;
}

/* Wall textures - now in mid-layer for proper parallax */
.wall-texture-left,
.wall-texture-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 250px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.wall-texture-left {
    left: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            rgba(58, 58, 58, 0.15) 1px,
            transparent 2px,
            transparent 12px
        ),
        repeating-linear-gradient(
            135deg,
            transparent 0px,
            rgba(42, 42, 42, 0.12) 1px,
            transparent 3px,
            transparent 20px
        ),
        linear-gradient(90deg, rgba(26, 26, 26, 0.6) 0%, transparent 100%);
}

.wall-texture-right {
    right: 0;
    background: 
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            rgba(58, 58, 58, 0.15) 1px,
            transparent 2px,
            transparent 12px
        ),
        repeating-linear-gradient(
            -135deg,
            transparent 0px,
            rgba(42, 42, 42, 0.12) 1px,
            transparent 3px,
            transparent 20px
        ),
        linear-gradient(270deg, rgba(26, 26, 26, 0.6) 0%, transparent 100%);
}

/* Wall cracks that appear deeper */
.wall-cracks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: 
        radial-gradient(ellipse 3px 60px at 18% 25%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 2px 90px at 82% 55%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 4px 45px at 28% 75%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 2px 70px at 72% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating debris for foreground parallax */
.floating-debris {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 1px at 20% 30%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        radial-gradient(circle 0.5px at 70% 60%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle 1.5px at 40% 80%, rgba(212, 175, 55, 0.25) 0%, transparent 50%),
        radial-gradient(circle 0.8px at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Enhanced cave floor */
.cave-floor {
    height: 100vh;
    background: 
        radial-gradient(ellipse 120% 80% at center bottom, #3a3a3a 0%, #2a2a2a 40%, #1a1a1a 70%, #000000 100%),
        linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.05) 80%, rgba(212, 175, 55, 0.1) 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.cave-floor::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(42, 42, 42, 0.3) 2px,
            transparent 4px,
            transparent 50px
        );
    opacity: 0.5;
}

.ground {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse 80% 50% at center bottom, rgba(58, 58, 58, 0.8) 0%, transparent 70%);
}

.ground::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
}

/* The key - much larger and more detailed */
.key-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.5);
}

.key {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.4));
    transition: all 0.3s ease;
}

.key:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 1)) drop-shadow(0 0 80px rgba(212, 175, 55, 0.6));
}

.key-head {
    width: 60px;
    height: 60px;
    background: 
        radial-gradient(circle at 30% 30%, #f4e4a6 0%, #d4af37 40%, #b8941f 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.3),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.key-head::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    border-radius: 50%;
}

.key-head::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: 
        radial-gradient(circle, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.key-shaft {
    width: 120px;
    height: 12px;
    background: 
        linear-gradient(90deg, #d4af37 0%, #f4e4a6 20%, #d4af37 40%, #b8941f 100%);
    margin-left: -6px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    position: relative;
}

.key-shaft::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    border-radius: 1px;
}

.key-teeth {
    width: 24px;
    height: 36px;
    background: 
        linear-gradient(180deg, #d4af37 0%, #f4e4a6 30%, #d4af37 70%, #b8941f 100%);
    margin-left: -6px;
    position: relative;
    box-shadow: 
        2px 0 4px rgba(0, 0, 0, 0.3),
        inset 2px 0 4px rgba(255, 255, 255, 0.2);
}

.key-teeth::before {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    width: 12px;
    height: 8px;
    background: 
        linear-gradient(180deg, #d4af37 0%, #b8941f 100%);
    box-shadow: 
        2px 0 2px rgba(0, 0, 0, 0.3),
        inset 1px 0 2px rgba(255, 255, 255, 0.2);
}

.key-teeth::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 6px;
    width: 18px;
    height: 8px;
    background: 
        linear-gradient(180deg, #d4af37 0%, #b8941f 100%);
    box-shadow: 
        2px 0 2px rgba(0, 0, 0, 0.3),
        inset 1px 0 2px rgba(255, 255, 255, 0.2);
}

/* Enhanced glow effects */
.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(circle, rgba(244, 228, 166, 0.4) 0%, rgba(212, 175, 55, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite reverse;
}

.glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: 
        radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

/* Enhanced LOWKEY text */
.lowkey-text {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.6);
    letter-spacing: 4px;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInGlow 3s ease-in-out 1.5s forwards;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.lowkey-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: 
        radial-gradient(ellipse 100% 50% at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: -1;
    border-radius: 10px;
}

@keyframes fadeInGlow {
    0% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(20px);
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }
    100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0px);
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.4),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .descent {
        height: 120vh;
    }
    
    .key {
        transform: scale(0.8);
    }
    
    .lowkey-text {
        font-size: 12px;
        bottom: 60px;
    }
}

/* Descent enhancements */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particles::before {
    top: 20%;
    left: 30%;
    animation-delay: -2s;
}

.particles::after {
    top: 60%;
    right: 25%;
    animation-delay: -4s;
}



@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Info panel */
.info-panel {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    opacity: 0;
    animation: slideUp 1s ease-out 2s forwards;
    z-index: 10;
}

.contract-section,
.community-section {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contract-section:hover,
.community-section:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.contract-section h3,
.community-section h3 {
    color: #d4af37;
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contract-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 18px;
    gap: 15px;
    min-height: 60px;
}

.contract-address {
    flex: 1;
    color: rgba(212, 175, 55, 0.8);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-all;
    padding: 8px 0;
}

.copy-btn {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #d4af37;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: rgba(212, 175, 55, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

.social-icon {
    font-size: 1.2rem;
}



/* Easter eggs */
.easter-eggs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hidden-gem {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    animation: gemTwinkle 4s ease-in-out infinite;
}

.gem1 { top: 20%; left: 15%; animation-delay: 0s; }
.gem2 { top: 70%; right: 20%; animation-delay: 1.5s; }
.gem3 { bottom: 30%; left: 80%; animation-delay: 3s; }

.hidden-gem:hover {
    transform: scale(1.5) rotate(180deg);
    opacity: 1 !important;
}

@keyframes gemTwinkle {
    0%, 90%, 100% { opacity: 0; }
    5%, 85% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .info-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 90%;
        bottom: 100px;
    }
    
    .contract-section,
    .community-section {
        padding: 15px;
    }
    
    .depth-indicator {
        right: 15px;
    }
}/* P
EAK ENHANCEMENTS */

/* Ambient particles in entrance */
.ambient-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 1px at 20% 30%, rgba(212, 175, 55, 0.4) 0%, transparent 50%),
        radial-gradient(circle 0.5px at 70% 60%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        radial-gradient(circle 1.5px at 40% 80%, rgba(212, 175, 55, 0.5) 0%, transparent 50%),
        radial-gradient(circle 0.8px at 80% 20%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle 1.2px at 15% 70%, rgba(212, 175, 55, 0.3) 0%, transparent 50%);
    animation: ambientFloat 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes ambientFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-10px) rotate(90deg); opacity: 0.8; }
    50% { transform: translateY(-5px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(-15px) rotate(270deg); opacity: 0.9; }
}

/* Enhanced title with glow ring */
.title-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
    z-index: -1;
}

.title-glow-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite reverse;
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.3; 
        border-color: rgba(212, 175, 55, 0.2);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.6; 
        border-color: rgba(212, 175, 55, 0.4);
    }
}

/* Entrance vignette */
.entrance-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 70% 50% at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

/* Enhanced key with pedestal */
.key-pedestal {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: 
        linear-gradient(180deg, rgba(58, 58, 58, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(212, 175, 55, 0.1);
    z-index: 1;
}

/* Energy rings around key */
.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 0;
}

.energy-rings::before,
.energy-rings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: energyRing 3s linear infinite;
}

.energy-rings::before {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.energy-rings::after {
    width: 150px;
    height: 150px;
    animation-delay: 1.5s;
}

@keyframes energyRing {
    0% { 
        transform: translate(-50%, -50%) scale(0.5) rotate(0deg); 
        opacity: 0; 
    }
    50% { 
        opacity: 0.6; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5) rotate(360deg); 
        opacity: 0; 
    }
}

/* Ground mist effect */
.ground-mist {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: 
        radial-gradient(ellipse 100% 50% at center bottom, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: mistFlow 6s ease-in-out infinite;
}

@keyframes mistFlow {
    0%, 100% { 
        transform: translateX(0px) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateX(10px) scale(1.1); 
        opacity: 0.6; 
    }
}

/* Secret runes */
.secret-rune {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s ease;
    animation: runeGlow 5s ease-in-out infinite;
    color: rgba(212, 175, 55, 0.7);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.rune1 { 
    top: 15%; 
    right: 10%; 
    animation-delay: 0s; 
}

.rune2 { 
    bottom: 25%; 
    left: 5%; 
    animation-delay: 2.5s; 
}

.secret-rune:hover {
    transform: scale(1.8) rotate(360deg);
    opacity: 1 !important;
    text-shadow: 0 0 20px rgba(212, 175, 55, 1);
}

@keyframes runeGlow {
    0%, 85%, 100% { opacity: 0; }
    10%, 80% { opacity: 0.7; }
    45% { opacity: 0.9; }
}

/* Cave atmosphere effects */
.cave-atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.05) 2%, transparent 4%),
        linear-gradient(-45deg, transparent 0%, rgba(212, 175, 55, 0.03) 1%, transparent 3%);
    animation: lightShift 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes lightShift {
    0%, 100% { 
        opacity: 0; 
        transform: rotate(0deg); 
    }
    50% { 
        opacity: 0.6; 
        transform: rotate(2deg); 
    }
}

.dust-motes {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 0.5px at 25% 25%, rgba(212, 175, 55, 0.4) 0%, transparent 50%),
        radial-gradient(circle 0.3px at 75% 45%, rgba(212, 175, 55, 0.3) 0%, transparent 50%),
        radial-gradient(circle 0.8px at 45% 75%, rgba(212, 175, 55, 0.5) 0%, transparent 50%),
        radial-gradient(circle 0.4px at 85% 15%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    animation: dustFloat 12s linear infinite;
    opacity: 0;
}

@keyframes dustFloat {
    0% { 
        transform: translateY(100px) translateX(0px); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.6; 
    }
    90% { 
        opacity: 0.6; 
    }
    100% { 
        transform: translateY(-100px) translateX(20px); 
        opacity: 0; 
    }
}

/* Enhanced info panels with better effects */
.contract-section,
.community-section {
    position: relative;
    overflow: hidden;
}

.contract-section::before,
.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.contract-section:hover::before,
.community-section:hover::before {
    left: 100%;
}

/* Enhanced social link with better hover */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
}

/* Mobile enhancements */
@media (max-width: 768px) {
    .title-glow-ring {
        width: 300px;
        height: 300px;
    }
    
    .title-glow-ring::before {
        width: 200px;
        height: 200px;
    }
    
    .energy-rings {
        width: 150px;
        height: 150px;
    }
    
    .secret-rune {
        font-size: 1.4rem;
    }
}

/* Scroll-triggered animations */
.scroll-triggered {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-triggered.active {
    opacity: 1;
    transform: translateY(0);
}

/* Performance optimizations */
.parallax-layer,
.key,
.glow,
.particles {
    will-change: transform;
}

/* Enhanced cursor effects */
.key:hover {
    cursor: pointer;
}

.hidden-gem:hover,
.secret-rune:hover {
    cursor: pointer;
}