/* ===== NUREVALOK.PRO — MAIN STYLESHEET ===== */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --dark: #0f0f1a;
  --dark2: #16162a;
  --dark3: #1e1e35;
  --card-bg: #1a1a2e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #2d2d4e;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(15,15,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: .75rem 1rem !important;
  transition: color .2s;
  font-size: .95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.navbar-toggler {
  border-color: var(--border);
  color: var(--text);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,.25);
  border: 1px solid var(--primary);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  display: inline-block;
}

.btn-primary-custom:hover {
  opacity: .88;
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  padding: .7rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--accent);
  color: var(--dark);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

/* ===== CARDS ===== */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124,58,237,.25);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card-body {
  padding: 1.5rem;
}

.game-card-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}

.badge-genre {
  background: rgba(124,58,237,.2);
  color: var(--primary);
  border: 1px solid rgba(124,58,237,.4);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge-platform {
  background: rgba(6,182,212,.15);
  color: var(--accent);
  border: 1px solid rgba(6,182,212,.3);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 50px;
}

.game-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}

.game-card p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: .75rem;
}

.rating-score {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
}

/* ===== TOURNAMENT CARD ===== */
.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.tournament-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}

.tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(124,58,237,.2);
}

.tournament-status {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.status-live {
  background: rgba(239,68,68,.2);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.4);
}

.status-upcoming {
  background: rgba(245,158,11,.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,.35);
}

.status-completed {
  background: rgba(34,197,94,.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.3);
}

.tournament-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.tournament-meta {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 1.25rem;
}

.tournament-meta span {
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.25);
  z-index: 0;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-form .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: .75rem 1.25rem;
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.25);
  color: var(--text);
  outline: none;
}

.newsletter-form .form-control::placeholder {
  color: var(--text-muted);
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control,
.contact-form .form-select {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: .75rem 1.25rem;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: var(--dark3);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
  color: var(--text);
  outline: none;
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

.contact-form label {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-success {
  display: none;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
  color: #22c55e;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s;
}

.team-card:hover { transform: translateY(-5px); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1rem;
}

.team-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.team-card .role { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.team-card p { color: var(--text-muted); font-size: .85rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: .75rem; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== POLICY PAGES ===== */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
  color: var(--text);
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
  color: var(--accent);
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: .75rem;
}

.policy-content ul, .policy-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content a { color: var(--accent); }

.policy-updated {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: inline-block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: .9rem;
  max-width: 280px;
}

.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: .85rem;
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#cookie-banner p {
  color: var(--text-muted);
  font-size: .88rem;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookie-banner a { color: var(--accent); }

.btn-cookie-accept {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: .55rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
  white-space: nowrap;
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
  white-space: nowrap;
}

/* ===== UTILITIES ===== */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.bg-dark2 { background-color: var(--dark2); }
.bg-dark3 { background-color: var(--dark3); }
.text-accent { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.border-top-custom { border-top: 1px solid var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .section-pad { padding: 3.5rem 0; }
  .stat-number { font-size: 2rem; }
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
