/* ==========================================================================
   CYBERPUNK EFFECTS - CORE VARIABLES & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Cinematic Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAAAAAAAAAABMTExERERmZmZnOtAyAAAACHRSTlMAMwAozC8vMwcUSOIAAAABYktHRACIBR1IAAAAJUlEQVQ4y2NgQAX8DIwsDAwMjOQM7IwMnIyM7IwsjEwMjFAJBgA7lwIxS2u7EwAAAABJRU5ErkJggg==');
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0b; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(2, 113, 252, 0.5);
}


.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    position: relative;
    display: inline-block;
    padding: 0 80px;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00f2fe, transparent);
    animation: linePulse 3s ease-in-out infinite;
}

.section-title::before {
    right: 100%;
    margin-right: 20px;
}

.section-title::after {
    left: 100%;
    margin-left: 20px;
}

@keyframes linePulse {
    0%, 100% {
        width: 60px;
        opacity: 0.5;
    }
    50% {
        width: 80px;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .section-title {
        padding: 0 40px;
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }
    .section-title::before,
    .section-title::after {
        width: 30px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        padding: 0;
    }
    .section-title::before,
    .section-title::after {
        display: none;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.section-tagline {
    font-size: 1.25rem;
    color: var(--text-accent);
    margin: 1.5rem 0 2.5rem 0;
    line-height: 1.5;
    text-align: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(2, 113, 252, 0.1), rgba(2, 113, 252, 0.05));
    border: 1px solid rgba(2, 113, 252, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.section-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 113, 252, 0.1), transparent);
    transition: left 0.8s ease;
}

.section-tagline:hover::before {
    left: 100%;
}

.section-tagline strong {
    color: var(--text-primary);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.experience-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(2, 113, 252, 0.1) 0%,
        rgba(2, 86, 214, 0.05) 100%
    );
    border: 1px solid rgba(2, 113, 252, 0.2);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.experience-note:hover {
    background: linear-gradient(
        135deg,
        rgba(2, 113, 252, 0.15) 0%,
        rgba(2, 86, 214, 0.08) 100%
    );
    border-color: rgba(2, 113, 252, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 113, 252, 0.15);
}

.note-icon {
    font-size: 1.2rem;
    color: #0271FC;
    filter: drop-shadow(0 0 4px rgba(2, 113, 252, 0.4));
}

.experience-note em {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg), 0 0 12px rgba(2, 113, 252, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: #0271FC;
    background: rgba(2, 113, 252, 0.05);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Interactive Elements */
.interactive-btn {
    position: relative;
    overflow: hidden;
}

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

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

.interactive-counter {
    transition: all var(--transition-smooth);
}

.interactive-counter:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   NEON TEXT EFFECTS
   ========================================================================== */

.neon-text {
    background: linear-gradient(90deg, #00f2fe 0%, #0271FC 50%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 15px rgba(2, 113, 252, 0.6));
    animation: neon-pulse 3s infinite alternate;
}

.neon-text-sub {
    text-shadow: 0 0 15px rgba(2, 113, 252, 0.4);
}

@keyframes neon-pulse {
    0% { filter: drop-shadow(0 0 10px rgba(2, 113, 252, 0.4)); }
    100% { filter: drop-shadow(0 0 25px rgba(2, 113, 252, 0.8)); }
}

/* Scroll Reveal Animation Classes */
.section-title.visible,
.hero-buttons.visible,
.glass-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

/* Ensure proper scrolling with fixed navbar */
section {
    scroll-margin-top: 100px; /* Account for fixed navbar height */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Main content container */
#main-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Prevent overflow in all containers */
.container,
.section-header,
.section-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Prevent overflow in iframes and embedded content */
iframe,
embed,
object,
video {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Add responsive display utilities */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Navigation placeholder while component loads */
#navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: 70px;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
}

/* Status tags for token features */
.feature-status {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
}

.status-tag {
    background: rgba(2, 113, 252, 0.25);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(2, 113, 252, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-tag.upcoming {
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.status-tag.implemented {
    background: rgba(40, 167, 69, 0.25);
    border-color: rgba(40, 167, 69, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.status-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.status-tag.upcoming:hover {
    background: rgba(255, 193, 7, 0.3);
    border-color: #FFC107;
    color: #FFC107;
    transform: scale(1.05);
}

.status-tag.implemented:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: #2ECC71;
    color: #2ECC71;
    transform: scale(1.05);
} 