:root {
    --vhs-bg: #111111;
    --vhs-blue: #0033CC;
    --vhs-red: #FF0000;
    --vhs-green: #00FF00;
    --vhs-white: #EEEEEE;
    --vhs-gray: #333333;
    --font-vhs: 'VT323', monospace;
    --font-body: 'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--vhs-bg);
    color: var(--vhs-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.vhs-scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 3px
    );
    opacity: 0.3;
}

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.95);
    border-bottom: 2px solid var(--vhs-blue);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 0 20px rgba(0, 51, 204, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-tape {
    font-size: 1.5rem;
    color: var(--vhs-blue);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--font-vhs);
    font-size: 1.8rem;
    color: var(--vhs-white);
    letter-spacing: 2px;
}

.logo-text .accent { color: var(--vhs-blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-vhs);
    font-size: 1.1rem;
    color: var(--vhs-white);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-menu a:hover { color: var(--vhs-green); }

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--vhs-blue);
    color: var(--vhs-white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.98);
    padding: 2rem;
    border-bottom: 2px solid var(--vhs-blue);
    z-index: 999;
}

.mobile-nav.active { display: block; }

.mobile-nav a {
    display: block;
    font-family: var(--font-vhs);
    color: var(--vhs-white);
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover { color: var(--vhs-green); }

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: var(--vhs-bg);
}

.vhs-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 51, 204, 0.05) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255, 0, 0, 0.03) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.rec-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-vhs);
    font-size: 1.2rem;
    color: var(--vhs-red);
    margin-bottom: 2rem;
    animation: blink 1.5s ease-in-out infinite;
}

.rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vhs-red);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-vhs);
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--vhs-white);
    letter-spacing: 8px;
    margin-bottom: 1rem;
}

.hero-title .glitch {
    position: relative;
    color: var(--vhs-blue);
    text-shadow: 2px 0 var(--vhs-red), -2px 0 var(--vhs-green);
}

.hero-subtitle {
    font-family: var(--font-vhs);
    font-size: 1.3rem;
    color: rgba(238, 238, 238, 0.6);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.hero-osd {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-vhs);
    font-size: 1.1rem;
    color: var(--vhs-green);
}

.btn-vhs {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--vhs-blue);
    color: var(--vhs-blue);
    font-family: var(--font-vhs);
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-vhs:hover {
    background: var(--vhs-blue);
    color: var(--vhs-white);
    box-shadow: 0 0 20px rgba(0, 51, 204, 0.5);
}

/* Features */
.features-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tracking-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vhs-blue), transparent);
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-vhs);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--vhs-white);
    letter-spacing: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(51, 51, 51, 0.5);
    border: 1px solid rgba(0, 51, 204, 0.3);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--vhs-blue);
    box-shadow: 0 0 15px rgba(0, 51, 204, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--vhs-blue);
    margin-bottom: 1rem;
}

.feature-title {
    font-family: var(--font-vhs);
    font-size: 1.2rem;
    color: var(--vhs-white);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: rgba(238, 238, 238, 0.6);
    line-height: 1.6;
}

/* Stats */
.stats-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 51, 204, 0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-counter {
    font-family: var(--font-vhs);
    font-size: 2.5rem;
    color: var(--vhs-green);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.stat-label {
    font-family: var(--font-vhs);
    font-size: 0.9rem;
    color: rgba(238, 238, 238, 0.5);
    letter-spacing: 2px;
}

/* Footer */
.site-footer {
    background: var(--vhs-bg);
    border-top: 2px solid var(--vhs-blue);
    padding: 4rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-tape-reels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.tape-reel {
    font-size: 3rem;
    color: var(--vhs-gray);
    animation: spin 8s linear infinite;
}

.footer-content { text-align: center; }

.footer-logo {
    font-family: var(--font-vhs);
    font-size: 1.5rem;
    color: var(--vhs-white);
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-logo span { color: var(--vhs-blue); }

.footer-desc {
    font-size: 0.85rem;
    color: rgba(238, 238, 238, 0.5);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-family: var(--font-vhs);
    font-size: 0.9rem;
    color: rgba(238, 238, 238, 0.6);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--vhs-green); }

.footer-copyright {
    font-family: var(--font-vhs);
    font-size: 0.8rem;
    color: rgba(238, 238, 238, 0.3);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 359px) { html { font-size: 13px; } }
@media (min-width: 360px) and (max-width: 767px) {
    html { font-size: 14px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-tape-reels { flex-direction: column; }
    .tape-reel { font-size: 2rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html { font-size: 15px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1279px) { html { font-size: 15px; } }
@media (min-width: 1280px) and (max-width: 1919px) { html { font-size: 16px; } }
@media (min-width: 1920px) and (max-width: 2559px) { html { font-size: 17px; } }
@media (min-width: 2560px) and (max-width: 3839px) { html { font-size: 19px; } }
@media (min-width: 3840px) { html { font-size: 22px; } }
