
:root {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface-2: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --danger: #dc2626;
    --success: #16a34a;
    --gold: #f59e0b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.tricolor-bar {
    height: 4px;
    background: linear-gradient(90deg, #fff 33%, #0039a6 33%, #0039a6 66%, #d52b1e 66%);
}
.header {
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-2);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #0039a6, #d52b1e);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}
.logo-text span { color: var(--danger); }
.nav { display: flex; gap: 32px; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}
.btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--surface-2);
    color: var(--text);
}
.btn-outline:hover { background: var(--surface); }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover { opacity: 0.9; }

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 64px 24px;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-stats { display: flex; gap: 40px; }
.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}
.stat-label { color: var(--text-muted); font-size: 14px; }
.hero-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    aspect-ratio: 16/9;
}
.hero-video video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-video-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.hero-video-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.restriction-banner {
    background: linear-gradient(90deg, rgba(245,158,11,0.15), rgba(220,38,38,0.15));
    border-bottom: 1px solid rgba(245,158,11,0.2);
    padding: 16px 24px;
    text-align: center;
}
.restriction-text { color: #fcd34d; font-size: 15px; }

.main { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }

.categories {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.category-pill {
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.category-pill:hover { background: var(--surface-2); color: var(--text); }
.category-pill.active { background: var(--accent); color: #fff; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 40px;
}
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-subtitle { color: var(--text-muted); font-size: 14px; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.video-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}
.video-thumbnail video {
    width: 100%; height: 100%; object-fit: cover;
}
.video-duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.video-thumbnail-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2);
}
.play-btn {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.play-btn svg { width: 20px; height: 20px; fill: #fff; }
.video-info { padding: 16px; }
.video-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
}

.locked-section { position: relative; margin-bottom: 40px; }
.locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    text-align: center;
    padding: 24px;
}
.locked-icon { font-size: 48px; margin-bottom: 12px; }
.locked-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin-bottom: 8px;
}
.locked-text {
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 20px;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.placeholder-card { opacity: 0.4; }
.placeholder-thumb {
    aspect-ratio: 16/9;
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
}
.placeholder-line {
    height: 16px;
    background: var(--surface);
    border-radius: 4px;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}
.placeholder-line.short { width: 60%; }
.placeholder-line.tiny { width: 40%; height: 12px; }
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.footer {
    background: #020617;
    border-top: 1px solid var(--surface);
    padding: 64px 24px 32px;
    margin-top: 64px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    cursor: pointer;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--surface);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copyright { color: var(--text-muted); font-size: 14px; }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.footer-social a:hover { color: var(--text); }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    margin: 24px;
    border: 1px solid var(--surface-2);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { font-size: 40px; margin-bottom: 12px; }
.modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin-bottom: 4px;
}
.modal-subtitle { color: var(--text-muted); font-size: 14px; }
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-muted);
}
.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--surface-2);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-btn { width: 100%; margin-top: 8px; padding: 12px; }
.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--surface-2);
}
.modal-footer-text { color: var(--text-muted); font-size: 14px; }
.modal-footer-text a {
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}
.modal-message { text-align: center; padding: 16px 0; }
.modal-message-icon { font-size: 48px; margin-bottom: 12px; }
.modal-message-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}
.modal-message-text { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
}
@media (max-width: 600px) {
    .hero-stats { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
