:root {
  --background: hsl(0,0%,100%);
  --foreground: hsl(0,0%,8%);

  --card: hsl(0,0%,100%);
  --card-foreground: hsl(0,0%,8%);

  --popover: hsl(0,0%,100%);
  --popover-foreground: hsl(0,0%,8%);

  --primary: hsl(0,84%,50%);
  --primary-foreground: hsl(0,0%,100%);

  --secondary: hsl(0,0%,12%);
  --secondary-foreground: hsl(0,0%,98%);

  --muted: hsl(0,0%,95%);
  --muted-foreground: hsl(0,0%,40%);

  --accent: hsl(0,84%,50%);
  --accent-foreground: hsl(0,0%,100%);

  --destructive: hsl(0,84%,60%);
  --destructive-foreground: hsl(0,0%,98%);

  --border: hsl(0,0%,88%);
  --input: hsl(0,0%,88%);
  --ring: hsl(0,84%,50%);

  --radius: 0.5rem;

  --sidebar-background: hsl(0,0%,98%);
  --sidebar-foreground: hsl(0,0%,20%);
  --sidebar-primary: hsl(0,84%,50%);
  --sidebar-primary-foreground: hsl(0,0%,100%);
  --sidebar-accent: hsl(0,0%,94%);
  --sidebar-accent-foreground: hsl(0,0%,20%);
  --sidebar-border: hsl(0,0%,88%);
  --sidebar-ring: hsl(0,84%,50%);

  --wra-red: hsl(0,84%,50%);
  --wra-dark: hsl(0,0%,8%);
  --wra-gold: hsl(45,100%,55%);

  --primary: #ef4444;
  --border: hsl(0 0% 88%);
  --card: #ffffff;
  --card-foreground: #141414;
  --muted: hsl(0 0% 95%);
  --muted-foreground: #6b7280;
}

/* Dark mode */
.dark {
  --background: hsl(0,0%,6%);
  --foreground: hsl(0,0%,95%);

  --card: hsl(0,0%,10%);
  --card-foreground: hsl(0,0%,95%);

  --popover: hsl(0,0%,10%);
  --popover-foreground: hsl(0,0%,95%);

  --primary: hsl(0,84%,50%);
  --primary-foreground: hsl(0,0%,100%);

  --secondary: hsl(0,0%,16%);
  --secondary-foreground: hsl(0,0%,95%);

  --muted: hsl(0,0%,16%);
  --muted-foreground: hsl(0,0%,60%);

  --accent: hsl(0,84%,50%);
  --accent-foreground: hsl(0,0%,100%);

  --destructive: hsl(0,62%,30%);
  --destructive-foreground: hsl(0,0%,98%);

  --border: hsl(0,0%,20%);
  --input: hsl(0,0%,20%);
  --ring: hsl(0,84%,50%);

  --sidebar-background: hsl(0,0%,8%);
  --sidebar-foreground: hsl(0,0%,90%);
  --sidebar-primary: hsl(0,84%,50%);
  --sidebar-primary-foreground: hsl(0,0%,100%);
  --sidebar-accent: hsl(0,0%,14%);
  --sidebar-accent-foreground: hsl(0,0%,90%);
  --sidebar-border: hsl(0,0%,20%);
  --sidebar-ring: hsl(0,84%,50%);
}

/* Base styles */
* {
  border-color: var(--border);
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

.page-main {
  flex: 1;
}

.hero-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #171717;
  color: #f5f5f5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #171717 0%, #171717 60%, rgba(220, 38, 38, 0.2) 100%);
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
}

.hero-shape-top {
  width: 24rem;
  height: 24rem;
  top: -5rem;
  right: -5rem;
}

.hero-shape-bottom {
  width: 31rem;
  height: 31rem;
  bottom: -8rem;
  left: -8rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ef4444;
}

.hero-content h1 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.6);
}

.next-match-bar {
  background: #ef4444;
  padding: 1.5rem 0;
}

.next-match-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.next-match-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.next-match-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.vs-text {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.7;
}

.next-match-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.home-section {
  padding: 4rem 0;
}

.section-dark {
  background: #171717;
}

.section-head {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.section-dark .section-head h2 {
  color: #f5f5f5;
}

.section-link {
  color: #ef4444;
  font-size: 0.95rem;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  color: #171717;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.result-top {
  background: #171717;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.6);
}

.result-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1rem;
}

.team-score {
  text-align: center;
}

.team-score p {
  margin: 0 0 0.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.team-score strong {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.result-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.result-status.win {
  color: #22c55e;
}

.result-status.draw {
  color: #f59e0b;
}

.result-status.loss {
  color: #ef4444;
}

.player-card {
  text-decoration: none;
}

.player-thumb {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.2);
}

.player-body {
  padding: 1rem;
}

.player-top {
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.player-number {
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ef4444;
}

.player-position {
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444;
}

.player-body h3 {
  margin: 0.5rem 0 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.player-stats {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #6b7280;
}

.news-body {
  padding: 1.5rem;
}

.news-date {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.news-body h3 {
  margin: 0 0 0.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.news-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  line-clamp: 3; /* standard property */

  overflow: hidden;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .next-match-title {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 2rem;
  }

  .result-body {
    flex-direction: column;
  }
}

body {
  margin: 0;
  font-family: 'Roboto Flex', sans-serif;
  background: #ffffff;
  color: #171717;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-footer{
  border-top:1px solid #2a2a2a;
  background:#171717;
  color:#f5f5f5;
}

.footer-container{
  padding:32px 0;
}

.footer-row{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-logo{
  width:24px;
  height:24px;
  color:#ef4444;
}

.footer-title{
  font-family:'Teko',sans-serif;
  font-size:20px;
  font-weight:bold;
}

.footer-text{
  font-size:14px;
  color:rgba(255,255,255,0.6);
}

.footer-copy{
  font-size:12px;
  color:rgba(255,255,255,0.4);
}

@media (min-width:768px){
  .footer-row{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto Flex', Arial, sans-serif;
  background: #ffffff;
  color: #171717;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-main {
  flex: 1;
}

.hero-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #171717;
  color: #f5f5f5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #171717 0%, #171717 60%, rgba(239, 68, 68, 0.2) 100%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
}

.hero-shape-top {
  width: 24rem;
  height: 24rem;
  top: -5rem;
  right: -5rem;
}

.hero-shape-bottom {
  width: 31rem;
  height: 31rem;
  bottom: -8rem;
  left: -8rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ef4444;
}

.hero-title {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin-top: 8px;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.6);
}

.next-match-bar {
  background: #ef4444;
  padding: 24px 0;
}

.next-match-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.next-match-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.next-match-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.vs-text {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.7;
}

.next-match-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 15px;
  opacity: 0.85;
}

.venue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-section {
  padding: 64px 0;
}

.section-dark {
  background: #171717;
}

.section-head {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.section-head .light {
  color: #f5f5f5;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 15px;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  color: #171717;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.result-top {
  background: #171717;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.6);
}

.result-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 16px;
}

.team-score {
  text-align: center;
}

.team-score p {
  margin: 0 0 8px;
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.team-score strong {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.result-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.result-status.win {
  color: #22c55e;
}

.result-status.draw {
  color: #f59e0b;
}

.result-status.loss {
  color: #ef4444;
}

.player-thumb {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.2);
}

.player-body {
  padding: 16px;
}

.player-top {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player-number {
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ef4444;
}

.player-position {
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.1);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
}

.player-body h3 {
  margin: 8px 0 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.player-stats {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
}

.news-body {
  padding: 24px;
}

.news-date {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6b7280;
}

.news-body h3 {
  margin: 0 0 8px;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.news-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  line-clamp: 3; /* standard property */

  overflow: hidden;
}

.site-footer{
  border-top:1px solid #2a2a2a;
  background:#171717;
  color:#f5f5f5;
  min-height:64px;
  display:flex;
  align-items:center;
}

.footer-container {
  padding: 32px 0;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  color: #ef4444;
}

.footer-title {
  font-family: 'Teko', sans-serif;
  font-size: 20px;
  font-weight: bold;
}

.footer-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .next-match-title {
    flex-direction: column;
    gap: 8px;
    font-size: 2rem;
  }

  .result-body {
    flex-direction: column;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main,
.ann-page-main,
.ann-detail-main,
.players-page-main,
.profile-page-main {
  flex: 1;
}

.next-match{
  background:#EB1414;
  padding:24px 0;
  color:white;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.match-row{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}

.match-label{
  font-size:12px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
}

.match-teams{
  font-size:36px;
  font-weight:bold;
}

.match-teams .vs{
  font-size:20px;
  font-weight:300;
  opacity:0.7;
  margin:0 10px;
}

.match-info{
  display:flex;
  gap:16px;
  font-size:14px;
  opacity:0.85;
}

.venue{
  display:flex;
  align-items:center;
  gap:4px;
}

/* Responsive like md:flex-row */

@media (min-width:768px){

  .match-row{
    flex-direction:row;
    justify-content:space-between;
    text-align:left;
  }

}