/*
Theme Name: EK7 Game
Theme URI: https://515355.com/
Author: EK7 Game
Description: Clean English download site for EK7 Game, aimed at Android users in India.
Version: 1.0.0
Requires at least: 6.0
Text Domain: ek7-game
*/

:root {
  --ink: #1b212b;
  --muted: #5c6772;
  --line: #e6ebf1;
  --paper: #ffffff;
  --soft: #f6f8fa;
  --accent: #c41230;
  --accent-dark: #9d0e26;
  --link: #243044;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--link);
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  background: #fff;
  padding: 8px 12px;
}

.bar {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #141414;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 36px;
  object-fit: contain;
}

.top-nav .nav-list,
.foot-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav a,
.foot-nav a {
  color: #2a3544;
  text-decoration: none;
  font-size: 0.95rem;
}

.top-nav .current-menu-item > a,
.top-nav .current_page_item > a {
  color: var(--accent);
  font-weight: 700;
}

.sheet {
  width: min(740px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.sheet h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.sheet h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lead,
.sheet p {
  color: #3d4754;
}

.lead {
  margin: 0;
  color: var(--muted);
}

.cta {
  text-align: center;
  margin: 26px 0 8px;
}

.dl-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.dl-btn:hover,
.dl-btn:focus {
  background: var(--accent-dark);
  color: #fff;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
}

.specs th,
.specs td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: middle;
}

.specs th {
  width: 46%;
  font-weight: 600;
  background: #fbfcfd;
  color: var(--ink);
}

.vh,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.shots {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.shot {
  flex: 0 0 180px;
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  display: block;
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.faq {
  margin: 0 0 20px;
}

.faq .q {
  margin: 0 0 4px;
  color: var(--ink);
}

.faq p {
  margin: 0;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
}

.steps li {
  margin: 0 0 12px;
}

.meta-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.form label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #d5dbe3;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  background: #f3faf4;
  border: 1px solid #cfe8d4;
  padding: 12px 14px;
  border-radius: 8px;
}

.note.warn {
  background: #fff6f6;
  border-color: #f0d0d0;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-foot p {
  margin: 10px 0 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .site-header .bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .sheet h1 {
    font-size: 1.65rem;
  }

  .specs th,
  .specs td {
    padding: 11px 10px;
    font-size: 0.95rem;
  }
}
