:root {
    --bg-dark: #0A0A0F;
    --bg-card: rgba(20, 20, 30, 0.6);
    --neon-pink: #FF1493;
    --neon-cyan: #00CED1;
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(10, 10, 15, 0.7);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .neon-text, .badge {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphic Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

.neon-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: url('/Users/johnmobley/mascom/animetrope_output/verdant_vale/verdant_vale_landscape.png') center/cover no-repeat;
    background-color: #1a1a2e; /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,15,1) 0%, rgba(10,10,15,0.4) 50%, rgba(10,10,15,0) 100%);
}

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

.badge {
    background: rgba(255, 20, 147, 0.2);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

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

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Content Grid & Carousels */
.content-grid {
    padding: 20px 60px 80px;
    position: relative;
    top: -50px;
    z-index: 20;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100px);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.anime-card {
    min-width: 280px;
    height: 160px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.anime-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.anime-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 20, 147, 0.2);
    border-color: var(--neon-pink);
}

.anime-card:hover img {
    opacity: 1;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(0deg, rgba(10,10,15,0.9) 0%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.anime-card:hover .card-info {
    transform: translateY(0);
    opacity: 1;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 50px rgba(0, 206, 209, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 20, 147, 0.3);
    border-top: 3px solid var(--neon-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes blinker { 50% { opacity: 0.5; } }
