/* ===== KALUSEVO.PRO - Main Stylesheet ===== */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark: #0f0f1a;
  --dark-2: #1a1a2e;
  --dark-3: #16213e;
  --light: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: #1e1e3a;
  --border: rgba(124, 58, 237, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(15, 15, 26, 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;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 1rem !important;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

.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.3);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.4) 0%, rgba(6,182,212,0.2) 100%);
  z-index: 1;
}

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

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

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

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

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.5);
  color: #fff;
}

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

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

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

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

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

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

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

.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.5rem;
}

.game-genre {
  display: inline-block;
  background: rgba(124,58,237,0.2);
  color: var(--secondary);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

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

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

.game-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-badge {
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.rating-stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.btn-read-more {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

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

/* ===== TOURNAMENT SECTION ===== */
.tournament-section {
  background: var(--dark-2);
}

.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.tournament-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(6,182,212,0.2);
}

.tournament-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.tournament-info {
  padding: 1.75rem;
}

.tournament-badge {
  display: inline-block;
  background: rgba(6,182,212,0.2);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.tournament-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.tournament-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.meta-item i {
  color: var(--secondary);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

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

.newsletter-form .btn-subscribe {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s;
  white-space: nowrap;
}

.newsletter-form .btn-subscribe:hover {
  box-shadow: 0 4px 15px rgba(124,58,237,0.5);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  background: var(--dark);
}

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

.form-label {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--border) !important;
  color: var(--light) !important;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2) !important;
  background: rgba(255,255,255,0.08) !important;
}

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

.form-select option {
  background: var(--dark-2);
  color: var(--light);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.5);
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===== CONTACT INFO ===== */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(124,58,237,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.contact-info-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-info-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--secondary);
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* ===== ABOUT SECTION ===== */
.about-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.about-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-text h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

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

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

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

.policy-content p {
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.policy-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

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

.policy-meta {
  background: rgba(124,58,237,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

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

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

#cookie-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

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

.btn-cookie-accept {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: var(--primary-dark);
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cookie-decline:hover {
  border-color: var(--text-muted);
  color: var(--light);
}

/* ===== UTILITIES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.border-custom {
  border: 1px solid var(--border) !important;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 3rem 0;
  }

  .policy-content {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .newsletter-form .form-control {
    border-radius: 8px;
    margin-bottom: 0.75rem;
  }

  .newsletter-form .btn-subscribe {
    border-radius: 8px;
    width: 100%;
  }
}
