/* ==========================================================================
   WOF 5v5 Career Simulator - Copero-Style Identity Creation & UI
   ========================================================================== */

:root {
    --copero-bg: #0d0f17;
    --copero-card: #141724;
    --copero-input-bg: #1c2033;
    --copero-border: rgba(255, 255, 255, 0.12);
    --copero-gold: #facc15;
    --copero-pitch-bg: #0f382c;
    --copero-pitch-lines: rgba(255, 255, 255, 0.3);
}

.wof-career-wrapper {
    max-width: 1050px !important;
    margin: 10px auto !important;
    padding: 16px 20px !important;
    background: var(--copero-card) !important;
    border: 1px solid var(--copero-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box !important;
}

/* High Priority Viewport Overlay for Modals & Spin Wheel */
.wof-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.copero-creation-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
}

.copero-creation-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* Ultra Professional Language Selector Buttons */
.wof-career-lang-toggle {
    display: flex !important;
    gap: 4px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    padding: 4px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.wof-career-lang-toggle .lang-btn,
button#btn-lang-pt,
button#btn-lang-en,
#btn-lang-pt,
#btn-lang-en {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.wof-career-lang-toggle .lang-btn:hover,
button#btn-lang-pt:hover,
button#btn-lang-en:hover,
#btn-lang-pt:hover,
#btn-lang-en:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.wof-career-lang-toggle .lang-btn.active,
button#btn-lang-pt.active,
button#btn-lang-en.active,
#btn-lang-pt.active,
#btn-lang-en.active {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 12px rgba(250, 204, 21, 0.4) !important;
}

/* Copero 3-Column Grid */
.copero-grid {
    display: grid !important;
    grid-template-columns: 310px 1fr 290px !important;
    gap: 24px !important;
    align-items: stretch !important;
}

@media (max-width: 992px) {
    .copero-grid {
        grid-template-columns: 1fr !important;
    }
}

.copero-col {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--copero-border) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

.copero-col-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-bottom: 16px !important;
}

/* Jersey Section (Col 1) */
.jersey-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}

.jersey-svg-wrapper {
    width: 150px !important;
    height: 160px !important;
    position: relative !important;
}

.jersey-svg-wrapper svg {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5)) !important;
}

.jersey-text-surname {
    position: absolute !important;
    top: 48px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
}

.jersey-text-number {
    position: absolute !important;
    top: 68px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 42px !important;
    color: #000 !important;
    line-height: 1 !important;
}

.copero-input-row {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.copero-input-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.copero-input-box label {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.copero-input-box input {
    background: var(--copero-input-bg) !important;
    border: 1px solid var(--copero-border) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center !important;
    outline: none !important;
    width: 100% !important;
}

.copero-input-box input:focus {
    border-color: var(--copero-gold) !important;
}

.copero-toggle-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
}

.copero-toggle-box label {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.copero-pill-group {
    display: flex !important;
    background: var(--copero-input-bg) !important;
    border-radius: 10px !important;
    padding: 3px !important;
    border: 1px solid var(--copero-border) !important;
}

.copero-pill-btn {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    padding: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.copero-pill-btn.active {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Country Selector (Col 2) */
.country-search-box {
    margin-bottom: 12px !important;
    position: relative !important;
}

.country-search-box input {
    width: 100% !important;
    background: var(--copero-input-bg) !important;
    border: 1px solid var(--copero-border) !important;
    border-radius: 10px !important;
    padding: 10px 12px 10px 36px !important;
    color: #fff !important;
    font-size: 13px !important;
    outline: none !important;
}

.country-search-box i {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
}

.country-list-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    max-height: 285px !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #facc15 rgba(15, 23, 42, 0.6) !important;
}

.country-list-grid::-webkit-scrollbar,
.copero-timeline-list::-webkit-scrollbar,
.copero-hof-clubs-scroll::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

.country-list-grid::-webkit-scrollbar-track,
.copero-timeline-list::-webkit-scrollbar-track,
.copero-hof-clubs-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 10px !important;
}

.country-list-grid::-webkit-scrollbar-thumb,
.copero-timeline-list::-webkit-scrollbar-thumb,
.copero-hof-clubs-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #facc15 0%, #eab308 100%) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4) !important;
}

.country-list-grid::-webkit-scrollbar-thumb:hover,
.copero-timeline-list::-webkit-scrollbar-thumb:hover,
.copero-hof-clubs-scroll::-webkit-scrollbar-thumb:hover {
    background: #ffffff !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8) !important;
}

.country-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--copero-input-bg) !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
}

.country-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.country-item.selected {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.country-item img {
    width: 20px !important;
    height: 14px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
}

/* Tactical Pitch Position Selector (Col 3) */
.tactical-pitch-5v5 {
    width: 100% !important;
    height: 300px !important;
    background: var(--copero-pitch-bg) !important;
    border: 2px solid var(--copero-pitch-lines) !important;
    border-radius: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 0 !important;
}

.pitch-line-center {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important; right: 0 !important;
    height: 2px !important;
    background: var(--copero-pitch-lines) !important;
}

.pitch-circle-center {
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 70px !important; height: 70px !important;
    border: 2px solid var(--copero-pitch-lines) !important;
    border-radius: 50% !important;
}

.pitch-box-goal {
    position: absolute !important;
    bottom: 0 !important;
    width: 100px !important;
    height: 40px !important;
    border: 2px solid var(--copero-pitch-lines) !important;
    border-bottom: none !important;
}

.pitch-box-top {
    position: absolute !important;
    top: 0 !important;
    width: 100px !important;
    height: 40px !important;
    border: 2px solid var(--copero-pitch-lines) !important;
    border-top: none !important;
}

.pitch-node {
    z-index: 5 !important;
    background: rgba(15, 56, 44, 0.9) !important;
    border: 2px solid var(--copero-pitch-lines) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}

.pitch-node:hover {
    transform: scale(1.1) !important;
    border-color: #ffffff !important;
}

.pitch-node.selected {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.12) !important;
}

/* Position Placement on Pitch */
.pitch-node-fw { position: absolute !important; top: 15% !important; left: 50% !important; transform: translateX(-50%) !important; }
.pitch-node-mid { position: absolute !important; top: 46% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }
.pitch-node-def { position: absolute !important; bottom: 25% !important; left: 50% !important; transform: translateX(-50%) !important; }
.pitch-node-gk { position: absolute !important; bottom: 5% !important; left: 50% !important; transform: translateX(-50%) !important; }

/* Bottom Action Bar */
.copero-bottom-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--copero-border) !important;
}

.btn-copero-outline {
    background: transparent !important;
    border: 1px solid var(--copero-border) !important;
    color: #e2e8f0 !important;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    outline: none !important;
}

.btn-copero-outline:hover {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-copero-submit {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
}

.btn-copero-submit:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35) !important;
}

/* Ultra Professional Reset Button */
#btn-reset-career {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    padding: 10px 22px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#btn-reset-career:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25) !important;
}

#btn-reset-career i {
    color: #f87171 !important;
    transition: transform 0.3s ease !important;
}

#btn-reset-career:hover i {
    transform: rotate(-180deg) !important;
}

/* ==========================================================================
   Copero Hall of Fame Retirement Screen UI
   ========================================================================== */
.copero-hall-of-fame-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 10px 0 !important;
}

.copero-hof-top-grid {
    display: grid !important;
    grid-template-columns: 1fr 280px 240px !important;
    gap: 18px !important;
    align-items: stretch !important;
}

@media (max-width: 992px) {
    .copero-hof-top-grid {
        grid-template-columns: 1fr !important;
    }
}

.copero-hof-card {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.copero-hof-sub {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.copero-hof-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 4px 0 8px 0 !important;
    letter-spacing: -0.5px !important;
}

.copero-hof-pills {
    display: flex !important;
    gap: 6px !important;
}

.hof-pill-tag {
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #e2e8f0 !important;
}

.hof-pill-purple {
    background: rgba(168, 85, 247, 0.25) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
}

.copero-hof-player-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 20px !important;
}

.copero-hof-ovr-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.copero-hof-val-label {
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.copero-hof-ovr-badge {
    width: 65px !important;
    height: 65px !important;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%) !important;
    color: #000000 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4) !important;
}

.copero-hof-stats-row {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 14px !important;
}

.copero-hof-stat-cell {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.copero-hof-stat-cell span {
    font-size: 10px !important;
    color: #94a3b8 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.copero-hof-stat-cell strong {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

/* National Team Card (Middle) */
.copero-hof-national-card {
    background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.copero-hof-nat-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.copero-hof-nat-flag {
    width: 36px !important;
    height: 24px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
}

.copero-hof-nat-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.copero-hof-nat-stats {
    gap: 24px !important;
}

.copero-hof-trophy-row {
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

/* Awards Showcase (Right) */
.copero-hof-awards-card {
    background: rgba(0, 0, 0, 0.4) !important;
}

.copero-hof-awards-showcase {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 100px !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Bottom Clubs Horizontal Carousel */
.copero-hof-clubs-container {
    width: 100% !important;
}

.copero-hof-clubs-scroll {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding-bottom: 12px !important;
    scrollbar-width: thin !important;
}

.copero-hof-club-card {
    flex: 0 0 165px !important;
    min-width: 165px !important;
    height: 240px !important;
    border-radius: 18px !important;
    padding: 16px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
    transition: transform 0.25s !important;
}

.copero-hof-club-card:hover {
    transform: translateY(-4px) !important;
}

.copero-hof-club-logo {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)) !important;
    margin-top: 10px !important;
}

.copero-hof-club-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.copero-hof-club-stats {
    display: flex !important;
    justify-content: space-around !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 6px 4px !important;
    border-radius: 10px !important;
}

.copero-hof-club-stat-item {
    display: flex !important;
    flex-direction: column !important;
}

.copero-hof-club-stat-item span {
    font-size: 8px !important;
    color: #94a3b8 !important;
    font-weight: 800 !important;
}

.copero-hof-club-stat-item strong {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.copero-hof-footer-bar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.copero-hof-trophy-row img,
.copero-hof-awards-showcase img {
    mix-blend-mode: lighten !important;
    border-radius: 8px !important;
}

/* Copero Gameplay Trophy Cabinet & Table Styling */
.copero-trophy-cabinet-bar {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    padding: 8px 12px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #facc15 rgba(15, 23, 42, 0.6) !important;
}

.copero-trophy-cabinet-bar::-webkit-scrollbar {
    height: 4px !important;
}

.copero-trophy-cabinet-bar::-webkit-scrollbar-thumb {
    background: #facc15 !important;
    border-radius: 4px !important;
}

.copero-trophy-item {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

.copero-trophy-item:hover {
    transform: translateY(-2px) scale(1.1) !important;
}

.copero-trophy-img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.6)) !important;
}

.copero-trophy-label-tag {
    font-family: 'Outfit', sans-serif !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #cbd5e1 !important;
    margin-top: 3px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
}

.row-trophy-img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    margin-left: 6px !important;
    mix-blend-mode: lighten !important;
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8)) !important;
}

.btn-copero-play-again {
    background: transparent !important;
    border: 1.5px solid #ffffff !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 24px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-copero-play-again:hover {
    background: #ffffff !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
}

/* Custom Premium Glassmorphism Tooltip for Trophy Hover */
.copero-trophy-tooltip-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.copero-custom-tooltip {
    position: absolute !important;
    bottom: 130% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(4px) scale(0.95) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    background: rgba(15, 23, 42, 0.95) !important;
    color: #facc15 !important;
    border: 1px solid rgba(250, 204, 21, 0.5) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 12px rgba(250, 204, 21, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.copero-custom-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 5px !important;
    border-style: solid !important;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent !important;
}

.copero-trophy-tooltip-wrapper:hover .copero-custom-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
}

.copero-trophy-tooltip-wrapper:hover img {
    transform: translateY(-3px) scale(1.2) !important;
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.9)) !important;
}

/* Copero Exact Borderless Timeline Layout & Sleek 4px Gold Scrollbar */
.copero-dash-right {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.copero-timeline-header {
    display: grid !important;
    grid-template-columns: 32px 1fr 42px 65px 65px 65px !important;
    padding: 4px 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0 0 4px 0 !important;
    flex-shrink: 0 !important;
}

.copero-timeline-list {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    gap: 2px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    scrollbar-width: thin !important;
    scrollbar-color: #facc15 rgba(15, 23, 42, 0.4) !important;
}

.copero-timeline-list::-webkit-scrollbar {
    width: 4px !important;
}

.copero-timeline-list::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4) !important;
    border-radius: 4px !important;
}

.copero-timeline-list::-webkit-scrollbar-thumb {
    background: #facc15 !important;
    border-radius: 4px !important;
}

.copero-timeline-row {
    display: grid !important;
    grid-template-columns: 32px 1fr 42px 65px 65px 65px !important;
    align-items: center !important;
    padding: 4px 8px !important;
    margin-bottom: 0 !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    min-height: 30px !important;
}

.copero-timeline-row.active-row {
    background: rgba(250, 204, 21, 0.12) !important;
    border: 1.5px solid rgba(250, 204, 21, 0.5) !important;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.15) !important;
}

.copero-future-row {
    display: flex !important;
    align-items: center !important;
    padding: 2px 10px !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    height: 22px !important;
    min-height: 22px !important;
}

.copero-future-age {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.copero-age-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 20px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.row-ovr-pill {
    padding: 2px 6px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.copero-dash-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    padding-bottom: 2px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    flex-shrink: 0 !important;
}

/* Copero Exact Compact Dashboard Scale Rules (100% Viewport Fit) */
.copero-dashboard-grid {
    display: grid !important;
    grid-template-columns: 310px 1fr !important;
    gap: 16px !important;
    align-items: stretch !important;
}

@media (max-width: 850px) {
    .copero-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}

.copero-dash-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.copero-player-card {
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid var(--copero-border) !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
}

.copero-player-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
}

.copero-ovr-badge {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.copero-ovr-label {
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 0.8 !important;
}

.copero-ovr-value {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.copero-player-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.copero-player-pills {
    display: flex !important;
    gap: 4px !important;
    margin-bottom: 4px !important;
}

.copero-pill-tag {
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
}

.copero-player-status-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
}

.copero-player-value {
    font-size: 10px !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
}

.copero-quick-stats {
    display: flex !important;
    justify-content: space-around !important;
    padding: 4px 0 !important;
    margin: 6px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.copero-stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.copero-stat-item strong {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
}

.copero-stat-item span {
    font-size: 9px !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.copero-offers-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-top: 6px !important;
}

.copero-offers-desc {
    font-size: 10px !important;
    color: #94a3b8 !important;
    margin-bottom: 6px !important;
}

.copero-transfer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
}

.copero-transfer-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 6px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.copero-transfer-card:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.copero-transfer-card.full-width-card {
    grid-column: span 2 !important;
}

.copero-transfer-action-label {
    font-size: 9px !important;
    color: #94a3b8 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

.copero-transfer-club-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
}

.copero-transfer-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    margin-bottom: 2px !important;
}

.copero-transfer-league {
    font-size: 9px !important;
    color: #cbd5e1 !important;
    font-weight: 700 !important;
}

/* 1. eSports Live News Ticker */
.copero-news-ticker-bar {
    width: 100% !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    border-radius: 8px !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.copero-ticker-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
    animation: pulse-red 2s infinite !important;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.9); }
}

.copero-ticker-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 2. Dynamic Form & Morale Badges */
.copero-form-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.form-hot { background: rgba(239, 68, 68, 0.2) !important; color: #f87171 !important; border: 1px solid rgba(239, 68, 68, 0.5) !important; }
.form-neutral { background: rgba(148, 163, 184, 0.2) !important; color: #cbd5e1 !important; border: 1px solid rgba(148, 163, 184, 0.4) !important; }
.form-cold { background: rgba(59, 130, 246, 0.2) !important; color: #60a5fa !important; border: 1px solid rgba(59, 130, 246, 0.5) !important; }

/* 3. Captain Armband Badge */
.copero-captain-armband {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%) !important;
    color: #0f172a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.6) !important;
    margin-left: 4px !important;
}

/* 4. Season Objective Challenge Card */
.copero-objective-card {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.copero-obj-title {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #facc15 !important;
    text-transform: uppercase !important;
}

.copero-obj-text {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
}

/* 5. Agent Contract Tier Badge */
.copero-contract-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    background: rgba(51, 65, 85, 0.6) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 6. Career Analytics Modal */
.copero-analytics-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.copero-analytics-box {
    background: #0f172a !important;
    border: 1.5px solid rgba(250, 204, 21, 0.4) !important;
    border-radius: 20px !important;
    width: 90% !important;
    max-width: 650px !important;
    padding: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(250, 204, 21, 0.2) !important;
    color: #ffffff !important;
}
