/* Template 6 - Purple Gradient Premium Theme */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&display=swap");

:root {
  --purple-primary: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-deep: #6d28d9;
  --purple-light: #a78bfa;
  --purple-pale: #f3f4f6;
  --purple-white: #ffffff;
  --purple-black: #111827;
  --purple-gray: #6b7280;
  --purple-accent: #f59e0b;

  --glow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
  --glow-strong: 0 0 50px rgba(139, 92, 246, 0.5);
  --shadow-premium: 0 8px 32px rgba(139, 92, 246, 0.2);
  --shadow-deep: 0 12px 40px rgba(139, 92, 246, 0.3);

  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", 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(--purple-black);
  background: var(--purple-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(124, 58, 237, 0.05) 50%,
    rgba(109, 40, 217, 0.05) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.main {
  flex: 1;
}

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

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-premium);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: var(--glow-purple);
}

.site-name {
  font-family: var(--font-secondary);
  font-size: 2.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  background-position: 0 0;
  animation: gradientAnimation 5s ease infinite;
  text-decoration: none;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0 0;
  }
}

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

.site-nav a {
  color: var(--purple-gray);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.site-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50px;
  z-index: -1;
}

.site-nav a:hover::before {
  transform: scale(1);
}

.site-nav a:hover {
  color: var(--purple-white);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

/* Hero Section */
.section.head {
  padding: 12rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--purple-deep) 100%);
  color: var(--purple-white);
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="6" cy="6" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="19" cy="19" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  animation: twinkle 10s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.section.head h1 {
  font-family: var(--font-secondary);
  font-size: 5.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.section.head p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  font-weight: 400;
}

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

.section:nth-child(even) {
  background: linear-gradient(135deg, var(--purple-pale) 0%, rgba(139, 92, 246, 0.05) 100%);
}

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

.section header h2 {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 800;
  background: #FFD700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-accent) 0%, var(--purple-primary) 100%);
  border-radius: 2px;
  box-shadow: var(--glow-purple);
}

.section header p {
  font-size: 1.3rem;
  color: var(--purple-gray);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

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

.casino-item {
  width: calc(33.333% - 2rem);
  min-width: 380px;
  background: var(--purple-white);
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-deep) 50%, var(--purple-accent) 100%);
}

.casino-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-deep);
  border-color: var(--purple-primary);
}

.casino-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--purple-accent) 0%, #f97316 100%);
  color: var(--purple-white);
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 10;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.casino-header {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-white) 0%, rgba(139, 92, 246, 0.02) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 2.5rem;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-premium);
  border: 3px solid rgba(139, 92, 246, 0.2);
  position: relative;
}

.casino-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.casino-logo:hover::before {
  transform: translateX(100%);
}

.casino-logo:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-strong);
  border-color: var(--purple-primary);
}

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

.casino-name {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

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

.rating .stars {
  width: 160px;
  height: 28px;
  background: linear-gradient(135deg, var(--purple-pale) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--purple-primary);
  box-shadow: inset 0 2px 4px rgba(139, 92, 246, 0.1);
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-light) 50%, var(--purple-accent) 100%);
  border-radius: 15px;
  transition: all 0.6s ease;
  box-shadow: var(--glow-purple);
}

.rating .text {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
}

.casino-body {
  padding: 3rem;
  background: var(--purple-white);
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--purple-deep) 100%);
  color: var(--purple-white);
  border-radius: 15px;
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
}

.bonus-amount {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-secondary);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.free-spins {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

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

.feature-tag {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  color: var(--purple-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.4s ease;
  border: 2px solid var(--purple-primary);
  position: relative;
  overflow: hidden;
}

.feature-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 25px;
  z-index: -1;
}

.feature-tag:hover::before {
  transform: scale(1);
}

.feature-tag:hover {
  color: var(--purple-white);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

.casino-details {
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--purple-pale) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 15px;
  border: 2px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(139, 92, 246, 0.05);
  transform: translateX(5px);
}

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

.detail-label {
  color: var(--purple-gray);
  font-weight: 600;
  font-size: 1rem;
}

.detail-value {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-family: var(--font-secondary);
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--purple-deep) 100%);
  color: var(--purple-white);
  padding: 1.5rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-accent) 0%, #f97316 100%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50px;
  z-index: -1;
}

.casino-button:hover::before {
  transform: scale(1);
}

.casino-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--glow-strong);
}

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

.faq-item {
  background: var(--purple-white);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--purple-primary);
  box-shadow: var(--shadow-deep);
  transform: translateY(-2px);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 2.5rem 3rem;
  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: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.accordion-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: var(--glow-purple);
}

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

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

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

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--purple-accent) 0%, #f97316 100%);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 3rem;
  color: var(--purple-gray);
  line-height: 1.8;
  font-size: 1.05rem;
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-black) 100%);
  color: var(--purple-white);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

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

.footer-tagline {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.9;
  font-weight: 400;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-light) 100%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50px;
  z-index: -1;
}

.footer-links a:hover::before {
  transform: scale(1);
}

.footer-links a:hover {
  border-color: var(--purple-primary);
  color: var(--purple-white);
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.copyright {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 400;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s 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: var(--purple-white);
  padding: 5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-deep);
  line-height: 1.9;
  border: 2px solid rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.text-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-deep) 50%, var(--purple-accent) 100%);
}

.text-content h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 3rem 0 2rem;
}

.text-content p {
  margin-bottom: 2rem;
  color: var(--purple-gray);
  font-size: 1.05rem;
}

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

.text-content li {
  margin-bottom: 0.8rem;
  color: var(--purple-gray);
  font-size: 1.05rem;
}
