/* ========================================
   CineAI - Premium Cinema Experience
   Gold & Black Luxury Theme
   ======================================== */
@import url('slider_styles.css');
@import url('social_popup.css');

/* CSS Variables - Premium Gold/Black Theme */
:root {
    /* Primary Colors - Elegant Gold */
    --primary: #D4AF37;
    --primary-light: #F4E5C2;
    --primary-dark: #B8941E;
    --secondary: #FF6B35;
    --accent: #4ECDC4;

    /* Background Colors - Deep Cinema Black */
    --bg-dark: #0A0A0A;
    --bg-darker: #000000;
    --bg-card: rgba(212, 175, 55, 0.05);
    --bg-glass: rgba(212, 175, 55, 0.08);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-gold: #D4AF37;

    /* Border & Effects */
    --border-color: rgba(212, 175, 55, 0.15);
    --border-gold: rgba(212, 175, 55, 0.4);

    /* Gradients - Cinema Luxury */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E5C2 100%);
    --gradient-cinema: linear-gradient(135deg, #000000 0%, #1A1A1A 50%, #000000 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #D4AF37 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.4);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gold Gradient Text */
.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Animated Background - Cinema Effect (Film Grain + Spotlight) */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Film Grain Texture */
.bg-animation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Ambient Spotlight */
.bg-animation::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    animation: spotlight-move 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes spotlight-move {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-2%, 2%) scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: translate(2%, -2%) scale(1);
        opacity: 0.5;
    }
}

/* Clean up old star classes */
.stars,
.stars2,
.stars3 {
    display: none;
}

/* Navbar - Premium Gold Accent */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo img {
    height: 60px !important;
    width: auto !important;
    min-width: auto !important;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

/* Resim yüklenemezse gizle */
.logo img.img-error {
    display: none !important;
}

/* Resim yüklenemezse CSS metin logosu göster */
.logo-text-fallback {
    display: none;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo img.img-error ~ .logo-text-fallback {
    display: inline;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-slogan {
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 12px;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    margin-left: 12px;
    white-space: nowrap;
}

/* Auth Page specific logo overrides */
.auth-container .logo img,
.auth-page .logo img {
    width: 300px !important;
    min-width: 300px !important;
    height: auto !important;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-gold);
    border: 2px solid var(--border-gold);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.95rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section - Cinematic */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Visual - Film Posters */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.movie-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.movie-card {
    position: absolute;
    width: 190px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.movie-card:hover {
    transform: scale(1.05) !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.movie-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.movie-card .movie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.movie-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.movie-rating i {
    color: var(--primary);
    font-size: 1rem;
}

.card-1 {
    top: 10%;
    left: 0;
    transform: rotate(-12deg);
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    top: 25%;
    left: 35%;
    transform: rotate(5deg);
    z-index: 2;
    animation: float2 5s ease-in-out infinite;
}

.card-3 {
    top: 8%;
    right: 5%;
    transform: rotate(18deg);
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: rotate(-12deg) translateY(0);
    }

    50% {
        transform: rotate(-12deg) translateY(-25px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-18px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: rotate(18deg) translateY(0);
    }

    50% {
        transform: rotate(18deg) translateY(-30px);
    }
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.7;
    }
}

/* Section Headers - Gold Theme */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 20px;
    background: var(--gradient-overlay);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-card {
    position: relative;
    padding: 48px 36px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: rgba(212, 175, 55, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 24px;
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--primary-light);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* AI Demo Section */
.ai-demo {
    padding: 120px 20px;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.demo-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.feature-list {
    margin-bottom: 36px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Chat Window - Premium Design */
.chat-window {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid var(--border-gold);
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.chat-info .chat-name {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-light);
}

.chat-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.chat-status i {
    color: #22C55E;
    font-size: 0.55rem;
    margin-right: 5px;
}

.chat-messages {
    padding: 24px;
    max-height: 320px;
    overflow-y: auto;
}

.message {
    margin-bottom: 18px;
    max-width: 85%;
}

.message.bot {
    margin-right: auto;
}

.message.user {
    margin-left: auto;
}

.message p {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.6;
}

.message.bot p {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
}

.message.user p {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: 600;
}

.movie-suggestion {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.movie-suggestion img {
    width: 55px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
}

.movie-suggestion strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--primary-light);
}

.movie-suggestion span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chat-input {
    display: flex;
    padding: 18px;
    gap: 14px;
    border-top: 1px solid var(--border-gold);
    background: rgba(212, 175, 55, 0.03);
}

.chat-input input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.chat-input input::placeholder {
    color: var(--text-muted);
}

.chat-input button {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.chat-input button:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-gold);
}

/* Categories - Gold Accents */
.categories {
    padding: 120px 20px;
    background: var(--gradient-overlay);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.category-card {
    padding: 36px 24px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--category-color);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.category-card i {
    font-size: 2.8rem;
    color: var(--category-color);
    margin-bottom: 14px;
    display: block;
    filter: drop-shadow(0 0 10px currentColor);
}

.category-card span {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Movie Results Grid */
.movie-results {
    padding: 60px 20px;
    background: var(--gradient-overlay);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.movie-result-card {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.movie-result-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.movie-result-card .movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.movie-result-card .movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.movie-result-card:hover .movie-poster img {
    transform: scale(1.05);
}

.movie-result-card .movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.movie-result-card .movie-overlay .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.movie-result-card .movie-overlay .rating i {
    color: var(--primary);
}

.movie-result-card .movie-overlay .year {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.movie-result-card .movie-details {
    padding: 16px;
}

.movie-result-card .movie-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-result-card .movie-genre {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================
   Missing Page Styles (Categories & About)
   ========================================= */

/* Categories Page */
.page-header {
    text-align: center;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.page-header h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-page {
    padding-bottom: 80px;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* Animated Category Items */
.category-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 20px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: categoryFadeIn 0.6s ease forwards;
}

/* Staggered animation delays */
.category-item:nth-child(1) {
    animation-delay: 0.05s;
}

.category-item:nth-child(2) {
    animation-delay: 0.1s;
}

.category-item:nth-child(3) {
    animation-delay: 0.15s;
}

.category-item:nth-child(4) {
    animation-delay: 0.2s;
}

.category-item:nth-child(5) {
    animation-delay: 0.25s;
}

.category-item:nth-child(6) {
    animation-delay: 0.3s;
}

.category-item:nth-child(7) {
    animation-delay: 0.35s;
}

.category-item:nth-child(8) {
    animation-delay: 0.4s;
}

.category-item:nth-child(9) {
    animation-delay: 0.45s;
}

.category-item:nth-child(10) {
    animation-delay: 0.5s;
}

.category-item:nth-child(11) {
    animation-delay: 0.55s;
}

.category-item:nth-child(12) {
    animation-delay: 0.6s;
}

.category-item:nth-child(13) {
    animation-delay: 0.65s;
}

.category-item:nth-child(14) {
    animation-delay: 0.7s;
}

.category-item:nth-child(15) {
    animation-delay: 0.75s;
}

.category-item:nth-child(16) {
    animation-delay: 0.8s;
}

@keyframes categoryFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Shimmer effect on hover */
.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.15),
            transparent);
    transition: left 0.6s ease;
}

.category-item:hover::before {
    left: 100%;
}

/* Glow border effect */
.category-item::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--category-color), transparent, var(--category-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-item:hover::after {
    opacity: 0.5;
}

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--category-color);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(var(--category-color), 0.2),
        inset 0 0 30px rgba(212, 175, 55, 0.03);
    background: rgba(212, 175, 55, 0.06);
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--category-color);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px currentColor);
}

.category-item:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(var(--category-color), 0.3);
}

.category-item:hover .category-icon i {
    animation: iconPulse 0.6s ease;
    filter: drop-shadow(0 0 15px currentColor);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.category-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.category-item:hover .category-info h3 {
    color: var(--category-color);
}

.category-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.category-item:hover .category-info span {
    color: var(--text-secondary);
}

/* About Page */
.about-hero {
    text-align: center;
    padding: 180px 20px 100px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}

.about-hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content {
    padding: 60px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-feature {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(5px);
}

.about-feature:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: var(--shadow-glow);
}

.about-feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.about-feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.about-feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #050505);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    padding: 48px 30px;
    background: rgba(212, 175, 55, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-soft);
    background: rgba(212, 175, 55, 0.06);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-member span {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Auth Pages (Login, Register, Reset)
   ========================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.auth-container {
    max-width: 450px;
    width: 100%;
}

.auth-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E5C2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px;
    padding-left: 48px !important;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #D4AF37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    outline: none;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #D4AF37;
    font-size: 1.1rem;
    z-index: 10;
    pointer-events: none;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-google {
    background: #fff;
    color: #333;
    font-weight: 600;
    border: none;
    transition: transform 0.2s;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    cursor: pointer;
}

.btn-google:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.3);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer a {
    color: #D4AF37;
    font-weight: 700;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

.terms-check {
    margin-top: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.terms-check a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

/* =========================================
   Responsive Design / Mobile Fixes
   ========================================= */

@media (max-width: 900px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    /* Allow buttons to show when moved inside active nav-links */
    .nav-links.active .nav-buttons {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        padding: 0 15px 15px 15px;
        align-items: center;
        gap: 15px;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }

    .nav-links.active .nav-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Fix user menu direction in mobile */
    .nav-links.active .nav-buttons .user-menu {
        flex-direction: row;
        /* Keep icons in row */
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px 0 40px 0;
        border-bottom: 1px solid var(--border-gold);
        gap: 0;
        animation: slideDown 0.3s ease-out forwards;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 9998;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
    }

    /* Global Mobile Menu Visibility Classes */
    @media (min-width: 901px) {
        .mobile-user-menu {
            display: none !important;
        }
    }

    @media (max-width: 900px) {
        .nav-buttons-desktop {
            display: none !important;
        }

        /* Also hide .nav-buttons if we are using the new system but stuck with old class name in some places */
        .nav-buttons.desktop-only {
            display: none !important;
        }
    }

    @media (max-width: 768px) {
        .username-text {
            display: none;
        }
    }

    /* Global Mobile Menu Visibility Classes */
    @media (min-width: 901px) {
        .mobile-user-menu {
            display: none !important;
        }
    }

    @media (max-width: 900px) {
        .nav-buttons-desktop {
            display: none !important;
        }

        /* Also hide .nav-buttons if we are using the new system but stuck with old class name in some places */
        .nav-buttons.desktop-only {
            display: none !important;
        }
    }

    @media (max-width: 768px) {
        .username-text {
            display: none;
        }
    }

    .nav-links.active li {
        width: 100%;
        text-align: center;
    }

    .nav-links.active a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        cursor: pointer;
        z-index: 1001;
        padding: 10px;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #D4AF37;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .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);
    }

    .navbar {
        position: fixed;
    }

    .nav-container {
        position: relative;
    }

    .logo img {
        width: 150px !important;
        min-width: 150px !important;
    }

    /* Hero Fixes */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    /* Grid Fixes */
    .demo-wrapper {
        grid-template-columns: 1fr;
    }

    .chat-window {
        margin-top: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* =========================================
   IMDb-Style Premium Footer
   ========================================= */

.footer {
    background: #000000;
    padding: 60px 0 40px;
    border-top: none;
    text-align: center;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sign In Button (Golden) */
.footer-signin-cta {
    margin-bottom: 40px;
}

.btn-imdb-gold {
    background: #F5C518;
    color: #000;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-imdb-gold:hover {
    background: #E4B00F;
    transform: translateY(-1px);
}

/* Modules (Social & App) */
.footer-modules {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.module-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    min-width: 380px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.module-box:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.module-content {
    width: 100%;
}

.module-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.module-content p {
    font-size: 1rem;
    color: #ccc;
    text-align: center;
}

.social-icons-footer {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

.social-icons-footer a {
    color: #fff;
    font-size: 1.6rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons-footer a:hover {
    color: #F5C518;
    transform: scale(1.15);
}

.qr-code {
    width: 60px;
    height: 60px;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
}

/* Minimal Links */
.footer-links-minimal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.footer-links-minimal li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links-minimal li a i {
    font-size: 0.75rem;
    margin-left: 2px;
}

.footer-links-minimal li a:hover {
    text-decoration: underline;
    color: #F5C518;
}

/* Company Branding */
.cineshelf-company {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.footer-copyright {
    color: #aaa;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .module-box {
        width: 100%;
        min-width: auto;
        gap: 15px;
    }

    .social-icons-footer {
        width: 100%;
        justify-content: space-between;
    }

    .footer-links-minimal {
        flex-direction: column;
        gap: 15px;
    }
}

/* Footer Module Fixes - Centering */
.module-box {
    justify-content: center !important;
    text-align: center !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.module-content h3 {
    text-align: center !important;
    margin-bottom: 15px !important;
}

.module-content p {
    text-align: center !important;
}

.social-icons-footer {
    display: flex;
    gap: 32px !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

/* Mobile Header Height Fixes */
@media (max-width: 900px) {
    .navbar {
        padding: 10px 0 !important;
    }

    .logo img {
        height: 40px !important;
        width: auto !important;
        min-width: auto !important;
    }

    .logo-slogan {
        font-size: 0.65rem;
        padding-left: 8px;
        margin-left: 8px;
    }

    .nav-links.active {
        top: 61px !important;
        /* 10px top + 10px bottom + 40px logo + 1px border */
        max-height: calc(100vh - 61px) !important;
    }
}


/* 
   CRITICAL FIX: Ensure mobile menu is hidden on desktop.
   This overrides any nested/malformed media queries above.
*/
@media (min-width: 901px) {
    .mobile-user-menu {
        display: none !important;
    }
}


/* Range Slider Styles - FORCE OVERRIDE */
.range-slider-container {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 10px;
    font-family: 'Inter', sans-serif;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.range-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.range-values {
    font-family: monospace;
    font-size: 1.1rem;
    color: #D4AF37 !important;
    /* Gold */
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.slider-wrapper {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
}

/* Background Track */
.slider-track-bg {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 2px;
    z-index: 1;
}

/* Filled Range Track */
.slider-track-fill {
    position: absolute;
    height: 4px;
    background: #D4AF37 !important;
    /* Gold */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    border-radius: 2px;
    z-index: 2;
    pointer-events: none;
}

/* Input Elements */
.range-input {
    position: absolute;
    width: 100%;
    height: 4px;
    background: none !important;
    background-color: transparent !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    pointer-events: none;
    z-index: 3;
    margin: 0;
    /* Remove default accent color which might be causing purple */
    accent-color: transparent !important;
}

/* Chrome/Safari Thumb */
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff !important;
    cursor: grab;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 2px solid #D4AF37 !important;
    margin-top: -9px;
    /* Center thumb */
    position: relative;
    z-index: 4;
}

/* Firefox Thumb */
.range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff !important;
    cursor: grab;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border: 2px solid #D4AF37 !important;
    position: relative;
    z-index: 4;
    appearance: none !important;
}

/* Track cleanup for standard browsers */
.range-input::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: transparent !important;
    border: none !important;
}

.range-input::-moz-range-track {
    width: 100%;
    height: 4px;
    background: transparent !important;
    border: none !important;
}

/* Interactions */
.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.range-input:active::-webkit-slider-thumb {
    background: #D4AF37 !important;
    cursor: grabbing;
}

.range-input:focus {
    outline: none !important;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -10px;
}

/* New Feature Badge */
.new-feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #D4AF37 100%);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(255, 107, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Ensure tracks are visible */
.slider-track-bg {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.slider-track-fill {
    background-color: #D4AF37 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@import url('slider_styles.css');

/* Social Media Popup */
.social-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.social-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.social-popup-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.social-popup-overlay.show .social-popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #fff;
}

.popup-icon {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.social-popup-content h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.social-popup-content p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.popup-social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    color: #fff;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.social-btn.twitter {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   Custom Scrollbar - Gold/Black Theme
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

/* ========================================
   FAQ Page Styles (sss.html)
   ======================================== */
.faq-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-header p {
    color: var(--text-muted);
}

.faq-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.faq-category-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.faq-item {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-gold);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 500;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-contact {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
}

.faq-contact h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.faq-contact p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ========================================
   Kesfet Page - Content Type Filter
   ======================================== */
.content-type-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.type-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 12px 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.type-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--primary);
}

.type-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.type-btn i {
    font-size: 1rem;
}

/* Kesfet Page - Mood Grid */
.mood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.mood-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mood-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.mood-card i {
    font-size: 1.8rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.mood-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Kesfet Page - Responsive Nav */
@media (max-width: 768px) {
    .username-text { display: none; }
}
@media (min-width: 901px) {
    .mobile-user-menu { display: none !important; }
}
@media (max-width: 900px) {
    .nav-buttons-desktop { display: none !important; }
}

/* ========================================
   Auth Required Toast Popup
   ======================================== */
.auth-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 20px 30px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 90%;
}

.auth-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.auth-toast-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-toast-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.auth-toast-content h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.auth-toast-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-toast-btn {
    background: var(--gradient-gold);
    color: #000;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.auth-toast-btn:hover {
    box-shadow: var(--shadow-gold);
}

/* Shake animation for empty input warning */
.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ============================================================
   WATCHLIST - Add to List Sheet
   ============================================================ */
.add-to-list-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.add-to-list-sheet {
    background: #1a1a1a;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sheet-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sheet-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
}

.sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.list-sheet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.list-sheet-item:hover {
    background: rgba(212,175,55,0.1);
}

.list-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
}

.sheet-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 28px;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success { background: linear-gradient(135deg, #10B981, #059669); }
.toast-error { background: linear-gradient(135deg, #EF4444, #DC2626); }
.toast-info { background: linear-gradient(135deg, #3B82F6, #2563EB); }

/* ============================================================
   NOTIFICATION PANEL
   ============================================================ */
.cs-alert-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cs-alert-wrapper i {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.cs-alert-wrapper:hover i {
    color: #D4AF37;
}

#cs-alert-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #EF4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cs-alert-panel {
    position: fixed;
    width: 380px;
    max-height: 480px;
    background: #1a1a1a;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    display: none;
    overflow: hidden;
}

.cs-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.cs-alert-list {
    max-height: 400px;
    overflow-y: auto;
}

.cs-alert-item {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: flex-start;
}

.cs-alert-item:hover {
    background: rgba(255,255,255,0.03);
}

.cs-alert-item.unread {
    background: rgba(212,175,55,0.05);
    border-left: 3px solid #D4AF37;
}

.cs-alert-item-content {
    flex: 1;
    min-width: 0;
}

.cs-alert-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.cs-alert-msg {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cs-alert-time {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .cs-alert-panel {
        width: calc(100vw - 20px);
        right: 10px !important;
    }
}

/* ============================================================
   BADGE POPUP (Gamification)
   ============================================================ */
.badge-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.badge-popup-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(212,175,55,0.2), 0 0 0 1px rgba(212,175,55,0.1);
    min-width: 300px;
}

.badge-popup-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-popup-icon .material-icons {
    font-size: 28px;
    color: #000;
}

.badge-popup-title {
    color: #D4AF37;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-popup-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2px 0;
}

.badge-popup-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

@keyframes badgeShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}