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

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark: #0d0d1a;
  --dark-card: #13132a;
  --dark-border: #1e1e3f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --success: #22c55e;
  --danger: #ef4444;
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 50%, #0d1a2e 100%);
  --gradient-card: linear-gradient(145deg, #13132a, #1a1a35);
  --shadow-card: 0 4px 24px rgba(124, 58, 237, 0.15);
  --shadow-hover: 0 8px 40px rgba(124, 58, 237, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  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-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  background: rgba(13, 13, 26, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
}

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

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(124, 58, 237, 0.15);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.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;
  color: var(--text-primary);
  border: 2px solid var(--dark-border);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

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

/* =========================================
   SECTION STYLES
   ========================================= */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

.game-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.rating-score {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

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

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.read-more-link {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.read-more-link:hover {
  color: var(--accent);
  gap: 0.6rem;
}

/* =========================================
   TOURNAMENT SECTION
   ========================================= */
.tournament-card {
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.tournament-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

.tournament-body {
  padding: 1.5rem;
}

.tournament-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  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(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-past {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tournament-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tournament-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tournament-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tournament-info-item i {
  color: var(--primary-light);
}

/* =========================================
   NEWSLETTER / CTA SECTION
   ========================================= */
.newsletter-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a2e 0%, #0d1a2e 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/newsletter-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

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

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

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: none;
  color: var(--text-primary);
}

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

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

.newsletter-form .btn-subscribe:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: none;
}

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

.contact-card {
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
}

.form-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

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

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

.form-select option {
  background: var(--dark-card);
  color: var(--text-primary);
}

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

/* =========================================
   INFO CARDS
   ========================================= */
.info-card {
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

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

.info-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--primary-light);
}

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

.info-card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

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

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
  font-size: 1.2rem;
}

.about-feature-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.about-feature-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: block;
}

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

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

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

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

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

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

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--primary);
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--dark-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);
  font-size: 0.85rem;
}

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

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 100%);
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--dark-border);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: var(--primary-light);
}

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

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

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

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dark-border);
}

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

.policy-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-content ul {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

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

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

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

.review-score-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
}

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

.review-score-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.review-criteria {
  margin-top: 1.5rem;
}

.criteria-item {
  margin-bottom: 1rem;
}

.criteria-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.criteria-bar {
  height: 6px;
  background: var(--dark-border);
  border-radius: 3px;
  overflow: hidden;
}

.criteria-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 1s ease;
}

/* =========================================
   ALERTS / NOTIFICATIONS
   ========================================= */
.alert-custom {
  border-radius: 10px;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border: none;
}

.alert-success-custom {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.alert-error-custom {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

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

#cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
}

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

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--dark-border);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

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

  .hero-description {
    margin: 0 auto 2rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-overlay {
    background: rgba(13,13,26,0.85);
  }

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

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

  .newsletter-form .input-group {
    flex-direction: column;
  }

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

  .policy-content {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

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

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

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

.border-dark-custom {
  border-color: var(--dark-border) !important;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
