/* ============================================
   KORAX.ro — Counter-Strike 2 Esports Organization
   Stylesheet (fără variabile CSS, valori scrise direct
   pentru compatibilitate maximă cu editoare mai vechi)
   ============================================ */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0a0b09;
  color: #eef1e6;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid #b9fb1d;
  outline-offset: 3px;
}

/* Fundal tactic discret, pe toată pagina */
.tactical-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(185, 251, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 251, 29, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 0%, transparent 70%);
}

/* ============================================
   Header / Navigație
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 9, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c211a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark-img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(185, 251, 29, 0.35));
}

.logo-word-img {
  height: 20px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.nav-cta) {
  font-size: 15px;
  color: #9aa38f;
  position: relative;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.nav a:not(.nav-cta):hover,
.nav a.is-active { color: #eef1e6; }

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #b9fb1d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.nav-cta):hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid #b9fb1d;
  color: #b9fb1d;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: #b9fb1d;
  color: #0a0b09;
  box-shadow: 0 0 22px rgba(185, 251, 29, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #eef1e6;
  border-radius: 1px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid #1c211a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: #b9fb1d;
  opacity: 0.5;
  pointer-events: none;
}

.rifle-silhouette {
  position: absolute;
  right: -60px;
  bottom: -10px;
  width: 640px;
  opacity: 0.06;
  transform: scaleX(-1);
}

.crosshair {
  position: absolute;
  width: 180px;
  opacity: 0.1;
}

.crosshair-1 { top: 12%; left: 4%; width: 130px; }
.crosshair-2 { bottom: 8%; left: 40%; width: 90px; opacity: 0.08; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-logo {
  width: 320px;
  max-width: 70vw;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 26px rgba(185, 251, 29, 0.3));
}

.eyebrow-line {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #b9fb1d;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 2px solid #6b8a17;
}

.hero-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.16;
  margin: 0 0 24px;
  color: #eef1e6;
}

.hero-accent {
  color: #b9fb1d;
  text-shadow: 0 0 24px rgba(185, 251, 29, 0.45);
}

.hero-sub {
  font-size: 17px;
  color: #9aa38f;
  max-width: 60ch;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Butoane
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #b9fb1d;
  color: #0a0b09;
}

.btn-primary:hover {
  background: #cbff4d;
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(185, 251, 29, 0.45);
}

.btn-ghost {
  border-color: #232a1c;
  color: #eef1e6;
}

.btn-ghost:hover {
  border-color: #b9fb1d;
  color: #b9fb1d;
}

.btn-large { padding: 17px 34px; font-size: 16px; }
.icon-discord, .icon-inline { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================
   Secțiuni comune
   ============================================ */
.section { position: relative; z-index: 1; padding: 84px 0; }

.section-alt {
  background: #0e110d;
  border-top: 1px solid #1c211a;
  border-bottom: 1px solid #1c211a;
}

.section-kicker {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #b9fb1d;
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 2px solid #6b8a17;
}

.section-title {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 44px;
  max-width: 34ch;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.section-head .section-title { margin-bottom: 0; }

h1, h2, h3 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; }

h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; margin: 0 0 18px; }

.page-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid #1c211a;
}

.page-header .section-kicker { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 14px; }
.page-header p { color: #9aa38f; max-width: 62ch; margin: 0; }

/* ============================================
   Pagina Acasă — Meci / Rezultat
   ============================================ */
.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1c211a;
  border: 1px solid #1c211a;
}

.match-card {
  background: #0e110d;
  padding: 30px 32px;
  position: relative;
}

.match-label {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #6d766a;
  margin-bottom: 18px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.team-badge {
  width: 48px;
  height: 48px;
  border: 1px solid #232a1c;
  display: grid;
  place-items: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  color: #b9fb1d;
  background: #12150f;
}

.match-team span { font-size: 13.5px; color: #eef1e6; }

.match-vs {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  color: #6d766a;
  font-size: 13px;
}

.match-score {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 22px;
  color: #b9fb1d;
}

.match-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #9aa38f;
  border-top: 1px solid #1c211a;
  padding-top: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border: 1px solid #232a1c;
  color: #9aa38f;
}

.badge-win { color: #b9fb1d; border-color: #3c5a11; }
.badge-loss { color: #8f9788; border-color: #232a1c; }
.badge-pending { color: #eef1e6; border-color: #b9fb1d; }

.placeholder-note {
  font-size: 12px;
  color: #6d766a;
  margin-top: 14px;
  font-style: italic;
}

/* ============================================
   Sponsori
   ============================================ */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sponsor-slot {
  aspect-ratio: 3 / 2;
  border: 1px dashed #232a1c;
  display: grid;
  place-items: center;
  color: #6d766a;
  font-size: 13px;
  text-align: center;
  padding: 12px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sponsor-slot:hover {
  border-color: #b9fb1d;
  color: #b9fb1d;
}

.sponsor-cta {
  margin-top: 28px;
  color: #9aa38f;
  font-size: 14.5px;
}

.sponsor-cta a {
  color: #b9fb1d;
  border-bottom: 1px solid #6b8a17;
}

.sponsor-cta a:hover { border-color: #b9fb1d; }

/* ============================================
   Feed social / TikTok
   ============================================ */
.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.social-card {
  aspect-ratio: 9 / 14;
  background: #12150f;
  border: 1px solid #232a1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #6d766a;
  transition: border-color 0.2s ease;
}

.social-card:hover { border-color: #b9fb1d; }

.play-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid #b9fb1d;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b9fb1d;
}

.play-icon svg { width: 16px; height: 16px; }

.social-card span { font-size: 12.5px; letter-spacing: 0.03em; }

/* ============================================
   Despre / Valori (feature grid reutilizat)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1c211a;
  border: 1px solid #1c211a;
}

.feature-card { background: #0e110d; padding: 34px 28px; }

.feature-index {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 14px;
  color: #6d766a;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.feature-card h3 { font-size: 18.5px; margin: 0 0 12px; color: #b9fb1d; }
.feature-card p { color: #9aa38f; font-size: 14.5px; margin: 0; }

/* ============================================
   Echipă / Roster
   ============================================ */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.player-card {
  background: #12150f;
  border: 1px solid #232a1c;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.player-card:hover { border-color: #b9fb1d; transform: translateY(-3px); }

.player-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border: 1.5px solid #b9fb1d;
  display: grid;
  place-items: center;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 24px;
  color: #b9fb1d;
  background: #0e110d;
  transform: skew(-4deg);
}

.player-name {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 19px;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}

.player-role {
  font-size: 13px;
  color: #9aa38f;
  margin: 0 0 18px;
}

.player-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.player-links a {
  width: 34px;
  height: 34px;
  border: 1px solid #232a1c;
  display: grid;
  place-items: center;
  color: #9aa38f;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.player-links a:hover { border-color: #b9fb1d; color: #b9fb1d; }
.player-links svg { width: 15px; height: 15px; }

.player-card.is-placeholder { opacity: 0.6; }
.player-card.is-placeholder .player-avatar { border-style: dashed; color: #6d766a; border-color: #3a4230; }
.player-card.is-placeholder .player-name { color: #9aa38f; }

/* ============================================
   Rezultate — Tabel meciuri
   ============================================ */
.results-table-wrap {
  border: 1px solid #1c211a;
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.5px;
}

.results-table th, .results-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid #1c211a;
  white-space: nowrap;
}

.results-table th {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6d766a;
  background: #0e110d;
}

.results-table tbody tr:hover { background: #0e110d; }
.results-table tbody tr:last-child td { border-bottom: none; }

.league-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.league-card {
  background: #12150f;
  border: 1px solid #232a1c;
  padding: 28px;
}

.league-card h3 { color: #b9fb1d; font-size: 19px; margin: 0 0 10px; }
.league-card p { color: #9aa38f; font-size: 14.5px; margin: 0 0 16px; }
.league-card a { font-size: 13.5px; color: #b9fb1d; border-bottom: 1px solid #6b8a17; }
.league-card a:hover { border-color: #b9fb1d; }

/* ============================================
   Despre — poveste + panou
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p { color: #9aa38f; max-width: 58ch; }
.about-copy p + p { margin-top: 16px; }

.about-panel { border: 1px solid #232a1c; background: #12150f; padding: 6px; }

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid #1c211a;
  letter-spacing: 0.03em;
}

.panel-row:last-child { border-bottom: none; }

.panel-row span:first-child {
  color: #6d766a;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.live-dot { display: flex; align-items: center; gap: 8px; color: #b9fb1d; }

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9fb1d;
  box-shadow: 0 0 0 3px rgba(185, 251, 29, 0.18);
}

/* ============================================
   Formular de contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p { color: #9aa38f; max-width: 52ch; }

.contact-direct {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #232a1c;
  background: #12150f;
}

.contact-direct div { font-size: 12px; letter-spacing: 0.1em; color: #6d766a; font-family: "Oswald", "Arial Narrow", sans-serif; margin-bottom: 6px; }
.contact-direct a { color: #b9fb1d; font-size: 15px; }

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #9aa38f;
  margin-bottom: 8px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: #0e110d;
  border: 1px solid #232a1c;
  color: #eef1e6;
  padding: 13px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  border-radius: 3px;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #b9fb1d;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 12.5px; color: #6d766a; margin-top: 14px; }

/* ============================================
   CTA final (folosit pe Acasă)
   ============================================ */
.cta-section { position: relative; overflow: hidden; text-align: center; padding: 104px 0; }
.cta-wrap { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-wrap .section-kicker { display: inline-block; border-left: none; padding-left: 0; }
.cta-sub { color: #9aa38f; margin: 0 0 34px; }

.cta-rifle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: none;
  color: #b9fb1d;
  opacity: 0.05;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */
.site-footer { border-top: 1px solid #1c211a; padding: 48px 0 28px; position: relative; z-index: 1; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid #1c211a;
  margin-bottom: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark-img { height: 26px; }
.footer-brand .logo-word-img { height: 15px; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: #9aa38f; }
.footer-nav a:hover { color: #b9fb1d; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid #232a1c;
  display: grid;
  place-items: center;
  color: #9aa38f;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover { border-color: #b9fb1d; color: #b9fb1d; }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-note { color: #6d766a; font-size: 13px; margin: 0; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .roster-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .social-feed-grid { grid-template-columns: repeat(2, 1fr); }
  .match-grid { grid-template-columns: 1fr; }
  .league-grid { grid-template-columns: 1fr; }
  .rifle-silhouette { width: 420px; opacity: 0.05; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0a0b09;
    border-bottom: 1px solid #1c211a;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav a:not(.nav-cta) { width: 100%; padding: 14px 0; border-bottom: 1px solid #1c211a; }
  .nav-cta { margin-top: 16px; }
  .nav-toggle { display: flex; }

  .hero { padding: 72px 0 56px; }
  .section { padding: 60px 0; }
  .feature-grid, .roster-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .social-feed-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .btn-large { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sponsor-grid, .social-feed-grid { grid-template-columns: 1fr 1fr; }
}
