@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
  --primary: #334fa8;
  --dark-blue: #283e83;
  --red: #BC0C06;
  --dark: #32373c;
  --white: #fff;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  background: var(--dark-blue);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--white);
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  opacity: 0.8;
}

.mobile-toggle {
  display: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: url('images/Header-1024x200-1.png') center/cover no-repeat;
  height: 120px;
}

/* ===== HERO (Home) ===== */
.hero {
  background: url('images/BG5-1-1024x557-1.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-mascot {
  width: 200px;
}

.hero-text-logo {
  width: 300px;
}

/* ===== GAMES SHOWCASE (Home) ===== */
.games-showcase {
  padding: 60px 0;
  text-align: center;
  background: var(--white);
}

.games-showcase h2 {
  color: var(--primary);
  font-size: 40px;
  margin-bottom: 40px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.game-card {
  text-align: center;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
}

.game-card h3 {
  color: var(--primary);
  margin-top: 15px;
  font-size: 22px;
}

/* ===== OUR GAMES PAGE ===== */
.game-section {
  padding: 60px 0;
}

.game-section:nth-child(even) {
  background: #f7f8fc;
}

.game-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.game-row.reverse {
  flex-direction: row-reverse;
}

.game-icon {
  flex: 0 0 250px;
}

.game-icon img {
  width: 250px;
  border-radius: 20px;
}

.game-info {
  flex: 1;
}

.game-info h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 15px;
}

.game-info p {
  margin-bottom: 12px;
  font-size: 16px;
  color: #555;
}

.store-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.store-buttons img {
  height: 45px;
  transition: transform 0.2s;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

.benched-divider {
  text-align: center;
  padding: 40px 0 20px;
}

.benched-divider h2 {
  color: var(--red);
  font-size: 36px;
}

/* ===== ABOUT PAGE ===== */
.about-section {
  padding: 80px 0;
  text-align: center;
}

.about-section.dark {
  background: var(--dark-blue);
  color: var(--white);
}

.about-section.with-bg {
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.about-section.with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 62, 131, 0.75);
}

.about-section.with-bg .container {
  position: relative;
  z-index: 1;
}

.about-section h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

.about-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.8;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-row .about-img {
  flex: 0 0 400px;
}

.about-row .about-img img {
  width: 100%;
}

.about-row .about-text {
  flex: 1;
}

.about-row .about-text h2 {
  color: var(--primary);
}

.benefits-list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.benefits-list li {
  font-size: 18px;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0;
  text-align: center;
}

.contact-section h2 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-section .subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--dark-blue);
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-section {
  padding: 60px 0;
}

.privacy-section h1 {
  color: var(--primary);
  font-size: 36px;
  text-align: center;
  margin-bottom: 5px;
}

.privacy-section .updated {
  text-align: center;
  color: #888;
  margin-bottom: 40px;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  color: var(--primary);
  font-size: 22px;
  margin: 30px 0 15px;
}

.privacy-content p {
  margin-bottom: 15px;
  color: #555;
}

.privacy-content ul {
  margin: 10px 0 15px 25px;
  color: #555;
}

.privacy-content li {
  margin-bottom: 6px;
}

.toc {
  margin: 20px 0 30px;
}

.toc li {
  list-style: disc;
  margin-left: 25px;
  color: var(--primary);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: url('images/Footer-1024x348-1.png') center/cover no-repeat;
  background-color: var(--dark-blue);
  padding: 40px 0 20px;
  text-align: center;
  color: var(--white);
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 18px;
  transition: background 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.3);
}

.footer-copy {
  font-size: 14px;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
  }

  .nav-menu.open { display: flex; }

  .game-row, .game-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .game-icon { flex: none; }
  .game-icon img { width: 180px; }

  .store-buttons { justify-content: center; }

  .about-row, .about-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .about-row .about-img { flex: none; }
  .about-row .about-img img { max-width: 300px; }

  .hero-mascot { width: 150px; }
  .hero-text-logo { width: 220px; }

  .games-grid { grid-template-columns: 1fr; }
}
