/* Modern mobile style inspired by screenshot */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #5A8DF8, #65C0F9); /* blue gradient background */
  color: #fff;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  /* background: #fff; */
  background: linear-gradient(to bottom, #4A90E2, #50BFEF);
  border-radius: 30px;
  max-width: 414px;
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: #333;
  position: relative;
}

@media (min-width: 768px) {
  .container {
    height: auto;
    min-height: 844px; /* typical iPhone 13 screen height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}


.site-header h1 {
  font-size: 2rem;
  color: #e23e57;
  margin-bottom: 0.5rem;
  text-align: center;
  
  }

.subtitle {
  font-size: 1rem;
  color: #dcefff;
  color: #000;
  margin-bottom: 1.5rem;
  text-align: center;

}

#start-button {
  font-size: 1.2rem;
  padding: 1rem;
  border-radius: 15px;
  background: linear-gradient(to right, #ff758c, #ff7eb3);
  color: white;
  border: none;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(255, 117, 140, 0.4);
  cursor: pointer;
  
  display: block;
  margin: 1rem auto 0 auto;
}

#start-button:hover {
  background: linear-gradient(to right, #ff6a80, #ff76a8);
}

.countdown-message {
  font-size: 1rem;
  color: #f1f1f1;
  text-align: center;
  margin-bottom: 1.5rem;
}

.game-area {
  text-align: center;
}

#flag {
  width: 100%;
  max-width: 250px;
  border-radius: 16px;
  margin: 1rem auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid #0077cc;
}

.capital-question {
  font-size: 1.4rem;
  margin: 1rem 0;
  font-weight: bold;
  color: #f1f1f1;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.option-btn {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  border: 2px solid #0077cc;
  font-size: 1.1rem;
  font-weight: bold;
  color: #0077cc;
  transition: all 0.2s ease;
}

.option-btn:hover {
  background-color: #eef6fc;
}

.option-btn.correct {
  background: linear-gradient(to right, #f8ffae, #43c6ac);
  border-color: #43c6ac;
  color: #333;
}

.option-btn.wrong {
  background: linear-gradient(to right, #f8d7da, #fbc2eb);
  border-color: #e57373;
  color: #333;
}

#score, #game-time {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #f1f1f1;

}

.final-message {
  font-size: 1.4rem;
  margin-top: 2rem;
  color: #F1F1F1;
  font-weight: bold;
}

.stats-panel {
  margin-top: 2rem;
  padding: 1rem;
  background: #f1f3f7;
  border-radius: 15px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.stats-panel p {
  margin: 0.5rem 0;
}

#share-button {
  margin-top: 1rem;
  background: #00b894;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  
  display: block;
  margin: 1rem auto 0 auto;
}

#share-button:hover {
  background: #00a383;
}

.info-section {
  margin-top: 2rem;
  background: #fff;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: #555;
}

.footer {
  text-align: center;
  font-size: 0.85rem;
  color: #cce5ff;
  margin-top: 2rem;
}

.footer a {
  color: #0077cc;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Ad container */
.horizontal-ad {
  margin: 1.5rem 0;
  text-align: center;
  transition: max-height 0.3s ease;
}

.horizontal-ad:not(:has(iframe)) {
  max-height: 0;
  padding: 0;
  margin: 0;
}

/* Desktop: simulate vertical phone */
@media (min-width: 801px) {
  body {
    background: #f0f4f9;
  }

  .container {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

.seo-text {
  font-size: 0.95rem;
  color: #444;
  margin-top: 2rem;
}

