/* Reset & Base */
:root {
    --primary: #BC13FE;
    --primary-foreground: #ffffff;
    --background: #050A14;
    --foreground: #f1f5f9;
    --card: #0f172a;
    --card-foreground: #f1f5f9;
    --border: #1e293b;
    --cyan: #00F0FF;
    --pink: #FF2A6D;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.hidden { display: none; }
.block { display: block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), #9333ea);
    color: white;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.5);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.7);
}

.btn-outline {
    background: transparent;
    border-color: rgba(0, 240, 255, 0.5);
    color: var(--cyan);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(188, 19, 254, 0.5);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.15);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-outline {
    border: 1px solid rgba(188, 19, 254, 0.5);
    color: var(--primary);
    background: rgba(188, 19, 254, 0.1);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 4rem;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Hero */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), rgba(5, 10, 20, 0.5), transparent);
    z-index: -1;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 25px rgba(188, 19, 254, 0.5);
}

@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
}

.text-gradient {
    background: linear-gradient(to right, var(--cyan), var(--primary));
    -webkit-background-clip: text;
    color: transparent;
}

/* Video Card */
.video-card-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.card:hover .video-card-img {
    transform: scale(1.1);
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(188, 19, 254, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary);
    transform: scale(0);
    transition: transform 0.3s 0.1s;
}

.card:hover .play-btn {
    transform: scale(1);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #334155;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .progress-bar {
    opacity: 1;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
}

.card:hover .progress-fill {
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 90;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}
