/* PlayBliss - Modern Casino Styles */

:root {
  /* Colors */
  --background: hsl(240, 40%, 10%);
  --background-gradient: linear-gradient(
    135deg,
    hsl(240, 40%, 10%),
    hsl(260, 50%, 15%)
  );
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(240, 35%, 15%);
  --card-foreground: hsl(210, 40%, 98%);
  --primary: hsl(320, 85%, 60%);
  --primary-dark: hsl(320, 85%, 50%);
  --primary-foreground: hsl(210, 40%, 98%);
  --secondary: hsl(189, 94%, 43%);
  --secondary-dark: hsl(189, 94%, 35%);
  --secondary-foreground: hsl(210, 40%, 98%);
  --muted: hsl(240, 30%, 20%);
  --muted-foreground: hsl(215, 20%, 65%);
  --accent: hsl(45, 93%, 58%);
  --accent-foreground: hsl(240, 40%, 10%);
  --border: hsl(189, 94%, 43%);
  --border-subtle: hsla(189, 94%, 43%, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-hero: linear-gradient(
    135deg,
    hsl(260, 70%, 50%),
    hsl(280, 60%, 40%)
  );

  /* Shadows */
  --shadow-glow: 0 0 30px hsla(320, 85%, 60%, 0.4);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--background-gradient);
  background-attachment: fixed;
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(24, 20, 40, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.875rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--card);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(320, 85%, 60%, 0.7);
}

.btn-game {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-outline {
  border: 2px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      hsla(320, 85%, 60%, 0.1),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      hsla(189, 94%, 43%, 0.1),
      transparent 50%
    );
}

.hero-content {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}

.float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Featured Game Section */
.featured-game {
  padding: 5rem 0;
  background: var(--background);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.game-spotlight {
  display: grid;
  gap: 3rem;
  align-items: center;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.game-spotlight:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.game-spotlight-image img {
  width: 100%;
  border-radius: 1rem;
}

.game-spotlight-content {
  padding: 1rem;
}

.game-spotlight-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--primary);
}

.game-spotlight-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.game-spotlight-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Info Section */
.info-section {
  padding: 5rem 0;
  background: var(--muted);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.info-card {
  background: var(--card);
  border: 2px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.info-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.info-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Age Notice Section */
.age-notice-section {
  padding: 5rem 0;
  background: var(--background);
}

.age-notice-card {
  background: var(--card);
  border: 3px solid var(--accent);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 40px hsla(45, 93%, 58%, 0.3);
}

.age-badge {
  display: inline-block;
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  background: hsla(45, 93%, 58%, 0.1);
  border: 3px solid var(--accent);
  border-radius: 1rem;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Warning Section */
.warning-section {
  padding: 3rem 0;
  background: var(--muted);
}

.warning-card {
  background: hsla(45, 93%, 58%, 0.1);
  border: 2px solid var(--accent);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.warning-badge {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 0.5rem;
  padding: 0.25rem 1rem;
  margin-bottom: 1rem;
}

/* Footer Organizations Section */
.footer-orgs {
  padding: 3rem 0;
  background: var(--card);
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  border: 2px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.footer-logo-link:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.footer-logo-link img {
  max-height: 4rem;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2);
}

/* Footer Styles */
footer {
  border-top: 2px solid var(--border-subtle);
  background: var(--background);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-section a,
.footer-section p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-gate-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 1.5rem;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
  color: var(--muted-foreground);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* Page Components */
.card {
  background: var(--card);
  border: 2px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.max-w-4xl {
  max-width: 896px;
  margin: 0 auto;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

.feature-card {
  background: var(--card);
  border: 2px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-primary {
  background: hsla(320, 85%, 60%, 0.2);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.icon-secondary {
  background: hsla(189, 94%, 43%, 0.2);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.icon-accent {
  background: hsla(45, 93%, 58%, 0.2);
  color: var(--accent);
  border: 2px solid var(--accent);
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.footer-notice {
  background: var(--card);
  border: 2px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-notice .age {
  display: inline-block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  background: hsla(45, 93%, 58%, 0.1);
  border: 3px solid var(--accent);
  border-radius: 1rem;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mt-4 {
  margin-top: 1rem;
}
.w-full {
  width: 100%;
}
.flex {
  display: flex;
}
.gap-4 {
  gap: 1rem;
}
.justify-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.text-primary {
  color: var(--primary);
}

/* Accordion Styles */
.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

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

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--foreground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.accordion-content.active {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.accordion-icon {
  transition: transform 0.3s;
  color: var(--primary);
}

.accordion-icon.active {
  transform: rotate(180deg);
}

/* Link Styles */
a.text-primary {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a.text-primary:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.card a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* List Styles */
.card ul,
.card ol {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.card ul {
  list-style: disc;
}

.card ol {
  list-style: decimal;
}

.card li {
  margin-bottom: 0.5rem;
}

.card li strong {
  color: var(--foreground);
}

/* Main Content Styles */
main {
  min-height: calc(100vh - 200px);
}

main .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Section spacing */
section {
  margin-bottom: 2rem;
}

section:last-child {
  margin-bottom: 0;
}

/* Footer Notice Enhancement */
.footer-notice p {
  margin-bottom: 0.5rem;
}

.footer-notice p:last-child {
  margin-bottom: 0;
}

/* Grid enhancements */
.grid-2 > div {
  min-width: 0;
}

/* Feature card enhancements */
.feature-card h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Card paragraph styles */
.card p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card h2,
.card h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

/* Contact page styles */
.card a.text-xl {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    text-align: left;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    margin-left: 0;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .game-spotlight {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-logo-link {
    padding: 2rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 767px) {
  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .container {
    padding: 0 1rem;
  }

  .footer-logos {
    gap: 0.75rem;
  }

  .footer-logo-link {
    padding: 1rem;
  }

  .footer-logo-link img {
    max-height: 3rem;
  }

  .age-notice-card,
  .warning-card {
    padding: 2rem 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .text-5xl {
    font-size: 2.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-notice {
    padding: 1.5rem;
  }

  .footer-notice .age {
    font-size: 2rem;
    padding: 0.4rem 1rem;
  }

  .accordion-trigger {
    padding: 1rem 0;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-title {
    font-size: 5.5rem;
  }
}
