/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-red: #ff0040;
    --neon-red-glow: rgba(255, 0, 64, 0.8);
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --vhs-green: #00ff00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
    border-left: 1px solid var(--neon-red);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-red);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff1a55;
}

/* ========================================
   SCANLINES EFFECT
   ======================================== */
.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: 9999;
    opacity: 0.3;
}

/* ========================================
   GLITCH TEXT ANIMATION
   ======================================== */
.glitch-text {
    position: relative;
    font-weight: bold;
    color: var(--neon-red);
    text-shadow: 
        0 0 10px var(--neon-red-glow),
        0 0 20px var(--neon-red-glow),
        0 0 30px var(--neon-red-glow);
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--vhs-green);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 cyan;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--neon-red-glow),
            0 0 20px var(--neon-red-glow),
            0 0 30px var(--neon-red-glow);
    }
    50% {
        text-shadow: 
            0 0 20px var(--neon-red-glow),
            0 0 40px var(--neon-red-glow),
            0 0 60px var(--neon-red-glow);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }
    20% {
        clip: rect(70px, 9999px, 71px, 0);
    }
    40% {
        clip: rect(30px, 9999px, 130px, 0);
    }
    60% {
        clip: rect(90px, 9999px, 20px, 0);
    }
    80% {
        clip: rect(40px, 9999px, 80px, 0);
    }
    100% {
        clip: rect(60px, 9999px, 50px, 0);
    }
}

/* ========================================
   VHS TEXT EFFECT
   ======================================== */
.vhs-text {
    color: var(--text-gray);
    text-shadow: 2px 2px 4px rgba(0, 255, 0, 0.3);
    letter-spacing: 1px;
}

/* ========================================
   NEON BUTTON
   ======================================== */
.neon-button {
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--neon-red);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-button:hover {
    background: var(--neon-red);
    color: var(--dark-bg);
    box-shadow: 
        0 0 20px var(--neon-red-glow),
        0 0 40px var(--neon-red-glow);
    transform: scale(1.05);
}

.neon-button.flicker {
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    41.99% {
        opacity: 1;
    }
    42% {
        opacity: 0.8;
    }
    43% {
        opacity: 1;
    }
    45.99% {
        opacity: 1;
    }
    46% {
        opacity: 0.7;
    }
    46.5% {
        opacity: 1;
    }
}

/* ========================================
   PULSE ANIMATION
   ======================================== */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ========================================
   FADE IN SECTIONS
   ======================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UPSIDE DOWN MODE
   ======================================== */
body.upside-down {
    filter: invert(1) hue-rotate(180deg);
}

body.upside-down .scanlines {
    filter: invert(1);
}

/* ========================================
   LOADING PAGE
   ======================================== */
.loading-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
}

.loading-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.loading-title {
    font-size: 4rem;
    margin-bottom: 40px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.spinner-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-red);
    animation: bounce 1.4s infinite ease-in-out both;
}

.spinner-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loading-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    animation: flicker 2s infinite;
}

/* ========================================
   LOGIN PAGE
   ======================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
}

.login-container {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 30px var(--neon-red-glow);
    position: relative;
    z-index: 10;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid var(--neon-red);
    background: var(--darker-bg);
    box-shadow: 0 0 20px var(--neon-red-glow);
}

.login-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.neon-label {
    color: var(--neon-red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.neon-input {
    background: var(--darker-bg);
    border: 2px solid var(--neon-red);
    color: var(--text-white);
    padding: 12px 15px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.neon-input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--neon-red-glow);
    border-color: #ff1a55;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.neon-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    color: var(--text-gray);
    cursor: pointer;
}

.error-message {
    color: var(--neon-red);
    text-align: center;
    min-height: 20px;
    font-size: 0.9rem;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--neon-red);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: 100px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

.nav-button {
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--neon-red);
    padding: 8px 15px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--neon-red);
    color: var(--dark-bg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-background {
    background-image: url(pic/Netflix\ açıkladı_\ Bir\ başka\ Stranger\ Things\ dizisi\ geliyor!\ 1.jpg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--neon-red);
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--darker-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail-item {
    background: var(--dark-bg);
    padding: 20px;
    border: 1px solid var(--neon-red);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-label {
    color: var(--neon-red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-white);
    font-size: 1.1rem;
}

/* ========================================
   CHARACTERS SECTION
   ======================================== */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.character-card {
    background: var(--darker-bg);
    border: 2px solid var(--neon-red);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.character-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 10px 40px var(--neon-red-glow);
}

.character-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--neon-red-glow));
}

.character-card h3 {
    color: var(--neon-red);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.character-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   EPISODES SECTION
   ======================================== */
.episodes-section {
    background: var(--darker-bg);
}

.episodes-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.episode-card {
    background: var(--dark-bg);
    border: 2px solid var(--neon-red);
    padding: 25px;
    transition: all 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--neon-red-glow);
}

.episode-number {
    color: var(--neon-red);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.episode-title {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.episode-desc {
    color: var(--text-gray);
    line-height: 1.6;
}

.episode-random {
    text-align: center;
    margin-top: 40px;
}

.random-episode-display {
    margin-top: 30px;
    padding: 30px;
    background: var(--dark-bg);
    border: 2px solid var(--neon-red);
    min-height: 100px;
    display: none;
}

.random-episode-display.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   MERCH SECTION
   ======================================== */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.merch-card {
    background: var(--darker-bg);
    border: 2px solid var(--neon-red);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--neon-red-glow);
}

.merch-image {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--neon-red-glow));
}

.merch-title {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.merch-price {
    color: var(--neon-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.merch-button {
    width: 100%;
    padding: 12px;
}

/* ========================================
   INTERACTIVE SECTION
   ======================================== */
.interactive-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.quote-box,
.mode-box {
    background: var(--darker-bg);
    border: 2px solid var(--neon-red);
    padding: 40px;
    text-align: center;
}

.quote-title,
.mode-title {
    color: var(--neon-red);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.quote-display {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--dark-bg);
    border-left: 4px solid var(--neon-red);
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-gray);
}

.mode-desc {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.mode-status {
    margin-top: 20px;
    color: var(--neon-red);
    font-weight: bold;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: var(--darker-bg);
    border-top: 2px solid var(--neon-red);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;

}
