/* ===================================
   Custom Styles for Sunny Islet
   Free Social Online Casino
   =================================== */

/* Root Variables */
:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary-color: #0ea5e9;
  --accent-gold: #fbbf24;
  --accent-purple: #a855f7;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
  --white: #ffffff;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Adding decorative background patterns */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Navigation */
.site-header {
  background: var(--bg-gradient);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  background: transparent !important;
  padding: 0.5rem 0;
}

/* Text logo styling instead of image */
.logo-link {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.logo-link:hover {
  transform: scale(1.05);
  background-color: transparent !important;
}

.logo-link .logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-item {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-item:hover::after,
.navbar-item.is-active::after {
  width: 70%;
}

.navbar-item:hover,
.navbar-item.is-active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
}

.navbar-burger {
  color: var(--white);
}

/* Hero Sections */
.hero-home {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%),
    url("/images/hero-bg.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Adding animated decorative elements */
.hero-home::before {
  content: "♠";
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.hero-home::after {
  content: "♦";
  position: absolute;
  bottom: 10%;
  right: 5%;
  font-size: 10rem;
  color: rgba(251, 191, 36, 0.08);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.page-hero {
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .title {
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-button {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f59e0b 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-gradient);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Popular Games Section */
.popular-games {
  background: var(--bg-gradient);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Decorative card symbols */
.popular-games::before {
  content: "♣";
  position: absolute;
  top: 5%;
  right: 8%;
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(15deg);
}

.popular-games::after {
  content: "♥";
  position: absolute;
  bottom: 5%;
  left: 8%;
  font-size: 10rem;
  color: rgba(251, 191, 36, 0.05);
  transform: rotate(-20deg);
}

.game-preview-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.game-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}

.game-preview-card:hover::before {
  opacity: 1;
}

.game-preview-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.game-preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.game-preview-card:hover img {
  transform: scale(1.1);
}

.game-preview-card h3,
.game-preview-card p {
  padding: 0 1.5rem;
}

.game-preview-card h3 {
  margin-top: 1.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.game-preview-card p {
  padding-bottom: 1.5rem;
  color: var(--text-light);
}

/* Game Cards (Full Page) */
.game-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.game-card:hover {
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.game-image {
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-image img {
  transform: scale(1.08);
}

.game-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: var(--text-light);
  line-height: 1.7;
}

.play-game-btn {
  margin-top: auto;
  font-weight: 600;
  border-radius: 12px;
  padding: 1rem 2rem;
  transition: var(--transition);
}

.play-game-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* Game Modal */
.game-modal-content {
  width: 90vw;
  max-width: 1400px;
  height: 90vh;
}

.game-modal-content .box {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
}

#game-iframe {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  border: none;
}

/* Event Cards */
.event-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--bg-gradient);
  border-radius: 20px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.event-card:hover::before {
  opacity: 1;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.event-types-section {
  background: var(--bg-gradient);
  padding: 6rem 0;
  position: relative;
}

.event-type-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  height: 100%;
  transition: var(--transition);
}

.event-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.event-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.event-list {
  list-style: none;
  margin-top: 1.5rem;
}

.event-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.event-list li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Timeline */
.timeline {
  margin: 3rem 0;
  position: relative;
}

.timeline-item {
  display: flex;
  padding: 2rem 0;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 60px;
  width: 3px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.timeline-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-right: 2rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(30, 64, 175, 0.2);
}

.timeline-marker.is-info {
  background: var(--secondary-color);
}

.timeline-marker.is-success {
  background: #10b981;
}

.timeline-content {
  flex-grow: 1;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* How To Section */
.how-to-section {
  background: var(--bg-light);
  position: relative;
}

.steps-box {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.step {
  display: flex;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.step:hover {
  transform: translateX(10px);
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-right: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  padding: 1.8rem;
  background: var(--white);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question .title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 300;
  transition: var(--transition);
  min-width: 30px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 1.8rem 1.8rem 1.8rem;
  line-height: 1.7;
  color: var(--text-light);
}

.faq-answer ul {
  list-style-position: inside;
}

/* Contact Cards */
.contact-info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
  border-top-color: var(--primary-color);
}

.contact-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.contact-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-address {
  font-style: normal;
  line-height: 1.9;
  color: var(--text-light);
}

.contact-form-section {
  background: var(--bg-light);
}

.contact-form-box {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.blog-card:hover {
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.blog-content .title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.blog-content .title a:hover {
  color: var(--primary-color);
}

.blog-tags {
  margin: 1rem 0;
  margin-top: auto;
}

.blog-tags .tag {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 20px;
  font-weight: 500;
}

.newsletter-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

/* Team Cards */
.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.team-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--bg-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-card .subtitle {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Mission Cards */
.mission-section {
  background: var(--bg-gradient);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: "★";
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.03);
  animation: float 10s ease-in-out infinite;
}

.mission-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  height: 100%;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Feature Boxes */
.feature-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.feature-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.different-section {
  background: var(--bg-light);
}

/* CTA Section */
.cta-section {
  background: var(--bg-gradient);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 4rem 0 2rem;
  margin-top: 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-gold),
    var(--accent-purple),
    var(--primary-light)
  );
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* Fixed cookie banner styling and positioning */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.8rem;
  z-index: 999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  display: none;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  flex: 1;
  min-width: 200px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons .button {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.cookie-buttons .button:hover {
  transform: scale(1.05);
}

/* Utility Classes */
.rounded-image {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.why-choose {
  padding: 6rem 0;
  position: relative;
}

.social-events {
  padding: 6rem 0;
  background: var(--bg-light);
}

/* Sections Spacing */
.section {
  padding: 5rem 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem !important;
  }

  .hero .subtitle {
    font-size: 1.2rem !important;
  }

  .cta-button {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }

  .feature-icon,
  .event-icon,
  .feature-icon-large {
    font-size: 3rem;
  }

  .logo-link {
    font-size: 1.4rem !important;
  }

  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .navbar-menu {
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
  }

  .hero-home::before,
  .hero-home::after {
    font-size: 4rem;
  }
}

@media screen and (max-width: 1024px) {
  .game-modal-content {
    width: 95vw;
    height: 95vh;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.is-loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .cta-section {
    display: none;
  }

  body::before {
    display: none;
  }
}
