/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: #ff6b6b;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff5252;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: #ff6b6b;
  color: white;
}

.btn-primary:hover {
  background-color: #ff5252;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #ff6b6b;
  color: #ff6b6b;
}

.btn-outline:hover {
  background-color: #ff6b6b;
  color: white;
}

.btn-secondary {
  background-color: #4ecdc4;
  color: white;
}

.btn-secondary:hover {
  background-color: #3dbeb5;
}

.btn-cta {
  background-color: #ff6b6b;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-cta:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  width: 180px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #333;
  font-weight: 500;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ff6b6b;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ff6b6b;
  border-radius: 5px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("/hero-bg.png");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 70px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: white;
}

.features .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ff6b6b;
}

.feature-box h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Popular Games Section */
.popular-games {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.popular-games h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.popular-games h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.game-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-image {
  height: 200px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.game-card:nth-child(1) .game-image {
  background-image: url("/game1.png");
}

.game-card:nth-child(2) .game-image {
  background-image: url("/game2.png");
}

.game-card:nth-child(3) .game-image {
  background-image: url("/game3.png");
}

.game-card:nth-child(4) .game-image {
  background-image: url("/game4.png");
}

.game-card h3 {
  padding: 15px;
  text-align: center;
}

.game-card .btn {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo p {
  margin-top: 15px;
  color: #aaa;
}

.footer-links h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
}

.footer-links ul li a:hover {
  color: #ff6b6b;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #ff6b6b;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #ff6b6b;
}

.modal h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff6b6b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.remember-me,
.terms {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
}

.forgot-password {
  display: block;
  margin-bottom: 15px;
}

/* Page Banner */
.page-banner {
  height: 300px;
  background-image: url("/hero-bg.png");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 70px;
}

.page-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Games Page Styles */
.game-categories {
  padding: 80px 0;
  background-color: white;
}

.category-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  margin: 0 5px 10px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-tab:hover {
  background-color: #e0e0e0;
}

.category-tab.active {
  background-color: #ff6b6b;
  color: white;
}

.large-grid {
  grid-template-columns: repeat(3, 1fr);
}

.game-card p {
  padding: 0 15px;
  margin-bottom: 15px;
  text-align: center;
  color: #666;
}

.new-games {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.new-games h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.new-games h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.featured {
  position: relative;
}

.new-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ff6b6b;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}

/* About Page Styles */
.about-section {
  padding: 80px 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
}

.values-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.values-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.values-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #ff6b6b;
}

.value-card h3 {
  margin-bottom: 15px;
}

.value-card p {
  color: #666;
}

.team-section {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.team-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.team-member h3 {
  margin: 20px 0 5px;
}

.member-role {
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 15px;
}

.team-member p {
  padding: 0 20px 20px;
  color: #666;
}

/* Responsible Gaming Page Styles */
.responsible-gaming-section {
  padding: 80px 0;
  background-color: white;
}

.content-block {
  margin-bottom: 60px;
}

.content-block h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
}

.content-block h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.content-block p {
  margin-bottom: 20px;
  color: #555;
  max-width: 900px;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.guideline-card {
  background-color: #f8f9fa;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.guideline-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.guideline-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #ff6b6b;
}

.guideline-card h3 {
  margin-bottom: 15px;
}

.guideline-card p {
  color: #666;
}

.resources-list {
  margin-top: 30px;
}

.resources-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resources-list li i {
  font-size: 24px;
  color: #ff6b6b;
  margin-right: 20px;
  margin-top: 5px;
}

.resources-list li div {
  flex: 1;
}

.resources-list li h4 {
  margin-bottom: 5px;
}

.resources-list li p {
  margin-bottom: 0;
  color: #666;
}

.support-orgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.org-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.org-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.org-card h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.org-card p {
  margin-bottom: 20px;
  color: #666;
}

.org-card .btn {
  margin-top: 10px;
}

/* Contact Page Styles */
.contact-section {
  padding: 80px 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.contact-info > p {
  margin-bottom: 30px;
  color: #555;
  max-width: 500px;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.method-icon {
  width: 50px;
  height: 50px;
  background-color: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ff6b6b;
  margin-right: 20px;
}

.method-details h3 {
  margin-bottom: 5px;
}

.method-details p {
  color: #666;
  margin-bottom: 5px;
}

.social-contact h3 {
  margin-bottom: 15px;
}

.contact-form-container {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.contact-form-container h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.faq-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  border-radius: 2px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.toggle-icon {
  font-size: 24px;
  color: #ff6b6b;
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
  border-top: 1px solid #eee;
}

.faq-answer p {
  margin: 0;
  color: #666;
}

/* Legal Pages Styles */
.legal-content {
  padding: 80px 0;
  background-color: white;
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
}

.last-updated {
  text-align: right;
  margin-bottom: 30px;
  color: #666;
  font-style: italic;
}

.section-block {
  margin-bottom: 40px;
}

.section-block h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.section-block h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: #444;
}

.section-block p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
}

.section-block ul,
.section-block ol {
  margin: 15px 0 15px 20px;
  color: #555;
}

.section-block li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.contact-info {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

/* Additional Images for New Pages */
.game-card[data-category="slots"]:nth-child(2) .game-image {
  background-image: url("/slot2.png");
}

.game-card[data-category="slots"]:nth-child(3) .game-image {
  background-image: url("/slot3.png");
}

.game-card[data-category="table"]:nth-child(6) .game-image {
  background-image: url("/table3.png");
}

.game-card[data-category="poker"]:nth-child(8) .game-image {
  background-image: url("/poker2.png");
}

.game-card[data-category="poker"]:nth-child(9) .game-image {
  background-image: url("/poker3.png");
}

.game-card[data-category="specialty"]:nth-child(10) .game-image {
  background-image: url("/specialty1.png");
}

.game-card[data-category="specialty"]:nth-child(11) .game-image {
  background-image: url("/specialty2.png");
}

.game-card[data-category="specialty"]:nth-child(12) .game-image {
  background-image: url("/specialty3.png");
}

.featured:nth-child(1) .game-image {
  background-image: url("/new1.png");
}

.featured:nth-child(2) .game-image {
  background-image: url("/new2.png");
}

.featured:nth-child(3) .game-image {
  background-image: url("/new3.png");
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .features .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .large-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guidelines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-orgs {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 15px;
  }

  nav {
    margin: 15px 0;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .features .container {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .large-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .guidelines-grid {
    grid-template-columns: 1fr;
  }

  .support-orgs {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-cta {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }
}
