/* Template 2 - Modern Corporate Blue Theme */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;600;700&display=swap");

:root {
  --primary-blue: #0066cc;
  --dark-blue: #004080;
  --light-blue: #3399ff;
  --navy: #001a33;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --medium-gray: #e1e8ed;
  --text-gray: #4a5568;
  --border-gray: #cbd5e0;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  --font-primary: "Inter", sans-serif;
  --font-heading: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-gray);
  background: var(--light-gray);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.main {
  flex: 1;
}

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

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.logo a {
  color: var(--primary-blue);
}

.logo a:hover {
  color: var(--dark-blue);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.site-nav a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  display: block;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.site-nav a:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
}

/* Hero Section */
.section.head {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
}

.section.head h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s ease;
}

.section.head p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

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

.section:nth-child(even) {
  background: var(--white);
}

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

.section header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.125rem;
}

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.casino-item {
  width: calc(33.333% - 1.5rem);
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.casino-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.casino-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-header {
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--light-gray);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: var(--white);
  transition: transform 0.3s ease;
}

.casino-logo:hover {
  transform: scale(1.05);
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.casino-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.rating .stars {
  width: 120px;
  height: 20px;
  background: var(--medium-gray);
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
  transition: width 0.4s ease;
}

.rating .text {
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 600;
}

.casino-body {
  padding: 2rem 1.5rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
  border-radius: 8px;
  color: var(--white);
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.free-spins {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: var(--light-gray);
  color: var(--text-gray);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.casino-details {
  margin-bottom: 2rem;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-gray);
  transition: background 0.3s ease;
}

.detail-item:hover {
  background: var(--light-gray);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-gray);
  font-weight: 500;
}

.detail-value {
  color: var(--navy);
  font-weight: 600;
}

.casino-action {
  text-align: center;
}

.casino-button {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-button:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* FAQ Section */
.faq_list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-question {
  background: var(--white);
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

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

.accordion-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--white);
  transition: all 0.3s ease;
}

.accordion-icon::before {
  width: 12px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--dark-blue);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.faq-item.active .accordion-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-column {
  width: 100%;
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

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

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

/* H3 Styling */
h3 {
  font-size: 2rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
}

.footer-links {
  margin-left: auto;
}
