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

:root {
    /* Pixel Color Palette */
    --primary-color: #ff006e;
    --secondary-color: #8338ec;
    --accent-color: #3a86ff;
    --neon-green: #39ff14;
    --neon-pink: #ff10f0;
    --neon-blue: #00d4ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-glow: #00ffff;
    
    /* Typography */
    --font-pixel: 'Press Start 2P', monospace;
    --font-tech: 'Orbitron', monospace;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance Optimizations */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-tech);
    background: var(--darker-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo {
    font-family: var(--font-pixel);
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--neon-blue));
    width: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.loading-text {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-glow);
    letter-spacing: 2px;
}

/* Matrix Background */
.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 110, 0.3);
    z-index: 100;
    transition: var(--transition-smooth);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo .pixel-text {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.girlboss-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.5);
    transition: var(--transition-smooth);
    /* Image optimization */
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.girlboss-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(255, 0, 110, 0.8);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.3), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s infinite;
}

.hero-text {
    text-align: left;
}

/* CA Address Display */
.ca-display {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    transition: var(--transition-smooth);
}

.ca-display:hover {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    border-color: var(--neon-blue);
}

.ca-label {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    letter-spacing: 1px;
}

.ca-address-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-light);
    word-break: break-all;
    flex: 1;
}

.ca-copy-btn {
    background: var(--neon-green);
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.ca-copy-btn:hover {
    background: var(--neon-blue);
    transform: scale(1.1);
}

.ca-copy-btn:active {
    transform: scale(0.95);
}

.copy-icon {
    width: 16px;
    height: 16px;
    color: var(--dark-bg);
}

.ca-copied {
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0% { background: var(--neon-green); }
    50% { background: var(--primary-color); transform: scale(1.2); }
    100% { background: var(--neon-green); }
}

.main-title {
    font-family: var(--font-pixel);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: glitch 3s infinite;
}

.title-line.highlight {
    color: var(--primary-color);
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color);
    animation: neonFlicker 2s infinite alternate;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-glow);
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 0, 110, 0.8);
}

.btn-twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
    color: white;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.5);
}

.btn-twitter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(29, 161, 242, 0.8);
}

.btn-buy {
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    color: white;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(57, 255, 20, 0.8);
}

.buy-icon {
    width: 20px;
    height: 20px;
}

.twitter-icon,
.social-icon {
    width: 20px;
    height: 20px;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-pixel);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.about-card h3 {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-green);
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Power Section */
.power {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
}

.power-bars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.power-bar {
    display: grid;
    grid-template-columns: 150px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.power-label {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--text-glow);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.bar-container {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--neon-blue));
    border-radius: 10px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.power-value {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--neon-green);
    text-align: right;
    text-shadow: 0 0 10px var(--neon-green);
}

/* Connect Section */
.connect {
    text-align: center;
}

.connect-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.5);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(29, 161, 242, 0.8);
}

.social-btn.twitter-share {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.social-btn.twitter-share:hover {
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.8);
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: float 6s infinite linear;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes neonFlicker {
    0%, 100% { 
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color);
    }
    50% { 
        text-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color);
    }
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(2px, -2px); }
    30% { transform: translate(-2px, -2px); }
    40% { transform: translate(2px, 2px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, -2px); }
    70% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

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

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .power-bar {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .power-label,
    .power-value {
        justify-self: center;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Performance optimizations */
.girlboss-image,
.btn,
.about-card,
.social-btn {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}