/* ================================
   GLOBAL STYLES & RESET
   ================================ */

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

:root {
    --gold: #f9c600;
    --black: #000000;
    --white: #fefefe;
    --red: #e63946;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--black) url('Yellow Star Background.png') center/cover fixed;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================
   STARRY BACKGROUND ANIMATION
   ================================ */

@keyframes starShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    animation: starShimmer 4s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */

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

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

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

/* ================================
   THE ROCK IMAGE & ANIMATIONS
   ================================ */

.rock-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.rock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(249, 198, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
}

.rock-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    animation: floatRock 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(249, 198, 0, 0.5));
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.rock-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(249, 198, 0, 0.8));
}

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

/* ================================
   HERO TEXT
   ================================ */

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(249, 198, 0, 0.5);
    letter-spacing: 1px;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* ================================
   BUTTONS
   ================================ */

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

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, #c62828 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(249, 198, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(249, 198, 0, 0.6);
}

.btn-community {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-community:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(249, 198, 0, 0.5);
}

/* ================================
   SCROLL INDICATOR
   ================================ */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: rotate(-45deg);
}

/* ================================
   VIDEO SECTION
   ================================ */

.video-section {
    padding: 6rem 0;
    min-height: auto;
}

.video-wrapper {
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(249, 198, 0, 0.6), 0 0 80px rgba(249, 198, 0, 0.4);
    border: 2px solid rgba(249, 198, 0, 0.5);
    position: relative;
    animation: videoGlow 3s ease-in-out infinite;
}

@keyframes videoGlow {
    0%, 100% { 
        box-shadow: 0 0 50px rgba(249, 198, 0, 0.6), 0 0 80px rgba(249, 198, 0, 0.4);
    }
    50% { 
        box-shadow: 0 0 60px rgba(249, 198, 0, 0.8), 0 0 100px rgba(249, 198, 0, 0.5);
    }
}

.rock-video {
    width: 100%;
    display: block;
    background: var(--black);
}

.video-caption {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about-section {
    position: relative;
    min-height: auto;
    padding: 6rem 0;
}

.floating-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(249, 198, 0, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: rgba(254, 254, 254, 0.9);
}

.about-content .highlight {
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 2rem;
    text-shadow: 0 0 15px rgba(249, 198, 0, 0.4);
}

/* ================================
   TOKENOMICS SECTION
   ================================ */

.tokenomics-section {
    padding: 6rem 0;
    min-height: auto;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.token-card {
    background: rgba(249, 198, 0, 0.05);
    border: 2px solid rgba(249, 198, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(249, 198, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.token-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(249, 198, 0, 0.4);
}

.token-card:hover::before {
    left: 100%;
}

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

.token-label {
    font-size: 0.9rem;
    color: rgba(254, 254, 254, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.token-value {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.token-value.contract {
    font-size: 1.2rem;
    word-break: break-all;
}

.token-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   COMMUNITY SECTION
   ================================ */

.community-section {
    padding: 6rem 0;
    min-height: auto;
}

.community-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    color: rgba(254, 254, 254, 0.9);
}

.community-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(249, 198, 0, 0.2);
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 0 20px rgba(249, 198, 0, 0.6);
}

.footer-text p {
    margin: 0.5rem 0;
    color: rgba(254, 254, 254, 0.8);
}

.footer-subtext {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ================================
   VIDEO MODAL
   ================================ */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(249, 198, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--black);
    transform: rotate(90deg);
}

/* ================================
   PARALLAX EFFECT
   ================================ */

.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtext {
        font-size: 1.1rem;
    }
    
    .rock-image {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .rock-image {
        max-width: 280px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .about-content .highlight {
        font-size: 1.2rem;
    }
    
    .token-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-text {
        font-size: 1rem;
    }
    
    .community-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-social {
        gap: 1.5rem;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .rock-image {
        max-width: 220px;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .token-value {
        font-size: 1.2rem;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */

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

/* ================================
   JOIN X BUTTON (TOP RIGHT)
   ================================ */

.join-x-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 999;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(249, 198, 0, 0.6), 0 0 50px rgba(249, 198, 0, 0.4);
    animation: joinButtonGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes joinButtonGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(249, 198, 0, 0.6), 0 0 50px rgba(249, 198, 0, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(249, 198, 0, 0.8), 0 0 70px rgba(249, 198, 0, 0.5);
        transform: scale(1.05);
    }
}

.join-x-btn:hover {
    background: #ffffff;
    color: var(--black);
    box-shadow: 0 0 50px rgba(249, 198, 0, 0.9), 0 0 90px rgba(249, 198, 0, 0.6);
    transform: scale(1.1) translateY(-2px);
}

/* ================================
   UTILITY CLASSES
   ================================ */

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

.fade-in {
    animation: fadeIn 1s ease-out;
}
