@font-face {
    font-family: 'Alice';
    src: url('../fonts/Alice-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Premium Dark Theme — Synced with landing.css */
    --bg-body: #05050A;
    /* Rich Charcoal */
    --bg-card: #0D1117;
    /* Soft Dark Blue-Gray */
    --bg-card-hover: #161B22;
    /* Border Gray */
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --accent: #4F46E5;
    /* Muted Indigo */
    --accent-glow: rgba(79, 70, 229, 0.4);
    --border: #1F2937;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-prompt: 'Alice', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Enhanced color palette */
    --gold: #fbbf24;
    --gold-glow: rgba(251, 191, 36, 0.4);
    --silver: #e2e8f0;
    --silver-glow: rgba(226, 232, 240, 0.3);
    --bronze: #f59e0b;
    --bronze-glow: rgba(245, 158, 11, 0.3);
    --purple: #818CF8;
    --purple-glow: rgba(129, 140, 248, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Noise Overlay */
/* Noise Overlay - REMOVED for performance
body::before {
    content: "";
    display: none;
}
*/

/* Background Blobs (Removed for performance) */
.background-blobs {
    display: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    /* Toned down for premium feel */
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #38bdf8;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #818cf8;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: #c084fc;
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #818CF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}


.hidden {
    display: none !important;
}

/* Navbar */
/* Navbar */
.navbar {
    position: sticky;
    top: 15px;
    margin: 0 20px;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar .container, .navbar-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    grid-column: 2; /* Move logo to center column */
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 10;
}

.logo-icon {
    width: auto;
    height: 60px;
    /* Significantly larger as requested */
    display: flex;
    align-items: center;
}

.logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* Prevents squeezing */
}

/* Cleaned up logo styles */

.logo:hover .logo-icon {
    transform: scale(1.05);
    /* Proper scaling instead of rotation */
}

.logo-icon span {
    color: white;
    font-size: 20px;
}

/* Nav Menu */
.nav-menu, .navbar nav {
    grid-column: 3; /* Push menu to right column */
    display: flex;
    align-items: center;
    gap: 32px;
    justify-self: end;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.nav-btn-highlight {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn-highlight:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Mobile Navigation */
/* Mobile Navigation */
.mobile-nav {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    /* Fixed viewport */
    bottom: 15px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    /* High z-index */
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.85);
    /* Slightly darker for contrast */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    /* Floating pill shape */
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-nav-link {
    flex: 1;
    max-width: 150px;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
    color: var(--accent);
    border-color: rgba(56, 189, 248, 0.2);
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    .mobile-nav {
        display: flex;
    }

    .navbar {
        padding: 12px 0;
        /* Slightly smaller header on mobile */
    }

    .logo-icon {
        width: 70px;
        height: 32px;
    }

    .logo-icon span {
        font-size: 18px;
    }

    .logo {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Bar — Premium Glassmorphism */
.search-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    padding: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.5), rgba(56, 189, 248, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.search-container:hover::before,
.search-container:focus-within::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.8), rgba(56, 189, 248, 0.6), rgba(79, 70, 229, 0.2));
}

.search-container input {
    width: 100%;
    padding: 20px 24px 20px 64px;
    background: rgba(11, 15, 20, 0.7);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.search-container input::placeholder {
    color: rgba(156, 163, 175, 0.6);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.search-container input:hover {
    background: rgba(14, 20, 29, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.search-container input:focus {
    outline: none;
    background: rgba(14, 20, 29, 0.95);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(79, 70, 229, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(156, 163, 175, 0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    z-index: 2;
}

.search-container:focus-within .search-icon {
    color: #38bdf8;
    transform: translateY(-50%) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.search-container:hover {
    transform: translateY(-2px);
}

.trending-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tag-pill {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: #818CF8;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.tag-pill:hover {
    border-color: #4F46E5;
    color: #A5B4FC;
    background: rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

/* Trending Page Specifics */
.hero-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin: 40px 0 60px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.podium-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* Reorder for mobile wrap styling removed in favor of strict JS DOM insertion order */
.place-1 {
    z-index: 3;
    margin-bottom: 20px;
}

.place-2 {
    z-index: 2;
}

.place-3 {
    z-index: 2;
}

.podium-card {
    position: relative;
    width: 220px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.place-1 .podium-card {
    width: 260px;
    height: 340px;
    border: 2px solid #fbbf24;
    /* Gold */
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.place-2 .podium-card {
    border: 2px solid #e2e8f0;
    /* Silver */
    box-shadow: 0 0 20px rgba(226, 232, 240, 0.2);
}

.place-3 .podium-card {
    border: 2px solid #b45309;
    /* Bronze/Copper */
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.2);
}

.podium-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.podium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-badge-large {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.place-1 .rank-number {
    color: #fbbf24;
    background: linear-gradient(to bottom, #fcd34d, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.place-2 .rank-number {
    color: #e2e8f0;
    background: linear-gradient(to bottom, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.place-3 .rank-number {
    color: #d97706;
    background: linear-gradient(to bottom, #fbbf24, #92400e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rank-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Filters */
/* Filters (Redesign) */
.filter-bar {
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 10px 24px;
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-podium {
        align-items: center;
        flex-direction: column;
        gap: 40px;
    }

    .podium-card,
    .place-1 .podium-card {
        width: 100%;
        max-width: 280px;
        height: 320px;
    }
}

.trending-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
    z-index: 2;
}

/* Top 3 rank badges enhanced colors - Restored using generic classes */
.trending-rank.rank-1 {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.trending-rank.rank-2 {
    background: linear-gradient(135deg, #f8fafc, #94a3b8);
    color: #0f172a;
}

.trending-rank.rank-3 {
    background: linear-gradient(135deg, #fbbf24, #b45309);
}

/* Trending Overlay */
.trending-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.98);
    /* Removed expensive backdrop-filter for performance */
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.trending-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.trending-overlay-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.trending-overlay-prompt {
    font-size: 1.05rem;
    font-family: var(--font-prompt);
    color: #e2e8f0;
    line-height: 1.6;
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

.trending-overlay-actions {
    display: flex;
    gap: 8px;
}

.trending-copy-btn {
    flex: 1;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.trending-copy-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: rgba(56, 189, 248, 0.5);
}

.trending-close-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trending-stat-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.trending-stat-badge .material-icons-round {
    font-size: 14px;
    color: var(--accent);
}

/* Gallery Grid - Modern Grid Layout (Redesign) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Responsive columns */
    gap: 32px;
    /* Increased gap for cleaner look */
    padding-bottom: 80px;
    /* align-items: start; Removed to allow stretch for uniform height */
}

/* Remove old media queries for columns, as auto-fill handles it, 
   but we can tweak min-width for mobile if needed */
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 20px;
    }
}

/* Cards - Content Showcase Style */
.card {
    position: relative;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.1);
    /* Hard-target specific properties, DO NOT transition `all` */
    transition: border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, box-shadow; /* Prevents jank on hover and scroll reveals */
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02); /* Combined translation and subtle scale */
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow:
        0 24px 48px -12px rgba(56, 189, 248, 0.25),
        0 0 40px rgba(56, 189, 248, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    aspect-ratio: 1 / 1;
    width: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers the square area */
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.95);
}

.card:hover .card-image-wrapper img {
    transform: scale(1.05);
    filter: brightness(1);
}



/* Card Content Styling */
.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    z-index: 2;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    /* Pushes tags to bottom if flex spacing allows */
}

.tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

/* Image Metadata Overlay */
.image-metadata {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.95));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.card:hover .image-metadata {
    transform: translateY(0);
}

.metadata-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metadata-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.metadata-btn {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metadata-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Prompt Overlay - Full Screen Style */
.prompt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.98);
    /* Removed gradient and backdrop filter for perf */
    display: flex;
    flex-direction: column;
    padding: 28px;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.prompt-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.prompt-text {
    font-size: 1.15rem;
    font-family: var(--font-prompt);
    color: #e2e8f0;
    line-height: 1.8;
    overflow-y: auto;
    flex-grow: 1;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

.prompt-text::-webkit-scrollbar {
    width: 6px;
}

.prompt-text::-webkit-scrollbar-track {
    background: transparent;
}

.prompt-text::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 3px;
}

.overlay-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.overlay-actions .copy-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.overlay-actions .copy-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Card Content */
.card-content {
    padding: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.8));
}

.card-content h3.card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: auto;
}

.tag {
    font-size: 0.75rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.1));
    color: #7dd3fc;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.2s ease;
    cursor: default;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.15));
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.interaction-hint {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}

.card:hover .interaction-hint {
    opacity: 0.8;
}

/* Footer */
/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: #020617;
    padding: 60px 0 40px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo img {
    height: 48px;
    /* Adjustable based on logo aspect ratio */
    width: auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1.25rem;
    /* For FontAwesome icons */
}

/* Specific FontAwesome hover colors */
.social-btn:hover i.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-btn:hover i.fa-github {
    color: white;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Simpler hover background since icon has color */
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 8px;
    font-weight: 400;
}

/* Utilities */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px;
    color: var(--text-secondary);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    /* Animated width/position */
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    background-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    border-radius: 100px;
    animation: loader-slide 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loader-slide {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

/* Toast */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--accent);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   PREMIUM UI ENHANCEMENTS - Gallery & Trending
   ============================================ */

/* Shimmer Effect for Cards - uses separate element to avoid conflicts */
.card .shimmer-overlay {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(56, 189, 248, 0.08),
            rgba(167, 139, 250, 0.08),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover .shimmer-overlay {
    left: 150%;
}

/* Animated Gradient Border */
.card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent), var(--purple), var(--accent));
    background-size: 200% 200%;
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Badge Pulse Animation - enhancement */
@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2);
        border-color: rgba(56, 189, 248, 0.25);
    }

    50% {
        box-shadow: 0 4px 30px rgba(56, 189, 248, 0.4);
        border-color: rgba(56, 189, 248, 0.4);
    }
}

/* Search Glow Animation - enhancement only */
@keyframes searchGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


/* ============================================
   TRENDING PAGE - TOP 3 PODIUM ENHANCEMENTS
   ============================================ */

/* Enhanced Podium Section */
.hero-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin: 50px 0 70px;
    padding: 0 24px;
    perspective: 1000px;
}

.podium-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    animation: podiumRise 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.place-1 {
    animation-delay: 0.2s;
}

.place-2 {
    animation-delay: 0.4s;
}

.place-3 {
    animation-delay: 0.6s;
}

@keyframes podiumRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Podium Cards */
.podium-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

/* Gold - 1st Place */
.place-1 .podium-card {
    width: 280px;
    height: 370px;
    border: 3px solid var(--gold);
    box-shadow:
        0 0 60px var(--gold-glow),
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.place-1 .podium-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #fbbf24, #fcd34d, #f59e0b, #fbbf24);
    background-size: 300% 300%;
    border-radius: calc(var(--radius-xl) + 3px);
    z-index: -1;
    animation: goldShine 3s ease infinite;
}

@keyframes goldShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Silver - 2nd Place */
.place-2 .podium-card {
    width: 240px;
    height: 310px;
    border: 2px solid var(--silver);
    box-shadow:
        0 0 40px var(--silver-glow),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Bronze - 3rd Place */
.place-3 .podium-card {
    width: 220px;
    height: 290px;
    border: 2px solid var(--bronze);
    box-shadow:
        0 0 30px var(--bronze-glow),
        0 15px 50px rgba(0, 0, 0, 0.5);
}

.podium-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(2deg);
}

.podium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.podium-card:hover .podium-image {
    transform: scale(1.1);
}

/* Enhanced Rank Badge */
.rank-badge-large {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.rank-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px currentColor;
}

.place-1 .rank-badge-large {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 30px var(--gold-glow);
}

.place-1 .rank-number {
    background: linear-gradient(135deg, #fcd34d, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldPulse 2s ease-in-out infinite;
}

@keyframes goldPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }
}

.place-2 .rank-badge-large {
    border-color: rgba(226, 232, 240, 0.3);
}

.place-2 .rank-number {
    background: linear-gradient(135deg, #f8fafc, #94a3b8, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.place-3 .rank-badge-large {
    border-color: rgba(245, 158, 11, 0.3);
}

.place-3 .rank-number {
    background: linear-gradient(135deg, #fbbf24, #92400e, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rank-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 600;
}

/* Crown Icon for #1 */
.place-1 .podium-card::after {
    content: '👑';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
    animation: crownBounce 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes crownBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateX(-50%) translateY(-8px) rotate(5deg);
    }
}

/* Top 3 rank badges enhanced colors */
.card:nth-child(1) .trending-rank {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.card:nth-child(2) .trending-rank {
    background: linear-gradient(135deg, #f8fafc, #94a3b8);
    color: #0f172a;
}

.card:nth-child(3) .trending-rank {
    background: linear-gradient(135deg, #fbbf24, #b45309);
}

/* Stats Badge Enhancement */
.trending-stat-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.trending-stat-badge .material-icons-round {
    font-size: 16px;
    color: #ff6b6b;
    animation: firePulse 1s ease-in-out infinite;
}

@keyframes firePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Copy Count Animation in Metadata */
.copy-count {
    display: inline-block;
    transition: transform 0.3s ease;
}

.copy-count.animate {
    animation: countBump 0.3s ease;
}

@keyframes countBump {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Skeleton Loading Cards */
.skeleton-card {
    break-inside: avoid;
    margin-bottom: 28px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.6));
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(90deg,
            rgba(30, 41, 59, 0.8) 0%,
            rgba(56, 189, 248, 0.1) 50%,
            rgba(30, 41, 59, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 24px;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 10px;
    margin-bottom: 12px;
    animation: shimmer 1.5s infinite;
}

.skeleton-tags {
    display: flex;
    gap: 8px;
}

.skeleton-tag {
    height: 28px;
    width: 60px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 15px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}




/* Floating Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Button Press Effect */
.btn,
.metadata-btn,
.filter-btn,
.copy-btn {
    position: relative;
    overflow: hidden;
}

.btn:active,
.metadata-btn:active,
.filter-btn:active,
.copy-btn:active {
    transform: scale(0.97);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-podium {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .place-1 {
        order: 1;
    }

    .place-2 {
        order: 2;
    }

    .place-3 {
        order: 3;
    }

    .podium-card,
    .place-1 .podium-card,
    .place-2 .podium-card,
    .place-3 .podium-card {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }

    .filter-bar {
        width: 100%;
        padding: 6px;
        gap: 4px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .badge-pill {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .search-container {
        margin: 0 auto 30px;
    }

    .search-container input {
        padding: 16px 20px 16px 50px;
        font-size: 0.95rem;
    }

    .trending-tags {
        gap: 8px;
    }

    .tag-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Gallery Grid Enhancement Mobile */
@media (max-width: 640px) {
    .gallery-grid {
        column-gap: 16px;
        padding-bottom: 100px;
    }

    .card {
        margin-bottom: 16px;
    }

    .card-content {
        padding: 16px;
    }

    .metadata-actions {
        flex-direction: column;
        gap: 6px;
    }

    .metadata-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prevent overflow on page */
.gallery-grid,
.container {
    overflow-x: hidden;
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.share-modal.hidden {
    display: none;
}

.share-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.share-content {
    width: 90%;
    max-width: 400px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.close-share-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    /* text-secondary */
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.close-share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.social-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
    width: 100%;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .social-share-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
    }
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-btn i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.twitter {
    background: #000000;
    border: 1px solid #333;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.telegram {
    background: #0088cc;
}

.copy-link-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    gap: 8px;
    position: relative;
}

.share-link-input {
    background: transparent;
    border: none;
    color: #94a3b8;
    flex: 1;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

.copy-link-btn {
    background: #0f172a;
    /* bg-card */
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-link-btn:hover {
    border-color: #38bdf8;
    /* accent */
}

/* --- AI Chatbot Widget (Enhanced) --- */
.ai-chat-widget {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Nav Buttons */
.nav-ai-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 2px;
    flex-shrink: 0;
}

.nav-ai-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.5);
}

.nav-ai-btn .material-icons-round {
    font-size: 18px;
}

.mobile-ai-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 2px;
    flex-shrink: 0;
    z-index: 10;
}

.mobile-ai-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}

.mobile-ai-btn .material-icons-round {
    font-size: 24px;
}

/* Panel clickability */
.ai-chat-panel,
.nav-ai-btn,
.mobile-ai-btn {
    pointer-events: auto;
}

/* Chat Panel */
.ai-chat-panel {
    width: 400px;
    height: 580px;
    max-height: 85vh;
    background: rgba(8, 12, 28, 0.97);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(168, 85, 247, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* Closed state */
.ai-chat-widget.closed .ai-chat-panel {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    pointer-events: none;
}

/* Header with animated gradient */
.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    position: relative;
    overflow: hidden;
}

.ai-chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05), transparent);
    animation: headerShimmer 4s ease-in-out infinite;
}

@keyframes headerShimmer {

    0%,
    100% {
        transform: translateX(-50%);
    }

    50% {
        transform: translateX(50%);
    }
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-header-info .ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.ai-chat-header-info .ai-avatar .material-icons-round {
    font-size: 20px;
    color: white;
}

.ai-chat-header-info .ai-name-block h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.ai-chat-header-info .ai-name-block .ai-status {
    font-size: 0.72rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-chat-header-info .ai-name-block .ai-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Messages Area */
.ai-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.2) transparent;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

/* Messages */
.ai-msg {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: break-word;
    animation: msgFadeIn 0.3s ease-out;
}

@keyframes msgFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-msg.bot-msg {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.ai-msg.user-msg {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);
}

/* Prompt Card inside bot messages */
.ai-prompt-card {
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.ai-prompt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #a855f7);
}

.ai-prompt-card pre {
    background: rgba(0, 0, 0, 0.35) !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(168, 85, 247, 0.15) !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
    color: #e2e8f0 !important;
}

/* Prompt image preview inside bot messages */
.ai-prompt-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typing indicator */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.ai-typing .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a855f7;
    opacity: 0.4;
    animation: typeBounce 1.4s ease-in-out infinite;
}

.ai-typing .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typeBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Input Area */
.ai-chat-input-area {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.ai-chat-input-area textarea {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 12px 14px;
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    resize: none;
    max-height: 100px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-chat-input-area textarea:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.ai-chat-input-area textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Send Button */
.ai-chat-input-area .btn-primary {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border: none;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.ai-chat-input-area .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.5);
}

/* Copy button inside AI messages */
.ai-copy-prompt-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c4b5fd;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.ai-copy-prompt-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: white;
    transform: translateY(-1px);
}

/* Close Button */
.ai-chat-header .btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.ai-chat-header .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Suggestion chips */
.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ai-suggestion-chip {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-suggestion-chip:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    color: white;
}

/* Mobile Adjustments for Chat Widget */
@media (max-width: 480px) {
    .ai-chat-widget {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 12px;
    }

    .ai-chat-panel {
        width: calc(100vw - 24px);
        height: 70vh;
        border-radius: 16px;
    }
}

/* =====================================================
   AI Feature Modal (Remix / Convert)
   ===================================================== */
.ai-feature-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ai-feature-modal.hidden {
    display: none;
}

.ai-feature-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.ai-feature-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    background: rgba(8, 12, 28, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(168, 85, 247, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ai-feature-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08));
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.ai-feature-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-feature-modal-title .material-icons-round {
    font-size: 24px;
    color: #a855f7;
}

.ai-feature-modal-title h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
}

.ai-feature-modal-header .btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.ai-feature-modal-header .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.ai-feature-modal-body {
    padding: 22px;
    overflow-y: auto;
    max-height: 60vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.2) transparent;
}

/* Prompt Variation Cards */
.ai-variation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
    transition: border-color 0.2s;
}

.ai-variation-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.ai-variation-card .variation-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-variation-card .variation-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-variation-card .variation-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.ai-variation-card .variation-copy-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    color: white;
}

/* Model Selector for Convert */
.ai-model-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ai-model-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-model-chip:hover,
.ai-model-chip.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(103, 232, 249, 0.1));
    border-color: rgba(168, 85, 247, 0.4);
    color: white;
}

/* =====================================================
   Report Modal Styles
   ===================================================== */
.ai-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.ai-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.report-modal {
    background: linear-gradient(165deg, #111827, #030712);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(239, 68, 68, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.ai-modal-overlay.active .report-modal {
    transform: scale(1) translateY(0);
}

.ai-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.btn-report {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-report:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-report span {
    font-size: 14px;
}

@media (max-width: 480px) {
    .report-modal {
        border-radius: 20px;
    }
}

/* =====================================================
   AI Smart Search Toggle
   ===================================================== */
.ai-search-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
}

.ai-search-toggle:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.ai-search-toggle.active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.search-container {
    position: relative;
}

.ai-search-active #searchInput {
    padding-right: 52px;
}

@media (max-width: 480px) {
    .ai-feature-modal-content {
        max-width: calc(100vw - 24px);
        max-height: 85vh;
        border-radius: 16px;
    }
}

/* =====================================================
   Modal Overlay (Used by Image Viewer & Ad Modal)
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* =====================================================
   Ad Modal Enhancements
   ===================================================== */
.ad-modal-content {
    animation: scaleInAd 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@keyframes scaleInAd {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Report Modal Styles */
.report-modal {
    max-width: 440px;
    width: 90%;
    background: var(--bg-card, #1e293b);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: scaleInAd 0.3s ease-out;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-form .form-group {
    margin: 0;
}

.report-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #f1f5f9);
}

.report-form select,
.report-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary, #f1f5f9);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}

.report-form select:focus,
.report-form textarea:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.08);
}

.report-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.report-form textarea {
    min-height: 100px;
    resize: vertical;
}

.report-form select option {
    background: var(--bg-card, #1e293b);
    color: var(--text-primary, #f1f5f9);
}

.btn-submit-report {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-submit-report:active {
    transform: translateY(0);
}

.btn-submit-report:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Report Modal Overlay */
#reportModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#reportModalOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* Report button in card */
.btn-report {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-report:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-report .material-icons-round {
    font-size: 18px;
}