/* ===================================
   BET ARENA CROATIA - Main Stylesheet
   Operator: SPACESUN LIMITED
   =================================== */

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
  --midnight: #0b1220;
  --emerald: #2ecc71;
  --emerald-dark: #27ae60;
  --white: #ffffff;
  --gray-light: #ecf0f1;
  --gray-medium: #95a5a6;
  --gray-dark: #34495e;
  --warning: #e74c3c;
  --gold: #f39c12;

  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--midnight);
  background-color: var(--gray-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--emerald-dark);
}

/* ===================================
   AGE GATE OVERLAY
   =================================== */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 18, 32, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

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

.age-gate-content h2 {
  color: var(--midnight);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.age-gate-content p {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.age-gate-content .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-gate-content .btn {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.age-gate-content .btn-confirm {
  background: var(--emerald);
  color: var(--white);
}

.age-gate-content .btn-confirm:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
}

.age-gate-content .btn-decline {
  background: var(--gray-medium);
  color: var(--white);
}

.age-gate-content .btn-decline:hover {
  background: var(--gray-dark);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  background: var(--midnight);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.logo img {
  width: 40px;
  height: 40px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--gray-light);
}

.badge img {
  width: 24px;
  height: 24px;
}

nav {
  background: var(--white);
  border-bottom: 3px solid var(--emerald);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--midnight);
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: var(--gray-light);
  border-bottom-color: var(--emerald);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===================================
   MAIN CONTENT
   =================================== */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.hero {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--gray-dark) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--emerald);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--emerald-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* ===================================
   SECTION HEADINGS
   =================================== */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  color: var(--midnight);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--emerald);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-dark);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ===================================
   CASINO CARDS GRID
   =================================== */
.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-light);
}

.casino-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gray-light);
  padding: 0.5rem;
}

.casino-info h3 {
  font-size: 1.3rem;
  color: var(--midnight);
  margin-bottom: 0.3rem;
}

.casino-operator {
  font-size: 0.75rem;
  color: var(--gray-medium);
  font-weight: 600;
  text-transform: uppercase;
}

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

.rating-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
}

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

.casino-category {
  display: inline-block;
  background: var(--emerald);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.casino-bonus {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: var(--white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.casino-features {
  list-style: none;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.casino-features li {
  padding: 0.5rem 0;
  color: var(--gray-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.casino-features li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  font-size: 1.1rem;
}

.casino-cta {
  display: block;
  text-align: center;
  background: var(--emerald);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
  margin-top: auto;
}

.casino-cta:hover {
  background: var(--emerald-dark);
  transform: scale(1.02);
  color: var(--white);
}

.license-badge {
  background: var(--midnight);
  color: var(--white);
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0.5rem;
}

/* ===================================
   CRITERIA SECTION
   =================================== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.criterion {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--emerald);
}

.criterion h3 {
  color: var(--midnight);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.criterion h3::before {
  content: '✓';
  background: var(--emerald);
  color: var(--white);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}

.criterion p {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

/* ===================================
   FAQ ACCORDION
   =================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--midnight);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--emerald);
  transition: var(--transition);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-item input[type="checkbox"]:checked ~ label::after {
  content: '−';
}

/* ===================================
   RESPONSIBLE GAMING
   =================================== */
.responsible-gaming {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--warning);
}

.responsible-gaming h3 {
  color: var(--warning);
  margin-bottom: 1rem;
}

.responsible-gaming ul {
  list-style: none;
  margin: 1.5rem 0;
}

.responsible-gaming ul li {
  padding: 0.5rem 0;
  color: var(--gray-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.responsible-gaming ul li::before {
  content: '⚠';
  color: var(--warning);
  font-size: 1.2rem;
}

.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.help-link {
  display: inline-block;
  background: var(--gray-dark);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.help-link:hover {
  background: var(--midnight);
  transform: translateY(-2px);
  color: var(--white);
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--midnight);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--emerald);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: var(--emerald);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
}

/* ===================================
   REVIEW PAGE
   =================================== */
.review-hero {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.review-hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: var(--gray-light);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.review-hero-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.review-hero-info .rating {
  margin: 1rem 0;
}

.review-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.review-section h2 {
  color: var(--midnight);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--emerald);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pros,
.cons {
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.pros {
  background: rgba(46, 204, 113, 0.1);
  border-left: 4px solid var(--emerald);
}

.cons {
  background: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--warning);
}

.pros h3,
.cons h3 {
  margin-bottom: 1rem;
}

.pros ul li::before {
  content: '✓';
  color: var(--emerald);
}

.cons ul li::before {
  content: '✗';
  color: var(--warning);
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--midnight);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--emerald);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--emerald);
}

.footer-bottom {
  border-top: 1px solid var(--gray-dark);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.disclaimer {
  color: var(--gray-medium);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
}

/* ===================================
   LEGAL PAGES
   =================================== */
.legal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--midnight);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--emerald);
}

.legal-content h3 {
  color: var(--gray-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-content p,
.legal-content li {
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    border-bottom: 1px solid var(--gray-light);
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .casinos-grid {
    grid-template-columns: 1fr;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .review-hero {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-badges {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .casino-card {
    padding: 1rem;
  }

  .casino-header {
    flex-direction: column;
    text-align: center;
  }

  .age-gate-content {
    padding: 2rem 1rem;
  }

  .age-gate-content .btn-group {
    flex-direction: column;
  }
}

/* ===================================
   CASINO ACTIONS (Multiple Buttons)
   =================================== */
.casino-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
}

.casino-cta-secondary {
  background: var(--midnight);
  color: var(--white);
}

.casino-cta-secondary:hover {
  background: var(--gray-dark);
  color: var(--white);
}

/* ===================================
   REVIEWS GRID PAGE
   =================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-light);
}

.review-card-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gray-light);
  padding: 0.5rem;
}

.review-card-info h3 {
  font-size: 1.3rem;
  color: var(--midnight);
  margin-bottom: 0.3rem;
}

.review-card-operator {
  font-size: 0.75rem;
  color: var(--gray-medium);
  font-weight: 600;
  text-transform: uppercase;
}

.review-card-description {
  margin: 1rem 0;
  color: var(--gray-dark);
  line-height: 1.6;
  font-size: 0.95rem;
}

.review-card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 8px;
}

.highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.highlight-label {
  color: var(--gray-dark);
  font-weight: 600;
}

.highlight-value {
  color: var(--midnight);
  font-weight: 700;
}

.review-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
}

.review-btn {
  display: block;
  text-align: center;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
}

.review-btn-primary {
  background: var(--emerald);
  color: var(--white);
}

.review-btn-primary:hover {
  background: var(--emerald-dark);
  transform: scale(1.02);
  color: var(--white);
}

.review-btn-secondary {
  background: var(--midnight);
  color: var(--white);
}

.review-btn-secondary:hover {
  background: var(--gray-dark);
  transform: scale(1.02);
  color: var(--white);
}

/* ===================================
   RESPONSIVE - REVIEWS PAGE
   =================================== */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .casino-actions {
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 1rem;
  }

  .review-card-header {
    flex-direction: column;
    text-align: center;
  }

  .review-card-highlights {
    padding: 0.8rem;
  }

  .highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}
