/* ===== RIMEVAKO.PRO — Main Stylesheet ===== */
:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --dark: #0a0e1a;
  --dark2: #111827;
  --dark3: #1f2937;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
}

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

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

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

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(10, 14, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  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;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

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

.navbar-toggler { border-color: rgba(0,212,255,0.3); }
.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.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,14,26,0.7) 0%, rgba(124,58,237,0.2) 100%);
  z-index: 1;
}

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

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

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

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

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

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--dark);
  text-decoration: none;
}

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

.section-title .accent { color: var(--primary); }

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

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 0.75rem 0 1rem;
}

/* ===== CARDS ===== */
.game-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
}

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

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

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

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

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

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

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  float: right;
  margin-top: -0.25rem;
}

.score-excellent { background: linear-gradient(135deg, #10b981, #059669); }
.score-good { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.score-average { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* ===== TOURNAMENT CARD ===== */
.tournament-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
  height: 100%;
}

.tournament-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.4);
}

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

.status-live { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.status-upcoming { background: rgba(0,212,255,0.15); color: var(--primary); border: 1px solid rgba(0,212,255,0.3); }
.status-past { background: rgba(148,163,184,0.1); color: var(--text-muted); border: 1px solid rgba(148,163,184,0.2); }

.tournament-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.tournament-meta i { color: var(--primary); margin-right: 0.4rem; width: 14px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 0;
}

.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.12));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.newsletter-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.newsletter-section p { color: var(--text-muted); margin-bottom: 1.5rem; }

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

.newsletter-form input {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 8px 0 0 8px !important;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  background: var(--dark3);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: none;
  outline: none;
}

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

.newsletter-form button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0 8px 8px 0 !important;
  transition: opacity 0.2s;
}

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

.newsletter-success {
  display: none;
  color: var(--success);
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-control, .form-select {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus, .form-select:focus {
  background: var(--dark3);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-control::placeholder { color: var(--text-muted); }
.form-select option { background: var(--dark3); }

.form-success {
  display: none;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--success);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
}

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

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ===== POLICY PAGES ===== */
.policy-content {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.policy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 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;
}

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

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

/* ===== ABOUT PAGE ===== */
.team-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.25s;
}

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

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

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

/* ===== FOOTER ===== */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--secondary); }

.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  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.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

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

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

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

.btn-cookie-accept {
  background: var(--primary);
  border: none;
  color: var(--dark);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== UTILITIES ===== */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-dark-card { background: var(--dark2); }
.rounded-custom { border-radius: 12px; }
.border-custom { border: 1px solid rgba(255,255,255,0.06); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .section-pad { padding: 3rem 0; }
  .contact-form-wrapper { padding: 1.5rem; }
  .policy-content { padding: 1.5rem; }
  .newsletter-section { padding: 2rem 1rem; }
}
