/* Trending Page - Matching Site Theme */

/* Loading Screen - Same as Index */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loadingScreen.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

#mainContent {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#mainContent.loaded {
    opacity: 1;
}

/* Header Logo Centered - Override Main CSS */
.page-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 0 !important;
    margin-bottom: 40px !important;
}

.page-header .logo {
    display: inline-block;
}

.page-header .logo img {
    height: 60px !important;
    transition: all 0.3s ease;
}

.page-header .logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.3));
}

/* Grid Layout - 2 Columns Always */
#trendingGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 40px;
}

/* Section Header - Move Up */
.section-header {
    margin-bottom: 20px !important;
    margin-top: -20px !important;
}

.section-header h2 {
    font-size: 1.8rem !important;
    color: #4ade80 !important;
    margin: 0 !important;
}
