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

:root {
    --neon-green: #00ff88;
    --neon-green-dim: #00cc6a;
    --neon-purple: #a855f7;
    --neon-pink: #ff2d7b;
    --neon-blue: #00d4ff;
    --dark: #0a0a0f;
    --darker: #050508;
    --card: #0d0d14;
}

@font-face {
    font-family: 'Pricedown';
    src: url('https://fonts.cdnfonts.com/s/12898/pricedown bl.woff') format('woff');
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker);
    color: #fff;
    overflow: hidden;
    min-height: 100vh;
}

.landing-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: 
        linear-gradient(to top, var(--darker) 0%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 40px,
            rgba(0, 255, 136, 0.03) 40px,
            rgba(0, 255, 136, 0.03) 42px
        );
    opacity: 0.5;
}

.city-skyline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, transparent 60%, rgba(0, 255, 136, 0.05) 100%);
}

.neon-grid {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 50%;
    background: 
        linear-gradient(to top, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 98px,
            rgba(0, 255, 136, 0.1) 98px,
            rgba(0, 255, 136, 0.1) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 48px,
            rgba(0, 255, 136, 0.05) 48px,
            rgba(0, 255, 136, 0.05) 50px
        );
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 0 0, 0 100px; }
}

.ambient-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 40%);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--neon-green), 0 0 12px var(--neon-green);
    animation: floatUp linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ==================== WANTED STARS ==================== */
.wanted-stars {
    position: absolute;
    top: 25px;
    right: 30px;
    display: flex;
    gap: 5px;
    z-index: 100;
}

.star {
    font-size: 1.5rem;
    color: #333;
    text-shadow: none;
    transition: all 0.3s ease;
}

.star.active {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
    animation: starPulse 1s ease-in-out infinite;
}

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

/* ==================== MAIN CONTENT ==================== */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    min-height: 100vh;
}

/* ==================== TITLE SECTION ==================== */
.title-section {
    margin-bottom: 30px;
    cursor: pointer;
}

.pre-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Bebas Neue', 'Orbitron', sans-serif;
    font-size: clamp(4rem, 18vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.title-letter {
    display: inline-block;
    color: #fff;
    text-shadow: 
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green),
        0 0 40px var(--neon-green),
        0 0 80px var(--neon-green);
    animation: letterFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.title-letter:nth-child(1) { animation-delay: 0s; }
.title-letter:nth-child(2) { animation-delay: 0.1s; }
.title-letter:nth-child(3) { animation-delay: 0.2s; }
.title-letter:nth-child(4) { animation-delay: 0.3s; }
.title-letter:nth-child(5) { animation-delay: 0.4s; }
.title-letter:nth-child(6) { animation-delay: 0.5s; }
.title-letter:nth-child(7) { animation-delay: 0.6s; }
.title-letter:nth-child(8) { animation-delay: 0.7s; }

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

.title-letter:hover {
    color: var(--neon-green);
    text-shadow: 
        0 0 20px var(--neon-green),
        0 0 40px var(--neon-green),
        0 0 60px var(--neon-green),
        0 0 100px var(--neon-green);
    transform: scale(1.1) translateY(-10px);
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--neon-green);
}

.typing-wrapper {
    display: inline-flex;
    align-items: center;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--neon-green);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ==================== TERMINAL SECTION ==================== */
.terminal-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.terminal-window {
    width: 400px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
}

.terminal-body {
    padding: 15px;
    min-height: 60px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--neon-green);
}

.terminal-line {
    line-height: 1.6;
}

.terminal-line::before {
    content: '> ';
    color: var(--neon-purple);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--neon-green);
    margin-left: 2px;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ==================== PROGRESS BAR ==================== */
.progress-container {
    margin-top: 20px;
    width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--neon-green);
    border-radius: 2px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--neon-green);
}

/* ==================== ENTER SECTION ==================== */
.enter-section {
    margin-top: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.enter-section.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.enter-section.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    animation: buttonAppear 0.5s ease forwards;
}

@keyframes buttonAppear {
    0% { opacity: 0; transform: translateY(20px) scale(0.9); }
    50% { transform: translateY(-5px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
    50% { transform: translateY(-5px); }
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-height: 1.5em;
}

.typing-wrapper {
    display: inline-flex;
    align-items: center;
}

.cursor {
    color: var(--neon-green);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

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

/* ==================== STATS ==================== */
.stats-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px 40px;
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

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

.stat-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.3), transparent);
}

/* ==================== ENTER BUTTON ==================== */
.enter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.enter-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--neon-green);
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-green);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
}

.btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.enter-btn:hover .btn-fill {
    transform: scaleX(1);
}

.enter-btn:hover {
    color: var(--darker);
}

.btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.enter-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.enter-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.key-hint {
    color: var(--neon-green);
    font-family: monospace;
}

/* ==================== HUD CORNERS ==================== */
.hud-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 50;
}

.hud-corner .corner-line {
    position: absolute;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.hud-corner .corner-line.h {
    height: 2px;
    width: 100%;
}

.hud-corner .corner-line.v {
    width: 2px;
    height: 100%;
}

.hud-corner.tl { top: 20px; left: 20px; }
.hud-corner.tl .corner-line.h { top: 0; left: 0; }
.hud-corner.tl .corner-line.v { top: 0; left: 0; }

.hud-corner.tr { top: 20px; right: 20px; }
.hud-corner.tr .corner-line.h { top: 0; right: 0; }
.hud-corner.tr .corner-line.v { top: 0; right: 0; }

.hud-corner.bl { bottom: 20px; left: 20px; }
.hud-corner.bl .corner-line.h { bottom: 0; left: 0; }
.hud-corner.bl .corner-line.v { bottom: 0; left: 0; }

.hud-corner.br { bottom: 20px; right: 20px; }
.hud-corner.br .corner-line.h { bottom: 0; right: 0; }
.hud-corner.br .corner-line.v { bottom: 0; right: 0; }

/* ==================== SOCIAL BAR ==================== */
.social-bar {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

.social-icon:hover {
    color: var(--neon-green);
    transform: scale(1.2);
}

.social-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--neon-green), transparent);
}

/* ==================== VERSION BADGE ==================== */
.version-badge {
    position: absolute;
    bottom: 25px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    z-index: 100;
}

.version-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px var(--neon-green); }
    50% { opacity: 0.5; box-shadow: 0 0 15px var(--neon-green); }
}

/* ==================== SCANLINES ==================== */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 200;
    opacity: 0.3;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .character {
        width: 140px;
        height: 250px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .stat-divider {
        width: 80px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 255, 136, 0.3), transparent);
    }
    
    .wanted-stars {
        top: 15px;
        right: 15px;
    }
    
    .star {
        font-size: 1.2rem;
    }
    
    .social-bar {
        display: none;
    }
    
    .hud-corner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .pre-title {
        font-size: 0.7rem;
    }
    
    .enter-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}
