/* Clean & Pretty Website CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary-orange: #FF6B35;
  --dark-orange: #E55A2B;
  --light-orange: #FF8A65;
  --black: #1A1A1A;
  --dark-gray: #2D2D2D;
  --medium-gray: #6B6B6B;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Header */
header {
  background: var(--black);
  color: var(--primary-orange);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--light-orange);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 12px;
}

nav a:hover {
  background-color: var(--primary-orange);
  color: var(--white);
}

/* Sub Header */
.sub-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
  box-shadow: 0 2px 10px var(--shadow);
}

.sub-header img {
  height: 40px;
  margin: 0 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.sub-header img:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  position: relative;
  height: 800px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
}

.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Main Content Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Featured Game Sections */
.featured-game-section-1, .featured-game-section-2 {
  background: var(--white);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
}

.featured-game-section-1 {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.featured-game-section-1 img {
  width: 40%;
  border-radius: 10px;
  box-shadow: 0 8px 25px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-game-section-1 img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px var(--shadow-hover);
}

.featured-game-text {
  flex: 1;
}

.featured-game-text h2, .featured-game-text h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  margin-bottom: 1rem;
}

.featured-game-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.featured-game-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-orange);
}

.featured-game-text p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.featured-game-section-2 {
  text-align: center;
  width: 80%;
  padding-left: 350px;
}

.featured-game-section-2 h2, .featured-game-section-2 h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  margin-bottom: 1rem;
}

.featured-game-section-2 h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.featured-game-section-2 h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-orange);
}

/* Game Section */
.game-section {
  background: var(--black);
  color: var(--primary-orange);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  text-align: center;
}

.game-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.game-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-image {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.game-image img {
  width: 82%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.game-image h3 {
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.game-image p {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

/* Buttons */
.play-button, .button, .orange-button {
  background: var(--primary-orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.play-button:hover, .button:hover, .orange-button:hover {
  background: var(--dark-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
}

.contact-section label {
  margin-top: auto;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 1rem;
  margin: 0 auto 1.5rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.contact-section input:focus,
.contact-section textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* FAQ Section */
.faq, .faq-section {
  background: var(--white);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.faq h2, .faq-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
  padding: 1.5rem;
  background: var(--light-gray);
  cursor: pointer;
  font-weight: 600;
  color: var(--black);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #EEEEEE;
}

.faq-question.active {
  background: var(--primary-orange);
  color: var(--white);
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  color: var(--medium-gray);
  line-height: 1.7;
  display: none;
}

.faq-question.active + .faq-answer {
  display: block;
}

/* Policy Sections */
.disclaimer-section, .cookies-policy, .privacy-policy, .terms-section {
  max-width: 1100px;
  margin: 2rem auto;
  background: var(--white);
  line-height: 1.7;
}

.policy-title, .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2rem;
  text-align: center;
}

.policy-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-orange);
  margin: 2rem 0 1rem 0;
}

.disclaimer-section p, .cookies-policy p, .privacy-policy p, .terms-section p {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.disclaimer-section ul, .cookies-policy ul, .privacy-policy ul, .terms-section ul {
  color: var(--medium-gray);
  margin: 1rem 0 1rem 2rem;
}

.disclaimer-section li, .cookies-policy li, .privacy-policy li, .terms-section li {
  margin-bottom: 0.5rem;
}

/* Rules Section */
.rules-section {
  background: var(--black);
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 12px;
}

.rules-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-orange);
  margin-bottom: 2rem;
  text-align: center;
}

.rules-section p {
    color: var(--dark-orange);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--primary-orange);
  padding: 3rem 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

footer a {
  color: var(--primary-orange);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white);
}

.footer-icons img {
  height: 50px;
  margin: 0 0.75rem;
  filter: brightness(0.9);
  transition: transform 0.3s ease;
}

.footer-icons img:hover {
  transform: scale(1.1);
}

/* Overlay */
.overlay, #game-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.close-button, #close-game {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #FF4757;
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.close-button:hover, #close-game:hover {
  background: #FF3742;
}

.overlay iframe, #game-iframe {
  width: 90vw;
  height: 90vh;
  border: none;
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  main {
    padding: 0 1rem;
  }
  
  .featured-game-section-1 {
    flex-direction: column;
    text-align: center;
  }
  
  .featured-game-section-1 img {
    width: 100%;
    max-width: 400px;
  }
  
  .featured-game-section-1, .featured-game-section-2 {
    padding: 2rem 1rem;
  }

  .featured-game-section-2 {
    text-align: center;
    width: 80%;
    margin: auto;
  }
  
  .game-section {
    padding: 2rem 1rem;
  }
  
  .game-images {
    grid-template-columns: 1fr;
  }
  
  .game-image img {
    width: 82%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}
  
  .contact-section {
    padding: 2rem 1rem;
  }
  
  .contact-section input, .contact-section textarea {
    max-width: 100%;
  }
  
  .disclaimer-section, .cookies-policy, .privacy-policy, .terms-section {
    padding: 2rem 1rem;
    margin: 1rem;
  }
  
  footer {
    flex-direction: row;
    text-align: center;
    gap: 1rem;
  }
  
  .sub-header {
    flex-direction: row;
    gap: 1rem;
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .policy-title, .section-title {
    font-size: 2rem;
  }
  
  .featured-game-text h2, .game-section h2, .contact-section h2 {
    font-size: 2rem;
  }
}

.button-2 {
  background: var(--dark-orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 50px;

}

.game-section p {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.sub-header {
    flex-direction: row;
    gap: 1rem;
  }
