* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --secondary-color: #ff4081;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-right: auto;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s;
}

.nav-icon:hover {
    color: var(--text-primary);
}

.nav-icon.gift-icon {
    color: var(--primary-color);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    background-color: #e0e0e0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-login {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%),
                linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    z-index: 10;
    max-width: 600px;
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.slide-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4081 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.3);
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 60px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Content Sections */
.content-section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.drama-card {
    position: relative;
    transition: transform 0.3s;
}

.drama-card:hover {
    transform: scale(1.05);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-image {
    position: relative;
    width: 100%;
    padding-top: 140%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.language-badge {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.drama-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.card-info {
    padding: 12px 0;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #222;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .nav-icon span {
        display: none;
    }
    
    .slide-content {
        left: 20px;
        bottom: 40px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .drama-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* Drama Detail Page */
.drama-detail-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.drama-detail-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.drama-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.drama-meta {
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.drama-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.drama-genres {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
}

/* Episode List */
.episode-list {
    display: grid;
    gap: 20px;
}

.episode-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s;
}

.episode-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.episode-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    padding: 15px;
}

.episode-thumbnail {
    position: relative;
    width: 200px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(233, 30, 99, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-item:hover .play-overlay {
    opacity: 1;
}

.episode-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.episode-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.episode-duration {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Video Player */
.video-player-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #000;
}

.video-player {
    width: 100%;
    height: auto;
    max-height: 80vh;
}

.watch-info {
    padding: 30px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.watch-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.watch-episode {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.watch-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.episode-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.episode-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.episode-card.active {
    border: 2px solid var(--primary-color);
}

.episode-thumbnail-small {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #1a1a1a;
}

.episode-thumbnail-small img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playing-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.episode-info-small {
    padding: 12px;
}

.episode-number {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Search Page */
.search-header {
    margin-bottom: 40px;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .drama-title {
        font-size: 32px;
    }
    
    .episode-link {
        flex-direction: column;
    }
    
    .episode-thumbnail {
        width: 100%;
        height: auto;
        padding-top: 56.25%;
    }
    
    .episode-thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .episode-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.auth-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-block {
    width: 100%;
    margin-top: 12px;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #ff6b6b;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #81c784;
}


/* Coupon & Lottery Page */
.coupon-page {
    padding: 80px 0 60px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-title svg {
    stroke-width: 2;
    color: var(--primary);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.coupon-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-icon.stat-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-icon.stat-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-icon svg {
    stroke-width: 2;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.section {
    margin-bottom: 48px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-title svg {
    stroke-width: 2;
    color: var(--primary);
}

/* Winnings */
.winnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.winning-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.winning-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.winning-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.winning-badge svg {
    fill: currentColor;
    stroke: none;
}

.winning-prize {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.winning-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.winning-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.winning-ticket {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-claim {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-claim:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.claimed-badge {
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
}

/* Draws */
.draws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.draw-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.draw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.15);
}

.draw-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.draw-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.draw-status.upcoming {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.draw-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.draw-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.draw-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.draw-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.draw-info-item svg {
    stroke-width: 2;
    color: var(--primary);
}

/* Tickets */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ticket-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.15);
}

.ticket-card.winner {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(194, 24, 91, 0.05));
}

.ticket-header {
    background: var(--primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticket-code {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.ticket-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.ticket-status-badge.winner {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.ticket-body {
    padding: 20px;
}

.ticket-draw {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ticket-date,
.ticket-created {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.ticket-date svg {
    stroke-width: 2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.empty-state svg {
    stroke-width: 1.5;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(233, 30, 99, 0.05);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 12px;
}

.info-box svg {
    stroke-width: 2;
    color: var(--primary);
    flex-shrink: 0;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .coupon-stats {
        grid-template-columns: 1fr;
    }
    
    .winnings-grid,
    .draws-grid,
    .tickets-grid {
        grid-template-columns: 1fr;
    }
}

/* Drama Detail Page - New Design */
.breadcrumb-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-secondary);
}

.breadcrumb-current {
    color: var(--text-primary);
}

.drama-detail-section {
    padding: 40px 0;
}

.drama-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.drama-poster {
    position: relative;
}

.drama-poster img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.drama-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item svg {
    stroke-width: 2;
    color: var(--primary-color);
}

.btn-share {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-share:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-share svg {
    stroke-width: 2;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-watch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-watch:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.btn-watch svg {
    fill: currentColor;
}

.btn-mylist {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-mylist:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-mylist svg {
    stroke-width: 2;
}

.detail-plot {
    margin-top: 8px;
}

.plot-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plot-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.episodes-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.episodes-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.episodes-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.episode-tab {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.episode-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.episode-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.related-section {
    padding: 40px 0 60px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .drama-detail-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    
    .detail-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .drama-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .drama-poster {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .detail-title {
        font-size: 24px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .btn-watch,
    .btn-mylist {
        width: 100%;
        justify-content: center;
    }
    
    .episodes-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .episode-tab {
        flex-shrink: 0;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

/* Trailer Container */
.trailer-container {
    margin-top: 24px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}

/* Trailer Modal */
.trailer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.trailer-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
}

.trailer-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background-color: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    z-index: 10000;
}

.trailer-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.trailer-modal-close:hover {
    background-color: var(--primary-color);
    transform: rotate(90deg);
}

.trailer-modal-close svg {
    stroke-width: 2;
}

.trailer-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trailer-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.trailer-modal-title svg {
    color: var(--primary-color);
}

.btn-close-modal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-modal:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-close-modal svg {
    stroke-width: 2;
}

.trailer-modal-body {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.trailer-modal-body .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
}

.trailer-modal-body .video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.trailer-modal-body .empty-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .trailer-modal-content {
        width: 95%;
    }
    
    .trailer-modal-close {
        top: -45px;
        width: 36px;
        height: 36px;
    }
    
    .trailer-modal-header {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .trailer-modal-title {
        font-size: 16px;
    }
    
    .btn-close-modal {
        width: 100%;
        justify-content: center;
    }
    
    .video-wrapper iframe {
        height: 300px;
    }
}

/* Social Login Buttons */
.social-login-section {
    margin-bottom: 28px;
}

.btn-social {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: 0.3px;
}

.btn-social:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-social:active:not(:disabled) {
    transform: translateY(0);
}

.btn-social:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-social svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.btn-loader {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.btn-loader svg {
    width: 20px;
    height: 20px;
}

/* Google Button */
.btn-google {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(66, 133, 244, 0.04) 100%);
    border-color: rgba(66, 133, 244, 0.2);
}

.btn-google:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15) 0%, rgba(66, 133, 244, 0.08) 100%);
    border-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.2);
}

/* Facebook Button */
.btn-facebook {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12) 0%, rgba(24, 119, 242, 0.06) 100%);
    border-color: rgba(24, 119, 242, 0.25);
}

.btn-facebook:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.2) 0%, rgba(24, 119, 242, 0.12) 100%);
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25);
}

.btn-facebook svg {
    fill: #1877F2;
}

/* Phone Button */
.btn-phone {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(76, 175, 80, 0.06) 100%);
    border-color: rgba(76, 175, 80, 0.25);
}

.btn-phone:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.12) 100%);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.25);
}

.btn-phone svg {
    stroke: #4CAF50;
    stroke-width: 2.5;
}

/* GitHub Button */
.btn-github {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.15) 0%, rgba(51, 51, 51, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-github:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.25) 0%, rgba(51, 51, 51, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-github svg {
    fill: #fff;
}

/* Apple Button */
.btn-apple {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-apple:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-apple svg {
    fill: #fff;
}

/* Email Button */
.btn-email {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.12) 0%, rgba(255, 152, 0, 0.06) 100%);
    border-color: rgba(255, 152, 0, 0.25);
}

.btn-email:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 152, 0, 0.12) 100%);
    border-color: rgba(255, 152, 0, 0.5);
}

.btn-email svg {
    stroke: #FF9800;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.divider span {
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.4);
}

/* Subscription Badges */
.subscription-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 6px;
}

.subscription-badge.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.subscription-badge.vip {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.4);
}

.card-badge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* User Dashboard Styles */
.user-dashboard {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 64, 129, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.user-welcome h1 {
    font-size: 32px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-welcome p {
    color: var(--text-secondary);
    font-size: 16px;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subscription Card */
.subscription-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.subscription-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.subscription-package {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.subscription-badge-large {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.subscription-badge-large.inactive {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border: 2px solid rgba(255, 59, 48, 0.3);
}

.subscription-badge-large.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.subscription-info {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-actions {
    display: flex;
    gap: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 12px;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.stat-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Dashboard Section */
.dashboard-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--secondary-color);
}

/* Progress Bar Overlay */
.progress-bar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.5);
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.action-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: center;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.2);
}

.action-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.action-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .subscription-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.3s;
}

.user-menu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-menu-trigger svg {
    stroke: var(--text-secondary);
    transition: transform 0.3s;
}

.user-menu-wrapper.active .user-menu-trigger svg {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu-wrapper.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.dropdown-email {
    font-size: 13px;
    color: var(--text-secondary);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.dropdown-item svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.dropdown-item.logout {
    color: #ff4444;
}

.dropdown-item.logout:hover {
    background: rgba(255, 68, 68, 0.1);
}


/* Modern Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal-overlay.show {
    opacity: 1;
}

.share-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-modal-overlay.show .share-modal {
    transform: scale(1);
}

.share-modal-header {
    padding: 24px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.share-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 32px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.share-modal-body {
    padding: 24px;
}

.share-preview {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    margin-bottom: 24px;
}

.share-preview img {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.share-preview-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
}

.share-preview-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.share-option svg {
    flex-shrink: 0;
}

.share-option.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-color: rgba(37, 211, 102, 0.3);
}

.share-option.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.25) 0%, rgba(37, 211, 102, 0.1) 100%);
    border-color: rgba(37, 211, 102, 0.5);
}

.share-option.whatsapp svg {
    color: #25d366;
}

.share-option.facebook {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15) 0%, rgba(24, 119, 242, 0.05) 100%);
    border-color: rgba(24, 119, 242, 0.3);
}

.share-option.facebook:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.25) 0%, rgba(24, 119, 242, 0.1) 100%);
    border-color: rgba(24, 119, 242, 0.5);
}

.share-option.facebook svg {
    color: #1877f2;
}

.share-option.twitter {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.15) 0%, rgba(29, 161, 242, 0.05) 100%);
    border-color: rgba(29, 161, 242, 0.3);
}

.share-option.twitter:hover {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.25) 0%, rgba(29, 161, 242, 0.1) 100%);
    border-color: rgba(29, 161, 242, 0.5);
}

.share-option.twitter svg {
    color: #1da1f2;
}

.share-option.telegram {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.05) 100%);
    border-color: rgba(0, 136, 204, 0.3);
}

.share-option.telegram:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.25) 0%, rgba(0, 136, 204, 0.1) 100%);
    border-color: rgba(0, 136, 204, 0.5);
}

.share-option.telegram svg {
    color: #0088cc;
}

.share-option.copy {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.3);
}

.share-option.copy:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.share-option.copy svg {
    color: #a855f7;
}

/* Responsive Share Modal */
@media (max-width: 768px) {
    .share-modal {
        max-width: 95%;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .share-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .share-preview img {
        margin: 0 auto;
    }
}


/* My List Button */
.btn-mylist {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-mylist:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-mylist.in-list {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #22c55e;
}

.btn-mylist.in-list:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-mylist:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    min-width: 280px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast svg {
    flex-shrink: 0;
}

.toast span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.toast.toast-success {
    border-color: rgba(34, 197, 94, 0.3);
}

.toast.toast-success svg {
    color: #22c55e;
}

.toast.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast.toast-error svg {
    color: #ef4444;
}

.toast.toast-info {
    border-color: rgba(59, 130, 246, 0.3);
}

.toast.toast-info svg {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        min-width: auto;
    }
}


/* Empty State Fix - Center alignment */
.empty-state {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4rem 2rem !important;
}

.empty-state svg {
    margin: 0 auto 1.5rem auto !important;
}

.empty-state h3 {
    text-align: center !important;
    width: 100% !important;
    font-style: normal !important;
    font-weight: 600 !important;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    text-align: center !important;
    width: 100% !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-style: normal !important;
    margin-top: 0;
    margin-bottom: 0;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
}

.search-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    color: var(--primary-color);
}

.search-modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.search-modal-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.search-modal-form {
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
}

.search-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.search-modal-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.3s;
}

.search-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

/* Search Page */
.search-page-section {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.search-page-header {
    margin-bottom: 40px;
}

.search-page-trigger {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 64, 129, 0.05));
    border: 2px solid rgba(233, 30, 99, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-page-trigger:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(255, 64, 129, 0.08));
    transform: translateY(-2px);
}

.search-page-trigger svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.search-page-text {
    color: var(--text-secondary);
    font-size: 18px;
    text-align: left;
}

.search-results-header {
    margin-bottom: 32px;
    text-align: center;
}

.results-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.results-count {
    color: var(--text-secondary);
    font-size: 16px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.search-result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.search-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.3);
}

.result-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.result-card-image {
    position: relative;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
}

.result-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.search-result-card:hover .result-card-image img {
    transform: scale(1.05);
}

.result-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.search-result-card:hover .result-card-overlay {
    opacity: 1;
}

.result-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.badge-country {
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.result-card-info {
    padding: 16px;
}

.result-card-title {
    font-size: 18px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.result-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.meta-separator {
    color: var(--primary-color);
}

.result-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.result-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.genre-tag {
    background: rgba(233, 30, 99, 0.2);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Empty States */
.search-empty-state,
.search-no-results {
    text-align: center;
    padding: 80px 20px;
}

.search-empty-state svg,
.search-no-results svg {
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 24px;
}

.search-empty-state h2,
.search-no-results h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.search-empty-state p,
.search-no-results p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.btn-search-again {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.btn-search-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .search-modal-content {
        padding: 30px 20px;
    }
    
    .search-modal-form {
        flex-direction: column;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
    
    .result-card-title {
        font-size: 16px;
    }
    
    .result-card-desc {
        display: none;
    }
}

/* Button as nav-icon */
button.nav-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Page Section */
.page-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 64, 129, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.page-header-content h1 {
    font-size: 36px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.page-header-icon {
    color: var(--primary-color);
    opacity: 0.3;
}

/* Drama Grid Modern */
.drama-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.drama-card-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.drama-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.3);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.drama-card-modern:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.drama-card-modern:hover .card-overlay-modern {
    opacity: 1;
}

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-country {
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.card-content-modern {
    padding: 16px;
}

.card-title-modern {
    font-size: 16px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.card-meta-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 10px;
}

.meta-dot {
    color: var(--primary-color);
}

.card-genres-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.genre-badge {
    background: rgba(233, 30, 99, 0.15);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 64, 129, 0.05));
    transform: translateX(8px);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.category-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.category-arrow {
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* Popular List */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-item {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.popular-item:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 64, 129, 0.05));
    box-shadow: 0 8px 24px rgba(233, 30, 99, 0.2);
}

.popular-rank {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    flex-shrink: 0;
}

.rank-number {
    font-size: 32px;
    font-weight: 900;
    color: white;
}

.popular-link {
    display: flex;
    flex: 1;
    gap: 20px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.popular-thumbnail {
    position: relative;
    width: 140px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-item:hover .popular-thumbnail img {
    transform: scale(1.05);
}

.popular-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.popular-item:hover .popular-overlay {
    opacity: 1;
}

.popular-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.popular-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popular-title {
    font-size: 22px;
    margin-bottom: 4px;
}

.popular-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.popular-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.popular-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.genre-tag-small {
    background: rgba(233, 30, 99, 0.15);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.popular-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-item svg {
    color: var(--primary-color);
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-modern svg {
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 24px;
}

.empty-state-modern h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.empty-state-modern p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .page-header-content h1 {
        font-size: 28px;
    }
    
    .drama-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-item {
        flex-direction: column;
    }
    
    .popular-rank {
        width: 100%;
        height: 60px;
    }
    
    .popular-link {
        flex-direction: column;
    }
    
    .popular-thumbnail {
        width: 100%;
        height: 300px;
    }
    
    .popular-stats {
        flex-direction: row;
        justify-content: center;
        padding: 0;
    }
}
