/* =============================================================
   2048 PAGE — Standalone Stylesheet
   Self-contained CSS for 2048.html only.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --bg:       #0d0d1a;
  --card:     #141428;
  --hover:    #1c1c38;
  --accent:   #7c3aed;
  --accent2:  #a855f7;
  --glow:     rgba(124,58,237,0.3);
  --gold:     #f59e0b;
  --green:    #22c55e;
  --orange:   #f97316;
  --text:     #eeeeff;
  --text2:    #9090bb;
  --text3:    #55557a;
  --border:   #252545;
  --r:        10px;

  /* Header & footer tokens */
  --purple-deep:    #5A10E4;
  --purple:         #7c3aed;
  --purple-light:   #8b5cf6;
  --accent-yellow:  #FECB01;
  --header-h:       110px;
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================
   RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* =============================================================
   HEADER
   ============================================================= */
.header {
    width: 100%;
    background: var(--purple-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
    max-width: 1400px;
    margin: auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 200px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.navbar {
    display: flex;
    gap: 25px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s var(--ease);
}

.navbar a:hover {
    color: var(--accent-yellow);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.search-box {
    width: 240px;
    height: 40px;
    background: #1a1a2b;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-box:focus-within {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(254, 203, 1, 0.15);
}

.search-box i {
    color: var(--accent-yellow);
    font-size: 15px;
    min-width: 16px;
    text-align: center;
}

.search-box .search-icon-gradient {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
}

.search-box input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Clear (×) button inside the input */
.search-box .search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 50%;
    line-height: 0;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.search-box .search-clear .close-icon {
    width: 12px;
    height: 12px;
    display: block;
}
.search-box .search-clear:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.search-box .search-clear[hidden] { display: none; }

/* Search results dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: 70vh;
    overflow-y: auto;
    background: #1a1a2b;
    border: 1px solid rgba(254, 203, 1, 0.18);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    z-index: 1000;
    animation: searchDrop 160ms ease-out;
}
@keyframes searchDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.search-results[hidden] { display: none; }

.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(254, 203, 1, 0.3); border-radius: 4px; }

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: background 0.15s var(--ease), transform 0.15s var(--ease);
    cursor: pointer;
}
.search-item:hover,
.search-item:focus-visible {
    background: rgba(254, 203, 1, 0.08);
    transform: translateX(2px);
    outline: none;
}
.search-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #0f0f1a;
}
.search-item-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-title mark {
    background: rgba(254, 203, 1, 0.25);
    color: #fecb01;
    padding: 0 2px;
    border-radius: 3px;
}
.search-item-tags {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-arrow {
    color: rgba(254, 203, 1, 0.5);
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.search-empty {
    padding: 24px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}
.search-empty strong { color: var(--accent-yellow, #fecb01); }

@media (max-width: 600px) {
    .search-results { right: -8px; width: calc(100vw - 32px); }
    .search-item img { width: 40px; height: 40px; }
    .logo-icon {
        width: 150px;
        height: 100px;
        border-radius: var(--radius-sm);
        object-fit: contain;
        object-position: left center;
        display: block;
    }
}

.menu-btn {
    display: none;
    background: var(--accent-yellow);
    padding: 7px 10px;
    border: none;
    border-radius: 11px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.menu-btn .menu-icon {
    width: 22px;
    height: 22px;
    display: block;
    stroke: #1a1a2b;
}
.menu-btn:hover .menu-icon { transform: scale(1.05); }
.menu-btn .menu-icon { transition: transform 0.2s var(--ease); }

/* =============================================================
   SIDEBAR (mobile menu)
   ============================================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #11111d;
    z-index: 1001;
    transition: left 0.4s var(--ease);
    padding: 20px;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-bottom: 30px;
}

.sidebar-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s var(--ease);
}
.sidebar-header button:hover { color: var(--accent-yellow); }
.sidebar-header button .close-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 1000;
}

.sidebar-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* =============================================================
   GAME TOP (iframe + fullscreen)
   ============================================================= */
.game-top {
  position: relative;
  width: calc(100% - 160px);     /* 80px each side (left+right) */
  margin: 40px 80px 80px 80px;    /* 40px top, 80px others */
  background: #000;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, .18),
    0 0 12px rgba(124, 58, 237, .22),
    inset 0 0 8px rgba(124, 58, 237, .05);
}

.game-top iframe {
  width: 100%;
  height: 75vh;
  min-height: 480px;
  max-height: 800px;
  display: block;
  border: none;
}

/* Fullscreen button (normal mode) */
.fs-btn {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: #FECB01;
  border: 1px solid #FECB01;
  border-radius: 8px;
  color: #2563eb;
  font-size: 15px;
  width: 40px; height: 40px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.fs-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  transform: scale(1.08);
}

/* Fullscreen overlay (shown only in fullscreen mode) */
.fs-overlay {
  position: absolute;
  top: auto;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: auto;
  z-index: 10;
  padding: 6px 10px 6px 6px;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  display: flex;
  align-items: center;
}

.game-top.fullscreen-active .fs-overlay {
  opacity: 1;
  pointer-events: auto;
}

.fs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.fs-game-info {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  margin-left: 0;
}

.fs-game-info img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, .2);
}

.fs-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.fs-exit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: linear-gradient(90deg, #facc15, #eab308);
  border: none;
  color: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  transition: all .2s;
  box-shadow: 0 2px 10px rgba(234, 179, 8, .5);
  margin-right: 0;
}

.fs-exit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(234, 179, 8, .75);
  background: linear-gradient(90deg, #fde047, #facc15);
}

.fs-exit-btn i { font-size: 13px; }

/* Fullscreen mode container — fills entire viewport, NO margin/frame */
.game-top.fullscreen-active {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 9999;
  animation: fsFadeIn .3s ease;
}

@keyframes fsFadeIn {
  from { opacity: 0; transform: scale(.98); }
  to   { opacity: 1; transform: scale(1); }
}

.game-top.fullscreen-active iframe {
  width: 100%;
  height: 100%;
  height: 100dvh;
  min-height: 0;
  object-fit: contain;
}

/* Body lock when fullscreen */
body.fs-locked {
  overflow: hidden !important;
  height: 100vh;
}

/* Hide fullscreen button when in fullscreen mode */
.game-top.fullscreen-active .fs-btn {
  opacity: 0;
  pointer-events: none;
}

/* Mobile responsive for game-top */
@media (max-width: 768px) {
  .game-top {
    width: calc(100% - 32px);
    margin: 16px;
  }

  .fs-overlay { padding: 5px 8px 5px 5px; }
  .fs-game-info img { width: 26px; height: 26px; }
  .fs-exit-btn { width: 28px; height: 28px; }
  .fs-exit-btn i { font-size: 12px; }
}

/* =============================================================
   GAME INFO SECTION (article below iframe)
   ============================================================= */
.game-info-section {
  margin: 0;
  padding: 40px 80px 80px;
  background: var(--bg);
}

.game-info-wrap {
  max-width: 100%;
}

.info-header {
  margin-bottom: 28px;
}

.info-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.info-title {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -.5px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #2a1450;
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
}

.share-btn:hover {
  background: var(--accent);
  border-color: var(--accent2);
  transform: translateY(-2px);
}

.share-btn i {
  font-size: 13px;
}

/* Info table */
.info-table {
  background: #0f0f1c;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 24px;
  margin-bottom: 32px;
}

.info-table .info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.info-table .info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--accent2);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  min-width: 130px;
}

.info-value {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  line-height: 1.55;
}

.info-value strong {
  font-weight: 800;
  margin-right: 4px;
}

/* Description text */
.info-desc {
  color: #d8d8e0;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.info-h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 30px 0 16px;
  letter-spacing: -.3px;
}

.info-h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 24px 0 12px;
}

/* Featured image */
.featured-image {
  display: block;
  max-width: 720px;
  width: calc(100% - 24px);
  height: auto;
  max-height: 420px;
  object-fit: cover;
  margin: 0 auto 24px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, .25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* =============================================================
   2048-SPECIFIC — Controls table (5 columns)
   ============================================================= */
.controls-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  background: #0f0f1c;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}
.controls-table thead th {
  background: rgba(124, 58, 237, .12);
  color: var(--accent2);
  font-weight: 800;
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  letter-spacing: .3px;
}
.controls-table tbody td {
  color: #fff;
  font-weight: 600;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  line-height: 1.5;
}
.controls-table tbody tr:last-child td { border-bottom: none; }
.controls-table tbody tr:hover td { background: rgba(124, 58, 237, .06); }

/* =============================================================
   2048-SPECIFIC — Bullet lists (win / variants)
   ============================================================= */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-list li {
  position: relative;
  padding: 12px 16px 12px 42px;
  background: #0f0f1c;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #d8d8e0;
  font-size: 15px;
  line-height: 1.6;
}
.info-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--accent2);
  font-weight: 800;
  font-size: 16px;
}
.info-list li strong {
  color: #fff;
  font-weight: 800;
}

/* Win/lose list — different accent */
.win-list li::before { content: "🏆"; }
.variants-list li::before { content: "◆"; color: var(--gold); }

/* Responsive controls table (mobile) */
@media (max-width: 768px) {
  .controls-table thead { display: none; }
  .controls-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .controls-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: none;
  }
  .controls-table tbody td::before {
    content: attr(data-label);
    color: var(--accent2);
    font-weight: 700;
    margin-right: 12px;
  }
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq-section {
  margin: 0;
  padding: 60px 80px 80px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 30px;
  text-align: center;
  letter-spacing: -.3px;
}

.faq-title span {
  color: var(--accent2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #0f0f1c;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, .35);
}

.faq-item[open] {
  border-color: var(--accent2);
  background: rgba(124, 58, 237, .06);
}

.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

/* + / − toggle */
.faq-item summary::after {
  content: "+";
  color: var(--accent2);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    background: linear-gradient(135deg, var(--purple-deep) 0%, #4a0fc4 50%, var(--purple) 100%);
    color: #fff;
    padding: 60px 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    opacity: 0.6;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-brand { max-width: 280px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-logo-img {
    width: 180px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-social a:hover {
    background: var(--accent-yellow);
    color: var(--purple-deep);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.footer-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}

.footer-form:focus-within { border-color: var(--accent-yellow); }

.footer-form input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px 14px;
    font-size: 14px;
}

.footer-form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.footer-form button {
    background: var(--accent-yellow);
    color: var(--purple-deep);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.25s var(--ease);
}

.footer-form button:hover { background: #fff; }

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.footer-made i { color: #ff4d6d; }

/* =============================================================
   RESPONSIVE — header / footer / info-section / faq
   ============================================================= */
@media (max-width: 991px) {
    .navbar    { display: none; }
    .menu-btn  { display: block; }
    .search-box { width: 180px; }
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container   { height: 65px; }
    .logo span   { font-size: 13px; }
    .search-box  { width: 140px; height: 38px; }
    .site-footer { padding: 40px 20px 20px; }
    .game-info-section {
      padding: 40px 20px 30px;
    }
    .info-title {
      font-size: 28px;
    }
    .info-table {
      padding: 4px 16px;
    }
    .info-table .info-row {
      flex-direction: column;
      gap: 4px;
      padding: 14px 0;
    }
    .info-value {
      text-align: left;
    }
    .info-h2 {
      font-size: 22px;
    }
    .faq-section {
      padding: 40px 20px 50px;
    }
    .faq-title {
      font-size: 26px;
    }
    .faq-item summary {
      padding: 16px 18px;
      font-size: 14px;
    }
    .faq-item p {
      padding: 0 18px 16px;
    }
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .featured-image {
      max-height: 240px;
      border-radius: 8px;
      margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .game-info-section {
      padding: 30px 16px 20px;
    }
    .info-title {
      font-size: 24px;
    }
    .share-btn {
      padding: 8px 14px;
      font-size: 12px;
    }
}

/* =============================================================
   ACCESSIBILITY
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}