/* General Resets & Body Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7f6; /* Light, calm background */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures footer is at the bottom */
}

/* Container for consistent width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Headings */
h1,
h2,
h3,
h4 {
  color: #1a237e; /* Deep Blue */
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  text-align: center;
}

h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #9c27b0; /* Violet */
  border-radius: 2px;
}

h3 {
  font-size: 2rem;
  color: #3f51b5; /* Medium Blue */
  margin-top: 30px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #555;
}

a {
  color: #9c27b0; /* Violet */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #7b1fa2; /* Darker Violet */
}

/* Section descriptions */
.section-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px; /* Adjust margin-bottom */
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #ffd700; /* Gold */
  color: #1a237e; /* Deep Blue */
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 50px; /* Pill shape */
  font-size: 1.25rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button:hover {
  background-color: #ffeb3b; /* Lighter Gold */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-button {
  display: inline-block;
  background-color: #9c27b0; /* Violet */
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.game-button:hover {
  background-color: #7b1fa2; /* Darker Violet */
  transform: translateY(-2px);
}

/* Contact form specific button */
.cta-button {
  display: block; /* Make it a block-level element */
  width: fit-content; /* Fit content, not full width */
  margin: 30px auto 0; /* Center it */
  background-color: #ffd700; /* Gold */
  color: #1a237e; /* Deep Blue */
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: #ffeb3b; /* Lighter Gold */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation */
header {
  background-color: #1a237e; /* Deep Blue */
  color: #fff;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo a {
  color: #ffd700; /* Gold */
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #ffd700; /* Gold */
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ffd700; /* Gold */
}

/* Burger Menu for Mobile */
.burger-menu {
  display: none; /* Hidden by default */
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
}

.burger-menu div {
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Main Content Area */
main {
  flex: 1; /* Ensures main content expands to fill space */
  padding-top: 80px; /* Space for fixed header */
}

section {
  padding: 80px 0;
  background-color: #fff;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden; /* Clear floats if any */
}

/* Hero Section (Index Page) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  background: url("../images/hero-australia.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-top: 0; /* No padding-top needed as header pushes main down */
  box-shadow: none; /* No shadow for full-screen */
  border-radius: 0;
  margin-bottom: 0;
}

.hero-content {
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Slightly darker overlay for text readability */
  padding: 60px 80px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9); /* Stronger shadow for impact */
  animation: fadeInScale 1s ease-out forwards;
}

.hero-content h1 {
  font-size: 5.5rem;
  margin-bottom: 30px;
  color: #ffd700; /* Gold */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
  letter-spacing: 2px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page Hero (Other Pages) */
.page-hero {
  background-color: #e3f2fd; /* Light blue background */
  padding: 60px 0;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: none; /* Remove shadow for simpler hero */
  border-radius: 0;
}

.page-hero h1 {
  font-size: 3.5rem;
  color: #1a237e;
  margin-bottom: 20px;
}

.page-hero p {
  max-width: 900px; /* Increased max-width for more text */
  margin: 0 auto 30px;
  font-size: 1.2rem;
  color: #3f51b5;
  line-height: 1.8; /* Increased line-height for readability */
}

/* Introduction Section (Index Page) */
.intro-section {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
  margin-top: -30px; /* Pulls it up slightly towards hero */
  position: relative;
  z-index: 1; /* Ensures it sits above other elements if needed */
}

.intro-section p {
  max-width: 950px; /* Increased width for more text */
  margin: 0 auto 20px; /* Add margin-bottom for paragraphs */
  text-align: left; /* Align text left for long paragraphs */
}

.intro-section p:last-of-type {
  margin-bottom: 0;
}

/* Games Preview (Index Page) */
.games-preview .game-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.games-preview .game-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.games-preview .game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.games-preview .game-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.games-preview .game-item h3 {
  font-size: 1.6rem;
  color: #3f51b5;
  margin: 20px 0 10px;
}

.games-preview .game-item p {
  padding: 0 20px;
  margin-bottom: 25px;
  font-size: 1rem;
  color: #666;
  text-align: left; /* Align game item description text left */
}

.games-preview .view-all-games {
  text-align: center;
  margin-top: 60px;
}

/* Advantages Section (Index & About) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.advantage-item,
.about-item {
  text-align: center;
  background-color: #e8eaf6; /* Light Blue */
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover,
.about-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-item img,
.about-item img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  object-fit: contain;
}

.advantage-item h3,
.about-item h3 {
  font-size: 1.8rem;
  color: #1a237e;
  margin-bottom: 15px;
}

.advantage-item p,
.about-item p {
  color: #555;
  font-size: 1.05rem;
  text-align: left; /* Align text left */
}

/* Comparison Page Styles */
.comparison-section {
  padding: 80px 0;
  background-color: #fff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.comparison-column {
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.comparison-column h3 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid;
}

.social-casino {
  background-color: #e8f5e9; /* Light green for positive */
  border: 2px solid #4caf50; /* Green border */
}

.social-casino h3 {
  color: #2e7d32; /* Darker green */
  border-color: #2e7d32;
}

.real-casino {
  background-color: #ffebee; /* Light red for warning */
  border: 2px solid #ef5350; /* Red border */
}

.real-casino h3 {
  color: #c62828; /* Darker red */
  border-color: #c62828;
}

.comparison-item {
  display: flex;
  align-items: center; /* Align icon and title vertically */
  flex-wrap: wrap; /* Allow content to wrap below icon/title */
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #ddd;
}

.comparison-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comparison-item img {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  flex-shrink: 0; /* Prevent shrinking */
}

.comparison-item h4 {
  font-size: 1.4rem;
  color: #1a237e;
  margin-bottom: 5px;
  flex-grow: 1; /* Allows title to take available space */
}

.comparison-item p {
  font-size: 1.05rem;
  color: #666;
  margin: 0;
  flex-basis: 100%; /* Take full width below title */
  padding-left: 80px; /* Align with text, account for image margin */
}
/* Adjust for smaller screens where image is on its own line */
@media (max-width: 768px) {
  .comparison-item p {
    padding-left: 0;
  }
}

.conclusion-text {
  text-align: center;
  margin-top: 80px;
  padding: 40px;
  background-color: #f0f4c3; /* Light yellow/lime */
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.conclusion-text h3 {
  color: #558b2f; /* Dark green for positive conclusion */
  font-size: 2.4rem;
  margin-bottom: 25px;
}

.conclusion-text p {
  font-size: 1.25rem;
  color: #333;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: left; /* Align text left for long paragraphs */
}
.conclusion-text p:last-of-type {
  margin-bottom: 0;
}

/* Games Page Styles */
.demo-game-section {
  padding: 60px 0;
  background-color: #e3f2fd; /* Light blue background */
  text-align: center;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.game-iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000; /* Background for loading */
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7);
  margin: 40px auto;
  max-width: 960px; /* Max width for iframe */
}

.game-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-game-disclaimer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.game-filter-section {
  background-color: #e0f2f7; /* Lighter blue */
  padding: 30px 0;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  background-color: #b39ddb; /* Light violet */
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background-color: #9575cd; /* Darker light violet */
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: #9c27b0; /* Violet */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.game-library-section .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.game-category-heading {
  grid-column: 1 / -1; /* Spans across all columns */
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.game-category-heading h2 {
  font-size: 2.2rem;
  color: #1a237e;
  margin-bottom: 0;
  position: relative;
  padding-bottom: 10px;
  display: inline-block; /* Makes the underline fit content */
}

.game-category-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ffd700; /* Gold underline */
  border-radius: 2px;
}

.game-category-heading p {
  max-width: 800px;
  margin: 15px auto 30px;
  font-size: 1.1rem;
  color: #555;
  text-align: center;
}

/* Hide games not matching filter */
.game-item.hidden {
  display: none;
}
/* Style games in game-library-section similar to games-preview */
.game-library-section .game-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-library-section .game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-library-section .game-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.game-library-section .game-item h3 {
  font-size: 1.6rem;
  color: #3f51b5;
  margin: 20px 0 10px;
}

.game-library-section .game-item p {
  padding: 0 20px;
  margin-bottom: 25px;
  font-size: 1rem;
  color: #666;
  text-align: left; /* Align game item description text left */
}

/* About Page Styles */
.about-content p,
.policy-content p,
.faq-content p,
.terms-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
}
.about-content p strong,
.policy-content p strong,
.faq-content p strong,
.terms-content p strong {
  color: #1a237e; /* Highlight strong text in deep blue */
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.about-item {
  background-color: #e8f5e9; /* Light green hint */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Policy & FAQ & Terms Styles */
.policy-content,
.faq-content,
.terms-content {
  background-color: #fff;
  padding: 60px 0;
}

.policy-content h3,
.faq-content h3,
.terms-content h3 {
  font-size: 1.8rem;
  color: #3f51b5;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.policy-content ul,
.terms-content ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #444;
}
.policy-content ul li,
.terms-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.policy-content ul li strong,
.terms-content ul li strong {
  color: #1a237e;
}

.faq-item {
  background-color: #f5f5f5;
  border-left: 5px solid #9c27b0; /* Violet accent */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #1a237e;
  border-bottom: none; /* Override general h3 */
  padding-bottom: 0;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}

/* Contact Page Styles */
.contact-content {
  background-color: #fff;
  padding: 60px 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.2rem;
  color: #444;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #1a237e;
  font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #9c27b0; /* Violet */
  box-shadow: 0 0 8px rgba(156, 39, 176, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical; /* Allow vertical resizing */
  min-height: 120px;
}

/* Checkbox specific styling */
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #9c27b0; /* Violet accent color */
}

.checkbox-label a {
  margin-left: 5px;
  font-weight: bold;
}

.email-direct {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: #e3f2fd; /* Light blue */
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.email-direct h3 {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 15px;
}

.email-direct p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 10px;
}

.email-address a {
  font-weight: bold;
  color: #9c27b0;
}

/* Footer */
footer {
  background-color: #1a237e; /* Deep Blue */
  color: #fff;
  padding: 40px 0;
  text-align: center;
  margin-top: auto; /* Pushes footer to the bottom */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Allows links to wrap on smaller screens */
}

.footer-links ul li {
  margin: 0 20px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffd700; /* Gold */
}

footer p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  .nav-links li {
    margin-left: 20px;
  }
  .button {
    padding: 14px 28px;
    font-size: 1.15rem;
  }
  .hero-content h1 {
    font-size: 4.5rem;
  }
  .comparison-grid {
    gap: 30px;
  }
  .page-hero p {
    font-size: 1.1rem;
  }
  .section-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .logo a {
    font-size: 1.6rem;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 60%;
    background-color: #1a237e; /* Same as header */
    flex-direction: column;
    justify-content: flex-start; /* Start from top */
    align-items: center;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.5s ease-in-out;
    padding-top: 100px; /* Space for logo/burger */
  }

  .nav-links.nav-active {
    transform: translateX(0%); /* Slide in */
  }

  .nav-links li {
    margin: 25px 0;
  }

  .nav-links li a {
    font-size: 1.5rem;
  }

  .burger-menu {
    display: flex; /* Show burger menu */
  }

  .hero-content {
    padding: 40px 50px;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .button {
    padding: 12px 25px;
    font-size: 1.1rem;
  }

  section {
    padding: 50px 0;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .comparison-grid {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 40px;
  }

  .comparison-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }
  .comparison-item h4 {
    font-size: 1.2rem;
  }
  .comparison-item p {
    font-size: 1rem;
    padding-left: 0; /* Reset padding for stacked layout */
    text-align: center; /* Center text if icon is on its own line */
  }
  .comparison-item {
    justify-content: center; /* Center items if stacked */
    text-align: center;
  }

  .game-gallery,
  .advantages-grid,
  .about-grid,
  .game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .game-item img {
    height: 180px;
  }

  .game-category-heading h2 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 30px;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
  }

  .footer-links ul li {
    margin: 10px 15px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }

  .nav-links {
    width: 75%; /* Wider on very small screens */
  }

  .hero-content {
    padding: 30px 20px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .button {
    padding: 10px 20px;
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.7rem;
    margin-bottom: 25px;
  }
  h3 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }

  .game-gallery,
  .advantages-grid,
  .about-grid,
  .game-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .game-item img {
    height: 150px;
  }

  .comparison-column {
    padding: 30px 20px;
  }

  .filter-buttons {
    flex-direction: column;
  }
  .filter-btn {
    width: 80%;
    margin: 0 auto 10px;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 10px;
  }
  .footer-links ul li {
    margin: 0;
  }

  /* Adjust checkbox label for small screens */
  .checkbox-label {
    flex-direction: column; /* Stack checkbox and text */
    align-items: flex-start;
    text-align: left;
  }
  .checkbox-label input[type="checkbox"] {
    margin-right: 0;
    margin-bottom: 5px; /* Space between checkbox and text */
  }
  .checkbox-label a {
    margin-left: 0; /* Reset margin */
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 12px 25px;
  }
}

/* Burger menu animation */
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Стили для контейнера игры в слоты */
.slots-game-container {
  display: flex; /* Изначально скрываем, показываем через JS */
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #222;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5); /* Зеленое свечение */
  margin-top: 20px;
  width: 100%;
  max-width: 600px; /* Ограничиваем ширину для лучшего вида */
  box-sizing: border-box;
  color: #eee;
  font-family: "Arial", sans-serif;
  gap: 20px; /* Промежутки между элементами */
}

/* Барабаны слотов */
.slots-reels {
  display: flex;
  justify-content: center;
  gap: 15px; /* Промежуток между барабанами */
  perspective: 1000px; /* Для 3D-эффекта, если потребуется */
  overflow: hidden; /* Важно для скрытия невидимых частей барабана */
  border: 3px solid #0f0; /* Зеленая рамка вокруг барабанов */
  border-radius: 8px;
  padding: 5px; /* Небольшой отступ внутри рамки */
  background-color: #333;
}

.slot-reel {
  width: 100px; /* Ширина одного барабана */
  height: 150px; /* Высота видимой области (3 символа по 50px) */
  border: 2px solid #555;
  border-radius: 5px;
  overflow: hidden; /* Скрывает символы за пределами видимости */
  background-color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Начинаем сверху */
  transition: transform 0.5s ease-out; /* Плавный переход для анимации */
  position: relative; /* Для позиционирования символов */
}

.slot-symbol {
  font-size: 48px; /* Размер символов */
  height: 50px; /* Высота каждого символа */
  line-height: 50px; /* Выравнивание по вертикали */
  text-align: center;
  width: 100%; /* Занимает всю ширину барабана */
  flex-shrink: 0; /* Не сжимается */
  user-select: none; /* Запрещаем выделение текста */
  transition: opacity 0.1s ease-in-out; /* Плавное появление/исчезновение, если нужно */
}

/* Элементы управления игрой */
.slots-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}

.balance-info,
.bet-info {
  font-size: 1.2em;
  color: #fff;
  background-color: #444;
  padding: 10px 15px;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.balance-info span,
.bet-info input {
  font-weight: bold;
  color: #0f0; /* Яркий цвет для чисел */
}

#betAmount {
  width: 80px;
  padding: 5px;
  border: 1px solid #0f0;
  border-radius: 4px;
  background-color: #333;
  color: #0f0;
  text-align: center;
  font-size: 1em;
}

#betAmount:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

#spinButton {
  padding: 15px 30px;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
  background-color: #008800; /* Темно-зеленый */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 5px 0 #005500; /* Эффект нажатой кнопки */
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 200px;
}

#spinButton:hover {
  background-color: #00aa00; /* Светлее при наведении */
}

#spinButton:active {
  background-color: #005500; /* Темнее при нажатии */
  box-shadow: 0 2px 0 #003300;
  transform: translateY(3px);
}

#spinButton:disabled {
  background-color: #666;
  box-shadow: 0 5px 0 #444;
  cursor: not-allowed;
  color: #ccc;
}

.message-area {
  margin-top: 10px;
  font-size: 1.1em;
  color: #fff;
  min-height: 2em; /* Чтобы текст не "прыгал" */
  text-align: center;
}

/* Стили для модального окна (если вы их не меняли, убедитесь, что они корректно центрируют контент) */
.game-modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed; /* Поверх всего */
  z-index: 1000; /* Выше других элементов */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Включение прокрутки, если контент слишком большой */
  background-color: rgba(0, 0, 0, 0.8); /* Полупрозрачный черный фон */
  justify-content: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
}

.modal-content {
  background-color: #1a1a1a; /* Темный фон модального окна */
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 90%;
  max-width: 700px; /* Максимальная ширина модального окна */
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4); /* Зеленое свечение вокруг модала */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* Отступ между элементами внутри модала */
}

.modal-content h2 {
  color: #0f0;
  font-size: 2em;
  margin-bottom: 10px;
}

.close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* --- Thank You Page Specific Styles --- */
.thank-you-content {
  padding: 60px 0;
  background-color: #1a1a1a; /* Assuming a dark background for main content */
  color: #eee;
  text-align: center;
}

.thank-you-message-card {
  background-color: #2c2c2c;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(0, 255, 0, 0.5);
}

.thank-you-message-card h2 {
  font-size: 2.2em;
  color: #0f0;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.thank-you-message-card .button-group {
  display: flex;
  flex-direction: column; /* Stack buttons vertically on small screens */
  gap: 20px;
  margin-bottom: 30px;
  align-items: center; /* Center buttons */
}

/* Reusing .cta-button from your existing styles */
.thank-you-message-card .secondary-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  background-color: transparent; /* Changed from primary to secondary look */
  color: #0f0;
  border: 2px solid #0f0;
  box-shadow: 0 5px 0 rgba(0, 255, 0, 0.2);
  width: 100%; /* Ensure full width on smaller screens */
  max-width: 250px; /* Limit max width for desktop */
}

.thank-you-message-card .secondary-button:hover {
  background-color: rgba(0, 255, 0, 0.1);
  box-shadow: 0 7px 0 rgba(0, 255, 0, 0.3);
  transform: translateY(-2px);
}

.thank-you-message-card .secondary-button:active {
  background-color: rgba(0, 255, 0, 0.05);
  box-shadow: 0 2px 0 rgba(0, 255, 0, 0.1);
  transform: translateY(3px);
}

.thank-you-message-card .small-text {
  font-size: 0.9em;
  color: #aaa;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .thank-you-message-card .button-group {
    flex-direction: row; /* Buttons side-by-side on larger screens */
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .thank-you-message-card {
    padding: 30px 20px;
  }
  .thank-you-message-card h2 {
    font-size: 1.8em;
  }
  .thank-you-message-card .cta-button,
  .thank-you-message-card .secondary-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}

.banner {
  background: url("../images/banner.jpg") no-repeat center center/cover;
}

.unic {
  color: #fff !important;
}
