/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

/* ================= GLOBAL ================= */

html, body {
  overflow-x: hidden;
} 
body {
  background: #0a0a14;
  color: #e0f0ff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  transition: background .4s, color .4s;

  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: #5997fb;
  text-decoration: none;
}
a:hover { color: #80affd; }

.flag {
  width: 50px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 6px;
}

/* ================= NAVBAR ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,15,30,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e3a5a;
  z-index: 600;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(90deg,#5997fb,#80affd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 1.1rem;
  font-weight: 500;
  transition: .3s;
}
.nav-links a:hover {
  color: #5997fb;
  text-shadow: 0 0 14px rgba(89,151,251,.7);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #5997fb;
}

/* Mobile panel */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 700;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right .4s ease;
  z-index: 1001;
}
.nav-panel.show { right: 0; }

.nav-panel a {
  color: #fff;
  padding: .6rem 0;
}
.nav-panel a:hover { color: #5997fb; }

.nav-close {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  min-height: 200vh;
  height: auto;
  background:
    linear-gradient(rgba(8,12,28,.78), rgba(8,12,28,.88)),
    url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&q=80&w=2000') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-content { max-width: 950px; }

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3.8rem,11vw,7.8rem);
  line-height: .92;
  margin-bottom: 1.8rem;
  background: linear-gradient(90deg,#80affd,#5997fb,#3b7be0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.7rem;
  margin-bottom: 3rem;
  color: #b3d4ff;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 60px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg,#5997fb,#3b7be0);
  box-shadow: 0 0 35px rgba(89,151,251,.55);
  transition: transform .3s ease, box-shadow .3s ease;
  margin-bottom: 50px;
}
.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 60px rgba(89,151,251,.85);
}

/* ================= SECTIONS ================= */
section {
  padding: 9rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  text-align: center;
  margin-bottom: 4.5rem;
  background: linear-gradient(90deg,#5997fb,#80affd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h2-style {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4.5rem;
  background: linear-gradient(90deg,#5997fb,#80affd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  margin: 1.2rem auto 0;
  background: linear-gradient(90deg,transparent,#5997fb,transparent);
}

h2.no-after::after { display: none; }

/* ================= CARDS ================= */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 220px)); /* 🔥 responsywny grid */
  gap: 1.6rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.player-card {
  background: rgba(20,30,60,.38);
  border: 1px solid #1e3a5a;
  border-radius: 10px;
  padding: 1.2rem 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.player-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: #5997fb;
  box-shadow: 0 0 16px rgba(89,151,251,.28);
}

.player-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.player-card p { font-size: .95rem; color: #a0c0ff; }

/* ================= STATS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(20,30,60,.45);
  border: 1px solid #1e3a5a;
  border-radius: 12px;
  padding: 1.3rem 1rem;
  text-align: center;
  transition: transform .22s cubic-bezier(.22,.61,.36,1),
              box-shadow .22s ease,
              border-color .22s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: #5997fb;
  box-shadow: 0 0 18px rgba(89,151,251,.35);
}

.stat-card span {
  display: block;
  font-size: .85rem;
  color: #9fc4ff;
  margin-bottom: .5rem;
}
.stat-card strong {
  font-size: 1.7rem;
  color: #e0f0ff;
}

/* ================= SOCIALS ================= */
.socials {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  font-size: 1.9rem;
}
.socials a {
  transition: transform .4s ease, text-shadow .4s ease;
}
.socials a:hover {
  transform: translateY(-5px);
  text-shadow: 0 0 25px #5997fb;
}

.social-icon {
  font-size: 2.5rem;
  color: #5997fb;
  margin: 5px;
  transition: transform .3s ease, color .3s ease;
}


/* ================= FOOTER ================= */
footer {
  background: #05050f;
  padding: 3.5rem 1rem 2rem;
  border-top: 1px solid #1e3a5a;
}
footer p {
  color: #7a9ccf;
  font-size: .95rem;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 240px;
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 1.7rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width:1100px) {
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width:800px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width:640px) {
  .hero { min-height: 70vh; }
  section { padding: 4rem 1rem; }
}

@media (max-width: 1000px) {
  h1 { margin-top: 150px; }
  .hero { height: auto; }
}

/* 📱 MOBILE FIX */
@media (max-width: 600px) {

  /* HERO */
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0 10px;
  }

  /* ABOUT US */
  .hero h2 {
    font-size: 2rem;
    margin-top: 20px;
  }

  /* TEKST BLOK */
  .hero-content {
    padding: 0 10px;
  }

  /* BUTTON */
  .btn {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: 40px;
  }

  /* SECTION HEADERS */
  h2 {
    font-size: 2.2rem;
  }

}