/* Zoka - Premier League Dark Theme with Coursera-level Refined Vietnamese Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&subset=vietnamese,latin,latin-ext&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
  --color-orange: #ef4427;
  --color-orange-dark: #b82d15;
  --color-dark: #09090b;
  --color-panel: #121215;
  --color-neon-green: #00ff85;
  --color-coral-red: #eb003c;
  --color-cyan: #00e5ff;
  --color-gold: #ffd700;
  
  --font-body: 'Source Sans 3', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Source Sans 3', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: #09090b;
  color: #f8fafc;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(239, 68, 39, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 39, 0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 12V20M12 16H20' stroke='rgba(255,255,255,0.04)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-attachment: fixed;
  min-height: 100vh;
}

/* Refined Typography (Coursera style: crisp, balanced, no clipping of Vietnamese diacritics) */
.font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 800;
  text-rendering: optimizeLegibility;
}

.font-subheading {
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  font-weight: 700;
}

/* Google Material Icons & Symbols styling */
.material-symbols-outlined,
.material-icons {
  font-family: 'Material Symbols Outlined', 'Material Icons', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Modern Tactical Plus (+) Grid Pattern */
.bg-pattern-plus,
.bg-speed-lines,
.bg-speed-lines-neon {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 12V20M12 16H20' stroke='rgba(255,255,255,0.08)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 32px 32px;
}

.bg-pattern-plus-orange {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 12V20M12 16H20' stroke='rgba(239,68,39,0.12)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 32px 32px;
}

/* Glow effects */
.glow-orange {
  box-shadow: 0 0 25px rgba(239, 68, 39, 0.35);
}

.glow-orange-sm {
  box-shadow: 0 0 10px rgba(239, 68, 39, 0.25);
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(18, 18, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  background: rgba(24, 24, 28, 0.95);
  border-color: rgba(239, 68, 39, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #120014;
}
::-webkit-scrollbar-thumb {
  background: #37003c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00ff85;
}

/* Football Pitch Visualizer */
.pitch-container {
  background: #1b5e20;
  background-image: 
    repeating-linear-gradient(0deg, #1b5e20, #1b5e20 40px, #2e7d32 40px, #2e7d32 80px);
  position: relative;
  border: 4px solid #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.pitch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* EA FC / FIFA Card Frame Style */
.fifa-card {
  width: 320px;
  height: 480px;
  background: linear-gradient(135deg, #1e0024 0%, #37003c 50%, #0a000c 100%);
  border: 2px solid #00ff85;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 133, 0.3);
  overflow: hidden;
}

.fifa-card.gold {
  background: linear-gradient(135deg, #443003 0%, #d4af37 50%, #291b00 100%);
  border-color: #ffd700;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px rgba(255, 215, 0, 0.4);
}

.fifa-card.special {
  background: linear-gradient(135deg, #09001f 0%, #4b0082 50%, #eb003c 100%);
  border-color: #00e5ff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px rgba(0, 229, 255, 0.4);
}
