@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@700;900&display=swap');

:root {
    --bg-dark: #050505;
    --text-main: #f8f8f8;
    --text-muted: #888;
    --neon-blue: #00ccff;
    --neon-pink: #ff3366;
    --glow-blue: 0 0 20px rgba(0, 204, 255, 0.4);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 0%, #151520 0%, #050505 60%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
}

/* Header & Glassmorphism */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 204, 255, 0.2);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Gallery Section */
.gallery-container {
    padding: 4rem 5%;
}

.gallery-container h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem 2rem;
}

/* Video Cards with Glow Hover */
.video-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
}

.thumb-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.4s ease;
}

/* Play button overlay */
.thumb-wrapper::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 3rem;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    text-shadow: var(--glow-blue);
    z-index: 2;
}

/* Dark overlay on hover */
.thumb-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 204, 255, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.video-card:hover .thumb-wrapper {
    box-shadow: var(--glow-blue);
    border-color: rgba(0, 204, 255, 0.3);
}

.video-card:hover .thumb-wrapper img {
    transform: scale(1.08);
    opacity: 0.6;
}

.video-card:hover .thumb-wrapper::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-card:hover .thumb-wrapper::before {
    opacity: 1;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.video-card:hover .card-title {
    color: var(--neon-blue);
}

.card-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Theater Mode (Player View) */
.player-container {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.player-container.hidden {
    display: none !important;
}

.player-wrapper {
    width: 100%;
    max-width: 1400px;
    background: #050505;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 40px rgba(0, 204, 255, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.15);
    display: flex;
    flex-direction: column;
}

#video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: block;
    outline: none;
}

.video-info {
    padding: 2rem 3rem;
    background: linear-gradient(to top, rgba(10,10,15,1), rgba(10,10,15,0.8));
}

#playing-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
}

#playing-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

.btn-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}
