/* CSS Variables for consistent styling */
:root {
  --primary-red: #D32F2F;
  --light-bg: #f8f9fa;
  --dark-bg: #1A0F0F;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Source Code Pro", monospace;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

/* Header Styles */
.navbar {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red) !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--white) 0%, #808080 100%);
  padding: 8rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary-custom {
  background-color: var(--primary-red);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  color: var(--white);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

/* Card Styles (like in the mockup) */
.platform-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.platform-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.platform-logo {
  width: 140px;
  height: 100%;
  border-radius: var(--border-radius);
  margin-right: 1rem;
  /* background-color: #1A0F0F; */
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A0F0F !important;
  margin-bottom: 0.5rem;
}

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

.platform-badge {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.platform-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.feature-tag {
  background-color: var(--light-bg);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.payment-badge {
  background-color: #6c5ce7;
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #cccccc;
}

/* Icon Grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.icon-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.icon-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.icon-item i {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* News Cards */
.news-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-red);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* Warning Text */
.warning-text {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
  font-size: 0.9rem;
}

/* Responsible Gaming Section */
.responsible-gaming {
  background-color: #ffe7e7;
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.responsible-gaming h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.age-restriction {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.age-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.partner-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.partner-logo {
  width: 140px;
  height: 60px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
  transition: var(--transition);
}

.partner-logo:hover {
  box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #999;
}

/* Form Styles */
.form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

/* Popups */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-secondary-custom {
  background-color: #6c757d;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  background-color: #5a6268;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 1rem;
  z-index: 1000;
  border-top: 2px solid var(--primary-red);
}

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

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 8rem 0;
    min-height: 60vh;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .platform-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .platform-badge {
    margin-top: 0.5rem;
  }
  
  .icon-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .partner-logos {
    justify-content: center;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
}

/* Page Header for secondary pages */
.page-header {
  background: linear-gradient(135deg, var(--white) 0%, #9a9a9a 100%);
  padding: 10rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* 404 Page Styles */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  text-align: center;
  padding: 2rem;
}

.error-content h1 {
  font-size: 4rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.error-content h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.error-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}
