* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: #333333;
  background-color: #ffffff;
}

.container {
  max-width: 375px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1300px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: #6a0dad;
}

h1 {
  font-size: 2.5em;
  line-height: 1.2;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3em;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 3.8em;
  }
}
@media (min-width: 1440px) {
  h1 {
    font-size: 4.5em;
  }
}

h2 {
  font-size: 2em;
  margin-bottom: 1em;
}
@media (min-width: 768px) {
  h2 {
    font-size: 2.5em;
  }
}
@media (min-width: 1024px) {
  h2 {
    font-size: 3em;
  }
}

h3 {
  font-size: 1.5em;
  margin-bottom: 0.8em;
}
@media (min-width: 768px) {
  h3 {
    font-size: 1.8em;
  }
}

p {
  font-size: 1em;
  line-height: 1.6;
}
@media (min-width: 768px) {
  p {
    font-size: 1.1em;
  }
}

a {
  color: #6a0dad;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}
.btn-secondary {
  background-color: #ff6f61;
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: #ff412e;
}

header {
  background-color: #1a1a2e;
  color: #e0e0e0;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
header .logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  color: #f7cac9;
  text-decoration: none;
}
@media (min-width: 768px) {
  header .logo {
    font-size: 2.2em;
  }
}
header .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
@media (min-width: 768px) {
  header .nav-links {
    display: flex;
  }
}
header .nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #1a1a2e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(224, 224, 224, 0.1);
  z-index: 999;
}
header .nav-links.active li {
  margin: 10px 0;
  text-align: center;
}
header .nav-links.active li a {
  padding: 10px 15px;
  display: block;
}
header .nav-links.active li a:hover {
  background-color: #23233e;
}
header .nav-links li {
  margin-left: 25px;
}
header .nav-links li a {
  color: #e0e0e0;
  font-weight: bold;
}
header .nav-links li a:hover {
  color: #ff6f61;
  text-decoration: none;
}
header .mobile-menu {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}
@media (min-width: 768px) {
  header .mobile-menu {
    display: none;
  }
}
header .mobile-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #e0e0e0;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}
header .mobile-menu span:last-child {
  margin-bottom: 0;
}
header .mobile-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
header .mobile-menu.open span:nth-child(2) {
  opacity: 0;
}
header .mobile-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 80vh;
  background-color: #6a0dad;
  color: #e0e0e0;
  padding: 60px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/images/hero-bg.webp");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero .hero-content {
  max-width: 600px;
  margin: 0 auto;
}
.hero h1 {
  color: #f7cac9;
  margin-bottom: 20px;
}
.hero p {
  margin-bottom: 30px;
  font-size: 1.1em;
}
@media (min-width: 768px) {
  .hero p {
    font-size: 1.2em;
  }
}

.section {
  padding: 50px 0;
  text-align: center;
}
.section .section-title {
  margin-bottom: 40px;
}

.features .features-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .features .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.features .feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.features .feature-card:hover {
  transform: translateY(-5px);
}
.features .feature-card .feature-icon {
  font-size: 3em;
  margin-bottom: 15px;
}
.features .feature-card h3 {
  color: #6a0dad;
  margin-bottom: 10px;
}
.features .feature-card p {
  color: #333333;
}

.characters-section {
  background-color: #f7cac9;
  padding: 50px 0;
  text-align: center;
}
.characters-section h2 {
  color: #1a1a2e;
  margin-bottom: 40px;
}
.characters-section .characters-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .characters-section .characters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.characters-section .character-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.characters-section .character-card .character-icon {
  font-size: 3em;
  margin-bottom: 15px;
}
.characters-section .character-card h3 {
  color: #6a0dad;
  margin-bottom: 10px;
}
.characters-section .character-card p {
  color: #333333;
}

.gameplay-features {
  padding: 50px 0;
  text-align: center;
}
.gameplay-features h2 {
  margin-bottom: 40px;
}
.gameplay-features .features-list {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .gameplay-features .features-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gameplay-features .features-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gameplay-features .feature-item {
  text-align: left;
  padding: 20px;
  border: 1px solid #cb8ff7;
  border-radius: 8px;
  background-color: #d6a7f8;
}
.gameplay-features .feature-item h3 {
  color: #1a1a2e;
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gameplay-features .feature-item p {
  color: #333333;
}

.gallery {
  background-color: #1a1a2e;
  padding: 50px 0;
  text-align: center;
}
.gallery h2 {
  color: #e0e0e0;
  margin-bottom: 40px;
}
.gallery .gallery-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1440px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery .gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery .gallery-item img:hover {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .gallery .gallery-item img {
    height: 250px;
  }
}
@media (min-width: 1024px) {
  .gallery .gallery-item img {
    height: 280px;
  }
}
@media (min-width: 1440px) {
  .gallery .gallery-item img {
    height: 300px;
  }
}

.about .about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}
@media (min-width: 768px) {
  .about .about-content {
    flex-direction: row;
    align-items: flex-start;
  }
}
.about .about-text {
  flex: 2;
}
.about .about-text p {
  margin-bottom: 1em;
}
.about .about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff6f61;
  color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  font-size: 1.5em;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  text-align: center;
  min-height: 200px;
}
@media (min-width: 768px) {
  .about .about-image {
    min-height: 250px;
  }
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}
.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #6a0dad;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}
.contact-form .form-group input[type=text],
.contact-form .form-group input[type=email],
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  box-sizing: border-box;
  background-color: #f9f9f9;
  color: #333333;
}
.contact-form .form-group input[type=text]:focus,
.contact-form .form-group input[type=email]:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: #6a0dad;
  outline: none;
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.2);
}
.contact-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .form-group select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%204%205%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M2%200L0%202h4zm0%205L0%203h4z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}
.contact-form .form-group .error-message {
  color: #ff3333;
  font-size: 0.85em;
  margin-top: 5px;
  display: none;
}
.contact-form .form-group.error input, .contact-form .form-group.error select, .contact-form .form-group.error textarea {
  border-color: #ff3333;
}
.contact-form .form-group.error .error-message {
  display: block;
}
.contact-form .submit-btn {
  background-color: #6a0dad;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}
@media (min-width: 768px) {
  .contact-form .submit-btn {
    width: auto;
    min-width: 200px;
  }
}
.contact-form .submit-btn:hover {
  background-color: #4d097e;
}
.contact-form .submit-btn:active {
  background-color: #3e0866;
}
.contact-form .submit-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  display: none;
}
.form-status.success {
  background-color: #b5dfb7;
  color: #2d682f;
  border: 1px solid #4caf50;
}
.form-status.error {
  background-color: #ffcccc;
  color: #cc0000;
  border: 1px solid #ff3333;
}
.form-status.loading {
  background-color: #b2dbfb;
  color: #0960a5;
  border: 1px solid #2196f3;
}

footer {
  background-color: #1a1a2e;
  color: #e0e0e0;
  padding: 40px 0;
  font-size: 0.9em;
}
footer .footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
  text-align: center;
}
@media (min-width: 768px) {
  footer .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}
footer .footer-section h3 {
  color: #f7cac9;
  margin-bottom: 15px;
  font-size: 1.2em;
}
footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-section li {
  margin-bottom: 8px;
}
footer .footer-section li a {
  color: #e0e0e0;
}
footer .footer-section li a:hover {
  color: #ff6f61;
  text-decoration: none;
}
footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(224, 224, 224, 0.1);
}
footer .footer-bottom p {
  margin: 0;
  color: rgba(224, 224, 224, 0.7);
}

.legal-section {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: left;
}
.legal-section h2 {
  text-align: center;
  color: #6a0dad;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .legal-section h2 {
    font-size: 2.8em;
  }
}
@media (min-width: 1024px) {
  .legal-section h2 {
    font-size: 3.5em;
  }
}
.legal-section .last-updated {
  text-align: center;
  color: #333333;
  font-size: 0.9em;
  margin-top: -20px;
  margin-bottom: 50px;
}
.legal-section .legal-content {
  padding: 20px;
  background-color: #fcfcfc;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.legal-section .legal-content h3 {
  color: #1a1a2e;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
}
.legal-section .legal-content h3:first-of-type {
  margin-top: 0;
}
@media (min-width: 768px) {
  .legal-section .legal-content h3 {
    font-size: 2em;
  }
}
.legal-section .legal-content h4 {
  color: #6a0dad;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.3em;
}
@media (min-width: 768px) {
  .legal-section .legal-content h4 {
    font-size: 1.4em;
  }
}
.legal-section .legal-content p {
  margin-bottom: 15px;
  color: #333333;
  line-height: 1.7;
  font-size: 0.95em;
}
@media (min-width: 768px) {
  .legal-section .legal-content p {
    font-size: 1em;
  }
}
.legal-section .legal-content ul {
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}
.legal-section .legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: #333333;
  line-height: 1.6;
  font-size: 0.95em;
}
@media (min-width: 768px) {
  .legal-section .legal-content ul li {
    font-size: 1em;
  }
}
.legal-section .legal-content ul li strong {
  color: #6a0dad;
}
.legal-section .legal-content a {
  color: #ff6f61;
  text-decoration: underline;
}
.legal-section .legal-content a:hover {
  color: #ff412e;
  text-decoration: none;
}
.legal-section .cookie-info {
  font-style: italic;
  color: #555;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a2e;
  color: #e0e0e0;
  padding: 20px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10000; /* Ensure it's on top of almost everything */
  display: none; /* Hidden by default, shown by JavaScript */
  transform: translateY(100%); /* Start off-screen */
  transition: transform 0.5s ease-out; /* Smooth slide-up animation */
}
.cookie-banner.show {
  transform: translateY(0); /* Slide into view */
  display: block;
}
.cookie-banner .cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
@media (min-width: 1024px) {
  .cookie-banner .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
  }
}
.cookie-banner .cookie-content p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
}
@media (min-width: 1024px) {
  .cookie-banner .cookie-content p {
    flex-grow: 1; /* Allow text to take available space */
    font-size: 1em;
  }
}
.cookie-banner .cookie-content p a {
  color: #f7cac9;
  text-decoration: underline;
}
.cookie-banner .cookie-content p a:hover {
  color: #fef6f5;
}
.cookie-banner .cookie-content .cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
@media (min-width: 768px) {
  .cookie-banner .cookie-content .cookie-buttons {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}
@media (min-width: 1024px) {
  .cookie-banner .cookie-content .cookie-buttons {
    flex-shrink: 0; /* Prevent buttons from shrinking */
  }
}
.cookie-banner .cookie-content .cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9em;
  white-space: nowrap;
}
.cookie-banner .cookie-content .cookie-buttons .btn-secondary {
  background-color: #ff6f61;
  color: #ffffff;
  border: 1px solid #ff6f61;
}
.cookie-banner .cookie-content .cookie-buttons .btn-secondary:hover {
  background-color: #ff412e;
}
.cookie-banner .cookie-content .cookie-buttons .btn-outline {
  background-color: transparent;
  color: #f7cac9;
  border: 1px solid #f7cac9;
}
.cookie-banner .cookie-content .cookie-buttons .btn-outline:hover {
  background-color: rgba(247, 202, 201, 0.1);
  color: #f7cac9;
}
.cookie-banner .cookie-content .cookie-buttons .btn-text {
  background-color: transparent;
  color: #e0e0e0;
  border: none;
  text-decoration: underline;
  padding: 10px; /* Adjust padding for text button */
}
.cookie-banner .cookie-content .cookie-buttons .btn-text:hover {
  color: #ff6f61;
}