/* ============================================
   VolleyBul - Pages CSS
   All page-specific styles consolidated
   ============================================ */

/* ============================================
   AUTH PAGES (Login, Register)
   ============================================ */

/* Auth Container - Two Column Layout */
.auth-container {
    display: flex;
    min-height: calc(100vh - 200px);
}

.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    100% {
        transform: translate(-10%, -10%) rotate(360deg);
    }
}

.auth-left-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

/* Auth Logo */
.auth-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.auth-left h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.auth-left h2 span {
    color: #fbbf24;
}

.auth-left>.auth-left-content>p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Auth Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.auth-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.auth-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f97316, #0d9488);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.auth-feature span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Auth Steps (Register) */
.auth-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-step:hover {
    background: rgba(255, 255, 255, 0.12);
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e3a5f;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-step span:not(.step-num) {
    color: rgba(255, 255, 255, 0.9);
}

/* Auth Right */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #f8fafc;
}

.auth-form-container {
    width: 100%;
    max-width: 450px;
}

/* Auth Form Header */
.auth-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-form-header .icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.auth-form-header h3 {
    color: #1e3a5f;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-form-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Auth Form */
.auth-form .form-floating {
    margin-bottom: 20px;
    position: relative;
}

.auth-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
}

.auth-form .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.auth-form .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    color: #fff;
}

/* Auth Links */
.auth-links {
    text-align: center;
}

.auth-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #3b82f6;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #94a3b8;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 15px;
    font-size: 0.9rem;
    background: #f8fafc;
}

/* Password Strength Bar */
.password-strength-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.password-strength-fill.strength-weak {
    width: 25%;
    background: #ef4444;
}

.password-strength-fill.strength-fair {
    width: 50%;
    background: #f59e0b;
}

.password-strength-fill.strength-good {
    width: 75%;
    background: #10b981;
}

.password-strength-fill.strength-strong {
    width: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
}

/* Password Requirements */
.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.req-item {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.req-item i {
    font-size: 0.5rem;
}

.req-item.valid {
    color: #10b981;
}

.req-item.valid i {
    color: #10b981;
}

/* Floating Input */
.floating-input {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-input input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.floating-input input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.floating-input i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Responsive Auth */
@media (max-width: 991.98px) {

    .auth-container,
    .auth-page {
        flex-direction: column;
    }

    .auth-left {
        padding: 2rem;
        min-height: auto;
    }

    .auth-left-content {
        max-width: 100%;
    }

    .auth-right {
        padding: 2rem;
    }

    .auth-logo {
        width: 80px;
        height: 80px;
    }

    .auth-left h2 {
        font-size: 1.5rem;
    }
}


/* ============================================
   MATCH DETAIL PAGE
   ============================================ */
.match-hero {
    background: linear-gradient(135deg, var(--vb-dark) 0%, var(--vb-dark-lighter) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.match-hero::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 60s linear infinite;
}

.match-hero-content {
    position: relative;
    z-index: 2;
}

.teams-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-box {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.team-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    border-radius: var(--vb-radius-lg);
    padding: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.team-box h4 {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.vs-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.score-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--vb-radius-xl);
    padding: 1.5rem 3rem;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.score-num {
    font-size: 3rem;
    font-weight: 900;
    color: white;
}

.score-sep {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.match-meta-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--vb-radius-full);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: var(--vb-radius-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.content-card-header {
    background: linear-gradient(135deg, var(--vb-dark), var(--vb-dark-lighter));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-card-body {
    padding: 1.5rem;
}

/* Set Scores Table */
.set-table {
    width: 100%;
    border-collapse: collapse;
}

.set-table th,
.set-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--vb-light-darker);
}

.set-table th {
    background: var(--vb-light);
    font-weight: 700;
    color: var(--vb-text-dark);
}

.set-table tr:last-child td {
    border-bottom: none;
}

.set-table td:first-child {
    font-weight: 700;
    color: var(--vb-primary);
}

/* Video Embed */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--vb-radius-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.photo-card {
    text-align: center;
}

.photo-card img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--vb-radius-lg);
    background: var(--vb-light);
    padding: 0.5rem;
}

.photo-card p {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--vb-text-dark);
}

.photos-vs {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vb-primary);
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.award-card {
    background: var(--vb-light);
    border-radius: var(--vb-radius-xl);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.award-card.mvp {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
}

.award-header {
    background: var(--vb-dark);
    color: white;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.award-card.mvp .award-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.award-body {
    padding: 1.5rem;
}

.award-body img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.award-body .player-name {
    font-weight: 700;
    color: var(--vb-text-dark);
    margin-bottom: 0.25rem;
}

.award-body .player-position {
    color: var(--vb-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.award-body .player-team {
    color: var(--vb-text-light);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.no-awards {
    text-align: center;
    padding: 2rem;
    color: var(--vb-text-light);
}

/* Match Officials Grid */
.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.official-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--vb-radius-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.official-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--vb-primary);
}

.official-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.official-icon.referee {
    background: linear-gradient(135deg, #10b981, #059669);
}

.official-info {
    flex: 1;
}

.official-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vb-text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.official-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vb-text-dark);
}

/* ============================================
   PROFILE PAGE - Dashboard Design
   ============================================ */
.profile-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.profile-hero {
    background: linear-gradient(135deg, var(--vb-dark) 0%, var(--vb-dark-lighter) 100%);
    padding: 3rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 60s linear infinite;
}

.profile-hero-content {
    position: relative;
    z-index: 2;
}

.profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-top: -5rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.profile-card-top {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(13, 148, 136, 0.05));
    border-bottom: 1px solid var(--vb-light-darker);
}

.profile-avatar-wrapper {
    position: relative;
    margin-top: -4rem;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: white;
}

.profile-role-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    font-size: 1rem;
}

.profile-info-main h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--vb-text-dark);
    margin-bottom: 0.25rem;
}

.profile-info-main .username {
    color: var(--vb-text-light);
    font-size: 1rem;
}

.profile-quick-stats {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.quick-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.quick-stat .number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-stat .label {
    font-size: 0.8rem;
    color: var(--vb-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    border-bottom: 2px solid var(--vb-light-darker);
    padding: 0 2rem;
    background: white;
    overflow-x: auto;
}

.profile-tab {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--vb-text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-tab:hover {
    color: var(--vb-primary);
}

.profile-tab.active {
    color: var(--vb-primary);
    border-bottom-color: var(--vb-primary);
}

.profile-tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.profile-tab-content.active {
    display: block;
}

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

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

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--vb-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.info-item .content .label {
    font-size: 0.8rem;
    color: var(--vb-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .content .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vb-text-dark);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--vb-dark), var(--vb-dark-lighter));
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 900;
}

.stat-card .label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Team Cards Modern */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.team-card-modern {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card-modern:hover {
    border-color: var(--vb-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-card-modern img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: contain;
    background: var(--vb-light);
    padding: 8px;
}

.team-card-modern .team-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vb-text-dark);
    margin-bottom: 0.25rem;
}

.team-card-modern .team-info .members {
    color: var(--vb-text-light);
    font-size: 0.9rem;
}

.team-card-modern .team-info .invite-code {
    margin-top: 0.5rem;
    background: var(--vb-light);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.team-card-modern .actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.action-card-header {
    background: linear-gradient(135deg, var(--vb-dark), var(--vb-dark-lighter));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.action-card-body {
    padding: 1.5rem;
}

/* Modern Form Inputs */
.modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--vb-light-darker);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.modern-input:focus {
    outline: none;
    border-color: var(--vb-primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.modern-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--vb-light-darker);
    border-radius: 12px;
    font-size: 1rem;
    min-height: 100px;
    resize: vertical;
    margin-bottom: 1rem;
}

/* Modern Alerts */
.alert-modern {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
}

/* Become Player Banner */
.become-player-banner {
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    border-radius: 20px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.become-player-banner .icon {
    font-size: 4rem;
    opacity: 0.9;
}

.become-player-banner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.become-player-banner p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.become-player-banner .btn-white {
    background: white;
    color: var(--vb-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.become-player-banner .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   TEAM DETAIL PAGE
   ============================================ */
.team-hero {
    background: linear-gradient(135deg, var(--vb-dark) 0%, var(--vb-dark-lighter) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 60s linear infinite;
}

.team-hero-content {
    position: relative;
    z-index: 2;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: var(--vb-radius-xl);
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.team-name-hero {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.team-meta-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.team-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--vb-radius-full);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-description-hero {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    line-height: 1.6;
}

/* Player Grid in Team Detail */
.player-grid-card {
    background: var(--vb-light);
    border-radius: var(--vb-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.player-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.player-grid-card .player-photo-wrapper {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.player-grid-card img {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    background: transparent;
    padding: 10px;
}

.player-grid-info {
    padding: 1rem;
    text-align: center;
}

.player-grid-info h6 {
    font-weight: 700;
    color: var(--vb-text-dark);
    margin-bottom: 0.25rem;
}

.player-grid-info .position {
    color: var(--vb-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.player-grid-info .stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--vb-text-light);
}

/* Mini Match Cards */
.match-mini-card {
    background: var(--vb-light);
    border-radius: var(--vb-radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.match-mini-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.match-mini-card .teams {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.match-mini-card .team-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-mini-card .team-mini img {
    width: 30px;
    height: 30px;
    border-radius: var(--vb-radius-sm);
    object-fit: contain;
    background: white;
    padding: 2px;
}

.match-mini-card .score-mini {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--vb-text-dark);
}

.match-mini-card .date-mini {
    font-size: 0.8rem;
    color: var(--vb-text-light);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767.98px) {
    .teams-display {
        gap: 1rem;
    }

    .team-box img {
        width: 70px;
        height: 70px;
    }

    .vs-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .score-num {
        font-size: 2rem;
    }

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

    .photos-vs {
        padding: 1rem 0;
    }

    .profile-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-avatar-wrapper {
        margin-top: -5rem;
    }

    .profile-quick-stats {
        margin: 1rem 0 0 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .profile-tabs {
        padding: 0 1rem;
    }

    .profile-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .become-player-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PLAYER BIO PAGE
   ============================================ */
.player-hero-section {
    background: linear-gradient(135deg, var(--vb-dark) 0%, var(--vb-dark-lighter) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.player-hero-section::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 60s linear infinite;
}

.player-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.player-hero-avatar-wrapper {
    position: relative;
}

.player-hero-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: white;
}

.player-number {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.player-hero-info {
    color: white;
}

.player-hero-info .player-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.player-position-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--vb-radius-full);
    font-weight: 600;
    margin-bottom: 1rem;
}

.player-team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--vb-radius-lg);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.player-team-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.player-team-logo {
    width: 35px;
    height: 35px;
    border-radius: var(--vb-radius-sm);
    object-fit: contain;
    background: white;
    padding: 3px;
}

/* Player Stats Row */
.player-stats-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.player-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--vb-radius-xl);
    padding: 1.5rem 2rem;
    text-align: center;
    color: white;
    min-width: 120px;
    transition: all 0.3s ease;
}

.player-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.player-stat-card .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.player-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 900;
}

.player-stat-card .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* MVP Stat Card - Golden Style */
.mvp-stat-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%) !important;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.mvp-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.mvp-stat-card .stat-icon {
    color: #d97706 !important;
}

.mvp-stat-card .stat-value {
    color: #b45309 !important;
    text-shadow: 0 2px 10px rgba(180, 83, 9, 0.3);
}

.mvp-stat-card .stat-label {
    color: #92400e !important;
    font-weight: 700;
}

/* Player Match List */
.player-match-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.player-match-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--vb-light);
    border-radius: var(--vb-radius-lg);
    text-decoration: none;
    color: var(--vb-text-dark);
    transition: all 0.3s ease;
}

.player-match-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    color: var(--vb-text-dark);
}

.player-match-item .match-date {
    font-size: 0.85rem;
    color: var(--vb-text-light);
    white-space: nowrap;
}

.player-match-item .match-teams {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.player-match-item .match-team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-match-item .match-team img {
    width: 30px;
    height: 30px;
    border-radius: var(--vb-radius-sm);
    object-fit: contain;
    background: white;
    padding: 2px;
}

.player-match-item .match-score {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--vb-primary), var(--vb-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 0.75rem;
}

.player-match-item .match-arrow {
    color: var(--vb-text-light);
    transition: all 0.3s ease;
}

.player-match-item:hover .match-arrow {
    color: var(--vb-primary);
    transform: translateX(3px);
}

/* Player Info List */
.player-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.player-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--vb-light-darker);
}

.player-info-item:last-child {
    border-bottom: none;
}

.player-info-item .info-label {
    color: var(--vb-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-info-item .info-label i {
    color: var(--vb-primary);
}

.player-info-item .info-value {
    font-weight: 700;
    color: var(--vb-text-dark);
}

/* Video Card */
.video-card {
    background: var(--vb-light);
    border-radius: var(--vb-radius-lg);
    overflow: hidden;
}

.video-card .video-title {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .player-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .player-hero-avatar {
        width: 140px;
        height: 140px;
    }

    .player-hero-info .player-name {
        font-size: 1.75rem;
    }

    .player-stats-row {
        gap: 0.75rem;
    }

    .player-stat-card {
        padding: 1rem 1.25rem;
        min-width: 80px;
    }

    .player-stat-card .stat-value {
        font-size: 1.5rem;
    }

    .player-match-item .match-teams {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   COMMON DOTTED BACKGROUND PATTERN
   Use class 'page-dotted-bg' on any page wrapper
   ============================================ */
.page-dotted-bg {
    min-height: calc(100vh - 200px);
    padding: 50px 20px;
    background:
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    position: relative;
}

.page-dotted-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(249, 115, 22, 0.25) 2px, transparent 2px),
        radial-gradient(circle, rgba(13, 148, 136, 0.2) 2px, transparent 2px),
        radial-gradient(circle, rgba(251, 191, 36, 0.2) 2px, transparent 2px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    background-position: 0 0, 30px 30px, 60px 15px;
    pointer-events: none;
    animation: dotsFloat 20s ease-in-out infinite;
}

@keyframes dotsFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.page-dotted-bg>* {
    position: relative;
    z-index: 1;
}

/* Light variant for pages with light content */
.page-dotted-bg-light {
    min-height: calc(100vh - 200px);
    padding: 50px 20px;
    background:
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.page-dotted-bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(30, 58, 95, 0.08) 2px, transparent 2px),
        radial-gradient(circle, rgba(59, 130, 246, 0.06) 2px, transparent 2px);
    background-size: 50px 50px, 70px 70px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
}

.page-dotted-bg-light>* {
    position: relative;
    z-index: 1;
}

/* Premium Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fbbf24, #0d9488);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Page Container for dotted bg pages */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Title for dark bg */
.page-title-dark {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-title-dark i,
.page-title-dark .emoji {
    display: inline-block;
    animation: titleBounce 2s ease-in-out infinite;
}

@keyframes titleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}