/* ============================================
   CREATOR PROFILE STYLING
   single-creators.php
   ============================================ */

/* Hero Header */
.creator-hero {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: #ffffff;
    padding: 50px 20px;
}

.creator-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.creator-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Avatar */
.creator-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-avatar-placeholder {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-avatar-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Info */
.creator-hero-info {
    flex: 1;
}

.creator-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
    line-height: 1.2;
}

.creator-rsn {
    font-size: 1.1rem;
    color: #cbd5e0;
    margin: 0 0 15px 0;
}

.rsn-label {
    font-weight: 600;
    color: #e2e8f0;
}

/* Social Links */
.creator-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-youtube:hover  { background: #ff0000; }
.social-twitch:hover   { background: #9146ff; }
.social-twitter:hover  { background: #000000; }
.social-kick:hover     { background: #53fc18; color: #000000; }

/* Main Container */
.creator-main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Cards */
.creator-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.creator-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5282;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-card-title i {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Summary Stats Bar */
.creator-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.stat-pill {
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.9rem;
    color: #4a5568;
    white-space: nowrap;
}

.stat-pill strong {
    color: #2c5282;
    font-weight: 700;
}

/* Season List */
.creator-season-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.creator-season-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f7f8f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.creator-season-row:hover {
    border-color: #2c5282;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.1);
    transform: translateX(3px);
}

.season-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.season-stats {
    color: #526175;
    font-size: 0.9rem;
}

.season-result {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Placement colors */
.result-1st {
    background: #fef3c7;
    color: #92400e;
}

.result-2nd {
    background: #e5e7eb;
    color: #374151;
}

.result-3rd {
    background: #fed7aa;
    color: #9a3412;
}

.result-default {
    background: #f0f4f8;
    color: #4a5568;
}

/* No Data Placeholder */
.creator-no-data {
    text-align: center;
    padding: 30px 20px;
    color: #526175;
    font-style: italic;
}

.creator-no-data p {
    margin: 0;
}

/* ============================================
   CREATOR PROFILE - EPISODE TABLE & INLINE BANNINGS
   ============================================ */

.creator-season-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.creator-season-block:first-of-type {
    margin-top: 15px;
    padding-top: 0;
    border-top: none;
}

.creator-season-header {
    margin-bottom: 12px;
}

.season-header-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.season-header-link:hover {
    opacity: 0.8;
}

.season-header-link .season-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c5282;
}

.season-winner-badge {
    background: linear-gradient(135deg, #f6e05e, #ecc94b);
    color: #744210;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.creator-episode-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.creator-episode-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #526175;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.creator-episode-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.creator-episode-table tr:last-child td {
    border-bottom: none;
}

.creator-episode-table tr.row-winner {
    background: #fefce8;
}

.ep-num {
    font-weight: 700;
    font-size: 0.8rem;
    color: #2c5282;
    background: #ebf4ff;
    padding: 3px 6px;
    border-radius: 4px;
}

.result-value {
    color: #4a5568;
    font-family: monospace;
    font-size: 0.9rem;
}

.creator-bannings-inline {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.bannings-inline-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bannings-inline-title i {
    color: #e53e3e;
    font-size: 0.85rem;
}

/* ============================================
   SEASON PAGE - WINNER SHOWCASE
   ============================================ */

.season-winner-showcase {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.winner-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f6e05e;
    border-radius: 10px;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
}

.winner-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 224, 94, 0.3);
}

.winner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ecc94b;
    flex-shrink: 0;
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.winner-crown {
    font-size: 0.8rem;
    font-weight: 700;
    color: #b7791f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.winner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #744210;
}

/* ============================================
   SEASON PAGE - STANDINGS
   ============================================ */

.standings-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.standings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.standings-row:hover {
    background: #f7f8f9;
    border-color: #e2e8f0;
}

.standings-winner {
    background: #fffbeb;
    border-color: #fef3c7;
}

.standings-winner:hover {
    background: #fef9c3;
    border-color: #f6e05e;
}

.standings-rank {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    background: #f0f4f8;
    color: #4a5568;
    flex-shrink: 0;
}

.standings-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.standings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.standings-name {
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    min-width: 0;
}

.standings-stat {
    font-size: 0.9rem;
    color: #2c5282;
    flex-shrink: 0;
}

.standings-stat-secondary {
    color: #526175;
    font-size: 0.8rem;
}

.standings-crown {
    color: #ecc94b;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================
   SEASON PAGE - EPISODE ENHANCEMENTS
   ============================================ */

.episode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.episode-header .season-card-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Re-add border after the header row */
.episode-header + .episode-info-card {
    border-top: 2px solid #e2e8f0;
    margin-top: 15px;
}

.episode-header + .season-results-table {
    padding-top: 15px;
    border-top: 2px solid #e2e8f0;
    margin-top: 15px;
}

.challenge-type-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: #ebf4ff;
    color: #2c5282;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.episode-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #cc0000;
    color: #ffffff !important;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.episode-video-btn:hover {
    background: #cc0000;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
}

.episode-video-btn i {
    font-size: 0.8rem;
}

/* Episode Info Card - horizontal layout */
.episode-info-card {
    display: flex;
    gap: 18px;
    background: #f7f8f9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border-top: 2px solid #e2e8f0;
    padding-top: 20px;
    align-items: flex-start;
}

.episode-thumb-link {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.episode-thumb-link:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.episode-thumb {
    width: 200px;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.episode-info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.challenge-description {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

.episode-air-date {
    font-size: 0.8rem;
    color: #526175;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.episode-air-date i {
    font-size: 0.75rem;
}

/* Player avatars in results table */
.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c5282;
    font-weight: 600;
}

.player-cell:hover {
    text-decoration: underline;
}

.player-mini-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.player-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-result {
    color: #4a5568;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Banning player avatars */
/* Banning team display (duos) */
.banning-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    min-width: 120px;
}

.banning-team-avatars {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.banning-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.banning-team-member:hover {
    opacity: 0.8;
}

/* Override GeneratePress table borders */
.season-results-table,
.season-results-table th,
.season-results-table td,
.creator-episode-table,
.creator-episode-table th,
.creator-episode-table td {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.season-results-table th {
    border-bottom: 2px solid #e2e8f0 !important;
}

.season-results-table td {
    border-bottom: 1px solid #f0f0f0 !important;
}

.creator-episode-table th {
    border-bottom: 2px solid #e2e8f0 !important;
}

.creator-episode-table td {
    border-bottom: 1px solid #f0f0f0 !important;
}

.banning-player-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.banning-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banning-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

/* Auto-elimination styles */
.banning-auto {
    text-align: center;
}

.banning-auto-player {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px 25px;
    background: #fff5f5;
    border: 2px solid #fed7d7;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.banning-auto-player:hover {
    transform: translateY(-2px);
    border-color: #fc8181;
}

.banning-auto-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.banning-auto-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banning-auto-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2d3748;
}

/* ============================================
   SEASON PAGE STYLING
   ============================================ */

.season-hero {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.season-hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.season-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #ffffff;
}

.season-hero-stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.season-main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Season Cards */
.season-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.season-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5282;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.season-card-title i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.episode-badge {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Season Info Grid */
.season-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.season-overview-desc {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.season-dates {
    font-size: 0.9rem;
    color: #526175;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.season-dates i {
    font-size: 0.8rem;
}

/* Season Stat Leaders */
.season-stat-leaders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.season-stat-leader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #f7f8f9;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.2s ease;
}

.season-stat-leader:hover,
.season-stat-leader:focus {
    border-color: #2c5282;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.1);
    text-decoration: none !important;
    color: inherit !important;
}

.stat-leader-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2e8f0;
}

.stat-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-leader-info {
    flex: 1;
    min-width: 0;
}

.stat-leader-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #526175;
}

.stat-leader-label i {
    margin-right: 3px;
}

.stat-leader-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d3748 !important;
}

.stat-leader-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c5282;
}

.season-info-item {
    background: #f7f8f9;
    border-radius: 8px;
    padding: 14px 16px;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #526175;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
}

.info-winner {
    color: #d69e2e;
}

/* Season VOD Card */
.season-vod-card {
    display: flex;
    gap: 15px;
    background: #f7f8f9;
    border-radius: 8px;
    padding: 12px;
    align-items: center;
    margin-top: 15px;
}

.season-vod-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.season-vod-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2d3748;
}

/* Results Table */
.season-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 5px;
}

.season-results-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #526175;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.season-results-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.season-results-table tr:last-child td {
    border-bottom: none;
}

.season-results-table tr.row-winner {
    background: #fefce8;
}

.season-results-table tr:hover {
    background: #f7f8f9;
}

.season-results-table tr.row-winner:hover {
    background: #fef9c3;
}

.col-place {
    width: 50px;
}

.col-team {
    color: #526175;
    font-size: 0.9rem;
}

.season-results-table a {
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
}

.season-results-table a:hover {
    text-decoration: underline;
}

.place-badge {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    background: #f0f4f8;
    color: #4a5568;
}

.place-1st {
    background: #fef3c7;
    color: #92400e;
}

.place-2nd {
    background: #e5e7eb;
    color: #374151;
}

.place-3rd {
    background: #fed7aa;
    color: #9a3412;
}

/* ============================================
   BANNING STYLES (shared: season + creator)
   ============================================ */

/* Season page banning section */
.banning-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.banning-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banning-title i {
    color: #e53e3e;
}

.banning-matchup-display {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.banning-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.banning-player:hover {
    transform: translateY(-2px);
}

.banning-player-winner {
    background: #f0fff4;
    border: 2px solid #c6f6d5;
}

.banning-player-winner:hover {
    border-color: #48bb78;
}

.banning-player-loser {
    background: #fff5f5;
    border: 2px solid #fed7d7;
}

.banning-player-loser:hover {
    border-color: #fc8181;
}

.banning-player-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2d3748;
}

.banning-vs {
    font-weight: 700;
    color: #526175;
    font-size: 1rem;
}

.banning-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-winner {
    background: #c6f6d5;
    color: #276749;
}

.badge-eliminated {
    background: #fed7d7;
    color: #9b2c2c;
}

.banning-detail {
    text-align: center;
    font-size: 0.9rem;
    color: #526175;
    margin: 10px 0 0 0;
}

/* Creator page banning list */
.creator-banning-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banning-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.banning-win {
    background: #f0fff4;
    border-color: #c6f6d5;
}

.banning-loss {
    background: #fff5f5;
    border-color: #fed7d7;
}

.banning-episode {
    font-weight: 700;
    font-size: 0.85rem;
    color: #2c5282;
    background: #ebf4ff;
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.banning-matchup {
    font-weight: 600;
    color: #2d3748;
    flex: 1;
}

.banning-challenge {
    font-size: 0.85rem;
    color: #526175;
}

.banning-result {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 12px;
    flex-shrink: 0;
}

.result-win {
    background: #c6f6d5;
    color: #276749;
}

.result-loss {
    background: #fed7d7;
    color: #9b2c2c;
}

/* ============================================
   CREATORS ARCHIVE PAGE
   ============================================ */

/* Hero */
.creators-hero {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.creators-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.creators-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.creators-hero-description {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin: 0;
}

/* Grid Section */
.creators-grid-section {
    background: #f7f8f9;
    padding: 50px 20px 60px;
}

.creators-grid-container {
    max-width: 1100px;
    margin: 0 auto;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Creator Card - Vertical */
.creator-grid-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.creator-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(44, 82, 130, 0.12);
    border-color: #2c5282;
}

/* Card Avatar */
.creator-grid-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.creator-grid-card:hover .creator-grid-avatar {
    border-color: #2c5282;
}

.creator-grid-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creator-grid-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-grid-avatar-placeholder i {
    font-size: 2.5rem;
    color: #526175;
}

/* Card Name */
.creator-grid-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

/* Card Socials */
.creator-grid-socials {
    display: flex;
    gap: 5px;
    margin-top: 9px;
    justify-content: center;
    flex-wrap: wrap;
}

.cgrid-social {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #ffffff;
    flex-shrink: 0;
}

.cgrid-youtube { background: #ff0000; }
.cgrid-twitch  { background: #9146ff; }
.cgrid-twitter { background: #000000; }
.cgrid-kick    { background: #53fc18; color: #000000; }

/* Card Stats */
.creator-grid-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    font-size: 0.78rem;
    color: #526175;
}

.cgrid-dot {
    color: #cbd5e0;
}

/* No Results */
.no-creators {
    text-align: center;
    color: #526175;
    font-style: italic;
    padding: 40px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* Single profile */
    .creator-hero {
        padding: 35px 15px;
    }

    .creator-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .creator-avatar {
        width: 120px;
        height: 120px;
    }

    .creator-name {
        font-size: 1.8rem;
    }

    .creator-socials {
        justify-content: center;
    }

    .creator-main-container {
        padding: 30px 15px 50px;
    }

    .creator-card {
        padding: 20px;
    }

    .creator-card-title {
        font-size: 1.3rem;
    }

    .creator-stats-bar {
        justify-content: center;
    }

    .creator-season-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .season-result {
        align-self: flex-end;
    }

    /* Season page */
    .season-hero {
        padding: 35px 15px;
    }

    .season-title {
        font-size: 2rem;
    }

    .season-main-container {
        padding: 30px 15px 50px;
    }

    .season-card {
        padding: 20px;
    }

    .season-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .season-stat-leaders {
        grid-template-columns: 1fr;
    }

    .season-vod-card {
        flex-direction: column;
    }

    .season-vod-card .episode-thumb {
        width: 100%;
    }

    .winner-display {
        min-width: 100%;
    }

    .standings-stat-secondary {
        display: none;
    }

    .episode-header {
        flex-wrap: wrap;
    }

    .episode-info-card {
        flex-direction: column;
    }

    .episode-thumb {
        width: 100%;
    }

    .player-mini-avatar {
        display: none;
    }

    .banning-matchup-display {
        flex-direction: column;
        gap: 10px;
    }

    .banning-team {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .banning-vs {
        font-size: 0.85rem;
    }

    .banning-row {
        flex-wrap: wrap;
    }

    .banning-challenge {
        width: 100%;
    }

    .creator-episode-table th:nth-child(3),
    .creator-episode-table td:nth-child(3) {
        display: none;
    }

    /* Archive */
    .creators-hero {
        padding: 35px 15px;
    }

    .creators-hero-title {
        font-size: 2rem;
    }

    .creators-hero-description {
        font-size: 1rem;
    }

    .creators-grid-section {
        padding: 30px 15px 40px;
    }

    .creators-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* Single profile */
    .creator-avatar {
        width: 100px;
        height: 100px;
    }

    .creator-name {
        font-size: 1.5rem;
    }

    .creator-rsn {
        font-size: 1rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .stat-pill {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    /* Archive */
    .creators-hero-title {
        font-size: 1.6rem;
    }

    .creators-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .creator-grid-avatar {
        width: 80px;
        height: 80px;
    }

    .creator-grid-card {
        padding: 15px 10px;
    }

    .creator-grid-name {
        font-size: 0.95rem;
    }
}

/* ============================================
   CREATOR BIO
   ============================================ */

.creator-bio-content {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.05rem;
}

.creator-bio-content p {
    margin: 0 0 1em 0;
}

.creator-bio-content p:last-child {
    margin-bottom: 0;
}

.creator-bio-content a {
    color: #2c5282;
    text-decoration: underline;
}

.creator-bio-content a:hover {
    color: #1a365d;
}

/* ============================================
   CREATOR QUICK LINKS
   ============================================ */

html {
    scroll-behavior: smooth;
}

.creator-card[id] {
    scroll-margin-top: 20px;
}

.creator-card-title-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c5282;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.creator-card-title-link:hover {
    opacity: 0.75;
    color: #2c5282;
    text-decoration: none;
}

.creator-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.creator-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c5282;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.creator-quick-link:hover {
    border-color: #2c5282;
    background: #ebf4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
    color: #2c5282;
    text-decoration: none;
}

.creator-quick-link i {
    font-size: 1rem;
    opacity: 0.8;
}

/* ============================================
   CREATOR LATEST VIDEO
   ============================================ */

.creator-video-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.creator-youtube-facade {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    cursor: pointer;
    background: #000;
}

.creator-youtube-facade img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.creator-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.creator-youtube-facade:hover .creator-yt-play {
    opacity: 0.85;
}

/* ============================================
   GG HUB PAGE
   ============================================ */

.gg-hub-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 0 0 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Season Cards Grid */
.gg-seasons-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gg-season-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: #ffffff;
    color: inherit !important;
}

.gg-season-card:hover,
.gg-season-card:focus,
.gg-season-card:active {
    border-color: #2c5282;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.1);
    transform: translateY(-2px);
    color: inherit !important;
    text-decoration: none !important;
}

.gg-season-thumb {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gg-season-thumb img {
    width: 180px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.gg-season-info {
    flex: 1;
    min-width: 0;
}

.gg-season-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 6px 0;
}

.gg-season-winners {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8a5a12;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gg-season-winners i {
    color: #ecc94b;
    font-size: 0.8rem;
}

.gg-season-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gg-season-meta span {
    font-size: 0.8rem;
    color: #526175;
}

.gg-season-arrow {
    flex-shrink: 0;
    color: #526175;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.gg-season-card:hover .gg-season-arrow {
    transform: translateX(3px);
    color: #2c5282;
}

/* ============================================
   HALL OF CHAMPIONS
   ============================================ */

.champions-section {
    margin-bottom: 25px;
}

.champions-section:last-child {
    margin-bottom: 0;
}

.champions-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #526175;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

/* Season Winners Grid */
.champions-winners-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.champions-season-winner {
    flex: 1;
    min-width: 160px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f6e05e;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.champions-season-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b7791f;
    margin-bottom: 10px;
}

.champions-winner-players {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.champions-winner-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
}

.champions-winner-player:hover {
    text-decoration: none !important;
}

.champions-winner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ecc94b;
    box-shadow: 0 2px 8px rgba(236, 201, 75, 0.3);
}

.champions-winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.champions-winner-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #744210 !important;
}

/* Record Holders */
.champions-records-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.champions-record-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f7f8f9;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.2s ease;
}

.champions-record-card:hover,
.champions-record-card:focus {
    border-color: #2c5282;
    box-shadow: 0 2px 8px rgba(44, 82, 130, 0.1);
    text-decoration: none !important;
    color: inherit !important;
}

.champions-record-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2c5282;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.champions-record-info {
    flex: 1;
    min-width: 0;
}

.champions-record-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #526175;
    margin-bottom: 4px;
}

.champions-record-holder {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.champions-record-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.champions-record-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.champions-record-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d3748 !important;
}

.champions-record-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c5282;
}

/* ============================================
   EVENTS HUB PAGE
   ============================================ */

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-hub-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px 30px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    color: inherit !important;
}

.event-hub-card:hover,
.event-hub-card:focus,
.event-hub-card:active {
    border-color: #2c5282;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.1);
    transform: translateY(-2px);
    color: inherit !important;
    text-decoration: none !important;
}

.event-hub-coming-soon {
    opacity: 1;
    cursor: default;
}

.event-hub-coming-soon:hover {
    border-color: #e2e8f0;
    box-shadow: none;
    transform: none;
}

.event-hub-content {
    flex: 1;
}

.event-hub-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748 !important;
    margin: 0 0 8px 0;
}

.event-hub-desc {
    font-size: 0.95rem;
    color: #4a5568 !important;
    line-height: 1.5;
    margin: 0 0 12px 0;
    text-decoration: none !important;
}

.event-hub-meta span {
    font-size: 0.85rem;
    color: #526175;
}

.event-hub-arrow {
    flex-shrink: 0;
    color: #526175;
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.event-hub-card:hover .event-hub-arrow {
    transform: translateX(3px);
    color: #2c5282;
}

/* ============================================
   RESPONSIVE - HUB PAGES
   ============================================ */

@media (max-width: 768px) {
    .gg-season-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .gg-season-thumb img {
        width: 100%;
    }

    .gg-season-arrow {
        display: none;
    }

    .champions-records-grid {
        grid-template-columns: 1fr;
    }

    .champions-winners-grid {
        flex-direction: column;
    }

    .champions-season-winner {
        min-width: unset;
    }

    .event-hub-card {
        padding: 20px;
    }

    .event-hub-arrow {
        display: none;
    }
}
/* Wide results tables scroll inside their own box on phones, not the whole page. */
.season-results-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
