/* Modern CSS Reset & Variables - GOLD/BLACK THEME */
:root {
    --bg-color: #050403;
    --text-primary: #e6dfd1;
    --text-secondary: #a09585;
    --accent-1: #c59b5f;
    --accent-2: #f3d38e;
    --card-bg: rgba(20, 15, 10, 0.7);
    --border-color: rgba(197, 155, 95, 0.2);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, #1a140f 0%, #050403 100%);
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #8b6b3e;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #5c431d;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #38250f;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 4, 3, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    background: rgba(197, 155, 95, 0.05);
    border: 1px solid var(--border-color);
    color: var(--accent-2);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    background: rgba(197, 155, 95, 0.15);
    transform: translateY(-2px);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(197, 155, 95, 0.2);
}

.music-btn {
    padding: 0.6rem;
    width: 40px;
    height: 40px;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 3rem 5%;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(197, 155, 95, 0.3));
}

.title-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ffffff;
    letter-spacing: 4px;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}

/* Taglines */
.hero-taglines {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0;
    align-items: center;
}

.tagline-main {
    color: var(--accent-1);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.tagline-sub {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: rgba(197, 155, 95, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-1);
}

.icon-gold {
    color: var(--accent-1);
    font-size: 1.5rem;
}

.tagline-sub p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

.hero-image-container {
    margin: 1rem 0 2rem;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(197,155,95,0.4), rgba(5,4,3,1));
    position: relative;
    box-shadow: 0 0 50px rgba(197, 155, 95, 0.15);
    transition: transform 0.5s ease;
}

.hero-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(197, 155, 95, 0.25);
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 4px;
    display: block;
    filter: contrast(1.1);
}

/* CA Section */
.ca-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
    margin-bottom: 1rem;
}

.ca-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ca-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(197, 155, 95, 0.2);
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border-radius: 4px;
}

#ca-text {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--accent-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 1rem;
}

.copy-btn {
    background: rgba(197, 155, 95, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(197, 155, 95, 0.3);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-btn:hover {
    background: var(--accent-1);
    color: #000;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--accent-1);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    background: rgba(197, 155, 95, 0.1);
    border-color: var(--accent-1);
    color: var(--accent-2);
}

.social-btn.pumpfun {
    width: auto;
    padding: 0 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: transparent;
    color: var(--accent-2);
    border: 1px solid var(--accent-1);
    text-transform: uppercase;
}

.social-btn.pumpfun:hover {
    box-shadow: 0 0 20px rgba(197, 155, 95, 0.3);
    background: rgba(197, 155, 95, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(197, 155, 95, 0.2);
    padding-top: 3rem;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-1);
}

.feature-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.4;
}

/* Interactive State */
.reveal-element {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.state-entered .reveal-element {
    animation: fadeInUp 1.5s ease forwards;
}

.state-entered .hero-title {
    display: block;
}

.state-entered .hero-taglines {
    display: flex;
}

.state-entered .ca-container {
    display: block;
}

.state-entered .social-links {
    display: flex;
}

.state-entered .features-grid {
    display: grid;
}

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

#enter-door {
    cursor: pointer;
    position: relative;
}

.state-initial #enter-door {
    animation: pulseImage 2s infinite alternate;
}

.click-to-enter-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-2);
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 10;
    letter-spacing: 4px;
    background: rgba(0,0,0,0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-1);
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.state-entered .click-to-enter-text {
    opacity: 0;
    display: none;
}

@keyframes pulseImage {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(197, 155, 95, 0.2); }
    100% { transform: scale(1.05); box-shadow: 0 0 60px rgba(197, 155, 95, 0.5); }
}

.state-entered .hero-title { animation-delay: 0.1s; }
.state-entered .hero-taglines { animation-delay: 0.8s; }
.state-entered .ca-container { animation-delay: 1.5s; }
.state-entered .social-links { animation-delay: 2.2s; }
.state-entered .features-grid { animation-delay: 2.9s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .ca-box {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
    }
    
    #ca-text {
        text-align: center;
        padding-right: 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
