/* Template 7 - Coral Reef Theme */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Lora:wght@400;500;600;700&display=swap");

:root {
  --coral-deep: #0a4d68;
  --coral-ocean: #1e6091;
  --coral-teal: #2d7dd2;
  --coral-aqua: #85c1e9;
  --coral-mint: #a8e6cf;
  --coral-coral: #ff7f7f;
  --coral-peach: #ffb3ba;
  --coral-cream: #fff5f5;
  --coral-white: #ffffff;
  --coral-sand: #f4f1de;
  --coral-gold: #ffd23f;

  --gradient-ocean: linear-gradient(135deg, #1e6091 0%, #2d7dd2 50%, #85c1e9 100%);
  --gradient-coral: linear-gradient(135deg, #ff7f7f 0%, #ffb3ba 100%);
  --gradient-reef: linear-gradient(135deg, #a8e6cf 0%, #85c1e9 100%);

  --shadow-wave: 0 8px 32px rgba(30, 96, 145, 0.15);
  --shadow-deep: 0 12px 40px rgba(30, 96, 145, 0.2);
  --shadow-float: 0 20px 60px rgba(30, 96, 145, 0.25);

  --font-primary: "Quicksand", sans-serif;
  --font-secondary: "Lora", 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.7;
  color: var(--coral-deep);
  background: linear-gradient(135deg, var(--coral-cream) 0%, var(--coral-sand) 100%);
  min-height: 100vh;
  font-weight: 400;
}

.main {
  flex: 1;
}

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

/* Sidebar Layout */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--gradient-ocean);
  color: white;
  padding: 2rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow-wave);
}

.sidebar-header {
  padding: 0 2rem 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sidebar-logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid white;
}



.site-name {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: #003145;
}

.sidebar-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.site-nav {
  padding: 0 1rem;
}

.site-nav ul {
  list-style: none;
}

.site-nav li {
  margin-bottom: 0.5rem;
}

.site-nav a {
  display: row;
  color: #001621;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  opacity: 0.8;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: translateX(5px);
}

.main-content {
  flex: 1;
  margin-left: 280px;
  background: var(--coral-white);
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--coral-aqua);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-wave);
}

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

.breadcrumb {
  font-size: 0.9rem;
  color: var(--coral-ocean);
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.search-box {
  padding: 0.5rem 1rem;
  border: 2px solid var(--coral-aqua);
  border-radius: 25px;
  background: white;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: var(--coral-teal);
  box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.1);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  background: var(--gradient-reef);
  color: var(--coral-deep);
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.section.head h1 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.section.head p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

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

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

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

.section header h2 {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 1rem;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-coral);
  border-radius: 2px;
}

.section header p {
  font-size: 1.1rem;
  color: var(--coral-ocean);
  max-width: 600px;
  margin: 0 auto;
}

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

.casino-item {
  width: calc(33.333% - 1.5rem);
  min-width: 320px;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.casino-item:hover {
  transform: translateY(-10px) scale(1.02);
}

.casino-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-coral);
  color: white;
  padding: 0.7rem 1.3rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: var(--shadow-wave);
}

.casino-header {
  padding: 2.5rem;
  text-align: center;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-wave);
  border: 1px solid var(--coral-aqua);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transition: all 0.4s ease;
  border: 3px solid var(--coral-mint);
}

.casino-logo:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: var(--shadow-float);
  border-color: var(--coral-coral);
}

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

.casino-name {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 1rem;
}

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

.rating .stars {
  width: 130px;
  height: 22px;
  background: var(--coral-cream);
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--coral-mint);
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--gradient-coral);
  border-radius: 9px;
  transition: all 0.4s ease;
}

.rating .text {
  color: var(--coral-ocean);
  font-weight: 600;
}

.casino-body {
  padding: 2.5rem;
  background: white;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-wave);
  border: 1px solid var(--coral-aqua);
  border-top: none;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--gradient-ocean);
  border-radius: 15px;
  color: white;
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: waveShimmer 3s ease-in-out infinite;
}

@keyframes waveShimmer {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}

.bonus-amount {
  font-size: 1.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.free-spins {
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

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

.feature-tag {
  background: var(--coral-mint);
  color: var(--coral-deep);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--coral-aqua);
}

.feature-tag:hover {
  background: var(--coral-coral);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-wave);
}

.casino-details {
  margin-bottom: 2rem;
  background: var(--coral-cream);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--coral-mint);
}

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

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

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

.detail-label {
  color: var(--coral-ocean);
  font-weight: 500;
}

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

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

.casino-button {
  display: inline-block;
  background: var(--gradient-coral);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-deep);
}

.casino-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  background: var(--gradient-ocean);
}

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

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-wave);
  border: 2px solid var(--coral-mint);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-deep);
  border-color: var(--coral-coral);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral-deep);
  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(--coral-cream);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-wave);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: 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(--gradient-ocean);
}

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

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

/* Footer */
.footer {
  background: var(--coral-deep);
  color: var(--coral-cream);
  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.9;
}

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

.footer-links a {
  color: var(--coral-cream);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--coral-coral);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--coral-ocean);
}

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

/* Animations */
@keyframes fadeInWave {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-deep);
  line-height: 1.8;
  border: 2px solid var(--coral-mint);
}

.text-content h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--coral-deep);
  margin: 2rem 0 1rem;
}

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

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

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

html, body {
height: 100%;
margin: 0;
padding: 0;
}

body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

main {
flex: 1;
}
