/* CSS Variables */
:root {
    --yellow-primary: #FFD700;
    --yellow-light: #FFF3B0;
    --yellow-dark: #E6B800;
    --yellow-accent: #FFEC8B;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --black: #1A1A1A;
    --gray: #666666;
    --gray-light: #E5E5E5;
    --green: #22C55E;
    --red: #EF4444;
    --font-display: 'Dela Gothic One', cursive;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--black);
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}



/* Main Site */
.main-site {
    min-height: 100vh;
}

/* News Ticker */
.news-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    z-index: 200;
    overflow: hidden;
}

.ticker-label {
    background: var(--yellow-primary);
    color: var(--black);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 1;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
    padding-left: 20px;
}

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

/* Navbar */
.navbar {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--yellow-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid var(--yellow-primary);
    border-radius: 25px;
    background: transparent;
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--yellow-primary);
    transform: translateY(-2px);
}

.nav-btn.icon-btn {
    padding: 10px 15px;
}

.connection-btn-wrapper {
    position: relative;
}

.connection-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connection-btn.connected {
    background: var(--green);
    color: var(--white);
}

.connection-btn.disconnected {
    background: var(--red);
    color: var(--white);
    animation: pulse-red 1s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.conn-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    color: var(--yellow-primary);
    letter-spacing: -2px;
    line-height: 1;
    margin: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn.check-btn {
    background: var(--yellow-primary);
    color: var(--black);
}

.hero-btn.check-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4);
}

.hero-btn.x-btn {
    padding: 15px 30px;
    background: var(--black);
    color: var(--white);
}

.hero-btn.x-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 0, 0, 0.4);
}

.hero-btn.buy-btn {
    background: var(--yellow-primary);
    color: var(--black);
}

.hero-btn.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4);
}

.ca-address {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.ca-value {
    color: var(--yellow-primary);
    font-family: monospace;
    user-select: all;
    cursor: pointer;
}




/* Responsive */
@media (max-width: 768px) {
    .news-ticker {
        height: 35px;
    }
    
    .ticker-label {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .ticker-text {
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 20px;
    }
    
    .hero-center {
        gap: 15px;
        padding: 0 10px;
    }
    
    .status-badge {
        padding: 8px 16px;
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero-title-main {
        font-size: clamp(2rem, 15vw, 4rem);
        letter-spacing: -1px;
    }
    
    .hero-buttons {
        gap: 10px;
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .hero-btn.x-btn {
        padding: 12px 20px;
    }
    
    .hero-btn.x-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .ca-address {
        margin-top: 20px;
        font-size: 1rem;
        padding: 0 15px;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .news-ticker {
        height: 30px;
    }
    
    .ticker-label {
        padding: 6px 10px;
        font-size: 0.6rem;
    }
    
    .ticker-text {
        font-size: 0.65rem;
    }
    
    .status-badge {
        padding: 6px 12px;
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .hero-title-main {
        font-size: clamp(1.8rem, 12vw, 3rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .hero-btn.x-btn {
        width: 100%;
    }
    
    .ca-address {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .ca-value {
        font-size: 0.75rem;
        display: block;
        margin-top: 5px;
    }
}
