/*
|--------------------------------------------------------------------------
| CueWorld360 Public Website CSS
|--------------------------------------------------------------------------
| Clean consolidated stylesheet.
| Replace assets/css/cueworld360-public.css with this file.
|--------------------------------------------------------------------------
*/

/* =========================================================
   Base
   ========================================================= */

:root {
    --cw-bg: #070820;
    --cw-bg-soft: rgba(255, 255, 255, 0.08);
    --cw-bg-dark: rgba(0, 0, 0, 0.22);
    --cw-border: rgba(255, 255, 255, 0.13);
    --cw-border-soft: rgba(255, 255, 255, 0.10);
    --cw-text-muted: rgba(255, 255, 255, 0.72);
    --cw-cyan: #00c6fb;
    --cw-blue: #0d6efd;
    --cw-pink: #ff0080;
    --cw-purple: #7928ca;
    --cw-success: #198754;
    --cw-danger: #ff0046;
    --cw-radius: 18px;
    --cw-radius-lg: 24px;
    --cw-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans", sans-serif;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.main-content {
    padding-top: 82px;
}

.wh-48 {
    width: 48px;
    height: 48px;
}

.wh-64 {
    width: 64px;
    height: 64px;
}

.cw-gradient-text {
    background: linear-gradient(to right, #00c6fb, #005bea, #7928ca, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cw-section-kicker {
    color: var(--cw-cyan);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.78rem;
}

.cw-page-hero {
    padding: 70px 0 45px;
}

.cw-page-title,
.cw-hero-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.cw-hero-subtitle {
    max-width: 760px;
}

.cw-card-hover {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.cw-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 202, 240, 0.35);
    box-shadow: var(--cw-shadow);
}

.cw-score-number {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.cw-score-number.small-score {
    font-size: 42px;
    line-height: 1;
}

.cw-vs-pill {
    min-width: 52px;
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(310deg, var(--cw-purple), var(--cw-pink));
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cw-vs-player-placeholder {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.10);
}

.cw-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
    animation: cwLivePulse 1s infinite;
}

@keyframes cwLivePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.45; }
    100% { transform: scale(1); opacity: 1; }
}


/* =========================================================
   Header / Navigation
   ========================================================= */

.cw-site-header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    z-index: 1030;
}

.cw-site-header .navbar {
    min-height: 66px;
    flex-wrap: nowrap;
}

.cw-header-logo {
    flex: 0 0 auto;
    min-width: 190px;
}

.cw-header-logo-mobile {
    flex: 0 0 auto;
}

.cw-logo-text {
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.cw-header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.cw-header-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.cw-header-menu .nav-link.dropdown-toggle::after {
    margin-left: 2px;
    transform: translateY(1px);
}

.cw-header-menu .parent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cw-header-menu .parent-icon i,
.cw-login-btn i,
.cw-header-dropdown .dropdown-item i {
    font-size: 18px;
}

.cw-header-menu .menu-title {
    line-height: 1;
}

.cw-login-wrap {
    flex: 0 0 auto;
}

.cw-login-btn {
    padding: 8px 22px !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cw-header-dropdown {
    border-radius: 16px;
    padding: 8px;
    min-width: 185px;
    background: #070b24;
    border: 1px solid var(--cw-border-soft);
    box-shadow: var(--cw-shadow);
}

.cw-header-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.84);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
}

.cw-header-dropdown .dropdown-item:hover,
.cw-header-dropdown .dropdown-item.active {
    color: #ffffff;
    background: rgba(13, 202, 240, 0.14);
}


/* =========================================================
   Generic Cards / Forms / Tables
   ========================================================= */

.cw-filter-card,
.cw-form-card,
.cw-news-alert,
.cw-table-card,
.cw-live-match-card,
.cw-match-card,
.cw-match-detail-hero,
.cw-frame-detail-card,
.cw-player-card,
.cw-player-profile-hero,
.cw-profile-stat-card,
.cw-team-card,
.cw-leaderboard-card,
.cw-statsguru-player-card,
.cw-tournament-card,
.cw-tournament-detail-hero,
.cw-tournament-detail-card,
.cw-contact-card,
.cw-contact-side-card,
.cw-contact-dark-card,
.cw-contact-cta,
.cw-about-mission-card,
.cw-about-feature-card,
.cw-about-info-card,
.cw-about-stat-card,
.cw-about-mini-card,
.cw-about-link-card {
    position: relative;
    overflow: hidden;
    background: var(--cw-bg-soft);
    border: 1px solid var(--cw-border);
}

.cw-live-match-card::before,
.cw-match-card::before,
.cw-match-detail-hero::before,
.cw-frame-detail-card::before,
.cw-player-card::before,
.cw-profile-stat-card::before,
.cw-team-card::before,
.cw-leaderboard-card::before,
.cw-statsguru-player-card::before,
.cw-tournament-card::before,
.cw-tournament-detail-hero::before,
.cw-tournament-detail-card::before,
.cw-contact-card::before,
.cw-form-card::before,
.cw-contact-side-card::before,
.cw-contact-dark-card::before,
.cw-contact-cta::before,
.cw-about-mission-card::before,
.cw-about-feature-card::before,
.cw-about-info-card::before,
.cw-about-stat-card::before,
.cw-about-mini-card::before,
.cw-about-link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(13, 202, 240, 0.14), transparent 34%);
    pointer-events: none;
}

.cw-match-live::before,
.cw-live-match-card::before {
    background: radial-gradient(circle at top right, rgba(255, 0, 70, 0.18), transparent 34%);
}

.cw-match-scheduled::before {
    background: radial-gradient(circle at top right, rgba(13, 202, 240, 0.15), transparent 34%);
}

.cw-match-completed::before {
    background: radial-gradient(circle at top right, rgba(25, 135, 84, 0.15), transparent 34%);
}

.cw-tournament-card::before,
.cw-tournament-detail-hero::before,
.cw-tournament-detail-card::before,
.cw-contact-cta::before {
    background:
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 0, 70, 0.12), transparent 30%);
}

.cw-filter-card .card-body,
.cw-form-card .card-body,
.cw-live-match-card .card-body,
.cw-match-card .card-body,
.cw-match-detail-hero .card-body,
.cw-frame-detail-card .card-body,
.cw-player-card .card-body,
.cw-player-profile-hero .card-body,
.cw-profile-stat-card .card-body,
.cw-team-card .card-body,
.cw-leaderboard-card .card-body,
.cw-statsguru-player-card .card-body,
.cw-tournament-card .card-body,
.cw-tournament-detail-hero .card-body,
.cw-tournament-detail-card .card-body,
.cw-contact-card .card-body,
.cw-contact-side-card .card-body,
.cw-contact-dark-card .card-body,
.cw-contact-cta .card-body,
.cw-about-mission-card .card-body,
.cw-about-feature-card .card-body,
.cw-about-info-card .card-body,
.cw-about-stat-card .card-body,
.cw-about-mini-card .card-body,
.cw-about-link-card .card-body {
    position: relative;
    z-index: 1;
}

.cw-filter-card .form-label,
.cw-form-card .form-label {
    font-weight: 600;
    font-size: 13px;
    opacity: 0.85;
}

.cw-filter-card .form-control,
.cw-filter-card .form-select,
.cw-form-card .form-control,
.cw-form-card .form-select {
    border-radius: 18px;
    min-height: 48px;
}

.cw-form-card .form-control,
.cw-form-card .form-select {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

.cw-form-card .form-control:focus,
.cw-form-card .form-select:focus {
    background-color: #0f1535;
    color: #fff;
    border-color: #008cff;
    box-shadow: 0 0 0 0.2rem rgba(0, 140, 255, 0.2);
}

.cw-form-card textarea.form-control {
    min-height: 150px;
}

.cw-table-card {
    overflow: hidden;
}

.cw-table-card .table {
    margin-bottom: 0;
}

.cw-table-card .table td,
.cw-table-card .table th {
    vertical-align: middle;
}

.cw-public-table {
    --bs-table-bg: rgba(0, 0, 0, 0.18);
    --bs-table-border-color: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
}

.cw-public-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.cw-empty-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--cw-bg-soft);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
}

.cw-mini-stat,
.cw-player-mini-stat {
    background: var(--cw-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cw-mini-stat span,
.cw-player-mini-stat span {
    font-size: 12px;
    opacity: 0.72;
}

.cw-mini-stat strong,
.cw-player-mini-stat strong {
    font-size: 20px;
    line-height: 1;
}

.cw-table-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.10);
}

.cw-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bs-body-bg-2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-border-color);
}

.cw-social-link:hover {
    color: #fff;
    background: #008cff;
}


/* =========================================================
   Match / Live Score
   ========================================================= */

.cw-live-scoreboard,
.cw-match-score-wrap {
    background: var(--cw-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cw-live-side-name,
.cw-match-side-name {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-frame-tabs {
    gap: 8px;
}

.cw-frame-tabs .nav-link {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--cw-bg-soft);
    padding: 9px 18px;
}

.cw-frame-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--cw-cyan), var(--cw-blue));
}


/* =========================================================
   Players / Covers / Avatars
   ========================================================= */

.cw-player-cover-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cw-player-cover {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: rgba(4, 8, 28, 0.95);
}

.cw-player-cover-img,
.cw-player-profile-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cw-player-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.16), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 0, 120, 0.12), transparent 35%);
    z-index: 1;
    pointer-events: none;
}

.cw-player-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.65));
    z-index: 2;
}

.cw-player-cover-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.cw-player-cover-badge i {
    font-size: 16px;
}

.cw-player-card-head {
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.cw-player-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cw-player-avatar-lg {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: linear-gradient(310deg, #00c6fb, #005bea, #7928ca);
}

.cw-player-stat-list,
.cw-profile-stat-list {
    font-size: 14px;
}

.cw-player-stat-list span,
.cw-profile-stat-list span {
    opacity: 0.76;
}

.cw-player-stat-list strong,
.cw-profile-stat-list strong {
    font-weight: 800;
}

.cw-player-profile-cover {
    height: 330px;
    position: relative;
    overflow: hidden;
    background: rgba(4, 8, 28, 0.95);
}

.cw-player-profile-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 0, 120, 0.18), transparent 36%);
    z-index: 1;
    pointer-events: none;
}

.cw-player-profile-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
    z-index: 2;
}

.cw-player-profile-cover-meta {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
}

.cw-player-profile-avatar {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    margin-top: -118px;
    position: relative;
    z-index: 5;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.cw-statsguru-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   Teams
   ========================================================= */

.cw-team-players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.cw-team-player {
    text-align: center;
}

.cw-team-player img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border: 4px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
}

.cw-team-player span {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.cw-team-plus {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.10);
}

.cw-team-avatar-stack {
    display: flex;
    align-items: center;
}

.cw-team-avatar-stack img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.10);
    margin-right: -14px;
}


/* =========================================================
   Leaderboards / Tournaments
   ========================================================= */

.cw-rank-badge {
    min-width: 42px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.12);
}

.cw-tournament-date-box {
    background: var(--cw-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cw-tournament-date-box span {
    display: block;
    font-size: 12px;
    opacity: 0.72;
    margin-bottom: 3px;
}

.cw-tournament-date-box strong {
    display: block;
    font-size: 14px;
}

.cw-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.cw-progress .progress-bar {
    background: linear-gradient(135deg, var(--cw-cyan), var(--cw-blue));
}


/* =========================================================
   Contact / About
   ========================================================= */

.cw-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cw-contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cw-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(13, 202, 240, 0.14);
    color: var(--cw-cyan);
    flex-shrink: 0;
}

.cw-contact-list-item span {
    display: block;
    font-size: 12px;
    opacity: 0.72;
    margin-bottom: 3px;
}

.cw-contact-list-item strong {
    display: block;
    font-size: 15px;
    word-break: break-word;
}

.cw-about-feature-card,
.cw-about-info-card,
.cw-about-stat-card,
.cw-about-mini-card,
.cw-about-link-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.cw-about-feature-card:hover,
.cw-about-info-card:hover,
.cw-about-stat-card:hover,
.cw-about-mini-card:hover,
.cw-about-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 202, 240, 0.35);
    box-shadow: var(--cw-shadow);
}

.cw-about-link-card p {
    min-height: 96px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .cw-header-logo {
        min-width: 162px;
    }

    .cw-logo-text {
        font-size: 14px;
    }

    .cw-header-menu {
        gap: 2px;
    }

    .cw-header-menu .nav-link {
        gap: 4px;
        padding: 7px 8px !important;
        font-size: 12px;
    }

    .cw-header-menu .parent-icon i {
        font-size: 16px;
    }

    .cw-login-btn {
        padding: 7px 16px !important;
        font-size: 12px;
    }
}

@media (max-width: 1199.98px) {
    .main-content {
        padding-top: 72px;
    }

    .cw-site-header .navbar {
        min-height: 64px;
    }

    .primary-menu .navbar-nav {
        align-items: stretch !important;
    }

    .primary-menu .nav-item.dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        display: block;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 0 0 8px 38px;
        background: transparent;
    }

    .primary-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 18px !important;
        border-radius: 0;
        white-space: normal;
    }

    .primary-menu .nav-link.dropdown-toggle::after {
        margin-left: auto;
    }

    .primary-menu .parent-icon i {
        font-size: 20px;
    }

    .primary-menu .menu-title {
        font-size: 14px;
    }

    .cw-header-dropdown .dropdown-item {
        color: rgba(255, 255, 255, 0.82);
        padding: 10px 12px;
    }
}

@media (max-width: 767.98px) {
    .cw-vs-pill {
        min-width: 44px;
        min-height: 44px;
    }

    .cw-player-avatar-lg {
        width: 112px;
        height: 112px;
    }

    .cw-player-cover {
        height: 145px;
    }

    .cw-player-card-head {
        margin-top: -40px;
    }

    .cw-player-avatar {
        width: 72px;
        height: 72px;
        border-width: 4px;
    }

    .cw-player-profile-cover {
        height: 230px;
    }

    .cw-player-profile-avatar {
        width: 118px;
        height: 118px;
        margin-top: -88px;
        border-width: 5px;
    }

    .cw-player-profile-cover-meta {
        right: 16px;
        bottom: 16px;
    }

    .cw-frame-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .cw-frame-tabs .nav-link {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .cw-live-side-name,
    .cw-match-side-name {
        font-size: 13px;
        min-height: 42px;
    }

    .cw-live-scoreboard .cw-score-number,
    .cw-match-score-wrap .cw-score-number {
        font-size: 40px;
    }

    .cw-score-number.small-score {
        font-size: 36px;
    }

    .cw-vs-player-placeholder {
        font-size: 12px;
        padding: 7px 14px;
    }

    .cw-public-table {
        font-size: 13px;
    }

    .cw-table-avatar {
        width: 32px;
        height: 32px;
    }

    .cw-rank-badge {
        min-width: 36px;
        height: 28px;
        font-size: 12px;
    }

    .cw-player-cover {
        height: 125px;
    }

    .cw-player-cover-badge {
        left: 12px;
        bottom: 12px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .cw-player-profile-cover {
        height: 200px;
    }

    .cw-player-mini-stat strong,
    .cw-mini-stat strong {
        font-size: 18px;
    }

    .cw-team-player img {
        width: 68px;
        height: 68px;
    }

    .cw-team-player span {
        font-size: 12px;
    }

    .cw-team-plus {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .cw-tournament-date-box strong {
        font-size: 12px;
    }

    .cw-statsguru-avatar {
        width: 58px;
        height: 58px;
    }

    .cw-contact-list-item strong {
        font-size: 13px;
    }

    .cw-about-link-card p {
        min-height: auto;
    }

    .cw-about-mini-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

/* =========================================================
   Player Cover Image Fit Fix
   ========================================================= */

.cw-player-cover {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: #020617;
}

.cw-player-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    z-index: 0;
    transform: scale(1.02);
}

.cw-player-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52)),
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.14), transparent 35%);
    pointer-events: none;
}

.cw-player-cover-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.cw-player-cover-badge i {
    font-size: 16px;
}

.cw-player-profile-cover {
    height: 330px;
    position: relative;
    overflow: hidden;
    background: #020617;
}

.cw-player-profile-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: 0;
    transform: scale(1.015);
}

.cw-player-profile-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66)),
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.18), transparent 35%);
    pointer-events: none;
}

.cw-player-profile-cover-meta {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.cw-social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cw-social-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.22s ease;
}

.cw-social-share-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0dcaf0, #0d6efd);
}

.cw-social-share-btn i {
    font-size: 18px;
}

.cw-profile-stat-card {
    position: relative;
}

/* =========================================================
   Player Detail Stat Card Share Buttons - Bottom Layout
   ========================================================= */

.cw-profile-stat-card {
    position: relative;
    height: 100%;
}

.cw-profile-stat-card .card-body {
    min-height: 100%;
}

.cw-profile-stat-share {
    position: static !important;
    top: auto !important;
    right: auto !important;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cw-profile-stat-share .cw-social-share {
    margin-left: auto;
}

.cw-social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cw-social-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.22s ease;
}

.cw-social-share-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0dcaf0, #0d6efd);
}

.cw-social-share-btn i {
    font-size: 18px;
}

@media (max-width: 575.98px) {
    .cw-profile-stat-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .cw-profile-stat-share .cw-social-share {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .cw-player-cover {
        height: 150px;
    }

    .cw-player-profile-cover {
        height: 240px;
    }

    .cw-player-cover-img,
    .cw-player-profile-cover-img {
        object-position: center center;
    }
}

@media (max-width: 575.98px) {
    .cw-player-cover {
        height: 135px;
    }

    .cw-player-profile-cover {
        height: 210px;
    }

    .cw-player-cover-badge {
        left: 12px;
        bottom: 12px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* =========================================================
   Social Share Buttons
   ========================================================= */

.cw-social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cw-social-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.22s ease;
}

.cw-social-share-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0dcaf0, #0d6efd);
}

.cw-social-share-btn i {
    font-size: 18px;
}

.cw-profile-stat-card {
    position: relative;
}

.cw-profile-stat-share {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
}

/* =========================================================
   Player Cover Image Fit Fix
   ========================================================= */

.cw-player-cover-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cw-player-cover {
    height: 170px;
    position: relative;
    overflow: hidden;
    background: #020617;
}

.cw-player-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    z-index: 0;
    transform: scale(1.02);
}

.cw-player-cover-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52)),
        radial-gradient(circle at top right, rgba(13, 202, 240, 0.14), transparent 35%);
    pointer-events: none;
}

.cw-player-cover-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.cw-player-cover-badge i {
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .cw-player-cover {
        height: 150px;
    }

    .cw-player-cover-img {
        object-position: center center;
    }
}

@media (max-width: 575.98px) {
    .cw-player-cover {
        height: 135px;
    }

    .cw-player-cover-badge {
        left: 12px;
        bottom: 12px;
        font-size: 11px;
        padding: 6px 10px;
    }
}