/* ======================
   GLOBAL RESET & BASE
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ======================
   HEADER
====================== */
.main-header {
  background: #000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-logo {
  color: #fff;
  font-size: 26px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ======================
   MAIN CONTAINER
====================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

/* ======================
   HERO SECTION
====================== */
.hero {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 280px;
}

.hero-left h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.hero-left p {
  font-size: 16px;
  color: #444;
}

.hero-right {
  flex: 0 0 240px;
  text-align: center;
}

.hero-right img {
  max-width: 220px;
  border-radius: 22px;
}

/* ======================
   BUTTONS
====================== */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.hero-buttons a {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(45deg, #ff9800, #ff4081);
  color: #fff;
}

.btn-secondary {
  background: #2ecc71;
  color: #fff;
}

.btn-outline {
  border: 2px solid #000;
  color: #000;
  background: transparent;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* ======================
   APP DETAILS TABLE
====================== */
.app-details {
  margin-top: 40px;
}

.app-details table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.app-details th,
.app-details td {
  padding: 14px;
  border: 1px solid #ddd;
  text-align: left;
}

.app-details th {
  background: #f1f1f1;
  width: 35%;
}

/* ======================
   CONTENT SECTIONS
====================== */
.content-section {
  margin-top: 60px;
}

.content-section h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.content-section h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.content-section p {
  margin-bottom: 15px;
  color: #444;
}

.content-section img {
  margin: 25px 0;
  border-radius: 14px;
}

/* ======================
   LISTS
====================== */
.gaming-tips {
  padding-left: 20px;
}

.gaming-tips li {
  margin-bottom: 8px;
}

/* ======================
   FAQ SECTION
====================== */
.faq-section {
  margin-top: 70px;
}

.faq-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  display: none;
  background: #111;
  color: #ddd;
  padding: 16px;
  font-size: 14px;
}

/* ======================
   FOOTER
====================== */
.site-footer {
  background: #000;
  color: #ccc;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  color: #aaa;
}

/* ======================
   RESPONSIVE BREAKPOINTS
====================== */

/* Tablets */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
/* ======================
   EXTRA RESPONSIVE FIXES
====================== */

/* Prevent overflow on small screens */
html, body {
  overflow-x: hidden;
}

/* Images scale properly everywhere */
img {
  height: auto;
}

/* Better table handling on mobile */
@media (max-width: 700px) {
  .app-details table,
  .app-details thead,
  .app-details tbody,
  .app-details th,
  .app-details td,
  .app-details tr {
    display: block;
    width: 100%;
  }

  .app-details tr {
    margin-bottom: 15px;
    background: #fff;
  }

  .app-details th {
    background: #f1f1f1;
    font-weight: bold;
  }

  .app-details td {
    border-top: none;
  }
}

/* FAQ buttons text wrap properly */
.faq-question {
  word-wrap: break-word;
}

/* Large screens optimization */
@media (min-width: 1400px) {
  .container {
    max-width: 1250px;
  }

  .hero-left h2 {
    font-size: 34px;
  }
}

/* Small mobile fine-tuning */
@media (max-width: 400px) {
  .hero-left h2 {
    font-size: 22px;
  }

  .hero-left p {
    font-size: 14px;
  }

  .faq-question {
    font-size: 14px;
    padding: 14px;
  }

  .faq-answer {
    font-size: 13px;
  }
}