@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #121212;
    --bg-panel: #1a1a1a;
    --neon-green: #adff2f;
    /* Neon Volt Green */
    --neon-cyan: #00e5ff;
    --neon-pink: #ff007f;
    --text-main: #ffffff;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.05);
    /* more subtle */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-glow: 0 0 15px rgba(173, 255, 47, 0.2);
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 0px;
    --transition-speed: 0.35s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: radial-gradient(circle at 10% 20%, rgba(173, 255, 47, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(173, 255, 47, 0.03) 0%, transparent 40%);
    position: relative;
}

/* =====================
   SIDEBAR
   ===================== */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(15, 15, 15, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    position: fixed;
    left: 0;
    top: 0;
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1),
                width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: visible;
    flex-shrink: 0;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

/* Hamburger / Toggle Button — always visible, floats outside sidebar */
.sidebar-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    background: var(--neon-green);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(173, 255, 47, 0.4);
    transition: all 0.25s ease;
    z-index: 1100;
}

.sidebar-toggle:hover {
    background: #c0ff50;
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(173, 255, 47, 0.6);
}

/* Overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 3rem;
    /* Static neon volt color for professionalism */
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(173, 255, 47, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.nav-item {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-item:hover {
    background: var(--glass-bg);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(173, 255, 47, 0.1), transparent);
    border-left: 3px solid var(--neon-green);
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(173, 255, 47, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-subtab.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* =====================
   MAIN CONTENT
   ===================== */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: margin-left var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1),
                width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* When sidebar is collapsed → full width, centered */
.main-content.expanded {
    margin-left: 0;
    width: 100%;
}


/* =====================
   SECTIONS
   ===================== */
.section {
    display: none;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    padding: 5rem 2rem 3rem;
    box-sizing: border-box;
}

.section.active {
    display: block !important;
}

/* Headers */
.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    /* more subtle radius */
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Utility Animations */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green);
    }

    50% {
        box-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
    }

    100% {
        box-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green);
    }
}

/* Advanced Profile */
.profile-main-layout {
    display: flex;
    gap: 2rem;
    height: 100%;
    overflow: hidden;
}

.profile-left-col {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.profile-center-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.avatar-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--neon-green);
    padding: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.3);
    position: relative;
    overflow: hidden;
    background: #000;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #222;
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
    color: var(--neon-green);
    font-size: 1.5rem;
    z-index: 5;
}

.avatar-container:hover .camera-overlay {
    opacity: 1;
}

.avatar-upload-input {
    display: none;
}

.player-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-val {
    font-weight: 600;
    color: var(--neon-green);
}

.stats-grid-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-box-mini {
    background: rgba(173, 255, 47, 0.05);
    border: 1px solid rgba(173, 255, 47, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-box-title {
    font-size: 0.8rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.badges-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 1rem;
    justify-items: center;
}

.badge-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.2rem;
    transition: 0.3s;
    cursor: help;
}

.badge-item.earned {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.1);
}

.badge-item:hover {
    transform: scale(1.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

/* Stats Editor */
.stats-editor {
    margin-top: 1rem;
    width: 100%;
}

.stat-control {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.stat-label {
    width: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-value {
    width: 30px;
    text-align: right;
    font-weight: 700;
    color: var(--neon-green);
}

input[type="range"] {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--neon-green);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(173, 255, 47, 0.5);
    margin-top: -5px;
    /* Alignment fix */
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #333;
    border-radius: 5px;
}

/* Chart Container */
.chart-container-wrapper {
    position: relative;
    /* height: 500px;  Removed fixed height to allow flex grow */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(173, 255, 47, 0.05) 0%, transparent 70%);
}

/* Tactical Team View */
.team-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
}

.team-identity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-logo-large {
    width: 80px;
    height: 80px;
    background: rgba(173, 255, 47, 0.1);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.2);
}

.team-stat-counters {
    display: flex;
    gap: 2rem;
}

.counter-item {
    text-align: center;
}

.counter-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.counter-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.tactical-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 600px;
}

.pitch-container {
    background: linear-gradient(135deg, #1e3c1e 0%, #172e17 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Pitch Markings */
.pitch-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
}

.center-circle {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mid-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.box-area-top {
    width: 40%;
    height: 15%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.box-area-bottom {
    width: 40%;
    height: 15%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Players on Pitch */
.pitch-player {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    width: 60px;
}

.pitch-player:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 10;
}

.pitch-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.pitch-name {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Roster Table */
.roster-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    overflow-y: auto;
}

.roster-table {
    width: 100%;
    border-collapse: collapse;
}

.roster-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
}

.roster-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
    transition: 0.2s;
    cursor: pointer;
}

.roster-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.table-avatar-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.mini-table-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.captain-badge {
    color: gold;
    margin-left: 5px;
}

/* Match Center */
.match-center-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* More space for form */
    gap: 2rem;
}

.match-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--neon-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    /* Sharper corners for pro feel */
    color: white;
    font-family: 'Outfit';
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(173, 255, 47, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.score-inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.score-input {
    width: 80px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    background: transparent;
    border: none;
    color: var(--neon-green);
}

.vs-badge {
    color: #666;
    font-weight: 800;
    font-size: 1.5rem;
}

.btn-primary {
    background: var(--neon-green);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(173, 255, 47, 0.5);
    background: #c0ff50;
}

.teammate-ratings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.rating-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
}

.rating-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.rating-name {
    flex: 1;
    font-weight: 500;
}

/* Explore Section */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.explore-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.explore-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 5px 20px rgba(173, 255, 47, 0.1);
}

.explore-img-container {
    height: 160px;
    position: relative;
}

.explore-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Segmented Control Tabs */
.profile-tabs {
    display: inline-flex;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    gap: 5px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 1rem;
}

.tab-btn:hover {
    color: var(--neon-green);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: var(--neon-green);
    color: black;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.4);
}

.explore-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
}

.explore-content {
    padding: 1.5rem;
}

.explore-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.explore-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-outline {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--neon-green);
    background: transparent;
    color: var(--neon-green);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--neon-green);
    color: #000;
}

/* Skill Cards */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card.locked {
    filter: grayscale(100%) opacity(0.5);
    border-color: #333;
}

.skill-card.unlocked {
    background: radial-gradient(circle at top right, rgba(173, 255, 47, 0.1), rgba(255, 255, 255, 0.05));
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.2);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.skill-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.skill-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lock-overlay {
    display: none;
}

.skill-card.locked .lock-overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #555;
}

/* =====================
   LOGO (override duplicate)
   ===================== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 2.5rem;
    margin-top: 3.5rem; /* leave room for toggle btn */
    letter-spacing: 1px;
    white-space: nowrap;
}

/* SKILLS GALLERY */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.skill-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    min-height: 250px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.skill-card.locked {
    filter: grayscale(100%);
    opacity: 0.6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card.unlocked {
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(173, 255, 47, 0.2);
    transform: translateY(-5px);
}

.skill-icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
    /* Unlocked color */
}

.skill-card.locked .skill-icon-box {
    color: #555;
}

.skill-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: #fff;
}

.skill-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.lock-overlay {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    color: #555;
}

/* Rating Form */
.rating-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    width: 80px;
    font-weight: 600;
    color: var(--text-muted);
}

.rating-slider {
    flex: 1;
    cursor: pointer;
}

.rating-val {
    width: 40px;
    font-weight: 800;
    color: gold;
    text-align: right;
}

/* Match Verification */
.btn-verify {
    background: transparent;
    border: 1px solid #555;
    color: #888;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.btn-verify:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-verify.verified {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* FINAL LAYOUT POLISH */

/* 1. Remove all potential green blocks */
.profile-left-col,
.profile-center-col,
.sidebar,
.main-content,
.profile-content-container,
.genel-bakis-grid,
.gb-left-col,
.gb-right-col {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* 2. Full Width Flex Layout */
.profile-main-layout,
.genel-bakis-grid {
    display: flex !important;
    width: 100% !important;
    gap: 1.5rem;
}

.gb-left-col {
    width: 300px;
    flex-shrink: 0;
}

.gb-right-col {
    flex: 1;
}

/* 3. Glassmorphism (Specific Request) */
.glass-card {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 4. Tab Polish */
.profile-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
}

.tab-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    border-radius: 6px;
    z-index: 100;
    pointer-events: auto;
}

.tab-btn.active,
.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    border-bottom: 2px solid var(--neon-green);
    border-radius: 6px 6px 0 0;
    /* Tab look */
}

/* Bottom Stats */
.stat-box-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sb-val {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.sb-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Form Arrow */
.form-arrow.up {
    color: var(--neon-green);
}

.form-arrow.down {
    color: var(--neon-pink);
}

.form-arrow.side {
    color: gold;
}

/* Sub-stats Visuals */
.substats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.substat-box {
    margin-bottom: 1rem;
}

.substat-title {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.st-label {
    flex: 2;
    font-size: 0.85rem;
    color: #bbb;
}

.st-val {
    width: 25px;
    text-align: right;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.st-bar-bg {
    flex: 2;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.st-bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Color logic for bars will be handled by inline style or js classes, 
   but defaults can be set */
.st-bar-fill {
    background: var(--neon-green);
}

/* Profile Interactive Forms */
.profile-input,
.profile-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(173, 255, 47, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--neon-green);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    /* Glass effect */
    backdrop-filter: blur(5px);
    /* CRITICAL: Ensure inputs are interactive */
    position: relative;
    z-index: 100;
    pointer-events: auto !important;
}

.profile-input:focus,
.profile-select:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(173, 255, 47, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Remove Arrows from Number Input */
.profile-input::-webkit-outer-spin-button,
.profile-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Trait Selects Wrapper */
.trait-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #222;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #444;
}

.trait-select-wrapper label {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: normal;
}

.profile-select-mini {
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    /* Default trait color */
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    outline: none;
    padding: 0;
}

.profile-select option,
.profile-select-mini option {
    background: #222;
    color: #fff;
    font-weight: normal;
}

/* TEAM TAB RESTORATION */
#takimim {
    background-color: #121212 !important;
    display: none;
}

/* =====================
   TACTICAL LAYOUT
   ===================== */
.tactical-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    min-height: 500px;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */

/* Tablet */
@media (max-width: 1024px) {
    .tactical-layout {
        grid-template-columns: 1fr;
    }

    .match-center-grid {
        grid-template-columns: 1fr;
    }

    .genel-bakis-grid {
        flex-direction: column !important;
    }

    .gb-left-col {
        width: 100% !important;
    }

    .gb-bottom-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .team-dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 260px;
    }

    /* Sidebar always goes off-screen on mobile */
    .sidebar {
        transform: translateX(-100%);
        z-index: 1050;
    }

    .sidebar:not(.collapsed) {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .main-content.expanded {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .section {
        padding: 5rem 1rem 2rem;
    }

    .glass-card {
        padding: 1rem !important;
    }

    /* Profile header stack */
    .glass-card[style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    /* Profile tabs scroll */
    .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .profile-tabs::-webkit-scrollbar { display: none; }

    .tab-btn {
        white-space: nowrap;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .genel-bakis-grid {
        flex-direction: column !important;
    }

    .gb-left-col {
        width: 100% !important;
    }

    .gb-bottom-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tactical-layout {
        grid-template-columns: 1fr;
    }

    .match-center-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-stat-counters {
        gap: 1rem;
    }

    .history-table {
        font-size: 0.82rem;
    }

    .team-dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .gb-bottom-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 5rem 0.75rem 2rem;
    }
}

/* ── Profil tab çubuğu: masaüstünde wrap, mobilde yatay scroll ── */
.profile-tabs {
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .profile-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .profile-tabs::-webkit-scrollbar { display: none; }

    /* Profil header kartı: küçük ekranda dikey yığıl */
    .profile-header-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    .profile-header-card .gen-badge {
        margin-left: 0 !important;
    }
}

/* ── Arkadaş olmayan profil — kilitli tab mesajı ── */
.tab-locked-msg {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #555;
}
.tab-locked-msg i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #ffc800;
}
.tab-locked-msg h3 {
    color: #888;
    margin-bottom: 0.5rem;
}

/* ── Çoklu Takım Seçici Şeridi ── */
.team-selector-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.team-selector-strip::-webkit-scrollbar { display: none; }

.ts-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #aaa;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    flex-shrink: 0;
}
.ts-chip:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.09);
    color: #fff;
}
.ts-chip-active {
    background: rgba(0,255,136,0.12);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0,255,136,0.15);
}
.ts-chip-captain {
    border-color: rgba(255,215,0,0.4);
    background: rgba(255,215,0,0.07);
    color: #e0c040;
}
.ts-chip-captain:hover {
    border-color: #ffd700;
    background: rgba(255,215,0,0.13);
    color: #ffd700;
}
.ts-chip-captain.ts-chip-active {
    background: rgba(255,215,0,0.18);
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 10px rgba(255,215,0,0.2);
}
.ts-captain-crown {
    color: #ffd700;
    font-size: 0.65rem;
    margin-left: 2px;
}
/* Team selector chip — logo resmi */
.ts-chip-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.ts-chip-add {
    border-style: dashed;
    border-color: rgba(255,255,255,0.2);
    color: #555;
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}
.ts-chip-add:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0,229,255,0.07);
}

@media (max-width: 768px) {
    .team-selector-strip {
        padding: 0.6rem 0.75rem;
        gap: 0.4rem;
        border-radius: 8px;
    }
    .ts-chip { padding: 0.38rem 0.7rem; font-size: 0.78rem; }
}

.pitch-container {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.roster-panel {
    min-height: 500px;
}

.roster-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.roster-table th {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.roster-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
}

/* Draggable Pitch Token */
.pitch-player-token {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #000;
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    cursor: grab;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, box-shadow 0.2s;
    user-select: none;
    transform: translate(-50%, -50%);
    /* Center on coordinates */
}

.pitch-player-token:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 15px var(--neon-green);
}

.token-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    pointer-events: none;
    /* Let clicks pass to token div */
}

.token-name {
    position: absolute;
    bottom: -20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    white-space: nowrap;
    color: #fff;
    pointer-events: none;
}

/* =====================
   INFO BOX (Detail Tab)
   ===================== */
.info-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(173,255,47,0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* =====================
   HISTORY TABLE
   ===================== */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.history-table th,
.history-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.history-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.history-table tbody tr:hover td {
    background: rgba(173,255,47,0.04);
}
.rating-badge {
    display: inline-block;
    background: rgba(173,255,47,0.15);
    color: var(--neon-green);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(173,255,47,0.3);
}

/* Scroll on small screens */
@media (max-width: 600px) {
    .history-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .roster-table {
        display: block;
        overflow-x: auto;
    }
}

/* ======================================================
   ACCOUNT SWITCHER
   ====================================================== */
.account-switcher {
    margin-top: auto;
    position: relative;
}

.account-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.account-current:hover {
    background: rgba(173, 255, 47, 0.07);
    border-color: rgba(173, 255, 47, 0.3);
}

.acc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    background: #111;
    flex-shrink: 0;
}

.acc-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.acc-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc-role {
    font-size: 0.75rem;
    color: var(--neon-green);
}

.acc-chevron {
    font-size: 0.75rem;
    color: #555;
    transition: transform 0.25s ease;
}

.account-panel.open ~ .account-current .acc-chevron,
.account-switcher:has(.account-panel.open) .acc-chevron {
    transform: rotate(180deg);
}

/* Account Panel (opens upward) */
.account-panel {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #111;
    border: 1px solid rgba(173,255,47,0.2);
    border-radius: 14px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
    z-index: 2000;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.6);
}

.account-panel.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: all;
}

.account-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(173,255,47,0.05);
    border-bottom: 1px solid #222;
}

.account-list {
    overflow-y: auto;
    max-height: 360px;
}

.account-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #1a1a1a;
}

.account-list-item:hover {
    background: rgba(255,255,255,0.04);
}

.account-list-item.active {
    background: rgba(173,255,47,0.08);
    border-left: 3px solid var(--neon-green);
}

.acc-list-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #222;
    border: 1.5px solid #333;
    flex-shrink: 0;
}

.account-list-item.active .acc-list-avatar {
    border-color: var(--neon-green);
}

.acc-list-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.acc-list-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acc-list-role {
    font-size: 0.72rem;
    color: #666;
}

.acc-list-gen {
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ======================================================
   VIEW-ONLY BANNER
   ====================================================== */
.view-only-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

.view-only-banner i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.view-banner-text {
    flex: 1;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   COMMUNITY RATING
   ====================================================== */
.community-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-cyan);
    color: #000;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: 5px;
    line-height: 1;
}

.community-rating-card {
    border-color: rgba(0, 229, 255, 0.2);
}

/* Admin panel in team section hides if not admin — controlled by JS opacity/display */
.admin-panel {
    transition: opacity 0.3s ease;
}

/* Stat box bottom (genel bakış) */
.stat-box-bottom {
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sb-val {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.sb-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Genel bakış grid — sol kolon kaldırıldı, grafik tam genişlik */
.genel-bakis-grid {
    display: block;
    width: 100%;
}
.gb-right-col {
    width: 100% !important;
    flex: none !important;
}

@media (max-width: 900px) {
    .genel-bakis-grid {
        grid-template-columns: 1fr;
    }
    .gb-bottom-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .account-panel {
        position: fixed;
        bottom: 80px;
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}

/* ======================================================
   DETAYLI VERİLER TAB — DETAIL SECTIONS
   ====================================================== */
.detail-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
}

.detail-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-section-header i {
    font-size: 1rem;
    color: var(--neon-green);
    width: 20px;
    text-align: center;
}

.detail-section-header h4 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--neon-green);
    text-transform: uppercase;
    margin: 0;
    flex: 1;
}

.detail-section-hint {
    font-size: 0.72rem;
    color: #555;
    font-style: italic;
    margin-left: auto;
}

/* Identity & Mevki Grids */
.detail-identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.detail-mevki-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-karakteristik-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s ease;
}

.detail-field:hover {
    border-color: rgba(173,255,47,0.2);
}

.detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.detail-inp {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    color: var(--text-main) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.detail-inp:focus {
    border-bottom-color: var(--neon-green) !important;
}

.detail-inp:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.form-badge-field {
    justify-content: space-between;
}

.form-badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.form-badge.good {
    background: rgba(173,255,47,0.1);
    color: var(--neon-green);
    border: 1px solid rgba(173,255,47,0.3);
}

/* Save Button */
.detail-save-btn {
    width: 100%;
    padding: 1rem;
    background: var(--neon-green);
    color: black;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0.5rem;
}

.detail-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(173,255,47,0.3);
}

/* ======================================================
   SEGMENTED CONTROLS (Trait Cards)
   ====================================================== */
.trait-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.trait-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trait-card-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seg-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: rgba(255,255,255,0.03);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.seg-opt {
    padding: 0.5rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    background: transparent;
    color: #555;
    text-align: center;
    line-height: 1.3;
    transition: all 0.18s ease;
    white-space: normal;
    word-break: break-word;
}

.seg-opt:hover {
    background: rgba(255,255,255,0.05);
    color: #aaa;
}

/* Good option — green when active */
.seg-opt.good.active {
    background: rgba(173,255,47,0.12);
    border-color: rgba(173,255,47,0.4);
    color: var(--neon-green);
}

/* Neutral option — yellow when active */
.seg-opt.neutral.active {
    background: rgba(255,200,0,0.1);
    border-color: rgba(255,200,0,0.35);
    color: #ffc800;
}

/* Bad option — red/pink when active */
.seg-opt.bad.active {
    background: rgba(255,0,127,0.1);
    border-color: rgba(255,0,127,0.35);
    color: var(--neon-pink);
}

/* View-only mode — disable seg buttons */
.seg-opt:disabled,
.seg-opt[disabled] {
    cursor: not-allowed;
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 900px) {
    .trait-cards-grid {
        grid-template-columns: 1fr;
    }
    .detail-identity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-mevki-grid {
        grid-template-columns: 1fr;
    }
    .detail-karakteristik-grid {
        grid-template-columns: 1fr;
    }
    .seg-opt {
        font-size: 0.65rem;
        padding: 0.4rem 0.25rem;
    }
}

/* ======================================================
   FAZ 1 — NAV BADGE & BİLDİRİM ZILI
   ====================================================== */
.nav-badge {
    background: var(--neon-pink);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
}

/* Bildirim Butonu — fixed, sağ alt köşe, sidebar/hamburger'dan bağımsız */
.notif-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

.notif-bell {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    color: #aaa;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.notif-bell:hover {
    color: #ffc800;
    border-color: rgba(255,200,0,0.4);
    background: rgba(30,30,30,0.98);
    box-shadow: 0 6px 28px rgba(255,200,0,0.2);
}
.notif-bell.has-notif {
    color: #ffc800;
    border-color: rgba(255,200,0,0.4);
    background: rgba(30,30,30,0.98);
    box-shadow: 0 4px 20px rgba(255,200,0,0.25);
    animation: bellShake 1.5s ease infinite;
}
@keyframes bellShake {
    0%,100%{transform:rotate(0)} 10%{transform:rotate(15deg)} 20%{transform:rotate(-12deg)}
    30%{transform:rotate(10deg)} 40%{transform:rotate(-8deg)} 50%{transform:rotate(5deg)}
}
.notif-count {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--neon-pink);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #0f0f0f;
}

/* Notif Panel — fixed bell'den yukarı açılır, sağa hizalı */
.notif-panel {
    position: absolute;
    bottom: calc(100% + 0.6rem);
    right: 0;
    left: auto;
    width: 300px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
    z-index: 1200;
}
.notif-panel.open { max-height: 420px; }
.notif-panel-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.8rem; font-weight: 700; color: var(--neon-green);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notif-clear-btn {
    margin-left: auto;
    background: none; border: none;
    color: #555; font-size: 0.72rem;
    cursor: pointer; transition: color 0.2s;
}
.notif-clear-btn:hover { color: var(--neon-green); }
.notif-list { overflow-y: auto; max-height: 340px; }
.notif-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer; transition: background 0.15s;
    position: relative;
}
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-item.unread { background: rgba(173,255,47,0.03); }
.notif-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.notif-msg { font-size: 0.82rem; color: var(--text-main); line-height: 1.4; }
.notif-time { font-size: 0.7rem; color: #444; margin-top: 3px; }
.notif-dot {
    width: 7px; height: 7px;
    background: var(--neon-green); border-radius: 50%;
    position: absolute; top: 50%; right: 1rem;
    transform: translateY(-50%);
}
.notif-empty { text-align: center; color: #444; font-size: 0.82rem; padding: 2rem 1rem; line-height: 1.8; }


/* ======================================================
   FAZ 1 — SOSYAL AKIŞ (FEED)
   ====================================================== */
.feed-header {
    display: flex; align-items: flex-start;
    justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    margin-bottom: 1.5rem;
}
.feed-post-btn {
    background: var(--neon-cyan) !important;
    color: black !important;
    font-weight: 800;
    white-space: nowrap;
}
.feed-filters {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.feed-filter {
    padding: 0.45rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    color: #555; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: all 0.18s ease;
    display: flex; align-items: center; gap: 0.4rem;
}
.feed-filter:hover { color: #aaa; border-color: rgba(255,255,255,0.15); }
.feed-filter.active {
    background: rgba(173,255,47,0.1);
    border-color: rgba(173,255,47,0.35);
    color: var(--neon-green);
}
.feed-stream { display: flex; flex-direction: column; gap: 0; }
.feed-card {
    display: flex; gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    animation: feedCardIn 0.3s ease;
}
@keyframes feedCardIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.feed-card-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.feed-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    background: #222; object-fit: cover;
}
.feed-timeline-line {
    width: 1px; flex: 1; min-height: 20px;
    background: rgba(255,255,255,0.05); margin-top: 6px;
}
.feed-card-body { flex: 1; min-width: 0; }
.feed-card-header {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.feed-type-icon { font-size: 0.8rem; }
.feed-time { font-size: 0.72rem; color: #444; margin-left: auto; }
.feed-text { font-size: 0.88rem; color: var(--text-main); line-height: 1.5; }
.feed-actor { font-weight: 700; color: var(--neon-green); }
.feed-link { color: var(--neon-cyan); font-weight: 700; cursor: pointer; text-decoration: none; }
.feed-link:hover { text-decoration: underline; }
.feed-detail-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.feed-badge {
    font-size: 0.72rem; font-weight: 700;
    padding: 3px 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 3px;
}
.feed-badge.match    { background: rgba(173,255,47,0.1); color: var(--neon-green); border: 1px solid rgba(173,255,47,0.25); }
.feed-badge.venue    { background: rgba(255,255,255,0.05); color: #888; border: 1px solid rgba(255,255,255,0.1); }
.feed-badge.goal     { background: rgba(255,200,0,0.1); color: #ffc800; border: 1px solid rgba(255,200,0,0.25); }
.feed-badge.assist   { background: rgba(0,229,255,0.08); color: var(--neon-cyan); border: 1px solid rgba(0,229,255,0.2); }
.feed-badge.rating   { background: rgba(255,200,0,0.1); color: #ffc800; border: 1px solid rgba(255,200,0,0.25); }
.feed-badge.invite   { background: rgba(0,229,255,0.08); color: var(--neon-cyan); border: 1px solid rgba(0,229,255,0.2); }
.feed-comment {
    font-size: 0.82rem; color: #888; font-style: italic;
    margin-top: 0.4rem; padding-left: 0.5rem;
    border-left: 2px solid #333;
}
.feed-invite-actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.btn-accept {
    padding: 5px 14px; border-radius: 20px; border: none; font-size: 0.78rem; font-weight: 700;
    background: rgba(173,255,47,0.15); color: var(--neon-green);
    border: 1px solid rgba(173,255,47,0.3); cursor: pointer; transition: all 0.18s;
}
.btn-accept:hover { background: rgba(173,255,47,0.3); }
.btn-decline {
    padding: 5px 14px; border-radius: 20px; border: none; font-size: 0.78rem; font-weight: 700;
    background: rgba(255,0,127,0.1); color: var(--neon-pink);
    border: 1px solid rgba(255,0,127,0.25); cursor: pointer; transition: all 0.18s;
}
.btn-decline:hover { background: rgba(255,0,127,0.25); }
.feed-status { font-size: 0.78rem; margin-top: 0.4rem; display: inline-block; }
.feed-status.accepted { color: var(--neon-green); }
.feed-status.declined { color: var(--neon-pink); }
.feed-empty { text-align: center; color: #444; padding: 4rem 2rem; }


/* ======================================================
   FAZ 1 — MODAL (Maça Davet Et)
   ====================================================== */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; padding: 1rem;
}
.modal-box {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 100%; max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: modalIn 0.25s ease;
    overflow: hidden;
}
@keyframes modalIn { from { opacity:0; transform:translateY(-20px) scale(0.97); } to { opacity:1; transform:none; } }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.modal-header h3 { font-size: 1rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.modal-close {
    background: rgba(255,255,255,0.06); border: none;
    width: 30px; height: 30px; border-radius: 50%;
    color: #666; cursor: pointer; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,0,127,0.15); color: var(--neon-pink); }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-field { display: flex; flex-direction: column; gap: 0.4rem; }
.modal-field label { font-size: 0.75rem; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.8px; }
.modal-footer {
    display: flex; gap: 0.75rem; justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}


/* ======================================================
   FAZ 1 — TOAST
   ====================================================== */
.ss-toast {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--card-bg); border: 1px solid rgba(173,255,47,0.35);
    color: var(--neon-green); font-size: 0.9rem; font-weight: 700;
    padding: 0.75rem 1.5rem; border-radius: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 3000; opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
.ss-toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }


/* ======================================================
   BAŞARIM SİSTEMİ (ACHIEVEMENTS)
   ====================================================== */

/* --- Banner --- */
.ach-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg,
        rgba(173,255,47,0.07) 0%,
        rgba(255,255,255,0.03) 50%,
        rgba(255,0,127,0.05) 100%);
    border: 1px solid rgba(173,255,47,0.2);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ach-banner-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ach-banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(173,255,47,0.12);
    border: 2px solid rgba(173,255,47,0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--neon-green);
    box-shadow: 0 0 18px rgba(173,255,47,0.2);
    flex-shrink: 0;
}

.ach-banner-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0.2rem;
}

.ach-banner-sub {
    color: #666;
    font-size: 0.88rem;
    margin: 0;
}

.ach-banner-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Progress Ring --- */
.ach-progress-ring {
    width: 72px;
    height: 72px;
    position: relative;
    flex-shrink: 0;
}

.ach-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ach-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ach-ring-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--neon-green);
}

.ach-ring-total {
    font-size: 0.65rem;
    color: #555;
    font-weight: 600;
}

/* --- Tier Pills --- */
.ach-stat-pills {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ach-pill {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    border: 1px solid;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* --- Stats Row --- */
.ach-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ach-stat-card {
    padding: 1.2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ach-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.ach-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.ach-stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

/* --- Category Section --- */
.ach-category-section {
    margin-bottom: 2.5rem;
}

.ach-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ach-category-title {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.ach-category-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #555;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    border: 1px solid #333;
}

/* --- Achievement Cards Grid --- */
.ach-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

/* --- Achievement Card --- */
.ach-card {
    position: relative;
    border-radius: 16px;
    padding: 1.4rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
    border: 1px solid #1f1f1f;
    background: rgba(255,255,255,0.025);
}

.ach-card:hover { transform: translateY(-4px); }

/* --- Unlocked Variant --- */
.ach-card.ach-unlocked {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: achUnlockPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.ach-card.ach-unlocked:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.5); }

.ach-card.ach-tier-bronz.ach-unlocked { border-color: rgba(205,127,50,0.3); }
.ach-card.ach-tier-gumus.ach-unlocked { border-color: rgba(170,170,170,0.3); }
.ach-card.ach-tier-altin.ach-unlocked  { border-color: rgba(255,215,0,0.35); }

.ach-card.ach-tier-bronz.ach-unlocked:hover { box-shadow: 0 8px 30px rgba(205,127,50,0.25); }
.ach-card.ach-tier-gumus.ach-unlocked:hover  { box-shadow: 0 8px 30px rgba(170,170,170,0.2); }
.ach-card.ach-tier-altin.ach-unlocked:hover  { box-shadow: 0 8px 30px rgba(255,215,0,0.3);   }

/* --- Locked Variant --- */
.ach-card.ach-locked { filter: grayscale(0.7); opacity: 0.65; }
.ach-card.ach-locked:hover { opacity: 0.85; filter: grayscale(0.4); }

/* --- Glow Layer --- */
.ach-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 16px;
}

/* --- Card Top --- */
.ach-card-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.ach-card-icon {
    font-size: 1.6rem;
    line-height: 1;
    transition: text-shadow 0.3s ease;
}

.ach-card.ach-unlocked .ach-card-icon { filter: drop-shadow(0 0 6px currentColor); }

.ach-card-emoji {
    font-size: 1.1rem;
    margin-left: auto;
}

/* --- Status Badge --- */
.ach-status-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.ach-status-unlock {
    background: rgba(173,255,47,0.2);
    color: var(--neon-green);
    border: 1px solid rgba(173,255,47,0.4);
}

.ach-status-lock {
    background: rgba(255,255,255,0.04);
    color: #444;
    border: 1px solid #2a2a2a;
}

/* --- Card Body --- */
.ach-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ach-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    line-height: 1.2;
}

.ach-card-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

.ach-card-hint {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: #444;
    display: flex;
    gap: 0.35rem;
    align-items: flex-start;
    line-height: 1.4;
    padding: 0.4rem 0.6rem;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid #222;
}

.ach-card-hint i { color: #555; flex-shrink: 0; margin-top: 1px; }

/* --- Tier Stamp --- */
.ach-tier-stamp {
    position: absolute;
    bottom: 0.6rem;
    right: 0.8rem;
    font-size: 1.1rem;
    opacity: 0.85;
    z-index: 1;
}

/* --- Animations --- */
@keyframes achUnlockPop {
    0%   { transform: scale(0.9); opacity: 0; }
    70%  { transform: scale(1.03); }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Toast Notification --- */
.ach-toast {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    background: rgba(18,18,18,0.97);
    border: 1px solid rgba(173,255,47,0.3);
    border-radius: 14px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 5000;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 240px;
    max-width: 320px;
    backdrop-filter: blur(20px);
}

.ach-toast.show { opacity: 1; transform: translateX(0); }

.ach-toast-icon { font-size: 1.8rem; flex-shrink: 0; }

.ach-toast-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.ach-toast-name { font-size: 1rem; font-weight: 800; color: #fff; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .ach-banner { flex-direction: column; align-items: flex-start; }
    .ach-banner-right { width: 100%; justify-content: flex-start; }
    .ach-stats-row { grid-template-columns: repeat(2, 1fr); }
    .ach-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .ach-toast {
        bottom: 4rem; right: 1rem; left: 1rem;
        max-width: unset;
        transform: translateY(120%);
    }
    .ach-toast.show { transform: translateY(0); }
}

@media (max-width: 480px) {
    .ach-cards-grid { grid-template-columns: 1fr 1fr; }
    .ach-stats-row  { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════════════
   TAKIMIM — Faz 1 Stilleri
   ═══════════════════════════════════════════════════════════════ */

/* ── Team Main Header Block ── */
.team-main-header-block {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg,
        rgba(0,255,136,0.06) 0%,
        rgba(255,255,255,0.02) 50%,
        rgba(0,229,255,0.04) 100%);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.team-header-skeleton {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    animation: pulse-soft 1.5s infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.team-identity-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.team-crest {
    width: 90px;
    height: 90px;
    background: rgba(0,255,136,0.08);
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(0,255,136,0.15), inset 0 0 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.team-crest:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0,255,136,0.25);
}

.team-name-block { flex: 1; }

.team-main-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.5px;
}

.team-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.team-gen-badge {
    background: var(--neon-green);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.team-member-count {
    color: #888;
    font-size: 0.9rem;
}

.team-captain-badge {
    color: #aaa;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.team-desc {
    color: #555;
    font-size: 0.88rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.team-header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.team-season-counters {
    display: flex;
    gap: 1.5rem;
}

.ts-counter { text-align: center; }

.ts-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #eee;
    line-height: 1;
}

.ts-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    margin-top: 2px;
    display: block;
}

.ts-counter.win  .ts-val { color: var(--neon-green); }
.ts-counter.draw .ts-val { color: #aaa; }
.ts-counter.loss .ts-val { color: var(--neon-pink); }

.btn-edit-team {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #aaa;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-edit-team:hover {
    background: rgba(0,255,136,0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

/* ── Sub-Tab Navigation ── */
.team-sub-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-sub-tabs::-webkit-scrollbar { display: none; }

.team-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #666;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-tab-btn:hover {
    background: rgba(255,255,255,0.05);
    color: #ccc;
}

.team-tab-btn.active {
    background: rgba(0,255,136,0.12);
    color: var(--neon-green);
    border: 1px solid rgba(0,255,136,0.2);
    box-shadow: 0 0 15px rgba(0,255,136,0.08);
}

.team-tab-btn i { font-size: 0.85rem; }

/* ── Sub-Tab Content ── */
.team-subtab {
    animation: teamTabFadeIn 0.35s ease-out forwards;
}

@keyframes teamTabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Overview Grid ── */
.team-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.team-radar-card  { margin-bottom: 0 !important; }
.team-strength-card { margin-bottom: 0 !important; display: flex; flex-direction: column; }

.team-radar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 0;
}

.team-gen-chip {
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.25);
    border-radius: 12px;
    padding: 0.4rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.team-gen-chip span:first-child {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-green);
    line-height: 1;
}

.gen-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

/* ── Strength Bars ── */
.strength-header {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strength-bar-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
    justify-content: space-around;
}

.strength-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strength-bar-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 130px;
    flex-shrink: 0;
    font-size: 0.82rem;
    color: #aaa;
}

.strength-bar-label i {
    font-size: 0.8rem;
    width: 14px;
    text-align: center;
}

.top-badge {
    background: var(--neon-green);
    color: black;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: auto;
}

.weak-badge {
    background: rgba(255,0,127,0.12);
    color: var(--neon-pink);
    border: 1px solid rgba(255,0,127,0.25);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: auto;
}

.strength-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    border-radius: 4px;
    animation: barGrow 0.9s ease-out forwards;
    opacity: 0.85;
}

@keyframes barGrow {
    from { width: 0 !important; }
}

.strength-bar-val {
    font-size: 0.9rem;
    font-weight: 800;
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

/* ── Core Squad ── */
.core-squad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-label-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.core-gen-total { font-size: 0.85rem; color: #666; }

.core-squad-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.core-player-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    flex: 1;
    min-width: 130px;
    max-width: 200px;
    position: relative;
    transition: all 0.2s ease;
}

.core-player-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-2px);
}

.core-player-card.is-core {
    border-color: rgba(255,215,0,0.2);
    background: rgba(255,215,0,0.03);
}

.core-rank {
    font-size: 0.7rem;
    font-weight: 800;
    color: #444;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.core-avatar-wrap { position: relative; flex-shrink: 0; }

.core-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
}

.core-pos-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #111;
    position: absolute;
    bottom: 0;
    right: -1px;
}

.core-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.core-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.core-pos {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.core-gen-chip {
    font-size: 0.85rem;
    font-weight: 800;
    color: #888;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 2px 6px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
}

.core-bone-icon {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.65rem;
    color: #888;
    opacity: 0.7;
}

/* ── Full Member Grid ── */
.pos-group { margin-bottom: 1.5rem; }
.pos-group:last-child { margin-bottom: 0; }

.pos-group-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid;
    padding-left: 0.6rem;
    margin-bottom: 0.75rem;
}

.pos-count {
    background: rgba(255,255,255,0.06);
    color: #666;
    font-size: 0.65rem;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: auto;
}

.member-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.member-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 110px;
}

.member-chip:hover {
    background: rgba(0,255,136,0.08);
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-1px);
}

.member-chip-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a1a1a;
    flex-shrink: 0;
}

.member-chip-info { display: flex; flex-direction: column; }

.member-chip-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.member-chip-gen { font-size: 0.7rem; font-weight: 700; }

/* ── Coming Soon ── */
.coming-soon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--glass-bg);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 20px;
    gap: 1rem;
}

.coming-soon-card i { font-size: 3rem; color: #2a2a2a; margin-bottom: 0.5rem; }
.coming-soon-card h3 { color: #444; font-size: 1.4rem; font-weight: 700; }
.coming-soon-card p { color: #333; font-size: 0.9rem; max-width: 400px; line-height: 1.6; }

/* ── Team Edit Modal ── */
.color-picker-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.color-dot:hover { transform: scale(1.2); border-color: rgba(255,255,255,0.3); }
.color-dot.selected { border-color: white; transform: scale(1.15); }

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.icon-pick-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.icon-pick-item:hover { background: rgba(255,255,255,0.08); transform: scale(1.08); }

.icon-pick-item.selected {
    background: rgba(0,255,136,0.1);
    border-color: rgba(0,255,136,0.3);
    box-shadow: 0 0 12px rgba(0,255,136,0.1);
}

/* ── Team Achievements ── */
.team-ach-header { margin-bottom: 1.5rem; }

.team-ach-progress {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-ach-category { margin-bottom: 2rem; }

.ach-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ach-cat-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
}

.ach-cat-count {
    font-size: 0.75rem;
    color: #444;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 2px 8px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .team-overview-grid { grid-template-columns: 1fr; }
    .team-main-header-block { flex-direction: column; }
    .team-header-actions { align-items: flex-start; width: 100%; }
    .team-season-counters { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .team-crest { width: 64px; height: 64px; font-size: 1.8rem; }
    .team-main-name { font-size: 1.8rem; }
    .team-sub-tabs { padding: 0.3rem; gap: 0.2rem; }
    .team-tab-btn span { display: none; }
    .team-tab-btn { padding: 0.7rem 0.8rem; }
    .core-squad-grid { flex-wrap: wrap; }
    .core-player-card { min-width: 100px; }
    .team-season-counters { gap: 1rem; }
    .ts-val { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .team-main-header-block { padding: 1.2rem; }
    .team-identity-block { gap: 1rem; }
    .strength-bar-label { width: 90px; font-size: 0.76rem; }
    .icon-picker-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── Takım Logo / Crest ── */
.team-crest-wrap {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}
.team-crest-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    display: block;
}
.team-logo-upload-btn {
    position: static;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,255,136,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    color: #000;
    border: 2px solid #121212;
    transition: background 0.18s;
    z-index: 2;
}
.team-logo-upload-btn:hover {
    background: #00ff88;
    transform: scale(1.1);
}
/* Mevcut .team-crest içinde wrap varsa boyutu uyarla */
.team-crest-wrap .team-crest {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}
@media (max-width: 768px) {
    .team-crest-wrap { width: 64px; height: 64px; }
    .team-crest-img  { width: 64px; height: 64px; }
    .team-crest-wrap .team-crest { width: 64px; height: 64px; font-size: 1.7rem; }
}

/* ── Hakkımda Sekmesi ──────────────────────────────────────────────────── */
.hakkimda-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hakkimda-row:last-child { border-bottom: none; }

.hakkimda-icon {
    width: 18px;
    text-align: center;
    color: #555;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.9rem;
}

.hakkimda-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-width: 145px;
    flex-shrink: 0;
}

.hakkimda-value {
    font-size: 0.92rem;
    color: #d0d0d0;
    font-weight: 500;
    flex: 1;
    word-break: break-word;
}

.hakkimda-bio-text {
    white-space: pre-wrap;
    line-height: 1.55;
    color: #b0b0b0;
    font-style: italic;
}

.hakkimda-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.hakkimda-edit-trigger {
    background: rgba(173,255,47,0.08);
    border: 1px solid rgba(173,255,47,0.25);
    color: var(--neon-green);
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.hakkimda-edit-trigger:hover {
    background: rgba(173,255,47,0.18);
}

.bio-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
    font-size: 0.88rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .hakkimda-label { min-width: 100px; font-size: 0.72rem; }
    .hakkimda-edit-grid { grid-template-columns: 1fr; }
}
/* ─────────────────────────────────────────────────────────────────────── */

/* ── FUT Oyuncu Kartı ──────────────────────────────────────────────────── */
.genel-bakis-grid {
    display: flex !important;
    gap: 1.5rem;
    align-items: flex-start;
}
.gb-card-col { flex-shrink: 0; }
.gb-right-col { flex: 1; min-width: 0; width: auto !important; flex-shrink: 1 !important; }

.fut-card {
    width: 230px;
    border-radius: 16px;
    background: linear-gradient(160deg, #c8960a 0%, #e8b830 20%, #f5d060 40%, #c07808 65%, #7a4a00 100%);
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(240,200,80,0.35);
    display: flex;
    flex-direction: column;
    user-select: none;
}
.fut-settings-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    z-index: 10;
    transition: background 0.2s;
}
.fut-settings-btn:hover { background: rgba(0,0,0,0.6); color: #fff; }
.fut-settings-panel {
    position: absolute;
    top: 34px;
    left: 8px;
    background: #1c1c1c;
    border: 1px solid rgba(240,200,80,0.3);
    border-radius: 10px;
    padding: 10px 12px;
    z-index: 100;
    width: 160px;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.fut-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 14px 4px;
}
.fut-card-gen {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1;
}
.fut-card-pos {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    margin-top: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}
.fut-card-emblem {
    font-size: 2.2rem;
    color: rgba(255,255,255,0.7);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.fut-card-avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0 0;
    min-height: 130px;
}
.fut-card-avatar {
    height: 130px;
    width: 130px;
    object-fit: cover;
    object-position: 50% 0%;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.fut-card-bottom {
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.82));
    padding: 10px 12px 14px;
    text-align: center;
    border-radius: 0 0 16px 16px;
}
.fut-card-name {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fut-card-username {
    font-size: 0.68rem;
    color: rgba(240,200,80,0.85);
    margin-bottom: 7px;
    letter-spacing: 0.5px;
}
.fut-card-divider {
    height: 1px;
    background: rgba(240,200,80,0.25);
    margin-bottom: 8px;
}
.fut-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 6px;
}
.fut-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}
.fut-stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(240,200,80,0.85);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fut-stat-value {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

@media (max-width: 700px) {
    .genel-bakis-grid { flex-direction: column !important; }
    .fut-card { width: 100%; }
    .fut-card-stats { grid-template-columns: repeat(3, 1fr); }
}
/* ─────────────────────────────────────────────────────────────────────── */

/* ── Başarım / Onur Büyük İkon Grid ───────────────────────────────────── */
.achievement-icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.25rem 0;
}
.ach-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 72px;
    cursor: default;
    transition: transform 0.15s;
}
.ach-icon-card:hover { transform: translateY(-2px); }
.ach-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid var(--ach-color, #555);
    box-shadow: 0 0 12px color-mix(in srgb, var(--ach-color, #555) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ach-color, #aaa);
}
.ach-icon-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--ach-color, #aaa);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ach-icon-tier {
    font-size: 0.57rem;
    color: #555;
    text-align: center;
    white-space: nowrap;
}

/* ── Tanrı Modu (God Mode Admin Panel) ─────────────────────────────────── */
.god-mode-trigger {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border: 2px solid var(--neon-cyan); color: var(--neon-cyan);
    font-size: 1.3rem; cursor: pointer;
    box-shadow: 0 0 20px rgba(0,229,255,0.4), 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.god-mode-trigger:hover {
    transform: scale(1.12) rotate(15deg);
    box-shadow: 0 0 30px rgba(0,229,255,0.7), 0 4px 20px rgba(0,0,0,0.6);
}
.god-mode-box { max-width: 460px; width: 95%; max-height: 85vh; overflow-y: auto; }
.gm-tabs {
    display: flex; gap: 0.4rem;
    padding: 1rem 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap;
}
.gm-tab {
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    color: #888; border-radius: 8px 8px 0 0; padding: 0.4rem 0.85rem;
    font-size: 0.78rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.gm-tab.active { background: rgba(0,229,255,0.1); border-color: var(--neon-cyan); color: var(--neon-cyan); }
.gm-tab-content { padding: 1.25rem 1.5rem; }
.gm-note {
    font-size: 0.75rem; color: #666; margin-bottom: 1rem;
    padding: 0.4rem 0.6rem; background: rgba(255,255,255,0.03);
    border-radius: 6px; border-left: 2px solid var(--neon-cyan);
}
.gm-skills-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.gm-skill-row { display: flex; align-items: center; gap: 0.75rem; }
.gm-skill-label { width: 90px; font-size: 0.78rem; font-weight: 700; color: #aaa; text-transform: uppercase; flex-shrink: 0; }
.gm-slider {
    flex: 1; -webkit-appearance: none; appearance: none; height: 5px;
    border-radius: 3px; background: rgba(255,255,255,0.1); outline: none; cursor: pointer;
}
.gm-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
    background: var(--neon-cyan); cursor: pointer; box-shadow: 0 0 6px rgba(0,229,255,0.6);
}
.gm-skill-val { width: 30px; text-align: right; font-size: 0.9rem; font-weight: 900; color: var(--neon-cyan); }
.gm-stat-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem; color: #ccc;
}
.gm-stat-row label { font-weight: 600; }
.gm-honor-row {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.gm-honor-icon { font-size: 1.2rem; }
.gm-honor-label { flex: 1; font-size: 0.85rem; font-weight: 600; color: #ccc; }
.gm-honor-count { min-width: 30px; text-align: center; font-size: 0.9rem; font-weight: 900; color: var(--neon-cyan); }
.gm-honor-btns { display: flex; gap: 0.3rem; }
.gm-honor-btn {
    background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
    color: var(--neon-cyan); border-radius: 6px; padding: 0.2rem 0.45rem;
    font-size: 0.72rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.gm-honor-btn:hover { background: rgba(0,229,255,0.2); }
.gm-honor-btn-reset { color: #ff6b6b; border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.07); }
.gm-honor-btn-reset:hover { background: rgba(255,107,107,0.18); }
/* ─────────────────────────────────────────────────────────────────────── */
