/* ===================================
   Telegram Directory - Main Stylesheet
   Mobile-First, Modern Design
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Light Mode */
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-light: #33a3d6;
    --secondary: #6c5ce7;
    --accent: #00d2ff;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-alt: #f1f3f5;
    --bg-card: #ffffff;

    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;

    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --success: #51cf66;
    --warning: #ffd43b;
    --danger: #ff6b6b;

    --gradient-primary: linear-gradient(135deg, #0088cc 0%, #00d2ff 100%);
    --gradient-secondary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-alt: #242424;
    --bg-card: #2d2d2d;

    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --text-muted: #6c757d;

    --border-color: #404040;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-base), color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.header {
    background-color: #0f172a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.3));
}

.nav-menu {
    display: none;
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0f172a;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-link {
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #fff;
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.theme-toggle,
.mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
}

.theme-toggle:hover,
.mobile-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    color: white;
    padding: 60px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Container */
.search-container {
    margin-bottom: 4rem;
}

.search-form {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .search-form {
        flex-direction: column;
        padding: 0 15px;
    }

    .search-btn {
        padding: 0 calc(2.5rem + 15px);
    }

    .stats-grid {
        padding: 0 15px;
    }
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    background-color: #fff;
    color: #1e293b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    overflow: hidden;
    z-index: 1000;
    text-align: left;
}

.suggestion-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.suggestion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.suggestion-info {
    flex: 1;
}

.suggestion-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.suggestion-meta {
    font-size: 0.8rem;
    color: #64748b;
}

.search-btn {
    padding: 0 2.5rem;
    height: 62px;
    background: #0ea5e9;
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.search-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 13px 13px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    justify-content: center;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-card i {
    font-size: 1.2rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    color: #fff;
    white-space: nowrap;
}

.stat-card i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
    white-space: nowrap;
}

/* Sections */
.section {
    padding: var(--spacing-lg) 0;
}

.page-header+.section,
.page-header+.container,
.hero+.section,
.hero+.container,
.hero+.detail-page,
.page-header+.detail-page {
    padding-top: var(--spacing-xl) !important;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.view-all-link:hover {
    gap: var(--spacing-sm);
}

/* Categories Grid */
.categories-section {
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Mobile: Horizontal scroll */
@media (max-width: 768px) {
    .categories-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.75rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .categories-grid::-webkit-scrollbar {
        height: 6px;
    }

    .categories-grid::-webkit-scrollbar-track {
        background: var(--bg-alt);
        border-radius: 10px;
    }

    .categories-grid::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-card {
    background-color: var(--bg-card);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    transition: all var(--transition-base);
    min-height: 56px;
}

@media (max-width: 768px) {
    .category-card {
        flex-shrink: 0;
        min-width: 140px;
        scroll-snap-align: start;
        white-space: nowrap;
    }
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.category-name {
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.2;
    word-break: break-word;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.item-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.item-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.verified-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.new-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.item-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.item-stats {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.growth-positive {
    color: var(--success);
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-section h3 i {
    color: var(--primary);
    font-size: 1.8rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.4);
    border-color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    color: white;
    padding: 40px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-primary);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}


@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 60px;
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        opacity: 0.8;
    }
}

/* Listing Layout */
.listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 80px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.filter-header h3 {
    font-size: 1.3rem;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-toggle {
    display: none;
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.filter-panel {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.filter-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.filter-select {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Specific Join Button Polish */
.join-btn {
    background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.join-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-alt);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* Listing Content */
.listing-content {
    min-height: 400px;
}

.item-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl) 0;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-fast);
}

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

.pagination-info {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Detail Page */
.detail-page {
    padding: var(--spacing-xl) 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

.detail-header {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.detail-image {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.detail-username {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-large {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
}

/* Stats Detail Grid */
.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stat-detail-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.stat-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-detail-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Detail Section */
.detail-section {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.detail-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-description h2 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
}

.detail-description h2:first-child {
    margin-top: 0;
}

.detail-description p {
    margin-bottom: 1rem;
}

.detail-description p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
/* Sidebar - Premium Design */
.detail-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-alt);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.share-btn i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.info-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    text-align: right;
}

.info-value small {
    display: inline-block;
    margin-left: 4px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-xs);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-fast);
}

.suggestion-item:hover {
    background-color: var(--bg-alt);
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.suggestion-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: bottom var(--transition-base);
}

.toast.show {
    bottom: var(--spacing-lg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-card {
    animation: fadeInUp 0.5s ease;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-panel {
        display: none;
    }

    .filter-panel.active {
        display: block;
        margin-top: var(--spacing-md);
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-image {
        margin: 0 auto;
    }

    .detail-title {
        justify-content: center;
        font-size: 1.5rem;
    }

    .detail-meta {
        justify-content: center;
    }

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

    .page-title {
        font-size: 1.4rem;
    }
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Dashboard Sidebar */
.dash-sidebar {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 2rem;
}

.sidebar-search {
    margin-bottom: 2rem;
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.sidebar-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary);
}

.sidebar-link-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-link-content i {
    width: 20px;
    text-align: center;
}

.sidebar-count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Dashboard Content */
.dash-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dash-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    /* Muted blue-grey */
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Dashboard Card - Premium Upgrade */
.dash-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(229, 231, 235, 0.7);
    position: relative;
    overflow: hidden;
}

.dash-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -6px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.dash-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-alt);
    flex-shrink: 0;
    padding: 2px;
    border: 1px solid #f1f5f9;
}

.dash-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dash-card-title {
    font-weight: 750;
    font-size: 1.1rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-bottom: 2px;
}

.dash-card-members {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

/* Footer now spreads items */
.dash-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.25rem;
}

.dash-card-stats {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dash-card-stats i {
    font-size: 0.9rem;
}

/* Plane Icon - Action Hint */
.dash-action-btn {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.dash-action-btn i {
    transform: rotate(-10deg);
}

.dash-card:hover .dash-action-btn {
    color: var(--primary);
}

.dash-card:hover .dash-action-btn i {
    transform: translateX(3px) rotate(-10deg);
}

/* Specific styling for the dash rating (Hot/Growth) */
.dash-rating {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-icon-sm {
    /* Kept for legacy compatibility if used elsewhere */
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-body);
    color: var(--primary);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.btn-icon-sm:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 900px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        position: static;
        width: 100%;
    }
}

/* ========================================
   SUBMIT PAGE STYLES
   ======================================== */

.submit-container {
    max-width: 700px;
    margin: 0 auto;
}

.submit-form {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-alt);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    padding-right: var(--spacing-xl);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group small {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
}

/* Submit Info Box */
.submit-info {
    margin-top: var(--spacing-xl);
}

.submit-info h2 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.guideline-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.guideline-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.guideline-item i {
    font-size: 1.5rem;
    color: var(--success);
    margin-top: 4px;
}

.guideline-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.guideline-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    color: var(--danger);
}

/* Responsive */
@media (max-width: 767px) {
    .submit-form {
        padding: var(--spacing-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
}

/* Image Upload Section */
.image-upload-section {
    padding: var(--spacing-md);
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
}

.checkbox-wrapper {
    margin-bottom: var(--spacing-sm);
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: var(--spacing-xs);
    cursor: pointer;
}

.checkbox-wrapper label {
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
}

#image-upload-container {
    margin-top: var(--spacing-sm);
}

input[type="file"].form-control {
    padding: var(--spacing-sm);
    cursor: pointer;
}

input[type="file"].form-control::file-selector-button {
    padding: var(--spacing-xs) var(--spacing-md);
    margin-right: var(--spacing-sm);
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

input[type="file"].form-control::file-selector-button:hover {
    background-color: var(--primary-dark);
}

/* Sidebar Mobile Toggle Styles */
@media (max-width: 900px) {
    .container {
        padding: 0 4px !important;
    }

    .dash-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
        padding: 1rem 4px !important;
    }

    .filter-panel {
        padding: 1rem 4px !important;
    }

    .footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .sidebar-section {
        display: none;
    }

    .sidebar-section.active {
        display: block;
        animation: fadeInUp 0.3s ease;
    }

    .sidebar-toggle-btn {
        display: flex !important;
    }

    .sidebar-search-wrapper {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        /* Reduced gap for more space */
        width: 100%;
    }

    .sidebar-search {
        margin-bottom: 0 !important;
        flex: 1;
    }

    .sidebar-search form {
        width: 100%;
    }

    .sidebar-search input {
        width: 100% !important;
    }
}


.sidebar-search-wrapper {
    margin-bottom: 2rem;
}

.sidebar-toggle-btn {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: none;
}

.sidebar-toggle-btn:hover {
    background: var(--primary-dark);
}

/* FAQ Section Styling */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    user-select: none;
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    font-size: 0.9rem;
    transition: transform var(--transition-base);
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-question {
        padding: var(--spacing-md);
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.breadcrumb-separator {
    margin: 0 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Center Breadcrumbs override */
.breadcrumbs {
    justify-content: center;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

/* Breadcrumbs in Page Header */
.page-header .breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-link:hover {
    color: #ffffff;
}

.page-header .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-current {
    color: #ffffff;
}

/* Fix dark mode sidebar colors */
.share-btn {
    color: var(--text-primary);
}

.detail-sidebar .sidebar-title {
    color: var(--text-primary);
}

/* Standardize Section Titles */
.detail-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
}

/* FAQ Layout Updates */
.faq-question {
    margin: 0;
    font-family: inherit;
}

.faq-answer {
    margin: 0;
    padding-bottom: var(--spacing-md);
}

/* Suggestion Image Styling */
.suggestion-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.suggestion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.suggestion-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 5px;
}

.suggestion-badge.channel {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.suggestion-badge.group {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.suggestion-badge.bot {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

/* Tags Section */
.tags-section {
    margin-top: 2rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.2);
}

.tag-badge i {
    font-size: 0.75rem;
    margin-right: 0.25rem;
    opacity: 0.7;
}

.tag-badge:hover i {
    opacity: 1;
}

/* Modern Detail Header Design */
/* Modern Detail Header Design */
.detail-header-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    /* Stack top-content and stats */
    gap: 0;
    /* Let children manage gap */
    align-items: stretch;
    /* Full width */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    /* Softer, larger shadow */
    transition: all 0.3s ease;
    overflow: hidden;
    /* Contain the aura */
    z-index: 1;
}

.detail-header-top {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .detail-header-modern {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

header .adsbygoogle {
    display: none !important;
}


/* The fluid aura background */
.detail-header-aura {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, var(--aura-color, rgba(59, 130, 246, 0.15)), transparent 60%);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
    animation: rotateAura 15s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .detail-header-modern {
        padding: 2rem 1.5rem;
    }

    .detail-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
}

.detail-image-modern {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.channel-avatar {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    /* Smoother rounding (Squircle-ish) */
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop */
    background: #fff;
}

.channel-avatar:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.detail-placeholder-modern {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.detail-info-modern {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.detail-title-modern {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .detail-title-modern {
        font-size: 1.75rem;
        justify-content: center;
    }
}

.verified-badge-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.detail-username-modern {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.detail-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .detail-meta-modern {
        justify-content: center;
    }
}

/* Glassy Chips */
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    /* Very subtle */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .meta-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.meta-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.meta-badge i {
    font-size: 0.9rem;
    opacity: 0.75;
}

.meta-badge:hover i {
    opacity: 1;
}

/* Animated Call-to-Action */
.btn-join-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Breathe/Pulse Animation */
.btn-join-modern {
    animation: btnBreathe 3s infinite ease-in-out;
}

@keyframes btnBreathe {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
}

.btn-join-modern:hover {
    animation: none;
    /* Stop breathing on hover to do a specific hover state */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
    color: white;
}

/* Shimmer effect on hover */
.btn-join-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-join-modern:hover::after {
    left: 200%;
    transition: 0.7s ease-in-out;
}

.btn-join-modern i {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .btn-join-modern {
        width: 100%;
        justify-content: center;
        /* Sticky bottom on mobile if requested, but let's stick to standard flow first for safety */
    }
}

/* Rating Badge Special Styling */
.rating-badge {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #f59e0b !important;
}

.rating-badge:hover {
    background: #f59e0b !important;
    color: white !important;
    border-color: #f59e0b !important;
}

.rating-badge i {
    color: #f59e0b;
}

.rating-badge:hover i {
    color: white;
}

/* ===================================
   Home Page Sections
   =================================== */

/* Submit Section */
.submit-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.submit-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.submit-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Update: Centered Card Layouts & Button Styling */

/* Submit Button Polish */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Feature Cards (Submit Section) - Centered */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 204, 0.1);
    border-radius: 50%;
    /* Optional: Circular background for icon */
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Counter Grid */
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.counter-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Facts Section */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Fact Cards - Centered */
.fact-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    text-align: center;
    /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items */
}

.fact-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.fact-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    /* Stack icon and title */
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.fact-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.fact-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Content Links */
.content-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

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

.content-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
}

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


/* Promoted Badge and Styling - Premium Upgrade */
.promoted-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash-card.promoted {
    border: 1.5px solid rgba(245, 158, 11, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.02) 100%);
}

.dash-card.promoted:hover {
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.1), 0 10px 10px -6px rgba(245, 158, 11, 0.04);
    border-color: #f59e0b;
}

/* Visual Stats Dashboard */
.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    /* Smaller min-width for mobile 2-col */
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-detail-card {
    background: var(--bg-alt);
    /* Slightly different bg to contrast with white card */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /* Vertical layout for smaller cards */
    align-items: flex-start;
    gap: 0.75rem;
    /* Remove shadow for cleaner internal look */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.stat-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Background "watermark" icon for style */
.stat-detail-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--bg-alt) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.stat-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    /* Primary light opacity */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.stat-detail-card:hover .stat-detail-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.stat-detail-icon.growth-positive {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.stat-detail-card:hover .stat-detail-icon.growth-positive {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.stat-detail-content {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.stat-detail-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
}

.stat-detail-value.growth-positive {
    color: var(--success);
}

.stat-detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Sidebar Widget Styles */
.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .sidebar-card {
    background: var(--card-bg, #1e293b);
    border-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: 14px;
    background: var(--bg-alt, #f1f5f9);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: var(--primary, #3b82f6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
    font-size: 0.95rem;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* Report Button Style */
.btn-report-issue {
    width: 100%;
    padding: 0.875rem;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    /* Light Red */
    color: #ef4444;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-report-issue:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.detail-section {
    margin-top: 0.5rem;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .detail-section {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Ranking Page Podium Styles */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem 0;
    min-height: 400px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 260px;
    z-index: 1;
}

.podium-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .podium-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.podium-item:hover .podium-card {
    transform: translateY(-10px);
}

.podium-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.podium-img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.podium-rank {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Gold - Rank 1 */
.podium-item.gold {
    width: 300px;
    /* Slightly larger */
    z-index: 2;
}

.podium-item.gold .podium-card {
    border-top: 4px solid #FFD700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.podium-item.gold .podium-rank {
    color: #FFD700;
    font-size: 2rem;
}

.podium-item.gold .podium-base {
    height: 60px;
    background: linear-gradient(to bottom, #FFD700, #FDB931);
}

/* Silver - Rank 2 */
.podium-item.silver .podium-card {
    border-top: 4px solid #C0C0C0;
}

.podium-item.silver .podium-rank {
    color: #C0C0C0;
}

.podium-item.silver .podium-base {
    height: 40px;
    background: linear-gradient(to bottom, #e0e0e0, #bdbdbd);
}

/* Bronze - Rank 3 */
.podium-item.bronze .podium-card {
    border-top: 4px solid #CD7F32;
}

.podium-item.bronze .podium-rank {
    color: #CD7F32;
}

.podium-item.bronze .podium-base {
    height: 25px;
    background: linear-gradient(to bottom, #cd7f32, #a0522d);
}

.podium-base {
    width: 100%;
    border-radius: 10px 10px 0 0;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .podium-item,
    .podium-item.gold {
        width: 100%;
        max-width: 350px;
    }

    .podium-base {
        display: none;
    }
}