/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #1E90FF;
  --primary-dark: #0B2545;
  --primary-light: #F5F9FC;
  --card-bg: #EAF6FA;
  --white: #fff;
  --text-dark: #0B2545;
  --text-muted: #64748b;
  --border-light: rgba(30, 144, 255, 0.1);
  --shadow-card: 0 4px 20px rgba(30, 144, 255, 0.08);
  --shadow-hover: 0 8px 30px rgba(30, 144, 255, 0.15);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PT Sans", sans-serif;
  background-color: var(--primary-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arvo", serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-card { background-color: var(--card-bg) !important; }

/* ===== CUSTOM COMPONENTS ===== */
.card-custom {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}

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

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), #4da6ff);
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 30px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
  color: white;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #4da6ff);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.icon-feature {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #4da6ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 24px;
}

/* ===== HEADER STYLES ===== */
.navbar-custom {
  background: linear-gradient(135deg, var(--primary-dark), #1a3a5c);
  box-shadow: 0 2px 20px rgba(11, 37, 69, 0.15);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Arvo", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark), #1a3a5c);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('img/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.age-notice {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 3rem;
  backdrop-filter: blur(10px);
}

/* ===== PLATFORM CARDS ===== */
.platform-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #4da6ff);
}

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

.platform-logo {
  width: 140px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
}

.platform-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.platform-rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.platform-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.platform-features li {
  background: var(--card-bg);
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

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

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 80px 0;
}

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.content-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.content-image:hover img {
  transform: scale(1.05);
}

/* ===== RESPONSIBLE GAMING SECTION ===== */
.responsible-gaming {
  background: linear-gradient(135deg, var(--primary-dark), #1a3a5c);
  color: white;
  padding: 60px 0;
}

.responsible-gaming h3 {
  color: white;
  margin-bottom: 2rem;
}

.responsible-gaming p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.age-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}


.support-logo {
  width: 160px;
  height: 60px;
  
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-logo:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== FOOTER STYLES ===== */
.footer-custom {
  background: linear-gradient(135deg, var(--primary-dark), #1a3a5c);
  color: white;
  padding: 40px 0 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #0d7de8;
  transform: translateY(-3px);
}

/* ===== MODAL STYLES ===== */
.modal-custom .modal-content {
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-custom .modal-header {
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 2rem 1rem;
}

.modal-custom .modal-body {
  padding: 1rem 2rem 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .content-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .support-links {
    justify-content: center;
  }
  
  .payment-methods {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .platform-card,
  .feature-card {
    padding: 1.5rem;
  }
  
  .content-section {
    padding: 60px 0;
  }
}

/* ===== FORM STYLES ===== */
.form-control-custom {
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
  outline: none;
}

.form-control-custom.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===== FAQ STYLES ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  background: var(--card-bg);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question:hover {
  background: rgba(30, 144, 255, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  display: none;
}

.faq-answer.show {
  display: block;
}

/* ===== BLOG STYLES ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  margin-bottom: 2rem;
}

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

.blog-content {
  padding: 2rem;
}

.blog-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 1.5rem;
  z-index: 1050;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .btn {
  margin: 0 0.5rem;
}

/* ===== AGE GATE MODAL ===== */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1060;
}

.age-gate-content {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  max-width: 500px;
  margin: 2rem;
}

.age-gate-title {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.age-gate-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.age-gate .btn {
  margin: 0 0.5rem;
  min-width: 120px;
}
