@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --dark-hover: #334155;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #334155;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0f1e;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: #f1f5f9;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* ============ HEADER ============ */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo i {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

/* Language Selector */
.language-selector {
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover,
.language-selector:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-btn, .btn-logout {
    background: transparent;
    border: 2px solid transparent;
    color: #cbd5e1;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-btn:hover {
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn.active {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.badge {
    background: var(--danger);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.btn-logout:hover {
    background: var(--gradient-danger);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.page {
    animation: pageEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ HERO SECTION ============ */
.hero {
    text-align: center;
    padding: clamp(2rem, 8vw, 5rem) 0 clamp(1.5rem, 6vw, 4rem);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 100%);
    height: min(800px, 100%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.7));
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.75rem);
    color: #94a3b8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-user-info {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.user-card-large {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 600px;
    width: 100%;
    margin: 2rem auto 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.user-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.user-avatar-large {
    font-size: clamp(3rem, 10vw, 6rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.user-details {
    text-align: center;
    width: 100%;
}

.user-details h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-level span {
    display: block;
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #cbd5e1;
    font-weight: 600;
}

.level-bar {
    width: 100%;
    max-width: 400px;
    height: 16px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.level-bar-large {
    height: 20px;
}

.level-progress {
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 20px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.level-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.user-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-top: 1rem;
}

.user-rating i {
    color: #fbbf24;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.rating-count {
    color: #94a3b8;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* ============ FEATURES ============ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: clamp(2rem, 6vw, 5rem);
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.feature-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: #94a3b8;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}

/* ============ PAGE HEADER ============ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ BUTTONS ============ */
.btn {
    padding: clamp(0.75rem, 2vw, 1.125rem) clamp(1.5rem, 4vw, 2.5rem);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.15);
    color: var(--secondary);
    border: 2px solid var(--secondary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

.btn-large {
    padding: clamp(1rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3rem);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.8);
    }
}

.btn-live:hover {
    box-shadow: 0 0 60px rgba(239, 68, 68, 1);
}

/* ============ SEARCH FILTERS ============ */
.search-filters {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.input, .select, .textarea {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #f1f5f9;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    flex: 1;
    min-width: min(200px, 100%);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), var(--shadow-glow);
    background: rgba(15, 23, 42, 1);
}

.input-small {
    flex: 0 1 120px;
    min-width: 100px;
}

.level-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: min(200px, 100%);
}

.level-filter label {
    white-space: nowrap;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #cbd5e1;
    font-weight: 600;
}

/* ============ RESULTS GRID ============ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.player-card, .team-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: clamp(1rem, 3vw, 2rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-card::before, .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.player-card:hover::before, .team-card:hover::before {
    transform: scaleX(1);
}

.player-card:hover, .team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.player-card-header, .team-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.player-avatar, .team-avatar {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

.player-info h3, .team-info h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.player-role, .team-platform {
    color: #94a3b8;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
}

.player-stats, .team-stats {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat i {
    color: var(--primary);
}

.stat.star i {
    color: #fbbf24;
}

/* ============ FEEDBACK ============ */
.feedback-item {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feedback-item:hover {
    border-color: var(--primary);
    transform: translateX(3px);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feedback-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.feedback-user i {
    color: var(--primary);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.feedback-rating {
    display: flex;
    gap: 0.15rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.feedback-rating i {
    color: #fbbf24;
}

.feedback-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.feedback-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.feedback-comment {
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.feedback-date {
    color: #64748b;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    margin-top: 0.5rem;
}

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    max-width: min(550px, 95vw);
    width: 100%;
    position: relative;
    animation: modalSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-large {
    max-width: min(900px, 95vw);
}

.modal-scrollable {
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid var(--danger);
    color: var(--danger);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* ============ FORM ============ */
.auth-form h2,
.modal-content h2 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.auth-switch a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ============ CHECKBOX ============ */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid transparent;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.checkbox-label:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label-single {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.875rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.checkbox-label-single:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

.checkbox-label-single input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label-single span {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #cbd5e1;
}

/* ============ STAR RATING ============ */
.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: clamp(2rem, 6vw, 3rem);
    justify-content: center;
    margin: 1rem 0;
}

.star-rating i {
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}

.star-rating i:hover,
.star-rating i.active {
    color: #fbbf24;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

/* ============ TAG SELECTOR ============ */
.tag-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #94a3b8;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    cursor: pointer;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.tag-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tag-btn.active {
    background: var(--gradient-blue);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ============ NOTIFICATION ============ */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    z-index: 3000;
    display: none;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    max-width: min(400px, 90vw);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.notification.error {
    background: var(--gradient-danger);
    color: white;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.notification.info {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* ============ LOADING OVERLAY ============ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    flex-direction: column;
    gap: 1rem;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: var(--shadow-glow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #cbd5e1;
}

/* ============ ADMIN DASHBOARD ============ */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

.stat-info h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #94a3b8;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.admin-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.admin-section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form, .level-settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.user-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.user-item-info h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.25rem;
}

.user-item-info p {
    color: #94a3b8;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.user-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============ PROFILE ============ */
.profile-content {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.profile-avatar {
    font-size: clamp(4rem, 12vw, 7rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
}

.profile-info {
    flex: 1;
    min-width: min(300px, 100%);
}

.profile-info h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 1rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-level {
    margin: 1rem 0;
}

.profile-level span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #cbd5e1;
}

.profile-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
}

.profile-rating i {
    color: #fbbf24;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 2rem);
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.detail-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #94a3b8;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 600;
}

.detail-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 700;
}

.detail-card p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f1f5f9;
    font-weight: 600;
    word-break: break-word;
}

.profile-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.social-link.instagram {
    border-color: #e1306c;
    color: #e1306c;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    box-shadow: 0 0 30px rgba(225, 48, 108, 0.4);
}

.social-link.tiktok {
    border-color: #00f2ea;
    color: #00f2ea;
}

.social-link.tiktok:hover {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    color: white;
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
}

.feedback-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-lg);
}

.feedback-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

.empty-state {
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem);
    color: #64748b;
}

.empty-state i {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state p {
    font-size: clamp(1rem, 2vw, 1.3rem);
}

/* ============ REQUESTS ============ */
.requests-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    color: #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-blue);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.requests-container {
    display: grid;
    gap: 1.5rem;
}

.request-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 2rem);
    transition: all 0.3s ease;
}

.request-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.request-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.request-avatar {
    font-size: clamp(2rem, 5vw, 3rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.request-details h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.25rem;
}

.request-meta {
    color: #94a3b8;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.request-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.request-status {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.request-status.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.request-status.approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.request-status.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* ============ TEAM DETAIL ============ */
.player-detail-header,
.team-detail-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.player-detail-header::before,
.team-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.detail-avatar {
    font-size: clamp(4rem, 10vw, 6rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.detail-info {
    flex: 1;
    text-align: center;
}

.detail-info h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
}

.meta-item i {
    color: var(--primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.role-badge {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.team-members {
    margin-top: 2rem;
}

.team-members h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
}

.member-list {
    display: grid;
    gap: 1rem;
}

.member-item {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 1rem;
}

.member-item:hover {
    border-color: var(--primary);
    transform: translateX(3px);
}

.member-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar {
    font-size: clamp(2rem, 5vw, 2.5rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-details h5 {
    margin-bottom: 0.25rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.member-role {
    color: #94a3b8;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.captain-badge,
.vice-captain-badge {
    background: var(--gradient-blue);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-glow);
}

.vice-captain-badge {
    background: var(--gradient-primary);
}

.helper-text {
    color: #fbbf24;
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    margin-top: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .language-selector {
        width: 100%;
    }

    .nav {
        width: 100%;
        justify-content: stretch;
    }

    .nav-btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .nav-btn span {
        display: none;
    }

    .nav-btn i {
        font-size: 1.25rem;
    }

    .user-card-large {
        padding: 1.5rem;
    }

    .filter-row {
        flex-direction: column;
    }

    .level-filter {
        width: 100%;
    }

    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .profile-header {
        padding: 1.5rem;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
    }

    .requests-tabs {
        flex-direction: column;
    }

    .player-detail-header,
    .team-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-actions {
        flex-direction: column;
        width: 100%;
    }

    .detail-actions .btn {
        width: 100%;
    }

    .member-item {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .star-rating {
        font-size: 2rem;
    }

    .tag-selector {
        gap: 0.35rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-blue);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============ SELECTION ============ */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}

/* ============ FOCUS VISIBLE ============ */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* ============================================
   FIX BOTTONI - VERSIONE SEMPLIFICATA
   ============================================ */

/* Tutti i bottoni devono essere cliccabili */
button,
.btn,
.nav-btn,
a.btn,
input[type="submit"],
input[type="button"],
[onclick] {
    pointer-events: auto !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.3);
    touch-action: manipulation;
    user-select: none;
}

/* Gli elementi dentro i bottoni non devono interferire */
button *,
.btn *,
.nav-btn *,
a.btn * {
    pointer-events: none !important;
}

/* Loading overlay */
.loading-overlay {
    pointer-events: none;
}

.loading-overlay.active {
    pointer-events: auto;
}

/* Cards cliccabili */
.player-card,
.team-card {
    cursor: pointer;
}

/* Print styles */
@media print {
    .header, .nav, .btn, .modal {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}


/* ============ LINK SOCIAL COLORATI ============ */
.social-links-colored {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-box i {
    font-size: 1.5rem;
}

.social-link-box.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #F77737 100%);
    border-color: rgba(195, 53, 132, 0.5);
}

.social-link-box.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 53, 132, 0.4);
    border-color: rgba(195, 53, 132, 0.8);
}

.social-link-box.tiktok {
    background: linear-gradient(135deg, #000000 0%, #00f2ea 100%);
    border-color: rgba(0, 242, 234, 0.5);
}

.social-link-box.tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.4);
    border-color: rgba(0, 242, 234, 0.8);
}

.social-link-box span {
    font-size: 1.1rem;
}
