/* ===== VOSENALI.PRO - Main Stylesheet ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a855f7;
  --accent: #e879f9;
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-card2: #1e2530;
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  --border: #30363d;
  --success: #3fb950;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #e879f9 100%);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 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;
  text-decoration: none;
}

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

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,17,23,0.9) 40%, transparent);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

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

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

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

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
}

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

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

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

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

/* ===== CARDS ===== */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.25);
}

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

.game-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.game-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

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

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

.rating-value {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

.btn-card {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  align-self: flex-start;
}

.btn-card:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== TOURNAMENT SECTION ===== */
.tournament-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tournament-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tournament-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

.tournament-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.badge-live { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid #ef4444; }
.badge-upcoming { background: rgba(59,130,246,0.2); color: #60a5fa; border: 1px solid #3b82f6; }
.badge-finished { background: rgba(107,114,128,0.2); color: #9ca3af; border: 1px solid #6b7280; }

.tournament-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tournament-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.tournament-meta i {
  width: 16px;
  color: var(--primary-light);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== NEWSLETTER / CTA ===== */
.newsletter-section {
  position: relative;
  overflow: hidden;
}

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

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

.form-control-dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

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

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

/* ===== CONTACT FORM ===== */
.contact-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.contact-form {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-label-custom {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.alert-success-custom {
  background: rgba(63, 185, 80, 0.15);
  border: 1px solid var(--success);
  color: #3fb950;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

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

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

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

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
}

/* ===== REVIEW PAGE ===== */
.review-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-meta-bar {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.review-meta-item {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.review-meta-item strong {
  color: var(--text-main);
}

.review-score-box {
  background: var(--gradient);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: sticky;
  top: 80px;
}

.review-score-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.review-score-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--primary-light);
}

.review-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pros-cons {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.pros-cons h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pros-cons ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pros-cons ul li {
  margin-bottom: 0.4rem;
}

/* ===== ABOUT PAGE ===== */
.about-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.team-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.team-card:hover {
  border-color: var(--primary);
}

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

.team-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== POLICY PAGES ===== */
.policy-content {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light);
  margin: 2rem 0 0.75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

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

.policy-updated {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-bottom: 2rem;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: none;
}

#cookie-banner.show {
  display: block;
}

/* ===== UTILITIES ===== */
.py-section { padding: 5rem 0; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-dark-custom { background: var(--bg-dark); }

@media (max-width: 768px) {
  .hero-section { min-height: 70vh; }
  .py-section { padding: 3rem 0; }
  .contact-form { padding: 1.5rem; }
  .policy-content { padding: 1.5rem; }
  .review-score-box { position: static; margin-bottom: 1.5rem; }
}
