/* Home page specific styles */
:root {
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s ease;
}

/* Navbar logo */
.navbar-brand img {
    width: 42px !important;
    height: 42px !important;
}

/* Hero */
.index-hero-section {
    height: clamp(360px, 62vh, 680px);
    max-height: 620px;
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--gk-navy);
}

.index-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--gk-blue) 0%, var(--gk-green) 100%);
    opacity: 0.9;
    width: 6px;
    height: 100%;
    z-index: 3;
}

.index-hero-section #heroCarousel,
.index-hero-section .carousel-inner,
.index-hero-section .carousel-item {
    height: 100%;
    width: 100%;
    position: relative;
}

.index-hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
}

.index-hero-section .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.92) 0%, rgba(10, 15, 30, 0.75) 55%, rgba(18, 27, 51, 0.9) 100%);
    z-index: 1;
}

.index-hero-section .hero-badge {
    position: absolute;
    top: clamp(16px, 3vw, 28px);
    left: clamp(1.25rem, 5vw, 4rem);
    z-index: 3;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--gk-green);
}

.index-hero-section .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 5vw, 4rem);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    min-height: 40%;
}

.index-hero-section .carousel-caption .text-content {
    flex: 1;
    max-width: 620px;
    margin-bottom: 0;
}

.index-hero-section .carousel-caption h1 {
    font-size: clamp(1.75rem, 5.4vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.15;
    color: #fff;
}

.index-hero-section .carousel-caption p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
}

.index-hero-section .carousel-caption .btn-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.index-hero-section .carousel-caption .btn-primary {
    background: var(--gk-gradient);
    border: none;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    color: #071018;
    font-size: 0.95rem;
}

.index-hero-section .carousel-caption .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(76, 224, 107, 0.28);
    color: #071018;
}

.index-hero-section .carousel-caption .btn-outline-light {
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    transition: var(--transition);
}

.index-hero-section .carousel-caption .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.index-hero-section .carousel-control-prev,
.index-hero-section .carousel-control-next {
    width: clamp(36px, 6vw, 52px);
    height: clamp(36px, 6vw, 52px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.index-hero-section .carousel-control-prev:hover,
.index-hero-section .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.index-hero-section .carousel-control-prev {
    left: 16px;
}

.index-hero-section .carousel-control-next {
    right: 16px;
}

.index-hero-section .carousel-indicators {
    bottom: 12px;
    z-index: 3;
}

.index-hero-section .carousel-indicators button {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
}

.index-hero-section .carousel-indicators button.active {
    background: var(--gk-green);
}

/* About */
#about {
    background: var(--gk-tint-blue);
    padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    margin-bottom: 0.9rem;
}

#about h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-primary);
}

#about p.lead-copy {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 620px;
}

#about .about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin: 1.5rem 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

#about .about-stats .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gk-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

#about .about-stats .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

#about .platform-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

#about .platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

#about .platform-pill i {
    color: var(--primary);
    font-size: 0.95rem;
}

#about .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

#about .about-col {
    text-align: left;
}

#about .about-col .lead-copy {
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
}

#about .about-stats {
    justify-content: flex-start;
    border-top: none;
    padding-top: 0;
}

#about .platform-pills {
    justify-content: flex-start;
}

#about .platform-pill {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

#about .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

#about .feature-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    text-align: left;
    transition: var(--transition);
}

#about .feature-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#about .feature-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gk-tint-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#about .feature-tile-icon i {
    font-size: 1rem;
    background: var(--gk-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#about .feature-tile-body h6 {
    margin: 0 0 0.1rem;
    font-size: 0.85rem;
    color: var(--text-primary);
}

#about .feature-tile-body p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Section heading */
.section-heading {
    text-align: center;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-primary);
}

.section-heading p {
    color: var(--text-secondary);
}

/* Trending games */
#trending {
    background: var(--bg-primary);
    padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.trending-viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.trending-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: gk-marquee 38s linear infinite;
}

.trending-viewport:hover .trending-track {
    animation-play-state: paused;
}

@keyframes gk-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trending-track {
        animation: none;
        overflow-x: auto;
    }
}

.game-card {
    scroll-snap-align: start;
    flex: 0 0 clamp(260px, 32vw, 320px);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.game-card .game-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.game-card .game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card .game-body {
    min-width: 0;
    flex: 1;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.game-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-genre {
    background: var(--gk-tint-blue);
    color: var(--primary-dark);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.game-platforms {
    color: var(--text-secondary);
    font-size: 0.72rem;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.game-platforms i {
    color: var(--primary);
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.game-rating i {
    font-size: 0.68rem;
}

.game-players {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.game-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.trending-badge {
    background: var(--gk-gradient);
    color: #071018;
}

.hot-badge {
    background: var(--danger);
    color: #fff;
}

.new-badge {
    background: var(--secondary);
    color: #071018;
}

/* Hub */
#hub {
    background: var(--gk-tint-blue);
    padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

#hub .row {
    display: flex;
}

#hub .row > [class*="col-"] {
    display: flex;
}

#hub .hub-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#hub .hub-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

#hub .hub-row-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    min-width: 0;
}

#hub .hub-row-header h3 i {
    font-size: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.hub-view-all-btn {
    background: var(--gk-gradient) !important;
    color: #071018 !important;
    border: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.hub-view-all-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: #071018 !important;
}

/* Competitions + leaderboard rows */
.hub-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.15rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.hub-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.competitions-card::before {
    background: linear-gradient(90deg, var(--gk-blue), var(--primary-light));
}

.leaderboard-card::before {
    background: linear-gradient(90deg, #FFC400, #FFE066);
}

.competition-entry {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 0.75rem;
    transition: var(--transition);
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
}

.competition-entry:last-child {
    border-bottom: none;
}

.competition-entry:hover {
    background: var(--gk-tint-blue);
}

.competition-entry img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.competition-entry h5 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.competition-entry .meta {
    display: flex;
    gap: 0.9rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.competition-entry .xp-badge {
    background: var(--gk-tint-green);
    color: var(--secondary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.competition-join-btn {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    font-size: 0.78rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.competition-join-btn:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    transition: var(--transition);
    background: var(--gk-tint-blue);
    border: 1.5px solid transparent;
    margin-bottom: 0.4rem;
}

.leaderboard-entry:last-child {
    margin-bottom: 0;
}

.leaderboard-entry:nth-child(1) {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.14), rgba(255, 215, 0, 0.04));
    border-color: rgba(255, 196, 0, 0.55);
}

.leaderboard-entry:nth-child(2) {
    background: var(--bg-card);
    border-color: var(--border-medium);
}

.leaderboard-entry:nth-child(3) {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.14), rgba(205, 127, 50, 0.04));
    border-color: rgba(205, 127, 50, 0.55);
}

.leaderboard-entry h6 {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-primary);
}

.leaderboard-entry .player-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.leaderboard-entry .points-pill {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: transparent;
    color: var(--warning);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
}

.leaderboard-entry .points-pill i {
    font-size: 0.76rem;
}

.leaderboard-entry:hover {
    background: var(--gk-tint-blue);
}

.leaderboard-entry .rank-avatar {
    position: relative;
    flex-shrink: 0;
}

.leaderboard-entry img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.leaderboard-entry .rank-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--text-muted);
}

.leaderboard-entry .rank-badge {
    background: var(--primary);
}

.leaderboard-entry:nth-child(1) .rank-badge {
    background: #FFC400;
    color: #4a3400;
}

.leaderboard-entry:nth-child(2) .rank-badge {
    background: #9AA5B1;
    color: #fff;
}

.leaderboard-entry:nth-child(3) .rank-badge {
    background: #CD7F32;
    color: #fff;
}

.leaderboard-entry h6 {
    margin: 0;
    font-size: 0.9rem;
}

.leaderboard-entry small {
    color: var(--text-muted);
    font-size: 0.76rem;
}

/* Arenas */
#arenas {
    background: var(--bg-primary);
    padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.index-arena-section {
    position: relative;
    padding: 0 clamp(2rem, 5vw, 3rem);
}

.index-arena-section #arenaCarousel {
    width: 100%;
}

.arena-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 1.1rem 1.35rem;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.arena-card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.arena-logo-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gk-tint-blue);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arena-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arena-logo-wrap i {
    font-size: 1.4rem;
    color: var(--primary);
}

.arena-card-top .arena-name-wrap {
    min-width: 0;
}

.arena-card-top h3 {
    font-size: 1.15rem;
    margin: 0 0 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.arena-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gk-tint-green);
    color: var(--secondary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.arena-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.arena-stat {
    text-align: center;
}

.arena-stat .arena-stat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.arena-stat .arena-stat-label i {
    color: var(--primary);
}

.arena-stat .arena-stat-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
}

.index-arena-section .carousel-control-prev,
.index-arena-section .carousel-control-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    opacity: 1;
}

.index-arena-section .carousel-control-prev-icon,
.index-arena-section .carousel-control-next-icon {
    filter: invert(30%) sepia(70%) saturate(1000%) hue-rotate(175deg);
    width: 1rem;
    height: 1rem;
}

.index-arena-section .carousel-control-prev {
    left: -4px;
}

.index-arena-section .carousel-control-next {
    right: -4px;
}

.index-arena-section .carousel-indicators {
    position: static;
    margin: 1.5rem 0 0;
}

.index-arena-section .carousel-indicators button {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--border-medium);
    border: none;
}

.index-arena-section .carousel-indicators button.active {
    background: var(--gk-gradient);
}

/* Dark mode */
[data-theme="dark"] #about {
    background: var(--bg-secondary);
}

[data-theme="dark"] .about-eyebrow {
    background: var(--bg-tertiary);
    color: var(--primary-light);
}

[data-theme="dark"] #about .platform-pill,
[data-theme="dark"] #about .feature-tile {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] #about .feature-tile-icon {
    background: var(--bg-tertiary);
}

[data-theme="dark"] #hub {
    background: var(--bg-primary);
}

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

[data-theme="dark"] .competition-entry:hover,
[data-theme="dark"] .leaderboard-entry:hover {
    background: var(--bg-tertiary);
}

[data-theme="dark"] #arenas {
    background: var(--bg-secondary);
}

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

[data-theme="dark"] .arena-logo-wrap {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .index-arena-section .carousel-control-prev,
[data-theme="dark"] .index-arena-section .carousel-control-next {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    /* Hero caption: stack text above buttons before they get squeezed */
    .index-hero-section .carousel-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .index-hero-section .carousel-caption .btn-container {
        margin-left: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .index-hero-section {
        height: clamp(340px, 58vh, 460px);
    }

    .index-hero-section .carousel-caption {
        min-height: 30%;
        padding-top: clamp(0.75rem, 2vw, 1.25rem);
    }

    .index-hero-section .hero-badge {
        top: clamp(12px, 2vw, 20px);
    }

    #about .about-grid {
        grid-template-columns: 1fr;
    }
    
    #about .about-col {
        text-align: center;
    }
    
    #about .about-col .lead-copy {
        margin-left: auto;
        margin-right: auto;
    }
    
    #about .about-stats {
        justify-content: center;
    }
    
    #about .platform-pills {
        justify-content: center;
    }
    
    #about .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .competition-entry .btn-sm {
        width: auto;
    }
}

@media (max-width: 480px) {
    #about .feature-grid {
        grid-template-columns: 1fr;
    }

    .index-hero-section .carousel-caption h1 {
        font-size: clamp(1.4rem, 6.5vw, 1.75rem);
    }

    .index-hero-section .carousel-caption p {
        font-size: 0.88rem;
    }

    .index-hero-section .carousel-caption .btn-primary,
    .index-hero-section .carousel-caption .btn-outline-light {
        padding: 0.7rem 1.25rem;
        font-size: 0.88rem;
    }

    .index-hero-section .hero-badge {
        font-size: 0.68rem;
        padding: 0.3rem 0.7rem;
    }

    .game-card {
        flex: 0 0 clamp(230px, 78vw, 280px);
    }

    .arena-card {
        padding: 0.9rem 1rem;
    }

    .arena-card-top h3 {
        font-size: 1rem;
    }

    .arena-stat .arena-stat-value {
        font-size: 0.8rem;
        overflow-wrap: anywhere;
    }

    .competition-entry img {
        width: 52px;
        height: 52px;
    }

    .competition-entry h5 {
        font-size: 0.88rem;
        overflow-wrap: anywhere;
    }

    .leaderboard-entry h6 {
        font-size: 0.8rem;
        overflow-wrap: anywhere;
    }
}

/* Large screens (1400px+) */
@media (min-width: 1400px) {
    #about .about-grid {
        max-width: 1280px;
    }

    .index-hero-section .carousel-caption h1 {
        font-size: 3.8rem;
    }

    .index-hero-section .carousel-caption p {
        font-size: 1.2rem;
        max-width: 640px;
    }

    .game-card {
        flex: 0 0 340px;
    }

    .arena-card {
        max-width: 620px;
    }
}

@media (max-width: 576px) {
    #hub .hub-row-header h3 { font-size: 1.05rem; gap: 0.45rem; }
    #hub .hub-row-header h3 i { width: 28px; height: 28px; font-size: 0.85rem; }
    .hub-view-all-btn { font-size: 0.76rem; padding: 0.4rem 0.9rem; }

    .index-hero-section {
        height: clamp(320px, 66vh, 400px);
    }

    .index-hero-section .carousel-caption {
        min-height: 22%;
        gap: 0.6rem;
    }

    .index-hero-section .carousel-caption h1 {
        margin-bottom: 0.4rem;
    }

    .index-hero-section .carousel-caption p {
        margin-bottom: 0;
    }

    .index-arena-section {
        padding: 0 2.5rem;
    }
    
    .arena-stats-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .index-hero-section .carousel-caption .btn-container {
        flex-direction: column;
        width: 100%;
    }
    
    .index-hero-section .carousel-caption .btn-primary,
    .index-hero-section .carousel-caption .btn-outline-light {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    #about .about-visual {
        grid-template-columns: 1fr;
    }

    .index-arena-section {
        height: auto;
        min-height: clamp(440px, 74vh, 560px);
        max-height: none;
    }

    .index-arena-section .carousel-inner,
    .index-arena-section .carousel-item {
        min-height: clamp(440px, 74vh, 560px);
    }

    .index-arena-section .arena-slide-grid {
        grid-template-columns: 1fr;
    }

    .index-arena-section .arena-slide-brand {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .index-arena-section .carousel-control-prev,
    .index-arena-section .carousel-control-next {
        display: none;
    }
}