/* =============================================
   PELOVARIN.SITE – Main Stylesheet
   Gaming Reviews & Tournaments – Australia
   ============================================= */

:root {
  --primary: #00d4ff;
  --primary-dark: #0099bb;
  --accent: #7c3aed;
  --accent-light: #a855f7;
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #1a1a25;
  --dark4: #22222f;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(0, 212, 255, 0.15);
  --card-bg: rgba(17, 17, 24, 0.9);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { 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;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(12px);
  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;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span { color: var(--accent-light); }

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: rgba(0, 212, 255, 0.08);
}

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

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 90vh;
  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(135deg, rgba(10,10,15,0.7) 0%, rgba(124,58,237,0.15) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---- BUTTONS ---- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
  color: #fff;
}

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

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ---- SECTION HEADERS ---- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ---- SECTIONS ---- */
section { padding: 5rem 0; }

.bg-dark2 { background-color: var(--dark2); }
.bg-dark3 { background-color: var(--dark3); }

/* ---- CARDS ---- */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover img { transform: scale(1.05); }

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

.card-genre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

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

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.stars { color: #fbbf24; font-size: 0.8rem; }

/* ---- TOURNAMENT CARD ---- */
.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}

.tournament-card:hover {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

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

.status-live { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.status-upcoming { background: rgba(0,212,255,0.1); color: var(--primary); border: 1px solid rgba(0,212,255,0.3); }
.status-ended { background: rgba(100,116,139,0.15); color: #64748b; border: 1px solid rgba(100,116,139,0.3); }

.tournament-game { font-size: 0.8rem; color: var(--accent-light); font-weight: 600; margin-bottom: 0.4rem; }
.tournament-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.tournament-meta { font-size: 0.85rem; color: var(--text-muted); }
.tournament-meta span { display: block; margin-bottom: 0.25rem; }
.tournament-meta i { color: var(--primary); margin-right: 0.4rem; width: 14px; }

/* ---- STATS ---- */
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* ---- NEWSLETTER / CTA ---- */
.cta-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(0,212,255,0.1));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
}

.newsletter-form { max-width: 480px; margin: 0 auto; }

.newsletter-form .input-group {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.newsletter-form input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  outline: none;
  flex: 1;
  width: 100%;
}

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

.newsletter-form button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover { opacity: 0.9; }

/* ---- CONTACT FORM ---- */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-control-custom {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
  margin-bottom: 1rem;
}

.form-control-custom:focus { border-color: var(--primary); }
.form-control-custom::placeholder { color: var(--text-muted); }

textarea.form-control-custom { resize: vertical; min-height: 130px; }

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

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark2), var(--dark3));
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 3rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---- BREADCRUMB ---- */
.breadcrumb-custom {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb-custom a { color: var(--primary); }
.breadcrumb-custom span { margin: 0 0.5rem; }

/* ---- REVIEW PAGE ---- */
.review-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

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

.review-score-large {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.review-score-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.review-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--primary); }
.review-body p { color: var(--text-muted); margin-bottom: 1rem; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 576px) { .pros-cons { grid-template-columns: 1fr; } }

.pros-box, .cons-box {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pros-box { border-left: 3px solid #4ade80; }
.cons-box { border-left: 3px solid #f87171; }

.pros-box h4 { color: #4ade80; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.cons-box h4 { color: #f87171; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }

.pros-box ul, .cons-box ul { list-style: none; padding: 0; }
.pros-box li, .cons-box li { font-size: 0.9rem; color: var(--text-muted); padding: 0.3rem 0; }
.pros-box li::before { content: "✓ "; color: #4ade80; }
.cons-box li::before { content: "✗ "; color: #f87171; }

/* ---- ABOUT ---- */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); }

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

.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.team-role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.85rem; color: var(--text-muted); }

/* ---- POLICY PAGES ---- */
.policy-content {
  max-width: 860px;
  margin: 0 auto;
}

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

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

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

.policy-content ul { padding-left: 1.5rem; }
.policy-content a { color: var(--primary); }

.policy-updated {
  background: rgba(0,212,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.footer-brand { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.footer-brand span { color: var(--accent-light); }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); max-width: 280px; }

.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 1.2rem; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-contact { font-size: 0.9rem; color: var(--text-muted); }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-contact i { color: var(--primary); margin-right: 0.5rem; }

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

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

#cookie-banner p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
#cookie-banner a { color: var(--primary); }

/* ---- UTILITIES ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

.tag {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero-section { min-height: 70vh; }
  .cta-section { padding: 2.5rem 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .pros-cons { grid-template-columns: 1fr; }
}
