/* Template 5 - Red Corporate Minimalist Theme */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Crimson+Text:wght@400;600;700&display=swap");

:root {
  --corp-red: #dc2626;
  --corp-red-light: #ef4444;
  --corp-red-dark: #991b1b;
  --corp-accent: #f59e0b;
  --corp-dark: #1f2937;
  --corp-light: #f9fafb;
  --corp-white: #ffffff;
  --corp-gray: #6b7280;
  --corp-border: #e5e7eb;

  --shadow-sm: 0 2px 4px rgba(220, 38, 38, 0.1);
  --shadow-md: 0 4px 12px rgba(220, 38, 38, 0.15);
  --shadow-lg: 0 8px 24px rgba(220, 38, 38, 0.2);

  --font-primary: "Roboto", sans-serif;
  --font-accent: "Crimson Text", 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(--corp-dark);
  background: var(--corp-light);
  min-height: 100vh;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Minimalist Header */
.site-header {
  background: var(--corp-white);
  border-bottom: 1px solid var(--corp-border);
  padding: 1.5rem 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 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo img {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  border: 2px solid var(--corp-red);
}

.site-name {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--corp-red);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.site-nav a {
  color: var(--corp-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.site-nav a:hover {
  color: var(--corp-red);
  border-bottom-color: var(--corp-red);
}

/* Hero Section */
.section.head {
  padding: 10rem 0;
  text-align: center;
  background: var(--corp-white);
  position: relative;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.05), transparent);
}

.section.head h1 {
  font-family: var(--font-accent);
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--corp-red);
  position: relative;
  z-index: 2;
  letter-spacing: -1px;
}

.section.head p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--corp-gray);
  position: relative;
  z-index: 2;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

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

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

.section header h2 {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 600;
  color: var(--corp-red);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--corp-accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

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

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

.casino-item {
  width: calc(33.333% - 1.5rem);
  min-width: 320px;
  background: var(--corp-white);
  border: 1px solid var(--corp-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.casino-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--corp-border);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 5px;
  border: 1px solid var(--corp-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.casino-logo:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-sm);
}

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

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

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

.rating .stars {
  width: 120px;
  height: 16px;
  background: var(--corp-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--corp-accent);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.rating .text {
  color: var(--corp-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.casino-body {
  padding: 2rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--corp-red);
  color: var(--corp-white);
  border-radius: 6px;
}

.bonus-amount {
  font-size: 1.75rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.free-spins {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

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

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

.feature-tag:hover {
  background: var(--corp-red);
  color: var(--corp-white);
  border-color: var(--corp-red);
}

.casino-details {
  margin-bottom: 2rem;
  background: var(--corp-light);
  border: 1px solid var(--corp-border);
  border-radius: 6px;
  overflow: hidden;
}

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

.detail-item:hover {
  background: var(--corp-white);
}

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

.detail-label {
  color: var(--corp-gray);
  font-weight: 500;
  font-size: 0.9rem;
}

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

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

.casino-button {
  display: inline-block;
  background: var(--corp-red);
  color: var(--corp-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--corp-red);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--corp-red);
  padding: 1.5rem 2rem;
  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(--corp-light);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  background: var(--corp-red);
  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(--corp-white);
  transition: all 0.3s ease;
}

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

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

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
  color: var(--corp-gray);
  line-height: 1.6;
}

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

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

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--corp-white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  border-bottom-color: var(--corp-red);
  color: var(--corp-red);
}

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

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--corp-white);
  padding: 3rem;
  border: 1px solid var(--corp-border);
  border-radius: 8px;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.text-content h3 {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--corp-red);
  margin: 2rem 0 1rem;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: var(--corp-gray);
}

.text-content ul,
.text-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: var(--corp-gray);
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s 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;
}
