/* ===== KUNAREXOL.WEBSITE - MAIN STYLESHEET ===== */

:root {
  --primary: #6c63ff;
  --primary-dark: #4a42d4;
  --secondary: #ff4757;
  --accent: #00d2ff;
  --dark: #0d0d1a;
  --dark-2: #12122a;
  --dark-3: #1a1a3e;
  --card-bg: #16162e;
  --text-light: #e0e0f0;
  --text-muted: #8888aa;
  --border: rgba(108, 99, 255, 0.25);
  --gradient: linear-gradient(135deg, #6c63ff 0%, #00d2ff 100%);
  --gradient-dark: linear-gradient(135deg, #0d0d1a 0%, #1a1a3e 100%);
}

* {
  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(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13, 13, 26, 0.97) !important;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  backdrop-filter: blur(12px);
  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-brand span {
  color: var(--secondary);
  -webkit-text-fill-color: var(--secondary);
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(108, 99, 255, 0.15);
}

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,26,0.95) 40%, rgba(13,13,26,0.5) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.5);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

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

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

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

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

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

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

/* ===== SECTION STYLES ===== */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

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

/* ===== 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 16px 40px rgba(108, 99, 255, 0.2);
}

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

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

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

.game-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

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

.rating-stars {
  color: #ffd700;
  font-size: 0.85rem;
}

.rating-score {
  font-weight: 700;
  color: #ffd700;
  margin-left: 6px;
  font-size: 0.9rem;
}

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

.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
  height: 100%;
}

.tournament-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.15);
}

.tournament-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.tournament-icon {
  width: 48px;
  height: 48px;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.tournament-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-live {
  background: rgba(255, 71, 87, 0.2);
  color: var(--secondary);
  border: 1px solid rgba(255, 71, 87, 0.4);
}

.status-upcoming {
  background: rgba(108, 99, 255, 0.2);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.4);
}

.status-completed {
  background: rgba(46, 213, 115, 0.2);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.4);
}

.tournament-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

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

/* ===== FEATURED REVIEW ===== */
.featured-review {
  background: var(--dark-3);
}

.featured-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.review-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.review-tag {
  display: inline-block;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,210,255,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}

.newsletter-form .form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.2);
  color: #fff;
  outline: none;
}

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

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  display: block;
}

.form-control-custom {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-control-custom:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.2);
  outline: none;
  color: #fff;
}

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

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

.form-success {
  display: none;
  background: rgba(46, 213, 115, 0.12);
  border: 1px solid rgba(46, 213, 115, 0.4);
  color: #2ed573;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(108, 99, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

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

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

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

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

.footer-heading {
  font-size: 0.85rem;
  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: 0.5rem;
}

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

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

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

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: 1.5rem;
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner.show {
  display: flex;
}

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

.cookie-banner a {
  color: var(--primary);
}

.cookie-btn-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: var(--dark-2);
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--border);
}

.policy-content {
  padding: 60px 0 80px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.policy-content ul li {
  color: var(--text-light);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.policy-content p {
  font-size: 0.95rem;
}

.policy-content .last-updated {
  display: inline-block;
  background: rgba(108,99,255,0.1);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  margin-bottom: 2rem;
}

/* ===== REVIEWS PAGE ===== */
.reviews-hero {
  background: var(--dark-2);
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--border);
}

.filter-bar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 2rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== TOURNAMENTS PAGE ===== */
.tournaments-hero {
  background: var(--dark-2);
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--border);
}

.tournament-banner-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

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

.breadcrumb-item a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.breadcrumb-item.active {
  color: var(--primary);
  font-size: 0.85rem;
}

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

/* ===== UTILITIES ===== */
.bg-dark-2 {
  background: var(--dark-2);
}

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

.text-primary-custom {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 75vh;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }

  .section-padding {
    padding: 55px 0;
  }

  .newsletter-box {
    padding: 2rem 1.5rem;
  }

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

  .footer-bottom-links a {
    margin-left: 0.8rem;
  }
}
