@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Custom styles to complement Tailwind CSS */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}
:root {
    --primary: #ffdb26;
    --primary-dark: #e6c31f;
    --primary-contrast: #111827;
    --secondary: #000000;
    --bg-dark: #0f0f0f;
    --bg-darker: #070707;
    --bg-gradient-overlay: linear-gradient(180deg, rgba(7,7,7,0.9) 0%, rgba(15,15,15,0.95) 100%);
    --card-bg: rgba(32, 32, 32, 0.7);
    --nav-bg-transparent: rgba(7,7,7,0);
    --nav-bg-solid: rgba(7,7,7,0.95);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
}

/* Base styles */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Cartoon-style buttons with Plex-inspired design */
.btn-cartoon {
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 0.95rem 2.25rem;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 219, 38, 0.3);
    display: inline-block;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-cartoon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 219, 38, 0.4);
    background: var(--primary-dark);
}

.btn-secondary {
    color: var(--text-primary);
    padding: 0.95rem 2.25rem;
    border-radius: 9999px;
    border: 1px solid #fff!important;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #fff;
    color:var(--secondary);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

/* Card styles with Plex-inspired glass effect */
.card-cartoon {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-cartoon:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
}

/* Slight comic-style heading accent */
.comic-accent {
    text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

/* Make buttons slightly bigger globally (primary/secondary/cartoon and common inline buttons) */
.btn-cartoon,
.btn-secondary,
.btn-primary,
button,
a.inline-block,
a.inline-flex {
    padding: 0.95rem 2.25rem; /* slightly larger than prior values */
    font-size: 1.05rem;
}

/* Ensure btn-cartoon and btn-secondary keep their visible border/outline when enlarged */
.btn-cartoon { border-width: 4px; }
.btn-secondary { border-width: 3px; }

/* Hero section specific styles */
.hero-section .bg-center {
    transition: transform 0.6s ease-out;
}

.hero-section:hover .bg-center {
    transform: scale(1.15);
}

/* Heading styles with dramatic sizing */
h1 {
    font-family: "Bubblegum Sans", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-family: "Bubblegum Sans", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    max-width: 800px;
}

h3 {
    font-family: "Bubblegum Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Section title enhancements */
.section-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 4rem;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Section content spacing */
.section-content {
    margin-top: clamp(3rem, 6vh, 5rem);
    margin-bottom: clamp(3rem, 6vh, 5rem);
}

/* Grid spacing */
.grid {
    margin-top: 3rem;
}

/* Card grid spacing */
.cards-grid {
    margin-top: 3rem;
    margin-bottom: 3rem;
    gap: 2.5rem;
}

/* Large text styles */
.text-hero {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    max-width: 800px;
    text-align: center;
}

/* Vertical spacing utilities */
.spacing-lg {
    margin-top: clamp(4rem, 8vh, 6rem);
    margin-bottom: clamp(4rem, 8vh, 6rem);
}

.spacing-md {
    margin-top: clamp(2rem, 4vh, 3rem);
    margin-bottom: clamp(2rem, 4vh, 3rem);
}



/* Content container max widths */
.container-sm {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.container-md {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

/* Section title special styles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Scroll-based animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.delay-200 {
    transition-delay: 200ms;
}

.animate-on-scroll.delay-400 {
    transition-delay: 400ms;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(to right, var(--primary) 0%, #f0c41a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced paragraph spacing */
p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Emphasized text */
.text-emphasis {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Typography: use Google Fonts for a fun but professional look */

/* Essential animations not available in Tailwind */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Custom styles for video thumbnails */
.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover::before {
    opacity: 1;
}

/* Masonry Grid Styles */
.masonry-grid {
    column-count: 1;
    column-gap: 1rem;
    padding: 0;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    object-fit: cover;
    min-height: 150px;
    max-height: 300px;
}

.gallery-item {
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (min-width: 1280px) {
    .masonry-grid {
        column-count: 4;
    }
}

/* Filter Button Styles */
.filter-btn {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: 0 4px 15px rgba(255, 219, 38, 0.3);
}

.filter-btn:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.filter-btn.active:hover {
    box-shadow: 0 6px 20px rgba(255, 219, 38, 0.4);
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;

    /* Center content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active {
    display: flex; /* Show when active */
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

/* Navigation link styles */
.nav-link {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-link-active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link-active:hover {
    color: var(--primary-dark);
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #111827;
    padding: 1rem;
    z-index: 40;
}

.mobile-menu.active {
    display: block;
}

/* Character card styles */
.character-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.character-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(255, 219, 38, 0.2), 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 219, 38, 0.5);
    background: rgba(32, 32, 32, 0.9);
}

.character-card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Custom button styles */
.btn-primary {
    background: #EAB308;
    color: #111827;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #CA8A04;
    transform: translateY(-2px);
}

/* Form input styles */
.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Custom loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #EAB308;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Watermark styles */
.watermark-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 10;
}

.watermark-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Poppins', system-ui;
}

/* Lightbox modal styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease-out;
    margin: auto;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox-caption {
    position: absolute;
    bottom: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    margin-top: 1.5rem;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    z-index: 1001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}
select option {
  background-color: #374151; /* Tailwind gray-700 */
  color: white;
}
@media (max-width: 768px) {
    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-caption {
        bottom: -3rem;
        font-size: 0.875rem;
    }
}
