/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Neo-futuristic blue-pink theme tokens */
:root {
    /* Core brand colors: cool blue + warm pink */
    --primary-color: #4f46e5; /* electric blue */
    --secondary-color: #ec4899; /* neon pink */
    --accent-color: #22d3ee; /* cyan accent */
    --tertiary-color: #a855f7; /* violet accent */

    /* Text colors tuned for dark background */
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-light: #6b7280;

    /* Background layers (dark space + subtle glow) */
    --bg-primary: #020617;
    --bg-secondary: #020617;
    --bg-light: #0b1120;
    --bg-gradient:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.25), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.25), transparent 55%),
        linear-gradient(135deg, #020617 0%, #020617 50%, #020617 100%);

    /* Border and glow shadows for inner-light effect */
    --border-color: rgba(148, 163, 184, 0.35);
    --border-color-light: rgba(148, 163, 184, 0.15);
    --shadow-sm: 0 0 0 1px rgba(148, 163, 184, 0.2);
    --shadow-md:
        0 0 0 1px rgba(148, 163, 184, 0.25),
        0 18px 45px rgba(15, 23, 42, 0.9);
    --shadow-lg:
        0 0 0 1px rgba(148, 163, 184, 0.35),
        0 25px 80px rgba(15, 23, 42, 0.95);
    --shadow-xl:
        0 0 0 1px rgba(79, 70, 229, 0.6),
        0 0 40px rgba(79, 70, 229, 0.6),
        0 0 80px rgba(236, 72, 153, 0.5);
    --shadow-glow:
        0 0 25px rgba(79, 70, 229, 0.8),
        0 0 55px rgba(236, 72, 153, 0.7);

    /* Rounded corners + motion tuned for futuristic feel */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.22s ease-out;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    /* Dark cosmic backdrop with soft blue-pink nebula */
    background:
        radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
        radial-gradient(circle at 100% 80%, rgba(236, 72, 153, 0.18), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(79, 70, 229, 0.2), transparent 60%),
        #020617;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Floating inner glows behind content */
    background:
        radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.24) 0%, transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.24) 0%, transparent 55%),
        radial-gradient(circle at 40% 40%, rgba(79, 70, 229, 0.18) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Rainbow Text Effect (biased to blue + pink) */
.rainbow-text {
    background: linear-gradient(
        120deg,
        #22d3ee 0%,
        #4f46e5 35%,
        #ec4899 70%,
        #22d3ee 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 220% auto;
    animation: rainbow-shift 4s ease-in-out infinite;
    font-weight: 700;
}

@keyframes rainbow-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Dark glass header with subtle neon border */
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%)
        rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.9), 0 18px 45px rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(79, 70, 229, 0.6);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-link:hover .rainbow-text {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    /* Neon underline using blue-pink gradient */
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* Main Content */
.main {
    margin-top: 70px;
}

.section {
    display: none;
    min-height: calc(100vh - 70px);
    padding: 80px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
}

.section.active {
    display: block;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Hero title with subtle blue-pink gradient */
    background: linear-gradient(120deg, #e5e7eb, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rainbow-animation {
    width: 300px;
    height: 300px;
    background: linear-gradient(
        45deg,
        #FF6B9D,
        #7C73E6,
        #4ECDC4,
        #FFB347,
        #FF6B9D
    );
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    filter: blur(40px);
    opacity: 0.8;
}

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Slight inner glow outline on all buttons */
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    /* Core CTA: electric blue to neon pink */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #f9fafb;
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.9),
        0 0 22px rgba(79, 70, 229, 0.9),
        0 0 44px rgba(236, 72, 153, 0.8);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 1),
        0 0 30px rgba(79, 70, 229, 1),
        0 0 60px rgba(236, 72, 153, 0.95);
}

.btn-secondary {
    background: radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.25), transparent 55%)
        rgba(15, 23, 42, 0.9);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.6);
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #f9fafb;
    border-color: rgba(236, 72, 153, 0.9);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-outline {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.6);
    backdrop-filter: blur(18px);
}

.btn-outline:hover {
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        rgba(15, 23, 42, 0.96);
    border-color: rgba(79, 70, 229, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Featured Section */
.featured-section,
.categories-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.featured-card {
    /* Glassy neo-card with inner glow */
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.25), transparent 55%),
        rgba(15, 23, 42, 0.95);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(22px);
    border: 1px solid rgba(148, 163, 184, 0.5);
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.35), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.featured-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(236, 72, 153, 0.75);
}

.featured-card:hover::before {
    opacity: 1;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .card-image img {
    transform: scale(1.1);
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.card-content {
    padding: 25px;
    background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.tag:hover::before {
    left: 100%;
}

.tag-les {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(236, 72, 153, 0.08));
    color: #f9a8d4;
    border: 1px solid rgba(236, 72, 153, 0.6);
}

.tag-gay {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(79, 70, 229, 0.08));
    color: #a5b4fc;
    border: 1px solid rgba(79, 70, 229, 0.6);
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e5e7eb, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Shared neon glass surface for key content cards */
.category-card,
.event-card,
.article-card,
.drama-card,
.event-item,
.stat-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.18), transparent 55%),
        rgba(15, 23, 42, 0.96);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.category-card {
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.category-les::before {
    background: linear-gradient(90deg, var(--primary-color), #FFB347);
}

.category-gay::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.category-count {
    color: var(--primary-color);
    font-weight: 600;
}

/* Events Preview */
.events-preview {
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
        rgba(2, 6, 23, 0.9);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 60px;
}

.event-card {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 30px;
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 14px;
    opacity: 0.9;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.event-location {
    font-size: 14px;
    color: var(--primary-color);
}

.event-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.event-link:hover {
    transform: translateX(5px);
}

/* Article Highlight Section */
.article-highlight {
    margin-bottom: 60px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.article-card {
    display: flex;
    gap: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.article-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    margin-bottom: 15px;
}

.article-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.article-card h3 a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 添加手型指针表示可点击 */
.article-card {
    cursor: pointer;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.article-date,
.article-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Related Articles Section */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-articles .section-title {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 220px;
    }

    .article-content {
        padding: 20px;
    }

    .article-card h3 {
        font-size: 20px;
    }
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    /* Section titles pick up the same neon accent */
    background: linear-gradient(120deg, #e5e7eb, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-select,
.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: rgba(15, 23, 42, 0.96);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:hover,
.sort-select:hover {
    border-color: var(--primary-color);
}

/* Dramas Grid */
.dramas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.drama-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.drama-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.drama-card-link:hover .drama-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.drama-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.drama-poster {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.drama-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.drama-card:hover .drama-poster img {
    transform: scale(1.1);
}

.drama-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none !important; /* Force hide as per user request to remove all playback buttons */
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.drama-card[data-article-url] .drama-overlay {
    display: none;
}

.play-btn,
.info-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.play-btn:hover,
.info-btn:hover {
    background: white;
    transform: scale(1.1);
}

.drama-info {
    padding: 20px;
}

.drama-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.drama-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

.drama-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.drama-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.drama-tags .tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 40px;
}

/* Events Calendar */
.events-calendar {
    margin-bottom: 80px;
}

.month-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.month-btn {
    padding: 10px 30px;
    border: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.month-btn:hover,
.month-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.events-list {
    display: grid;
    gap: 30px;
}

.event-item {
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 30px;
    align-items: center;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.event-date-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
}

.event-day {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.event-month {
    font-size: 12px;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-desc {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Host Event */
.host-event {
    text-align: center;
    padding: 60px;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
        rgba(2, 6, 23, 0.9);
    border-radius: var(--border-radius-lg);
}

.host-event h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.host-event p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin: 20px 0 40px;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 16px;
}

.join-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-stats {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.stat-card {
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Footer */
.footer {
    /* Deep footer with subtle top glow */
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.4), transparent 55%),
        #020617;
    color: var(--text-primary);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: #FF5580;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background:
            radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
            rgba(2, 6, 23, 0.98);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 60px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .rainbow-animation {
        width: 200px;
        height: 200px;
        margin-top: 40px;
    }

    .section {
        padding: 40px 0;
    }

    .page-title {
        font-size: 32px;
    }

    .featured-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .dramas-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .filter-bar {
        justify-content: center;
    }

    .filter-select,
    .sort-select {
        flex: 1;
        min-width: 150px;
    }

    .event-card,
    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        position: static;
    }

    .join-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .subscribe-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .dramas-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .month-filter {
        flex-wrap: wrap;
    }

    .month-btn {
        flex: 1;
        min-width: 100px;
    }
}
