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

:root {
    --blue: #00D9FF;
    --blue-light: #4DE8FF;
    --blue-dark: #0099CC;
    --dark: #0A0A0A;
    --dark-gray: #1A1A1A;
    --light-gray: #2A2A2A;
    --text-light: #E5E5E5;
    --text-gray: #999;
    --green: #00C896;
    --red: #FF4757;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.86) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(10, 10, 10, 0.7) 100%
    );
    z-index: 1;
}

.sound-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* More Menu */
.more-menu-container {
    position: absolute;
    top: 20px;
    right: 80px;
    z-index: 3;
}

.more-menu-btn {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

.more-menu-btn:hover {
    border-color: rgba(0, 217, 255, 0.6);
    background: rgba(26, 26, 26, 0.9);
    transform: translateY(-2px);
}

.more-menu-btn.active {
    border-color: var(--blue);
    background: rgba(26, 26, 26, 0.95);
}

.more-icon {
    transition: transform 0.3s ease;
}

.more-menu-btn.active .more-icon {
    transform: rotate(180deg);
}

.more-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.more-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.more-menu-item {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.more-menu-item:last-child {
    border-bottom: none;
}

.more-menu-item:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--blue);
    padding-left: 25px;
}

.sound-toggle:hover {
    border-color: rgba(0, 217, 255, 0.6);
    background: rgba(26, 26, 26, 0.9);
    transform: scale(1.1);
}

.sound-toggle.active {
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.sound-icon {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    zoom: 0.82;
    transform: scale(0.82);
    transform-origin: top center;
}

.logo-container {
    margin-bottom: 50px;
    padding: 0 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--blue);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 217, 255, 0.5);
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-light);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s both;
    margin-bottom: 20px;
}

.subtagline-container {
    position: relative;
    min-height: 3em;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.subtagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(10px);
    pointer-events: none;
}

.subtagline.active {
    opacity: 0.9;
    transform: translateY(0);
    pointer-events: auto;
}

.price-display {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 40px 60px;
    margin: 50px auto;
    max-width: 500px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.price-display:hover {
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.price-value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--blue);
    font-family: 'Inter', monospace;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    transition: all 0.5s ease;
}

.price-value.updating {
    animation: pricePulse 0.6s ease-in-out;
}

.market-cap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    margin-top: 20px;
}

.price-main {
    margin-bottom: 0;
}

.market-cap-label {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.market-cap-value {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--blue);
    font-family: 'Inter', monospace;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    transition: all 0.5s ease;
}

.market-cap-value.updating {
    animation: pricePulse 0.6s ease-in-out;
}

/* Price Change Indicator */
.price-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.9em;
    font-weight: 600;
}

.price-change[style*="display: none"] {
    display: none !important;
}

.change-value {
    font-family: 'Inter', monospace;
    transition: all 0.3s ease;
}

.change-value.positive {
    color: var(--green);
}

.change-value.negative {
    color: var(--red);
}

.change-label {
    font-size: 0.85em;
    color: var(--text-gray);
    font-weight: 500;
    margin-right: 4px;
}

.change-icon {
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.change-icon.positive::before {
    content: '↑';
    color: var(--green);
}

.change-icon.negative::before {
    content: '↓';
    color: var(--red);
}

/* Buy Now Button */
.buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--dark);
    padding: 20px 50px;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    border-radius: 8px;
    margin: 40px auto;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.buy-now-btn:hover::before {
    left: 100%;
}

.buy-now-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

.buy-now-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.buy-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.buy-now-btn:hover .buy-icon {
    opacity: 0;
    transform: translateX(10px);
}

.contract-address {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}


/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--green);
    color: var(--dark);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 200, 150, 0.4);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.check-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Loading skeleton */
.loading-skeleton {
    display: inline-block;
    background: linear-gradient(
        90deg,
        rgba(0, 217, 255, 0.1) 0%,
        rgba(0, 217, 255, 0.3) 50%,
        rgba(0, 217, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: 4px;
    min-width: 120px;
    height: 1em;
    vertical-align: middle;
}

.price-value.loading-skeleton {
    min-width: 150px;
    height: 1.2em;
}

.market-cap-value.loading-skeleton {
    min-width: 100px;
    height: 1em;
}

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

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    max-width: 100%;
}

.social-btn {
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    padding: 15px 35px;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-btn:hover::before {
    left: 0;
}

.social-btn:hover {
    color: var(--dark);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.social-btn span {
    position: relative;
    z-index: 1;
}

.contract-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.8s both;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    zoom: 0.82;
    transform: scale(0.82);
    transform-origin: bottom center;
}

.contract-label {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

.contract-address {
    font-family: 'Inter', monospace;
    font-size: 0.9em;
    color: var(--blue);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 15px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    text-align: center;
    word-break: break-all;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.contract-address:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
    transform: translateY(-2px);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    margin-top: 10px;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .logo {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: clamp(0.8rem, 3vw, 1rem);
        letter-spacing: 0.2em;
    }
    
    .subtagline-container {
        min-height: 2.5em;
        padding: 0 10px;
    }
    
    .subtagline {
        font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .price-display {
        padding: 25px 30px;
        margin: 40px auto;
        max-width: 90%;
    }
    
    .price-value {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .price-change {
        font-size: 1em;
    }
    
    .market-cap-container {
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .market-cap-value {
        font-size: 1em;
    }
    
    .social-links {
        gap: 10px;
        margin-top: 30px;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }
    
    /* Mobile order: X, X Community, DexScreener, TikTok, Instagram */
    #twitter-btn {
        order: 1;
    }
    
    #community-btn {
        order: 2;
    }
    
    #dexscreener-btn {
        order: 3;
    }
    
    #tiktok-btn {
        order: 4;
    }
    
    #instagram-btn {
        order: 5;
    }
    
    .social-btn {
        padding: 12px 25px;
        font-size: 0.85em;
        width: 100%;
        max-width: 280px;
    }
    
    .contract-indicator {
        bottom: 20px;
        padding: 0 15px;
    }
    
    .contract-label {
        font-size: 0.7em;
    }
    
    .contract-address {
        font-size: 0.75em;
        padding: 6px 12px;
        max-width: 100%;
    }
    
    .buy-now-btn {
        padding: 16px 35px;
        font-size: 1rem;
        margin: 25px auto;
        width: 90%;
        max-width: 300px;
    }
    
    
    .scroll-line {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 10px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .price-display {
        padding: 20px 20px;
    }
    
    .price-value {
        font-size: 1.8rem;
    }
    
    .social-links {
        gap: 8px;
        margin-top: 25px;
    }
    
    .social-btn {
        padding: 10px 20px;
        font-size: 0.8em;
        max-width: 100%;
    }
    
    .contract-address {
        font-size: 0.7em;
        padding: 5px 10px;
    }
    
    .buy-now-btn {
        padding: 14px 30px;
        font-size: 0.9rem;
        width: 95%;
    }
    
    .more-menu-container {
        right: 70px;
        top: 15px;
    }
    
    .more-menu-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .more-menu-dropdown {
        min-width: 180px;
        top: calc(100% + 8px);
    }
    
    .more-menu-item {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .price-change {
        font-size: 0.75em;
    }
}
