/* ============================================
   GSFilms - Estilos Principales (Dark Theme)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --bg-overlay: rgba(0,0,0,0.7);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666;
    --accent: #e50914;
    --accent-hover: #b20710;
    --accent-glow: rgba(229, 9, 20, 0.3);
    --success: #46d369;
    --warning: #f5c518;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    outline: none;
}

input, select, textarea {
    font-family: var(--font);
    outline: none;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    background: transparent;
    transition: background var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--text-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.5);
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-meta .rating {
    color: var(--warning);
    font-weight: 700;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-actions .btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
}

.hero-actions .btn-play:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.hero-actions .btn-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
}

.hero-actions .btn-info:hover {
    background: rgba(109, 109, 110, 0.5);
}

/* ============ CONTENT ROWS (Netflix style) ============ */
.content-section {
    padding: 20px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 48px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-see-all {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition);
}

.section-see-all:hover {
    color: var(--text-primary);
}

.content-row {
    position: relative;
    padding: 0 48px;
}

.row-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.row-slider::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition);
    cursor: pointer;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }

/* ============ MOVIE CARDS ============ */
.movie-card {
    flex: 0 0 auto;
    width: 200px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.movie-card:hover {
    transform: scale(1.08);
    z-index: 5;
}

.movie-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.movie-card-overlay .play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.movie-card-overlay .play-btn:hover {
    transform: scale(1.1);
}

.movie-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-free {
    background: var(--success);
    color: #000;
}

.badge-rent {
    background: var(--accent);
    color: #fff;
}

.badge-new {
    background: var(--warning);
    color: #000;
}

.movie-card-info {
    padding: 8px 4px 0;
}

.movie-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.movie-card-meta .rating {
    color: var(--warning);
}

/* ============ GENRE PILLS ============ */
.genre-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 48px;
}

.genre-pill {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.genre-pill:hover, .genre-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ============ FOOTER ============ */
.site-footer {
    margin-top: 60px;
    padding: 48px 48px 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============ PROFILE SELECT ============ */
.profile-select-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.profile-select-page h1 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.profile-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-card {
    width: 160px;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition);
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 3px solid transparent;
    overflow: hidden;
    margin: 0 auto 12px;
    transition: border-color var(--transition);
}

.profile-card:hover .profile-avatar {
    border-color: var(--text-primary);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-add {
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-muted);
    font-size: 3rem;
}

.profile-add:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ============ DETAIL PAGE ============ */
.detail-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.detail-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.4);
}

.detail-gradient {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 70%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

.detail-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.detail-poster {
    flex: 0 0 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.detail-genres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.genre-tag {
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detail-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 700px;
}

.detail-actions {
    display: flex;
    gap: 12px;
}

/* ============ PLAYER ============ */
.player-page {
    background: #000;
    min-height: 100vh;
}

.player-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
}

.player-wrapper video {
    width: 100%;
    height: 100%;
}

.player-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}

.player-page:hover .player-top-bar {
    opacity: 1;
}

.player-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* ============ AD OVERLAY ============ */
.ad-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: none;
    z-index: 50;
}

.ad-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-timer {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ad-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ LOADING ============ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    flex-direction: column;
    gap: 16px;
    color: var(--text-muted);
}

/* ============ BANNER ============ */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 0 48px;
}

.banner-slide {
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.banner-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ============ TOAST CONTAINER ============ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ ADMIN SPECIFIC ============ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-brand {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.admin-sidebar-brand h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
}

.admin-sidebar-brand small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
}

.admin-nav-item.active {
    background: rgba(229,9,20,0.08);
    color: var(--accent);
    border-left-color: var(--accent);
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.stat-card h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-card .stat-change {
    font-size: 0.8rem;
    margin-top: 4px;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--accent); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.admin-table th {
    background: rgba(255,255,255,0.03);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ============ FORM STYLES ============ */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .navbar { padding: 0 24px; }
    .container, .container-wide { padding: 0 24px; }
    .hero-title { font-size: 2.5rem; }
    .section-header, .content-row, .genre-pills { padding: 0 24px; }
    .banner-slider { margin: 0 24px; }
    .detail-content { flex-direction: column; align-items: center; text-align: center; }
    .detail-poster { flex: 0 0 220px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 16px; }
    .nav-links { display: none; }
    .container, .container-wide { padding: 0 16px; }
    .hero { height: 70vh; min-height: 450px; padding-bottom: 60px; }
    .hero-title { font-size: 2rem; }
    .hero-description { -webkit-line-clamp: 2; }
    .section-header, .content-row, .genre-pills { padding: 0 16px; }
    .banner-slider { margin: 0 16px; }
    .movie-card { width: 140px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .site-footer { padding: 32px 16px 24px; }
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; padding: 16px; }
    .admin-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .detail-info h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-play,
    .hero-actions .btn-info { width: 100%; justify-content: center; }
    .movie-card { width: 120px; }
    .profile-grid { gap: 16px; }
    .profile-card { width: 120px; }
    .profile-avatar { width: 110px; height: 110px; }
}
