/* ============================================
   Template 04 - Neon City
   ============================================ */

.template-neon {
    background: #0a0a0f;
}

/* Scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 100;
}

/* Logo */
.neon-logo {
    filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.5));
}

.neon-icon {
    background: transparent;
    border: 2px solid #00ff87;
    color: #00ff87;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5), inset 0 0 20px rgba(0, 255, 135, 0.1);
}

.neon-text {
    color: #00ff87;
    text-shadow: 0 0 10px #00ff87, 0 0 20px #00ff87, 0 0 40px #00ff87;
}

/* Neon Heading */
.neon-heading {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
}

.neon-line {
    display: block;
    margin-bottom: 0.5rem;
}

.neon-pink {
    color: #ff00ea;
    text-shadow: 0 0 10px #ff00ea, 0 0 20px #ff00ea, 0 0 40px #ff00ea, 0 0 80px #ff00ea;
    animation: neon-flicker 3s infinite;
}

.neon-cyan {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 80px #00ffff;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 10px #ff00ea, 0 0 20px #ff00ea, 0 0 40px #ff00ea, 0 0 80px #ff00ea;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Neon Subtitle */
.neon-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Neon Countdown */
.neon-countdown .countdown-item {
    background: rgba(0, 255, 135, 0.05);
    border: 1px solid #00ff87;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2), inset 0 0 20px rgba(0, 255, 135, 0.05);
}

.neon-value {
    color: #00ff87;
    text-shadow: 0 0 10px #00ff87;
    font-family: var(--font-mono);
}

/* Neon Form */
.neon-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.neon-input {
    background: rgba(0, 255, 135, 0.05);
    border: 1px solid #00ff87;
    color: #00ff87;
}

.neon-input::placeholder {
    color: rgba(0, 255, 135, 0.5);
}

.neon-input:focus {
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.3), inset 0 0 20px rgba(0, 255, 135, 0.1);
}

.btn-neon {
    background: transparent;
    border: 2px solid #ff00ea;
    color: #ff00ea;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: #ff00ea;
    color: #0a0a0f;
    box-shadow: 0 0 40px rgba(255, 0, 234, 0.6);
}

/* Glitch Text */
.glitch-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #00ff87;
    position: relative;
}

.glitch-text span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.glitch-text span:first-child {
    animation: glitch-1 0.5s infinite;
    color: #ff00ea;
    z-index: -1;
}

.glitch-text span:last-child {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(20% 0 30% 0); transform: translateX(calc(-50% - 2px)); }
    25% { clip-path: inset(60% 0 10% 0); transform: translateX(calc(-50% + 2px)); }
    50% { clip-path: inset(10% 0 70% 0); transform: translateX(calc(-50% - 1px)); }
    75% { clip-path: inset(40% 0 20% 0); transform: translateX(calc(-50% + 1px)); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(70% 0 5% 0); transform: translateX(calc(-50% + 2px)); }
    25% { clip-path: inset(5% 0 80% 0); transform: translateX(calc(-50% - 2px)); }
    50% { clip-path: inset(50% 0 20% 0); transform: translateX(calc(-50% + 1px)); }
    75% { clip-path: inset(15% 0 55% 0); transform: translateX(calc(-50% - 1px)); }
}

/* Neon Social */
.neon-social-link {
    border: 1px solid #00ff87;
    background: transparent;
    color: #00ff87;
}

.neon-social-link:hover {
    background: #00ff87;
    color: #0a0a0f;
    box-shadow: 0 0 30px rgba(0, 255, 135, 0.5);
}

.neon-social-link svg {
    fill: currentColor;
}
