/* ============================================
   LIGHT THEME - Complete Pastel Overrides
   Gatitas Mimosas - Aesthetic Pastel Rose
   ============================================ */

/* ============================================
   BASE COLORS (Override hardcoded colors)
   ============================================ */

[data-theme="light"] body {
  background-color: var(--bg-deep);
}

.low-perf[data-theme="light"] body {
  background-image: none !important;
  background-color: #fff5f8 !important;
}

/* ============================================
   NAVIGATION
   ============================================ */

[data-theme="light"] .nav-island {
  background: rgba(255, 235, 245, 0.95);
  box-shadow: 0 10px 40px rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .nav-links a {
  color: var(--text-primary);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  background: rgba(255, 143, 163, 0.2);
  color: var(--brand-wine);
}

[data-theme="light"] .nav-logo span {
  color: var(--text-primary);
}

[data-theme="light"] .btn-login-nav,
[data-theme="light"] .btn-user-nav {
  background: rgba(125, 60, 88, 0.1);
  color: var(--brand-wine);
  border-color: rgba(125, 60, 88, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

[data-theme="light"] .hero-v3 {
  background: linear-gradient(
    180deg,
    rgba(255, 240, 245, 0) 0%,
    rgba(255, 220, 230, 0.3) 100%
  );
}

[data-theme="light"] .hero-description {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-hashtag {
  color: var(--brand-wine);
}

[data-theme="light"] .hero-visual {
  background: radial-gradient(
    circle at center,
    rgba(255, 200, 220, 0.4),
    transparent 70%
  );
}

/* ============================================
   BUTTONS
   ============================================ */

[data-theme="light"] .btn-v3.btn-glass {
  background: rgba(255, 220, 235, 0.6);
  border-color: rgba(125, 60, 88, 0.25);
  color: var(--brand-wine);
}

[data-theme="light"] .btn-v3.btn-glass:hover {
  background: rgba(255, 200, 220, 0.8);
  border-color: var(--brand-wine);
}

[data-theme="light"] .btn-discord {
  background: rgba(88, 101, 242, 0.15);
  color: #5865F2;
  border-color: rgba(88, 101, 242, 0.3);
}

/* ============================================
   SPONSORS STRIP
   ============================================ */

[data-theme="light"] .sponsors-strip {
  background: linear-gradient(90deg, 
    rgba(255, 220, 235, 0.8) 0%,
    rgba(255, 230, 240, 0.6) 50%,
    rgba(255, 220, 235, 0.8) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .sponsor-logo {
  color: var(--brand-wine);
  opacity: 0.8;
}

/* ============================================
   STATS SECTION
   ============================================ */

[data-theme="light"] .stats-section {
  background: linear-gradient(135deg, 
    rgba(255, 210, 225, 0.5) 0%,
    rgba(255, 230, 200, 0.3) 100%
  );
  border-radius: 24px;
  border: 1px solid rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .stat-item h3 {
  color: var(--brand-wine);
}

[data-theme="light"] .stat-item p {
  color: var(--text-secondary);
}

/* ============================================
   GLASS BOXES & CARDS
   ============================================ */

[data-theme="light"] .glass-box {
  background: linear-gradient(135deg, 
    rgba(255, 235, 240, 0.9) 0%,
    rgba(255, 220, 230, 0.8) 100%
  );
  border: 1px solid rgba(125, 60, 88, 0.15);
  box-shadow: 0 10px 40px rgba(125, 60, 88, 0.08);
}

[data-theme="light"] .glass-box h2,
[data-theme="light"] .glass-box h3 {
  color: var(--brand-wine);
}

[data-theme="light"] .glass-box p {
  color: var(--text-secondary);
}

/* Philosophy Section */
[data-theme="light"] .philosophy-section {
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(255, 220, 235, 0.3) 50%,
    transparent 100%
  );
}

[data-theme="light"] .philosophy-title {
  color: var(--brand-wine);
}

[data-theme="light"] .philosophy-text {
  color: var(--text-secondary);
}

[data-theme="light"] .philosophy-image-wrapper {
  box-shadow: 0 20px 60px rgba(125, 60, 88, 0.2);
}

/* ============================================
   DISCORD CTA SECTION
   ============================================ */

[data-theme="light"] .discord-cta {
  background: linear-gradient(135deg, 
    rgba(255, 210, 225, 0.6) 0%,
    rgba(255, 235, 200, 0.4) 100%
  );
  border: 1px solid rgba(125, 60, 88, 0.15);
  border-radius: 24px;
}

[data-theme="light"] .discord-title {
  color: var(--brand-wine);
}

[data-theme="light"] .discord-text {
  color: var(--text-secondary);
}

[data-theme="light"] .btn-discord {
  background: #5865F2;
  color: white;
}

/* ============================================
   TEAM CARDS (BENTO)
   ============================================ */

[data-theme="light"] .team-bento {
  background: linear-gradient(180deg, 
    rgba(255, 235, 245, 0.9) 0%,
    rgba(255, 220, 235, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .team-bento:hover {
  background: linear-gradient(180deg, 
    rgba(255, 225, 240, 0.95) 0%,
    rgba(255, 210, 225, 1) 100%
  );
  border-color: var(--brand-pink);
}

[data-theme="light"] .bento-content h3 {
  color: var(--brand-wine);
}

[data-theme="light"] .bento-description {
  color: var(--text-secondary);
}

[data-theme="light"] .bento-link-text {
  color: var(--brand-wine);
}

[data-theme="light"] .bento-corner {
  background: rgba(255, 200, 220, 0.8);
  border-color: var(--brand-wine);
}

/* ============================================
   FOOTER
   ============================================ */

[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, 
    rgba(255, 235, 245, 0.9) 0%,
    rgba(255, 220, 235, 1) 100%
  );
  border-top-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .footer-glow {
  background: radial-gradient(ellipse, 
    rgba(255, 143, 163, 0.15) 0%, 
    transparent 70%
  );
}

[data-theme="light"] .footer-logo span {
  color: var(--text-primary);
}

[data-theme="light"] .footer-tagline {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-social a {
  background: rgba(125, 60, 88, 0.08);
  color: var(--brand-wine);
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .footer-social a:hover {
  background: var(--brand-wine);
  color: white;
  border-color: var(--brand-wine);
}

[data-theme="light"] .footer-column h4 {
  color: var(--brand-wine);
}

[data-theme="light"] .footer-column ul li a {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-column ul li a:hover {
  color: var(--brand-wine);
}

[data-theme="light"] .footer-bottom {
  background: rgba(125, 60, 88, 0.05);
  border-top-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .footer-bottom p {
  color: var(--text-muted);
}

[data-theme="light"] .scroll-to-top {
  background: rgba(125, 60, 88, 0.1);
  color: var(--brand-wine);
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .scroll-to-top:hover {
  background: var(--brand-wine);
  color: white;
}

/* ============================================
   MOBILE MENU
   ============================================ */

[data-theme="light"] .mobile-nav-overlay {
  background: linear-gradient(
    135deg,
    rgba(255, 240, 248, 0.99) 0%,
    rgba(255, 225, 235, 0.99) 100%
  );
}

[data-theme="light"] .mobile-menu-bg-decoration {
  background: radial-gradient(
    circle,
    rgba(255, 143, 163, 0.2) 0%,
    transparent 70%
  );
}

[data-theme="light"] .mobile-menu-glow {
  background: radial-gradient(
    circle,
    rgba(244, 169, 66, 0.15) 0%,
    transparent 60%
  );
}

[data-theme="light"] .mobile-menu-header {
  border-bottom-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .mobile-menu-logo span {
  color: var(--text-primary);
}

[data-theme="light"] .mobile-menu-close {
  background: rgba(125, 60, 88, 0.08);
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .mobile-menu-close i {
  color: var(--text-primary);
}

[data-theme="light"] .mobile-menu-close:hover {
  background: rgba(255, 143, 163, 0.2);
  border-color: var(--brand-pink);
}

[data-theme="light"] .mobile-nav-link {
  background: rgba(255, 220, 235, 0.4);
  border-color: transparent;
}

[data-theme="light"] .mobile-nav-link .nav-text {
  color: var(--text-primary);
}

[data-theme="light"] .mobile-nav-link .nav-number {
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-nav-link .nav-arrow {
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
  background: rgba(255, 200, 220, 0.6);
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .mobile-nav-link:hover .nav-text,
[data-theme="light"] .mobile-nav-link.active .nav-text {
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-auth-btn {
  background: linear-gradient(135deg, 
    rgba(255, 200, 220, 0.6) 0%,
    rgba(255, 220, 200, 0.4) 100%
  );
  border-color: rgba(125, 60, 88, 0.2);
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-auth-btn i {
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-theme-toggle {
  background: rgba(255, 210, 230, 0.6);
  border-color: rgba(125, 60, 88, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .mobile-theme-toggle i {
  color: var(--brand-wine);
}

[data-theme="light"] .mobile-menu-footer span {
  color: var(--text-muted);
}

[data-theme="light"] .mobile-menu-footer .footer-line {
  background: linear-gradient(
    90deg,
    transparent,
    var(--brand-wine),
    transparent
  );
}

/* ============================================
   MODALS (Login/Register)
   ============================================ */

[data-theme="light"] .modal-overlay {
  background: rgba(74, 26, 46, 0.5);
}

[data-theme="light"] .modal-glass {
  background: linear-gradient(135deg, 
    rgba(255, 245, 250, 0.98) 0%,
    rgba(255, 235, 245, 0.98) 100%
  );
  border-color: rgba(125, 60, 88, 0.2);
  box-shadow: 0 25px 80px rgba(74, 26, 46, 0.3);
}

[data-theme="light"] .modal-header h2 {
  color: var(--brand-wine);
}

[data-theme="light"] .modal-header p {
  color: var(--text-secondary);
}

[data-theme="light"] .modal-close {
  color: var(--text-muted);
}

[data-theme="light"] .modal-close:hover {
  color: var(--brand-wine);
}

[data-theme="light"] .input-group label {
  color: var(--text-primary);
}

[data-theme="light"] .input-group input {
  background: rgba(255, 225, 235, 0.5);
  border-color: rgba(125, 60, 88, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .input-group input::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .input-group input:focus {
  background: rgba(255, 235, 245, 0.8);
  border-color: var(--brand-pink);
}

[data-theme="light"] .password-wrapper i {
  color: var(--text-muted);
}

[data-theme="light"] .modal-footer a {
  color: var(--brand-wine);
}

[data-theme="light"] .modal-footer span {
  color: var(--text-muted);
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */

[data-theme="light"] .account-page {
  background: linear-gradient(
    145deg,
    rgba(255, 245, 250, 0.98) 0%,
    rgba(255, 230, 240, 0.98) 100%
  );
}

[data-theme="light"] .account-preview h2 {
  color: var(--text-muted);
}

[data-theme="light"] .player-card-preview {
  background: linear-gradient(135deg, 
    rgba(255, 235, 245, 0.9) 0%,
    rgba(255, 220, 235, 0.9) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .player-card__image {
  background: linear-gradient(135deg, 
    rgba(255, 200, 220, 0.4) 0%,
    rgba(255, 180, 200, 0.5) 100%
  );
}

[data-theme="light"] .player-card__placeholder {
  color: rgba(125, 60, 88, 0.3);
}

[data-theme="light"] .player-card__info h3 {
  color: var(--text-primary);
}

[data-theme="light"] .player-card__bio {
  color: var(--text-secondary);
}

[data-theme="light"] .account-form-container {
  background: linear-gradient(135deg, 
    rgba(255, 240, 248, 0.9) 0%,
    rgba(255, 225, 238, 0.9) 100%
  );
  border-color: rgba(125, 60, 88, 0.12);
}

[data-theme="light"] .form-section {
  border-bottom-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .form-section h2 {
  color: var(--brand-wine);
}

[data-theme="light"] .form-group label {
  color: var(--text-primary);
}

[data-theme="light"] .form-group input {
  background: rgba(255, 230, 240, 0.6);
  border-color: rgba(125, 60, 88, 0.15);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .form-group input:focus {
  background: rgba(255, 240, 248, 0.9);
  border-color: var(--brand-pink);
}

[data-theme="light"] .btn-upload {
  background: rgba(255, 210, 225, 0.6);
  border-color: rgba(125, 60, 88, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .btn-upload:hover {
  background: rgba(255, 190, 210, 0.8);
}

[data-theme="light"] .photo-input small {
  color: var(--text-muted);
}

[data-theme="light"] .btn-logout {
  background: rgba(255, 120, 120, 0.15);
  border-color: rgba(255, 120, 120, 0.3);
  color: #c0392b;
}

[data-theme="light"] .btn-logout:hover {
  background: rgba(255, 120, 120, 0.25);
}

.low-perf[data-theme="light"] .glass-box,
.low-perf[data-theme="light"] .team-bento,
.low-perf[data-theme="light"] .account-form-container,
.low-perf[data-theme="light"] .modal-glass {
  background: #fff !important;
  background-image: none !important;
}
[data-theme="light"] #descriptionEditor {
  background: rgba(255, 235, 245, 0.6);
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] #descriptionEditor .ql-editor {
  color: var(--text-primary);
}

[data-theme="light"] #descriptionEditor .ql-editor.ql-blank::before {
  color: var(--text-muted);
}

[data-theme="light"] .ql-toolbar.ql-snow {
  background: rgba(255, 220, 235, 0.5);
  border-bottom-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .ql-snow .ql-stroke {
  stroke: var(--text-secondary);
}

[data-theme="light"] .ql-snow .ql-fill {
  fill: var(--text-secondary);
}

[data-theme="light"] .ql-snow .ql-picker {
  color: var(--text-secondary);
}

/* ============================================
   ACHIEVEMENTS PAGE
   ============================================ */

[data-theme="light"] .achievements-hero {
  background: linear-gradient(135deg, 
    rgba(255, 235, 245, 0.9) 0%,
    rgba(255, 220, 200, 0.7) 100%
  );
}

[data-theme="light"] .achievement-card {
  background: linear-gradient(135deg, 
    rgba(255, 240, 248, 0.95) 0%,
    rgba(255, 225, 238, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .achievement-card:hover {
  border-color: var(--brand-pink);
}

/* ============================================
   COMMUNITY PAGE - Complete Overrides
   ============================================ */

/* Hero Section */
[data-theme="light"] .community-hero {
  background: transparent;
}

[data-theme="light"] .pill-badge {
  background: rgba(255, 220, 235, 0.8);
  border-color: rgba(125, 60, 88, 0.2);
  color: var(--brand-wine);
}

[data-theme="light"] .hero-title {
  text-shadow: 0 5px 20px rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(
    180deg,
    var(--brand-wine) 20%,
    var(--brand-gold) 70%,
    rgba(244, 169, 66, 0.3) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-secondary);
}

/* Glow backgrounds - soften for light */
[data-theme="light"] .glow-bg-top {
  background: radial-gradient(
    circle at center,
    rgba(255, 143, 163, 0.15) 0%,
    transparent 60%
  );
}

[data-theme="light"] .glow-bg-bottom {
  background: radial-gradient(
    circle,
    rgba(244, 169, 66, 0.1) 0%,
    transparent 70%
  );
}

/* Bento Grid Cards */
[data-theme="light"] .bento-card {
  background: linear-gradient(135deg, 
    rgba(255, 235, 245, 0.95) 0%,
    rgba(255, 220, 235, 0.9) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .bento-card:hover {
  background: linear-gradient(135deg, 
    rgba(255, 225, 240, 0.98) 0%,
    rgba(255, 210, 225, 0.95) 100%
  );
  border-color: var(--brand-pink);
  box-shadow: 0 20px 40px rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .card-overlay {
  background: linear-gradient(
    to top,
    rgba(74, 26, 46, 0.9) 10%,
    rgba(74, 26, 46, 0.5) 60%,
    rgba(74, 26, 46, 0.2) 100%
  );
}

[data-theme="light"] .card-tournaments h3 {
  color: #fff;
}

[data-theme="light"] .card-tournaments p {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .btn-glass-sm {
  background: rgba(255, 220, 235, 0.9);
  border-color: rgba(125, 60, 88, 0.3);
  color: var(--brand-wine);
}

[data-theme="light"] .btn-glass-sm:hover {
  background: var(--brand-wine);
  color: white;
}

/* Streamers & Art Cards */
[data-theme="light"] .card-streamers,
[data-theme="light"] .card-art {
  background: linear-gradient(135deg, 
    rgba(255, 238, 248, 0.98) 0%,
    rgba(255, 225, 240, 0.95) 100%
  );
}

[data-theme="light"] .card-streamers h3,
[data-theme="light"] .card-art h3 {
  color: var(--text-primary);
}

[data-theme="light"] .card-streamers p,
[data-theme="light"] .card-art p {
  color: var(--text-secondary);
}

[data-theme="light"] .icon-box.purple {
  background: rgba(157, 78, 221, 0.15);
  border-color: rgba(157, 78, 221, 0.25);
}

[data-theme="light"] .icon-box.pink {
  background: rgba(255, 0, 127, 0.12);
  border-color: rgba(255, 0, 127, 0.2);
}

[data-theme="light"] .link-arrow {
  color: var(--text-secondary);
}

[data-theme="light"] .link-arrow:hover {
  color: var(--brand-wine);
}

/* Teams Showcase */
[data-theme="light"] .teams-showcase {
  border-top-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .showcase-header h3 {
  color: var(--text-primary);
}

[data-theme="light"] .showcase-header p {
  color: var(--text-secondary);
}

[data-theme="light"] .btn-glass-outline {
  border-color: rgba(125, 60, 88, 0.3);
  color: var(--text-primary);
}

[data-theme="light"] .btn-glass-outline:hover {
  border-color: var(--brand-wine);
  color: var(--brand-wine);
  background: rgba(255, 220, 235, 0.5);
}

/* Squad Cards */
[data-theme="light"] .squad-card {
  background: linear-gradient(160deg, 
    rgba(255, 240, 248, 0.98) 0%,
    rgba(255, 225, 240, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .squad-card:hover {
  background: linear-gradient(160deg, 
    rgba(255, 230, 245, 1) 0%,
    rgba(255, 215, 235, 0.98) 100%
  );
  border-color: rgba(125, 60, 88, 0.3);
}

[data-theme="light"] .squad-card::before {
  background: radial-gradient(
    circle at top right,
    rgba(255, 143, 163, 0.15),
    transparent 50%
  );
}

[data-theme="light"] .squad-icon {
  background: var(--brand-wine);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .div-badge {
  background: rgba(125, 60, 88, 0.1);
  color: var(--text-secondary);
}

[data-theme="light"] .squad-info h4 {
  color: var(--text-primary);
}

[data-theme="light"] .stats-row {
  border-top-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] .stat span {
  color: var(--text-muted);
}

[data-theme="light"] .stat strong {
  color: var(--text-primary);
}

/* Status Dot & Labels */
[data-theme="light"] .label {
  color: var(--text-primary);
}

/* Rank Colors - keep visible on light */
[data-theme="light"] .rank-gold { border-top-color: #d4a700; }
[data-theme="light"] .rank-silver { border-top-color: #888; }
[data-theme="light"] .rank-diamond { border-top-color: #7cd5e5; }
[data-theme="light"] .rank-plat { border-top-color: #00c4d4; }
[data-theme="light"] .rank-emerald { border-top-color: #3ba55d; }

/* Player Cards */
[data-theme="light"] .player-card {
  background: linear-gradient(180deg, 
    rgba(255, 240, 248, 0.98) 0%,
    rgba(255, 225, 238, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.12);
}

[data-theme="light"] .player-card:hover {
  background: linear-gradient(180deg, 
    rgba(255, 230, 245, 1) 0%,
    rgba(255, 215, 230, 0.98) 100%
  );
  border-color: rgba(125, 60, 88, 0.25);
}

[data-theme="light"] .player-card h3 {
  color: var(--text-primary);
}

[data-theme="light"] .player-avatar {
  background: linear-gradient(135deg, #f8e0e8 0%, #ffe0eb 100%);
  color: var(--brand-wine);
  border-color: rgba(125, 60, 88, 0.15);
}

/* Section Title */
[data-theme="light"] .section-title-sm {
  color: var(--text-secondary);
}

[data-theme="light"] .section-title {
  color: var(--text-primary);
}

/* Team Profile */
[data-theme="light"] .team-profile-logo {
  background: var(--brand-wine);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .team-profile-info h1 {
  color: var(--text-primary);
  text-shadow: none;
}

[data-theme="light"] .team-profile-info p {
  color: var(--text-secondary);
}

/* Streamers Page */
[data-theme="light"] .page-streamers {
  background-color: #fff5f8;
  background-image:
    linear-gradient(rgba(125, 60, 88, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 60, 88, 0.03) 1px, transparent 1px);
  color: var(--text-primary);
}

/* Glass Surface Override */
[data-theme="light"] .glass-surface,
[data-theme="light"] [class*="glass"] {
  background: rgba(255, 235, 245, 0.8);
  border-color: rgba(125, 60, 88, 0.15);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

[data-theme="light"] .contact-form {
  background: linear-gradient(135deg, 
    rgba(255, 242, 248, 0.95) 0%,
    rgba(255, 228, 238, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .contact-form label {
  color: var(--text-primary);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: rgba(255, 235, 245, 0.6);
  border-color: rgba(125, 60, 88, 0.15);
  color: var(--text-primary);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form textarea:focus {
  background: rgba(255, 245, 250, 0.9);
  border-color: var(--brand-pink);
}

/* ============================================
   TOURNAMENTS PAGE - Complete Overrides
   ============================================ */

[data-theme="light"] .tournament-card {
  background: linear-gradient(135deg, 
    rgba(255, 240, 248, 0.95) 0%,
    rgba(255, 228, 240, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

/* Page Container */
[data-theme="light"] .page-container {
  background: transparent;
}

/* Construction Container (the dark card with image) */
[data-theme="light"] .construction-container {
  background-color: rgba(255, 230, 240, 0.8);
  border-color: rgba(125, 60, 88, 0.2);
  box-shadow: 0 20px 60px rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .construction-overlay h3 {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Page Description */
[data-theme="light"] .page-description {
  color: var(--text-secondary);
}

/* Timeline */
[data-theme="light"] .timeline-item {
  background: linear-gradient(135deg, 
    rgba(255, 240, 248, 0.9) 0%,
    rgba(255, 228, 240, 0.85) 100%
  );
  border-color: rgba(125, 60, 88, 0.12);
}

[data-theme="light"] .timeline-item:hover {
  background: linear-gradient(135deg, 
    rgba(255, 230, 245, 0.95) 0%,
    rgba(255, 218, 235, 0.9) 100%
  );
  border-color: var(--brand-pink);
}

[data-theme="light"] .timeline-date {
  color: var(--brand-wine);
  border-right-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .timeline-result {
  color: var(--text-primary);
}

/* Text Gold Glow - adjust for light */
[data-theme="light"] .text-gold-glow {
  color: var(--brand-wine);
  text-shadow: none;
}

/* ============================================
   TEAM DETAIL PAGE - Complete Overrides  
   ============================================ */

/* Hero Section - Override the dark gradient */
[data-theme="light"] .team-hero-v2 {
  background: linear-gradient(
    to bottom, 
    rgba(255, 240, 248, 0.95) 0%,
    rgba(255, 225, 238, 0.9) 100%
  ) !important;
}

[data-theme="light"] .big-team-logo {
  box-shadow: 0 0 40px rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .section-title {
  color: var(--text-primary);
}

[data-theme="light"] .section-title .text-gold {
  color: var(--brand-wine) !important;
}

[data-theme="light"] .section-hint {
  color: var(--text-secondary);
}

/* Player Cards */
[data-theme="light"] .player-card {
  background: linear-gradient(180deg, 
    rgba(255, 240, 248, 0.98) 0%,
    rgba(255, 225, 238, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .player-card:hover {
  background: linear-gradient(180deg, 
    rgba(255, 230, 245, 1) 0%,
    rgba(255, 215, 230, 0.98) 100%
  );
  border-color: var(--brand-pink);
  box-shadow: 0 10px 30px rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .card-details {
  background: linear-gradient(
    to top, 
    rgba(255, 235, 245, 0.98) 0%,
    rgba(255, 235, 245, 0.8) 60%,
    transparent 100%
  );
}

[data-theme="light"] .player-nick {
  color: var(--text-primary);
}

[data-theme="light"] .player-role {
  color: var(--brand-wine);
}

[data-theme="light"] .role-icon {
  background: var(--brand-pink);
  color: white;
}

/* Staff Cards */
[data-theme="light"] .staff-card {
  background: linear-gradient(135deg, 
    rgba(255, 238, 248, 0.95) 0%,
    rgba(255, 225, 240, 0.9) 100%
  );
  border-color: rgba(125, 60, 88, 0.12);
}

[data-theme="light"] .staff-card:hover {
  background: linear-gradient(135deg, 
    rgba(255, 228, 245, 1) 0%,
    rgba(255, 215, 235, 0.95) 100%
  );
  border-color: var(--brand-pink);
}

[data-theme="light"] .staff-info h3 {
  color: var(--text-primary);
}

[data-theme="light"] .staff-role {
  color: var(--text-secondary);
}

[data-theme="light"] .staff-photo {
  border-color: rgba(125, 60, 88, 0.2);
}

/* Player Modal */
[data-theme="light"] .player-modal {
  background: rgba(74, 26, 46, 0.6);
}

[data-theme="light"] .player-modal__content {
  background: linear-gradient(145deg, 
    rgba(255, 245, 250, 0.99) 0%,
    rgba(255, 235, 245, 0.99) 100%
  );
  border-color: rgba(125, 60, 88, 0.2);
}

[data-theme="light"] .player-modal__card-wrapper {
  background: rgba(255, 220, 235, 0.3);
  border-right-color: rgba(125, 60, 88, 0.1);
}

[data-theme="light"] #modalNickBig {
  color: var(--text-primary);
}

[data-theme="light"] .player-modal__subtitle {
  color: var(--brand-wine);
}

[data-theme="light"] .player-modal__bio h3 {
  color: var(--text-muted);
}

[data-theme="light"] .bio-content {
  color: var(--text-secondary);
}

[data-theme="light"] .player-modal__close {
  color: var(--text-primary);
}

[data-theme="light"] .player-modal__close:hover {
  color: var(--brand-wine);
}

/* Community Team Detail overrides */
[data-theme="light"] body.community_team_detail {
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

/* Generic member-card (if used elsewhere) */
[data-theme="light"] .member-card {
  background: linear-gradient(135deg, 
    rgba(255, 242, 250, 0.95) 0%,
    rgba(255, 228, 242, 0.95) 100%
  );
  border-color: rgba(125, 60, 88, 0.15);
}

[data-theme="light"] .member-card:hover {
  border-color: var(--brand-pink);
}

/* ============================================
   SCROLLBAR
   ============================================ */

[data-theme="light"] ::-webkit-scrollbar {
  width: 10px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(255, 235, 245, 0.8);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(125, 60, 88, 0.3);
  border-radius: 5px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 60, 88, 0.5);
}

/* ============================================
   SELECTION
   ============================================ */

[data-theme="light"] ::selection {
  background: rgba(255, 143, 163, 0.4);
  color: var(--brand-wine);
}

/* ============================================
   TOURNEYS PAGE (Light Mode Redesign)
   ============================================ */

[data-theme='light'] .page-container {
  background: transparent;
}

[data-theme='light'] .tournaments-hero::after {
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 60%);
  opacity: 0.6;
}

[data-theme='light'] .page-title {
  color: var(--brand-wine);
  text-shadow: none;
}

[data-theme='light'] .text-gold-glow {
  color: #d4af37; /* Darker gold for light bg */
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

[data-theme='light'] .page-subtitle {
  color: var(--text-secondary);
}

[data-theme='light'] .section-title {
  color: var(--brand-wine);
}

[data-theme='light'] .section-header {
  border-bottom-color: transparent;
}

/* Tournament Card Overrides */
[data-theme='light'] .tournament-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(125, 60, 88, 0.15);
  box-shadow: 0 4px 15px rgba(125, 60, 88, 0.05);
}

[data-theme='light'] .tournament-card:hover {
  background: rgba(255, 250, 252, 0.95);
  border-color: var(--brand-pink);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(125, 60, 88, 0.15);
}

[data-theme='light'] .tournament-card__banner--default {
  background: linear-gradient(45deg, #ffd1dc, #fff0f5);
}

[data-theme='light'] .tournament-card__banner--default i {
  color: rgba(125, 60, 88, 0.15);
}

[data-theme='light'] .tournament-card__banner::after {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
}

[data-theme='light'] .status-badge {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

[data-theme='light'] .status-badge.open {
  background: #10b981;
  color: #fff;
  border: none;
}

[data-theme='light'] .status-badge.upcoming {
  background: #f59e0b;
  color: #fff;
  border: none;
}

[data-theme='light'] .tournament-card__title {
  color: var(--brand-wine);
}

[data-theme='light'] .tournament-card__organizer {
  color: var(--text-secondary);
}

[data-theme='light'] .tournament-card__organizer span {
  color: var(--brand-wine) !important;
}

/* Card Stats */
[data-theme='light'] .stats-grid {
  background: rgba(125, 60, 88, 0.03);
}

[data-theme='light'] .stat-label {
  color: var(--text-muted);
}

[data-theme='light'] .stat-value {
  color: var(--text-primary);
}

[data-theme='light'] .stat-value i {
  color: #d4af37; /* Darker gold */
}

/* Buttons */
[data-theme='light'] .btn-register-card {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: #b58900;
}

[data-theme='light'] .btn-register-card:hover {
  background: #ffd700;
  color: var(--brand-wine);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Compact List */
[data-theme='light'] .list-item {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(125, 60, 88, 0.1);
}

[data-theme='light'] .list-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--brand-pink);
}

[data-theme='light'] .list-info h4 {
  color: var(--text-primary);
}

[data-theme='light'] .list-meta {
  color: var(--text-secondary);
}

[data-theme='light'] .list-stat div {
  color: var(--text-primary) !important;
}

[data-theme='light'] .list-status span:last-child {
  color: var(--text-secondary) !important;
}

[data-theme='light'] .list-action button {
  border-color: rgba(125, 60, 88, 0.2) !important;
  color: var(--brand-wine) !important;
}

[data-theme='light'] .list-action button:hover {
  background: var(--brand-wine) !important;
  border-color: var(--brand-wine) !important;
  color: #fff !important;
}

