/* ============================================ */
/* PSO EU LEAGUE — Global Styles                */
/* ============================================ */
:root {
    --pso-bg-dark: #0a0e27;
    --pso-bg-main: #111836;
    --pso-nav-bg: #001489;
    --pso-card-bg: rgba(17, 24, 54, 0.75);
    --pso-cyan: #00e5ff;
    --pso-dark-cyan: #006eb8;
    --pso-magenta: #ff0046;
    --pso-gold: #fdb912;
    --pso-green: #00e676;
    --pso-red: #ff1744;
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --border-light: rgba(255, 255, 255, 0.08);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --transition-speed: 0.2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--pso-bg-dark);
    background-image:
        linear-gradient(to bottom,
            rgba(10, 14, 39, 0) 0%,
            rgba(10, 14, 39, 0.3) 40%,
            rgba(10, 14, 39, 0.75) 70%,
            rgba(10, 14, 39, 0.95) 100%),
        url('ap.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================== */
/* NETWORK BAR (Top Bar)                      */
/* ========================================== */
.network-bar {
    background-color: #000;
    height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #1a1a1a;
}

.network-left {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.network-left span:hover {
    color: #fff;
}

.network-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.network-right .lang-selector {
    cursor: pointer;
}

.network-right .lang-selector:hover {
    color: #fff;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all var(--transition-speed);
}

.user-btn:hover {
    border-color: var(--pso-cyan);
    color: var(--pso-cyan);
}

.user-btn.admin-link {
    border-color: var(--pso-gold);
    color: var(--pso-gold);
}

.user-btn.admin-link:hover {
    background: var(--pso-gold);
    color: #000;
}

.user-btn.logout-btn {
    border-color: var(--pso-red);
    color: var(--pso-red);
    font-size: 10px;
}

.user-btn.logout-btn:hover {
    background: var(--pso-red);
    color: #fff;
}

/* ========================================== */
/* MAIN NAVIGATION                            */
/* ========================================== */
.main-nav {
    background: var(--pso-nav-bg);
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
    cursor: pointer;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--pso-cyan), var(--pso-gold));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: #000;
}

.nav-logo-text {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-logo-text small {
    font-size: 10px;
    font-weight: 500;
    color: var(--pso-cyan);
    letter-spacing: 2px;
    display: block;
}

.nav-menu {
    display: flex;
    height: 100%;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-menu li:hover,
.nav-menu li.active {
    color: var(--pso-cyan);
}

.nav-menu li:hover::after,
.nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--pso-cyan);
}

.nav-menu a {
    display: flex;
    align-items: center;
    height: 100%;
}

/* ========================================== */
/* MATCH TICKER                               */
/* ========================================== */
.match-ticker-container {
    height: 90px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.match-ticker-container::-webkit-scrollbar {
    display: none;
}

.ticker-scroll-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--pso-cyan);
    font-size: 14px;
    cursor: pointer;
    width: 32px;
    height: 100%;
    min-height: 90px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    flex-shrink: 0;
}

.ticker-scroll-btn:hover {
    background: var(--pso-cyan);
    color: #000;
}

.match-ticker-track {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.ticker-match {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.ticker-match:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ticker-status {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticker-status .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pso-red);
    box-shadow: 0 0 5px var(--pso-red);
    animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
    0% { opacity: 1; box-shadow: 0 0 5px var(--pso-red); }
    50% { opacity: 0.3; box-shadow: 0 0 1px var(--pso-red); }
    100% { opacity: 1; box-shadow: 0 0 5px var(--pso-red); }
}

.ticker-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticker-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ticker-team img,
.ticker-team div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.ticker-team span {
    flex: 1;
}

.ticker-team strong {
    color: var(--pso-gold);
}

/* ========================================== */
/* PAGE LAYOUT                                */
/* ========================================== */
.page-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: calc(100vh - 160px);
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, var(--pso-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

/* ========================================== */
/* CARDS                                      */
/* ========================================== */
.card {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

/* ========================================== */
/* TABLE                                      */
/* ========================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pso-card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.data-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 700;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr {
    transition: background var(--transition-speed);
}

.data-table tbody tr:hover {
    background: rgba(0, 229, 255, 0.05);
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.team-crest-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================== */
/* MATCH CARDS                                */
/* ========================================== */
.match-card-lg {
    background: rgba(17, 24, 54, 0.75);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 32px;
    cursor: pointer;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    width: 100%;
    min-width: 250px;
    backdrop-filter: blur(8px);
}

.match-card-lg:hover {
    border-color: var(--pso-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.match-score-lg {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
}

.match-score-center {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.match-score-center .home-score,
.match-score-center .away-score {
    display: inline;
}

.match-team .crest {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.log-filter.active {
    background: var(--pso-cyan);
    color: #000;
    border-color: var(--pso-cyan);
}

/* ========================================== */
/* MATCH DETAIL HERO                          */
/* ========================================== */
.match-detail-hero {
    background: linear-gradient(135deg, var(--pso-nav-bg), var(--pso-bg-dark));
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.match-detail-hero .match-stage {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--pso-cyan);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 30px;
}

.match-detail-hero .teams-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.match-detail-hero .team-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.match-detail-hero .team-block .crest-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.match-detail-hero .team-block h2 {
    font-size: 22px;
    font-weight: 700;
}

.match-detail-hero .score-display {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 8px;
}

.match-detail-hero .match-info-bar {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ========================================== */
/* BADGES                                     */
/* ========================================== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-cyan {
    background: var(--pso-cyan);
    color: #000;
}

.badge-ft {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.badge-gold {
    background: rgba(253, 185, 18, 0.15);
    color: var(--pso-gold);
}

/* ========================================== */
/* BUTTONS                                    */
/* ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--pso-cyan);
    color: #000;
}

.btn-primary:hover {
    background: #33ecff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.btn-danger {
    background: var(--pso-red);
    color: #fff;
}

.btn-danger:hover {
    background: #ff4569;
}

.btn-gold {
    background: var(--pso-gold);
    color: #000;
}

.btn-gold:hover {
    background: #ffc933;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================== */
/* FORMS                                      */
/* ========================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pso-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: var(--pso-bg-dark);
    color: #fff;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ========================================== */
/* STAT BARS                                  */
/* ========================================== */
.stat-bar {
    margin-bottom: 16px;
}

.stat-bar .stat-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.stat-bar .stat-label span:first-child {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-bar .stat-label span:last-child {
    color: #fff;
    font-weight: 700;
}

.stat-bar .bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar .bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--pso-cyan), var(--pso-nav-bg));
    transition: width 1s ease;
}

/* ========================================== */
/* TEAM GRID                                  */
/* ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.team-card {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.team-card:hover {
    border-color: var(--pso-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}

.team-card .team-crest-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.team-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card .team-abbr {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================== */
/* ARTICLE CARDS (News)                       */
/* ========================================== */
.article-card, .news-card {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.article-card:hover, .news-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-3px);
}

.article-thumb {
    width: 100%;
    height: 200px;
}

.article-body {
    padding: 20px;
}

.article-body .article-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pso-cyan);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-body .article-date {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================== */
/* PLAYER PROFILE                             */
/* ========================================== */
.profile-hero {
    background: linear-gradient(135deg, var(--pso-nav-bg), var(--pso-bg-dark));
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pso-cyan), var(--pso-gold));
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: #000;
    position: relative;
    overflow: hidden;
}

.item-preview-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.avatar-wrap {
    position: relative;
    display: inline-block;
}

.avatar-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
}

.avatar-wrap:hover .avatar-upload-overlay {
    opacity: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.profile-id {
    font-size: 14px;
    color: var(--pso-cyan);
    font-weight: 600;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.profile-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all var(--transition-speed);
}

.profile-links a:hover {
    border-color: var(--pso-cyan);
    color: var(--pso-cyan);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-box .stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--pso-cyan);
}

.stat-box .stat-name {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ========================================== */
/* LOGIN / REGISTER                           */
/* ========================================== */
.login-container {
    max-width: 440px;
    margin: 80px auto;
    padding: 0 24px;
}

.login-card {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
}

.login-card h2 {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.login-card .login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ========================================== */
/* ADMIN PANEL                                */
/* ========================================== */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 100px);
}

.admin-sidebar {
    background: #080c22;
    border-right: 1px solid var(--border-light);
    padding: 24px 0;
}

.admin-sidebar-title {
    padding: 0 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 16px;
}

.admin-sidebar ul li {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--transition-speed);
    color: var(--text-secondary);
}

.admin-sidebar ul li:hover {
    background: rgba(0, 229, 255, 0.05);
    color: #fff;
}

.admin-sidebar ul li.active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--pso-cyan);
    border-left-color: var(--pso-cyan);
}

.admin-main {
    padding: 30px;
    overflow-y: auto;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.admin-stat-card .value {
    font-size: 36px;
    font-weight: 900;
    color: var(--pso-cyan);
}

.admin-stat-card .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Goal entry in admin */
.goal-entry {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 10px;
}

.goal-entry input,
.goal-entry select {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font-family);
}

/* CSV upload area */
.csv-upload-area {
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: border-color var(--transition-speed);
}

.csv-upload-area:hover {
    border-color: var(--pso-cyan);
}

.csv-upload-area textarea {
    width: 100%;
    min-height: 150px;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 12px;
    resize: vertical;
}

.csv-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.csv-preview-table th {
    background: rgba(0, 20, 137, 0.5);
    padding: 8px 12px;
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.csv-preview-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ========================================== */
/* PAGINATION                                 */
/* ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition-speed);
    font-family: var(--font-family);
}

.pagination button:hover {
    border-color: var(--pso-cyan);
    color: var(--pso-cyan);
}

.pagination button.active {
    background: var(--pso-cyan);
    color: #000;
    border-color: var(--pso-cyan);
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: default;
}

/* ========================================== */
/* TOAST NOTIFICATIONS                        */
/* ========================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    min-width: 300px;
    max-width: 400px;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.toast-success {
    background: linear-gradient(135deg, #00c853, #009624);
}

.toast-error {
    background: linear-gradient(135deg, #ff1744, #d50000);
}

.toast-info {
    background: linear-gradient(135deg, #00e5ff, #0091ea);
    color: #000;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ========================================== */
/* EMPTY STATE                                */
/* ========================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 14px;
    color: #555;
}

/* ========================================== */
/* FOOTER                                     */
/* ========================================== */
.site-footer {
    background: #000;
    border-top: 1px solid var(--border-light);
    padding: 40px 24px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: #999;
    transition: color var(--transition-speed);
}

.footer-col ul li a:hover {
    color: var(--pso-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #555;
}

/* ========================================== */
/* MODAL                                      */
/* ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ========================================== */
/* TABS                                       */
/* ========================================== */
.tab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.tab-bar button {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    font-family: var(--font-family);
    text-transform: uppercase;
    transition: color var(--transition-speed);
}

.tab-bar button:hover {
    color: #fff;
}

.tab-bar button.active {
    color: var(--pso-cyan);
}

.tab-bar button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pso-cyan);
}

/* ========================================== */
/* ANIMATIONS                                 */
/* ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* ========================================== */
/* RESPONSIVE                                 */
/* ========================================== */
@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: flex;
        overflow-x: auto;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .admin-sidebar-title {
        display: none;
    }

    .admin-sidebar ul {
        display: flex;
    }

    .admin-sidebar ul li {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 14px 16px;
        font-size: 12px;
    }

    .admin-sidebar ul li.active {
        border-bottom-color: var(--pso-cyan);
        border-left: none;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        overflow-x: auto;
        padding: 0 16px;
    }

    .nav-menu li {
        white-space: nowrap;
        padding: 0 12px;
        font-size: 12px;
    }

    .page-content {
        padding: 24px 16px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .match-detail-hero .teams-display {
        gap: 20px;
        flex-wrap: wrap;
    }

    .match-detail-hero .score-display {
        font-size: 40px;
    }

    .footer-top {
        flex-direction: column;
    }

    .profile-hero {
        padding: 40px 16px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .goal-entry {
        grid-template-columns: 1fr;
    }

    .team-profile-hero {
        padding: 40px 16px;
    }

    .team-profile-officers {
        flex-direction: column;
    }
}

/* ========================================== */
/* TEAM PROFILE                               */
/* ========================================== */
.team-profile-hero {
    background: linear-gradient(135deg, var(--pso-nav-bg), var(--pso-bg-dark));
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.team-profile-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.team-profile-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.team-profile-name {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.team-profile-abbr {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-country {
    margin-left: 8px;
    color: var(--pso-gold);
}

.team-profile-officers {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.team-profile-officers .officer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.team-profile-officers .officer-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 600;
}

.team-profile-officers .officer-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--pso-gold);
}

/* Crest image (logo) for match detail */
.crest-lg-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* ========================================== */
/* NOTIFICATION BELL                          */
/* ========================================== */
.notif-bell {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    transition: transform 0.2s;
}

.notif-bell:hover {
    transform: scale(1.15);
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--pso-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notif-panel {
    position: fixed;
    top: 36px;
    right: 20px;
    width: 380px;
    max-height: 500px;
    background: #0f172a; /* Solid Navy Blue */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow-y: auto;
    z-index: 2000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Page overlay for dark bg */
.page-content,
.admin-layout {
    background: rgba(2, 5, 19, 0.75);
    backdrop-filter: blur(2px);
}

/* ============================================ */
/* GOOGLE TRANSLATE — suppress injected UI      */
/* ============================================ */
body {
    top: 0 !important;
    margin-top: 0 !important;
    position: static !important;
}

html {
    top: 0 !important;
    margin-top: 0 !important;
    position: static !important;
}

.skiptranslate iframe.goog-te-banner-frame {
    display: none !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
}

.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* ========================================== */
/* CUSTOM MODALS                              */
/* ========================================== */
.custom-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 999999; opacity: 0; transition: opacity 0.3s;
    pointer-events: none;
}
.custom-modal-overlay.show { opacity: 1; pointer-events: auto; }
.custom-modal-box {
    background: var(--pso-card-bg); border: 1px solid var(--pso-cyan);
    border-radius: 16px; padding: 30px; width: 90%; max-width: 450px;
    text-align: center; box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.custom-modal-overlay.show .custom-modal-box { transform: scale(1); }
.custom-modal-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: #fff; line-height:1.4; }
.custom-modal-input {
    width: 100%; padding: 14px; background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
    color: #fff; font-family: inherit; font-size: 15px; margin-bottom: 24px;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-modal-input:focus { border-color: var(--pso-cyan); box-shadow: 0 0 10px rgba(0,229,255,0.2); }
.custom-modal-buttons { display: flex; gap: 12px; justify-content: center; }
.custom-modal-buttons .btn { min-width: 100px; }

/* ========================================== */
/* LIVE MATCH CHAT UI                         */
/* ========================================== */
.match-broadcast-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin: 24px 0;
}
.broadcast-video-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
    aspect-ratio: 16 / 9;
}
.broadcast-video-wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.broadcast-chat-sidebar {
    width: 350px;
    background: var(--pso-card-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 650px; /* fallback */
}
.chat-messages-area::-webkit-scrollbar { width: 6px; }
.chat-messages-area::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.chat-messages-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: rgba(0,0,0,0.3);
}
.chat-bubble {
    font-size: 13px;
    word-break: break-word;
    line-height: 1.4;
}
.chat-bubble-time {
    color: var(--text-secondary);
    font-size: 11px;
    margin-right: 6px;
}
.chat-bubble-name {
    font-weight: 700;
    color: var(--pso-cyan);
    margin-right: 4px;
}
.chat-bubble-text {
    color: #fff;
}

@media (max-width: 900px) {
    .match-broadcast-container { flex-direction: column; }
    .broadcast-chat-sidebar { width: 100%; height: 500px; }
}

/* ========================================== */
/* GOOGLE STYLE SCOREBOARD                    */
/* ========================================== */
.google-scoreboard {
    background: rgba(17, 24, 54, 0.85);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 24px 24px 0 24px;
    margin-bottom: 24px;
    color: #e8eaed;
    font-family: Roboto, Arial, sans-serif;
}
.gs-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #9aa0a6;
    margin-bottom: 24px;
}
.gs-status { font-weight: 700; }
.gs-status.live { color: #ea4335; animation: liveBlink 1.5s infinite; }
.gs-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 24px;
}
.gs-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}
.gs-team img, .gs-team .team-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
    background: white;
}
.gs-team-name { font-size: 16px; font-weight: 400; text-align: center; }
.gs-score-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 400;
    gap: 24px;
}
.gs-events-container {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #3c4043;
    border-bottom: 1px solid #3c4043;
    padding: 16px 0;
    font-size: 13px;
    color: #9aa0a6;
    min-height: 40px;
}
.gs-home-events, .gs-away-events { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.gs-home-events { text-align: left; }
.gs-away-events { text-align: right; }
.gs-event-icon { width: 40px; text-align: center; font-size: 14px; }
.gs-tabs {
    display: flex; justify-content: space-around; margin-top: 8px;
}
.gs-tab {
    padding: 16px 0; font-size: 13px; font-weight: 700; color: #9aa0a6;
    cursor: pointer; text-transform: uppercase; border-bottom: 3px solid transparent;
    transition: color 0.2s;
}
.gs-tab:hover { color: #e8eaed; }
.gs-tab.active { color: #8ab4f8; border-bottom-color: #8ab4f8; }

.match-tab-content { display: none; }
.match-tab-content.active { display: block; animation: fadeIn 0.3s; }

.admin-live-panel {
    background: rgba(234, 67, 53, 0.05);
    border: 1px solid rgba(234, 67, 53, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

/* ========================================== */
/* NEWS COMMENTS & LIKES                      */
/* ========================================== */
.news-interaction-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.news-like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    transition: all 0.2s;
}

.news-like-btn:hover:not(:disabled) {
    background: rgba(255, 23, 68, 0.1);
    border-color: var(--pso-red);
}

.news-like-btn.liked {
    background: var(--pso-red);
    border-color: var(--pso-red);
    color: #fff;
    animation: heartPulse 0.4s ease;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.news-comments-section {
    margin-top: 40px;
}

.news-comments-section h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.comment-input-box {
    margin-bottom: 30px;
}

.comment-input-box textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.comment-input-box textarea:focus {
    outline: none;
    border-color: var(--pso-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.news-comment-item {
    padding: 16px;
    background: var(--pso-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.news-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.news-comment-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--pso-cyan);
}

.news-comment-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.news-comment-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    word-break: break-word;
}

/* ========================================== */
/* ECONOMY — GOLD DISPLAY                     */
/* ========================================== */
.gold-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(253,185,18,0.15), rgba(253,185,18,0.05));
    border: 1px solid rgba(253,185,18,0.4);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pso-gold);
    cursor: default;
}
.gold-badge .gold-icon { font-size: 15px; }

/* ========================================== */
/* ECONOMY — COSMETIC BORDERS (Market)        */
/* ========================================== */
.avatar-wrap {
    position: relative;
    display: inline-block;
    border-radius: 50%;
}
/* Default — no border */
.border-none { box-shadow: none; border: 2px solid rgba(255,255,255,0.1); border-radius: 50%; }

/* Gold */
.border-gold { box-shadow: 0 0 0 3px #fdb912, 0 0 14px rgba(253,185,18,0.6); border-radius: 50%; }

/* Neon Cyan */
.border-neon-cyan { box-shadow: 0 0 0 3px #00e5ff, 0 0 18px rgba(0,229,255,0.7); border-radius: 50%; }

/* RGB Rainbow */
.border-rgb {
    border-radius: 50%;
    animation: rgbSpin 3s linear infinite;
    box-shadow: 0 0 0 3px #ff0000;
}
@keyframes rgbSpin {
    0%   { box-shadow: 0 0 0 3px #ff0000, 0 0 18px rgba(255,0,0,0.5); }
    16%  { box-shadow: 0 0 0 3px #ff7700, 0 0 18px rgba(255,119,0,0.5); }
    33%  { box-shadow: 0 0 0 3px #ffff00, 0 0 18px rgba(255,255,0,0.5); }
    50%  { box-shadow: 0 0 0 3px #00ff00, 0 0 18px rgba(0,255,0,0.5); }
    66%  { box-shadow: 0 0 0 3px #0000ff, 0 0 18px rgba(0,0,255,0.5); }
    83%  { box-shadow: 0 0 0 3px #8b00ff, 0 0 18px rgba(139,0,255,0.5); }
    100% { box-shadow: 0 0 0 3px #ff0000, 0 0 18px rgba(255,0,0,0.5); }
}

/* Diamond */
.border-diamond { box-shadow: 0 0 0 3px #b9f2ff, 0 0 20px rgba(185,242,255,0.8), 0 0 40px rgba(0,229,255,0.3); border-radius: 50%; animation: diamondPulse 2s ease-in-out infinite; }
@keyframes diamondPulse {
    0%, 100% { box-shadow: 0 0 0 3px #b9f2ff, 0 0 20px rgba(185,242,255,0.8); }
    50%       { box-shadow: 0 0 0 3px #ffffff, 0 0 30px rgba(255,255,255,0.9); }
}

/* Fire */
.border-fire { animation: fireSpin 1.5s linear infinite; border-radius: 50%; }
@keyframes fireSpin {
    0%   { box-shadow: 0 0 0 3px #ff4500, 0 0 15px rgba(255,69,0,0.8); }
    33%  { box-shadow: 0 0 0 3px #ff8c00, 0 0 18px rgba(255,140,0,0.8); }
    66%  { box-shadow: 0 0 0 3px #ff4500, 0 0 25px rgba(255,69,0,0.9); }
    100% { box-shadow: 0 0 0 3px #ff0000, 0 0 15px rgba(255,0,0,0.8); }
}

/* Galaxy */
.border-galaxy { border-radius: 50%; animation: galaxySpin 4s linear infinite; }
@keyframes galaxySpin {
    0%   { box-shadow: 0 0 0 3px #7c00fe, 0 0 20px rgba(124,0,254,0.6); }
    50%  { box-shadow: 0 0 0 3px #fe00d5, 0 0 20px rgba(254,0,213,0.6); }
    100% { box-shadow: 0 0 0 3px #7c00fe, 0 0 20px rgba(124,0,254,0.6); }
}

/* ========================================== */
/* ECONOMY — BADGES (Rozetler)                */
/* ========================================== */
.player-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 7px;
    letter-spacing: 0.4px;
    vertical-align: middle;
}
.badge-vip    { background: linear-gradient(90deg,#fdb912,#ff8c00); color: #000; }
.badge-legend { background: linear-gradient(90deg,#7c00fe,#fe00d5); color: #fff; }
.badge-pro    { background: linear-gradient(90deg,#00e5ff,#006eb8); color: #000; }
.badge-fire   { background: linear-gradient(90deg,#ff4500,#ff8c00); color: #fff; }
.badge-star   { background: linear-gradient(90deg,#fff,#ccc); color: #000; }

/* ========================================== */
/* BETTING — COUPON SLIP                      */
/* ========================================== */
.bet-slip {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    background: var(--pso-bg-main);
    border: 2px solid var(--pso-gold);
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
}
.bet-slip-header {
    background: linear-gradient(135deg, rgba(253,185,18,0.2), rgba(253,185,18,0.05));
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(253,185,18,0.2);
    cursor: pointer;
}
.bet-slip-header h4 { font-size: 14px; font-weight: 800; color: var(--pso-gold); }
.bet-slip-body { padding: 14px; max-height: 400px; overflow-y: auto; }
.bet-slip-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    position: relative;
}
.bet-slip-item .remove-bet {
    position: absolute;
    top: 8px; right: 10px;
    background: none; border: none;
    color: var(--text-secondary);
    cursor: pointer; font-size: 16px;
}
.bet-slip-item .remove-bet:hover { color: var(--pso-red); }
.bet-slip-footer { padding: 14px; border-top: 1px solid var(--border-light); }
.bet-slip-footer input[type=number] {
    width: 100%; padding: 10px; border-radius: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
    color: #fff; font-family: inherit; font-size: 14px; margin-bottom: 10px;
}
