/* ====================================
   EXPLORE PAGE STYLES
   ==================================== */

.explore-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Search Bar */
.explore-search-bar {
    position: sticky;
    top: 80px;
    background: var(--bg);
    padding: 1rem 0;
    z-index: 100;
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-wrapper input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: white;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.category-chip {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-chip span {
    font-size: 1.25rem;
}

.category-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.category-chip.active {
    background: linear-gradient(135deg, var(--primary), #ffa500);
    border-color: var(--primary);
    color: black;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

/* Section Header */
.explore-section {
    margin-bottom: 3rem;
}

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

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.see-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.see-all:hover {
    text-decoration: underline;
    transform: translateX(4px);
}

/* Trending Grid */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.trending-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.trending-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary);
}

.trending-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: relative;
}

.trending-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.trending-card-content {
    padding: 1.5rem;
}

.trending-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.trending-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vote-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.time-remaining {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.contestants-preview {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contestant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

/* Rising Stars Grid */
.rising-stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.rising-star-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.rising-star-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary);
}

.rising-star-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: black;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.rising-star-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin: 0 auto 1rem;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.rising-star-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.rising-star-username {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.rising-star-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.growth-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--success-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Ending Soon Grid */
.ending-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ending-soon-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.ending-soon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.2);
    border-color: var(--error-red);
}

.countdown-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--error-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 1;
}

.ending-soon-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ending-soon-content {
    padding: 1.5rem;
}

.ending-soon-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.ending-soon-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Leaderboard Container */
.leaderboard-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.leaderboard-rank {
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 50px;
    text-align: center;
}

.leaderboard-rank.top-1 {
    color: #ffd700;
}

.leaderboard-rank.top-2 {
    color: #c0c0c0;
}

.leaderboard-rank.top-3 {
    color: #cd7f32;
}

.leaderboard-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.leaderboard-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.leaderboard-votes {
    text-align: right;
}

.votes-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.votes-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.recommended-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.recommended-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary);
}

.recommended-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recommended-content {
    padding: 1.5rem;
}

.recommended-reason {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.recommended-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

/* New Contests Grid */
.new-contests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.new-contest-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.new-contest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 222, 128, 0.2);
    border-color: var(--success-green);
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-green);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
}

.new-contest-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.new-contest-content {
    padding: 1.5rem;
}

.new-contest-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.new-contest-timestamp {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Loading Skeletons */
.loading-skeleton {
    display: contents;
}

.skeleton-card,
.skeleton-profile,
.skeleton-leaderboard {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
}

.skeleton-card {
    height: 400px;
}

.skeleton-profile {
    height: 250px;
}

.skeleton-leaderboard {
    height: 80px;
    margin-bottom: 1rem;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .explore-container {
        padding: 1rem 0.75rem;
    }

    .explore-search-bar {
        top: 70px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .trending-grid,
    .ending-soon-grid,
    .recommended-grid,
    .new-contests-grid {
        grid-template-columns: 1fr;
    }

    .rising-stars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-filters {
        /* padding: 0 0.75rem 1rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem; */
        overflow-x: scroll;
    }
}

@media (max-width: 480px) {
    .rising-stars-grid {
        grid-template-columns: 1fr;
    }

    .rising-star-avatar {
        width: 80px;
        height: 80px;
    }

    .leaderboard-item {
        padding: 1rem;
        gap: 1rem;
    }

    .leaderboard-avatar {
        width: 50px;
        height: 50px;
    }

    .leaderboard-rank {
        font-size: 1.25rem;
        min-width: 40px;
    }
}




/* additional styling */
.section-back-nav {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.back-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-4px);
}

.section-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.btn-load-more {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}




/* Section Page Specific Styles */
.section-content {
    margin-top: 2rem;
}

.section-content.trending-grid,
.section-content.ending-soon-grid,
.section-content.recommended-grid,
.section-content.new-contests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.section-content.rising-stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.section-content.leaderboard-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
}

/* ====================================
   RESPONSIVE DESIGN - EXPLORE PAGES
   ==================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .explore-container {
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .explore-search-bar {
        top: 70px;
        padding: 1rem 0;
    }

    .search-wrapper input {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem 0.875rem 3.25rem;
    }

    .category-filters {
        gap: 0.5rem;
        padding-bottom: 0.875rem;
        margin-bottom: 1.5rem;

    }

    .category-chip {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .category-chip span {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .see-all {
        font-size: 0.875rem;
    }

    /* Trending Grid */
    .trending-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.25rem;
    }

    .trending-card-image {
        height: 220px;
    }

    .trending-card-title {
        font-size: 1.125rem;
    }

    /* Rising Stars */
    .rising-stars-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.25rem;
    }

    .rising-star-avatar {
        width: 90px;
        height: 90px;
    }

    .rising-star-name {
        font-size: 1rem;
    }

    /* Ending Soon */
    .ending-soon-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }

    /* Leaderboard */
    .leaderboard-item {
        padding: 1rem;
        gap: 1.25rem;
    }

    .leaderboard-avatar {
        width: 55px;
        height: 55px;
    }

    .leaderboard-title {
        font-size: 1rem;
    }

    /* Section Pages */
    .section-page-header h1 {
        font-size: 2rem;
    }

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

/* Mobile Landscape & Small Tablets (481px - 768px) */
@media (max-width: 768px) {
    .explore-container {
        padding: 1rem 0.75rem;
    }

    .explore-search-bar {
        top: 65px;
        padding: 0.875rem 0;
        margin-bottom: 1.5rem;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .search-wrapper input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem 0.75rem 3rem;
        border-radius: 14px;
    }

    .search-wrapper .search-icon {
        left: 1rem;
        width: 16px;
        height: 16px;
    }

    /* Category Filters */
    .category-filters {
        /* padding: 0 0.75rem 0.875rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        margin-bottom: 1.25rem; */
        gap: 0.5rem;
    }

    .category-chip {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .category-chip span {
        font-size: 1rem;
    }

    /* Section Headers */
    .explore-section {
        margin-bottom: 2.5rem;
    }

    .section-header {
        margin-bottom: 1.25rem;
    }

    .section-header h2 {
        font-size: 1.375rem;
    }

    .see-all {
        font-size: 0.85rem;
    }

    /* Trending Grid - 2 Columns */
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trending-card-image {
        height: 180px;
    }

    .trending-card-content {
        padding: 1.25rem;
    }

    .trending-card-title {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }

    .trending-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
    }

    .trending-card-meta {
        font-size: 0.875rem;
    }

    .vote-count svg {
        width: 16px;
        height: 16px;
    }

    .contestants-preview {
        margin-top: 0.75rem;
        gap: 0.375rem;
    }

    .contestant-avatar {
        width: 35px;
        height: 35px;
    }

    /* Rising Stars - 2 Columns */
    .rising-stars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .rising-star-card {
        padding: 1.25rem;
    }

    .rising-star-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.3rem 0.625rem;
        font-size: 0.7rem;
    }

    .rising-star-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 0.875rem;
    }

    .rising-star-name {
        font-size: 0.95rem;
    }

    .rising-star-username {
        font-size: 0.8rem;
        margin-bottom: 0.875rem;
    }

    .rising-star-stats {
        gap: 0.75rem;
        margin-top: 0.875rem;
    }

    .stat-value {
        font-size: 1.125rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .growth-indicator {
        font-size: 0.8rem;
        margin-top: 0.375rem;
    }

    /* Ending Soon - 2 Columns */
    .ending-soon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .ending-soon-image {
        height: 160px;
    }

    .ending-soon-content {
        padding: 1.25rem;
    }

    .ending-soon-title {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }

    .countdown-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.375rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Leaderboard */
    .leaderboard-container {
        padding: 1.25rem;
    }

    .leaderboard-item {
        padding: 0.875rem;
        gap: 1rem;
        margin-bottom: 0.875rem;
    }

    .leaderboard-rank {
        font-size: 1.25rem;
        min-width: 45px;
    }

    .leaderboard-avatar {
        width: 50px;
        height: 50px;
    }

    .leaderboard-title {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .leaderboard-subtitle {
        font-size: 0.8rem;
    }

    .votes-number {
        font-size: 1.25rem;
    }

    .votes-label {
        font-size: 0.7rem;
    }

    /* Recommended Grid - 2 Columns */
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .recommended-image {
        height: 160px;
    }

    .recommended-content {
        padding: 1.25rem;
    }

    .recommended-reason {
        font-size: 0.8rem;
        margin-bottom: 0.625rem;
    }

    .recommended-title {
        font-size: 1rem;
    }

    /* New Contests Grid - 2 Columns */
    .new-contests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .new-contest-image {
        height: 160px;
    }

    .new-contest-content {
        padding: 1.25rem;
    }

    .new-contest-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }

    .new-contest-timestamp {
        font-size: 0.8rem;
    }

    .new-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.375rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Section Pages */
    .section-back-nav {
        margin-bottom: 1.5rem;
    }

    .back-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .section-page-header {
        margin-bottom: 2rem;
    }

    .section-page-header h1 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .load-more-container {
        margin: 2rem 0;
    }

    .btn-load-more {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    /* Section Content Grids */
    .section-content.trending-grid,
    .section-content.ending-soon-grid,
    .section-content.recommended-grid,
    .section-content.new-contests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-content.rising-stars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-content.leaderboard-container {
        padding: 1.25rem;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .explore-container {
        padding: 0.875rem 0.5rem;
    }

    .explore-search-bar {
        top: 60px;
        padding: 0.75rem 0;
        margin-bottom: 1.25rem;
    }

    .search-wrapper input {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem 0.75rem 2.75rem;
        border-radius: 12px;
    }

    .search-wrapper .search-icon {
        left: 0.875rem;
        width: 15px;
        height: 15px;
    }

    /* Category Filters */
    .category-filters {
        /* padding: 0 0.5rem 0.75rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        margin-bottom: 1rem; */
        gap: 0.375rem;
    }

    .category-chip {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        border-radius: 24px;
    }

    .category-chip span {
        font-size: 0.95rem;
    }

    /* Section Headers */
    .explore-section {
        margin-bottom: 2rem;
    }

    .section-header {
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .see-all {
        font-size: 0.8rem;
    }

    /* ALL GRIDS - Single Column */
    .trending-grid,
    .ending-soon-grid,
    .recommended-grid,
    .new-contests-grid,
    .section-content.trending-grid,
    .section-content.ending-soon-grid,
    .section-content.recommended-grid,
    .section-content.new-contests-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Rising Stars - 2 Columns Still */
    .rising-stars-grid,
    .section-content.rising-stars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    /* Card Adjustments */
    .trending-card-image,
    .ending-soon-image,
    .recommended-image,
    .new-contest-image {
        height: 200px;
    }

    .trending-card-content,
    .ending-soon-content,
    .recommended-content,
    .new-contest-content {
        padding: 1rem;
    }

    .trending-card-title,
    .ending-soon-title,
    .recommended-title,
    .new-contest-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .trending-badge,
    .countdown-badge,
    .new-badge {
        top: 0.625rem;
        padding: 0.3rem 0.75rem;
        font-size: 0.7rem;
        border-radius: 10px;
    }

    .trending-card-meta {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .vote-count {
        font-size: 0.85rem;
    }

    .vote-count svg {
        width: 14px;
        height: 14px;
    }

    .time-remaining {
        font-size: 0.8rem;
    }

    .contestants-preview {
        margin-top: 0.625rem;
        gap: 0.3rem;
    }

    .contestant-avatar {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }

    /* Rising Stars on Mobile */
    .rising-star-card {
        padding: 1rem;
    }

    .rising-star-badge {
        top: 0.625rem;
        right: 0.625rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .rising-star-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
        border-width: 2px;
    }

    .rising-star-name {
        font-size: 0.875rem;
        margin-bottom: 0.2rem;
    }

    .rising-star-username {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .rising-star-stats {
        gap: 0.625rem;
        margin-top: 0.75rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .growth-indicator {
        font-size: 0.75rem;
        margin-top: 0.3rem;
    }

    /* Leaderboard on Mobile */
    .leaderboard-container,
    .section-content.leaderboard-container {
        padding: 1rem;
        border-radius: 16px;
    }

    .leaderboard-item {
        padding: 0.75rem;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }

    .leaderboard-rank {
        font-size: 1.125rem;
        min-width: 40px;
    }

    .leaderboard-avatar {
        width: 45px;
        height: 45px;
    }

    .leaderboard-info {
        min-width: 0;
        flex: 1;
    }

    .leaderboard-title {
        font-size: 0.875rem;
        margin-bottom: 0.15rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .leaderboard-subtitle {
        font-size: 0.75rem;
    }

    .leaderboard-votes {
        text-align: right;
    }

    .votes-number {
        font-size: 1.125rem;
    }

    .votes-label {
        font-size: 0.65rem;
    }

    /* Recommended & New Cards */
    .recommended-reason {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .new-contest-timestamp {
        font-size: 0.75rem;
    }

    /* Section Pages */
    .section-back-nav {
        margin-bottom: 1.25rem;
    }

    .back-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        gap: 0.375rem;
    }

    .back-link svg {
        width: 18px;
        height: 18px;
    }

    .section-page-header {
        margin-bottom: 1.5rem;
    }

    .section-page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .load-more-container {
        margin: 1.5rem 0;
    }

    .btn-load-more {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        border-radius: 12px;
    }

    .btn-load-more svg {
        width: 18px;
        height: 18px;
    }

    /* Loading Skeletons */
    .skeleton-card {
        height: 350px;
    }

    .skeleton-profile {
        height: 220px;
    }

    .skeleton-leaderboard {
        height: 70px;
        margin-bottom: 0.75rem;
    }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
    .explore-container {
        padding: 0.75rem 0.375rem;
    }

    .section-header h2 {
        font-size: 1.125rem;
    }

    .category-chip {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }

    .trending-card-title,
    .ending-soon-title,
    .recommended-title,
    .new-contest-title {
        font-size: 0.875rem;
    }

    .rising-stars-grid,
    .section-content.rising-stars-grid {
        grid-template-columns: 1fr;
    }

    .rising-star-avatar {
        width: 90px;
        height: 90px;
    }

    .leaderboard-item {
        padding: 0.625rem;
        gap: 0.625rem;
    }

    .leaderboard-rank {
        font-size: 1rem;
        min-width: 35px;
    }

    .leaderboard-avatar {
        width: 40px;
        height: 40px;
    }

    .leaderboard-title {
        font-size: 0.8rem;
    }

    .votes-number {
        font-size: 1rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .explore-search-bar {
        position: relative;
        top: 0;
        padding: 0.75rem 0;
    }

    .section-page-header {
        margin-bottom: 1.5rem;
    }

    .section-page-header h1 {
        font-size: 1.5rem;
    }

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

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .category-chip,
    .trending-card,
    .rising-star-card,
    .ending-soon-card,
    .leaderboard-item,
    .recommended-card,
    .new-contest-card,
    .back-link,
    .btn-load-more {
        -webkit-tap-highlight-color: rgba(255, 215, 0, 0.1);
    }

    /* Increase touch targets */
    .category-chip {
        min-height: 44px;
    }

    .back-link {
        min-height: 44px;
    }

    .btn-load-more {
        min-height: 48px;
    }
}