/* ============================================================
   WINLINEAPP.MOBI — MAIN STYLESHEET
   Colors: bg=#EDF0F5, card=#E2E6EE, dark=#14141A, orange=#FF6B12
           navy=#161B46, btn-green=#4ABA24, btn-orange=#F96400
   ============================================================ */

:root {
  --bg: #EDF0F5;
  --card: #E2E6EE;
  --dark: #14141A;
  --orange: #FF6B12;
  --navy: #161B46;
  --green: #4ABA24;
  --btn-orange: #F96400;
  --text-dark: #14141A;
  --text-muted: #5a5f7a;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(20,20,26,.10);
  --shadow-card: 0 2px 16px rgba(20,20,26,.08);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* RESET */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text-dark);line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;outline:none;background:none;font-family:inherit}

/* SCROLLBAR */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--card)}
::-webkit-scrollbar-thumb{background:var(--orange);border-radius:3px}

/* ── HEADER ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--dark);
  border-bottom: 2px solid var(--orange);
  padding: 0 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  height: 68px; gap: 20px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.header-logo img { height: 36px; width: auto; }
.header-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; overflow-x: auto;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar{display:none}
.header-nav a {
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}
.header-nav a:hover,.header-nav a.active {
  color: var(--orange);
  background: rgba(255,107,18,.10);
}
.header-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border-radius: 50px; font-size: 15px; font-weight: 700;
  letter-spacing: .3px; transition: var(--transition);
  white-space: nowrap; cursor: pointer;
}
.btn-green {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 20px rgba(74,186,36,.35);
}
.btn-green:hover {
  background: #3da31f;
  box-shadow: 0 6px 24px rgba(74,186,36,.45);
  transform: translateY(-1px);
}
.btn-orange {
  background: var(--btn-orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(249,100,0,.30);
}
.btn-orange:hover {
  background: #e05800;
  box-shadow: 0 6px 24px rgba(249,100,0,.40);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--orange);
  border: 2px solid var(--orange); padding: 10px 22px;
}
.btn-outline:hover {
  background: var(--orange); color: var(--white);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; }

/* ── HEADER BUTTONS (прямоугольные, как на скрине) ── */
.btn-header {
  border-radius: 10px !important;
  padding: 9px 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .2px;
  box-shadow: none !important;
}
.btn-header:hover {
  transform: none !important;
  opacity: .88;
}
.btn-header.btn-orange {
  background: var(--btn-orange);
  box-shadow: none !important;
}
.btn-header.btn-green {
  background: var(--green);
  box-shadow: none !important;
}

/* ── HERO ────────────────────────────────── */
.hero {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 70px 20px 60px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,27,70,.9) 0%, rgba(20,20,26,.95) 60%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .35; z-index: 0;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 18px;
}
.hero-content h1 span { color: var(--orange); }
.hero-content p {
  font-size: 17px; color: rgba(255,255,255,.78);
  margin-bottom: 28px; max-width: 480px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; gap: 24px; margin-top: 32px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media(max-width:768px){
  .hero-stats { justify-content: center; }
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 26px; font-weight: 900; color: var(--orange);
  line-height: 1;
}
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.hero-image { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* ── SECTION ─────────────────────────────── */
.section { padding: 64px 20px; }
.section-alt { background: var(--card); }
.section-dark { background: var(--dark); }
.section-navy { background: var(--navy); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header .eyebrow {
  display: inline-block;
  background: rgba(255,107,18,.12); color: var(--orange);
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 14px;
}
.section-dark .section-header h2,
.section-navy .section-header h2 { color: var(--white); }
.section-header p {
  font-size: 16px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto;
}
.section-dark .section-header p,
.section-navy .section-header p { color: rgba(255,255,255,.65); }

/* ── CARDS ───────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.cards-grid-3 { grid-template-columns: repeat(3,1fr); }
.cards-grid-4 { grid-template-columns: repeat(4,1fr); }
/* Центрирование карточек когда их меньше чем колонок */
.cards-grid-3.cards-center { justify-content: center; }
.card {
  background: var(--white);
  border: 1px solid var(--card);
  border-radius: var(--radius);
  padding: 24px; transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(20,20,26,.12);
}
.card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(255,107,18,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
  color: var(--text-dark);
}
.card-dark h3 { color: var(--white); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.card-dark p { color: rgba(255,255,255,.60); }

/* ── FEATURE BORDER CARDS (рамки из скрина) ─ */
.feature-card {
  background: var(--white);
  border: 2px solid var(--card);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--btn-orange) 100%);
}
.feature-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 28px rgba(255,107,18,.15);
  transform: translateY(-2px);
}
.feature-card .fc-num {
  position: absolute; top: 14px; right: 16px;
  font-size: 38px; font-weight: 900;
  color: rgba(255,107,18,.08); line-height: 1;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ── STEPS ───────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--card);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.step-body p { font-size: 14px; color: var(--text-muted); }

/* ── BANNERS ─────────────────────────────── */
.banner {
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  min-height: 200px;
}
.banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.banner:hover img { transform: scale(1.03); }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,20,26,.8) 0%, transparent 70%);
  display: flex; align-items: center;
  padding: 24px 32px;
}
.banner-overlay h3 {
  font-size: clamp(18px,2.5vw,30px);
  font-weight: 900; color: var(--white);
  max-width: 360px; line-height: 1.2;
}
.banner-overlay h3 span { color: var(--orange); }

/* ── PLATFORM TABS ───────────────────────── */
.platform-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.platform-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  background: var(--card); color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.platform-tab.active,.platform-tab:hover {
  background: rgba(255,107,18,.10);
  color: var(--orange);
  border-color: var(--orange);
}

/* ── DOWNLOAD BOX ────────────────────────── */
.download-box {
  background: var(--white);
  border: 2px solid var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.download-box .dl-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.dl-logo {
  width: 64px; height: 64px; border-radius: 16px;
  overflow: hidden; flex-shrink: 0;
}
.dl-logo img { width: 100%; height: 100%; object-fit: cover; }
.dl-info h3 { font-size: 20px; font-weight: 800; }
.dl-info p { font-size: 13px; color: var(--text-muted); }
.dl-specs {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin: 20px 0;
}
.dl-spec {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px; text-align: center;
}
.dl-spec .val { font-size: 16px; font-weight: 800; color: var(--orange); }
.dl-spec .key { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── FAQ ACCORDION ───────────────────────── */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--card);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  text-align: left; background: none;
}
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--orange); }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 0 18px;
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}
.faq-a.open { display: block; }

/* ── SECTION TITLE ───────────────────────── */
.section-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* ── ARTICLE TEXT ────────────────────────── */
.article h1 { font-size: clamp(24px,3.5vw,40px); font-weight: 900; margin-bottom: 20px; }
.article h2 { font-size: clamp(20px,2.5vw,30px); font-weight: 800; margin: 40px 0 16px; color: var(--navy); }
.article h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; color: var(--text-dark); }
.article p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.article ul,.article ol { padding-left: 22px; margin-bottom: 16px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.65; }
.article strong { color: var(--text-dark); font-weight: 700; }
.article .note {
  background: rgba(255,107,18,.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 24px 0;
  font-size: 14px; color: var(--text-dark);
}

/* ── TABLE ───────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--card); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--navy); color: var(--white); padding: 12px 16px; font-size: 13px; text-align: left; }
td { padding: 11px 16px; font-size: 14px; border-bottom: 1px solid var(--card); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,107,18,.04); }
td.green { color: var(--green); font-weight: 700; }
td.red { color: #e53e3e; font-weight: 700; }

/* ── REVIEW CARDS ────────────────────────── */
.review-card {
  background: var(--white);
  border: 1px solid var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.review-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.review-stars { color: var(--orange); font-size: 14px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── BREADCRUMB ──────────────────────────── */
.breadcrumb {
  padding: 14px 0; display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb span { color: var(--text-muted); }

/* ── CTA BAND ────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  padding: 60px 20px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(22px,3vw,36px);
  font-weight: 900; color: var(--white);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 16px; color: rgba(255,255,255,.7);
  margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-band .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── BADGE ───────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-green { background: rgba(74,186,36,.12); color: var(--green); }
.badge-orange { background: rgba(255,107,18,.12); color: var(--orange); }
.badge-navy { background: rgba(22,27,70,.1); color: var(--navy); }

/* ── PLATFORM ICONS ──────────────────────── */
.platform-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.platform-icon {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--white); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.12);
  transition: var(--transition);
}
.platform-icon:hover {
  background: rgba(255,107,18,.15);
  border-color: var(--orange); color: var(--orange);
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .footer-logo img { height: 34px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-disclaimer {
  font-size: 11px; color: rgba(255,255,255,.28);
  line-height: 1.6; margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* ── MOBILE MENU ─────────────────────────── */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 30px; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; position: fixed;
  inset: 0; z-index: 2000;
  background: var(--dark);
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu nav a {
  display: block; padding: 14px 16px;
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.mobile-menu nav a:hover { color: var(--orange); background: rgba(255,107,18,.08); }
.mobile-menu-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.close-btn {
  font-size: 28px; color: rgba(255,255,255,.6);
  cursor: pointer; line-height: 1;
}
.close-btn:hover { color: var(--orange); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .cards-grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero { padding: 50px 20px 40px; }
  .hero-content h1 { font-size: clamp(26px,7vw,38px); }
  .section { padding: 44px 20px; }
  .cards-grid,.cards-grid-3,.cards-grid-4 { grid-template-columns: 1fr; }
  .dl-specs { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .header-nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn-outline { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .dl-specs { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ── UTILITIES ───────────────────────────── */
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.fw-900 { font-weight: 900; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media(max-width:768px){ .grid-2 { grid-template-columns:1fr; } }
.img-rounded { border-radius: var(--radius); }
.img-shadow { box-shadow: var(--shadow); }
.w-full { width: 100%; }

/* ── DEVICE FRAMES ───────────────────────── */

/* Рамка браузера (для горизонтальных скриншотов) */
.device-frame--browser {
  background: #1e1e2e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  max-width: 360px;
  width: 100%;
}
.device-frame__bar {
  background: #2a2a3e;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.device-frame__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  flex-shrink: 0;
}
.device-frame__dot:nth-child(2) { background: #febc2e; }
.device-frame__dot:nth-child(3) { background: #28c840; }
.device-frame__url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.device-frame__screen {
  overflow: hidden;
  line-height: 0;
}
.device-frame--browser .device-frame__screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Рамка телефона (для вертикальных скриншотов) */
.device-frame--phone {
  background: #1a1a2a;
  border-radius: 36px;
  padding: 14px 10px 18px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.12),
    0 0 0 4px #0d0d1a,
    0 24px 60px rgba(0,0,0,.55);
  max-width: 240px;
  width: 100%;
  position: relative;
  margin: 0 auto;
}
.device-frame__notch {
  width: 80px; height: 22px;
  background: #0d0d1a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 10px;
}
.device-frame--phone .device-frame__screen {
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
}
.device-frame--phone .device-frame__screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}
.device-frame__home {
  width: 48px; height: 5px;
  background: rgba(255,255,255,.25);
  border-radius: 3px;
  margin: 14px auto 0;
}

/* Обёртка для центрирования телефона */
.device-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0;
  align-self: start;
}

@media(max-width:768px){
  .device-frame--browser { max-width: 100%; }
  .device-frame--phone { max-width: 200px; }
}
.relative { position: relative; }

/* ── PICTURE FRAMES ──────────────────────── */

/* Универсальная красивая рамка для баннеров */
.img-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
  display: block;
  line-height: 0;
}
.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: transform .4s ease;
}
.img-frame:hover img { transform: scale(1.02); }

/* Рамка с цветным бордером (оранжевый акцент) */
.img-frame--accent {
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 0 0 3px var(--orange), 0 0 0 5px rgba(255,107,18,.15);
}

/* Рамка с тёмным фоном и паддингом (как слайд) */
.img-frame--dark {
  background: var(--dark);
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
}
.img-frame--dark img { border-radius: 12px; }

/* Рамка в стиле экрана устройства */
.img-frame--screen {
  background: #111827;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.4), 0 0 0 2px rgba(255,255,255,.08);
}
.img-frame--screen img { border-radius: 10px; }

/* Секция-баннер с картинкой и оверлеем */
.content-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.content-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-banner__overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(10,12,30,.88) 0%, rgba(10,12,30,.55) 50%, transparent 100%);
  padding: 28px 32px;
  width: 100%;
}
.content-banner__title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.content-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
  max-width: 480px;
  line-height: 1.6;
}

/* Сетка картинок 2 в ряд */
.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
/* Сетка картинок 3 в ряд */
.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
/* Большая картинка слева + маленькие справа */
.img-grid-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.img-grid-featured .img-frame:first-child { grid-row: span 2; }
@media(max-width:768px) {
  .img-grid-2, .img-grid-3, .img-grid-featured {
    grid-template-columns: 1fr;
  }
  .img-grid-featured .img-frame:first-child { grid-row: auto; }
  .content-banner { min-height: 200px; }
  .content-banner__overlay { padding: 20px; }
}

/* ── GAMES GRID CARDS ────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f4f8;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  display: block;
  aspect-ratio: 3/4;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.game-card__img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}
.game-card__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.game-card__emoji {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
}
.game-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
  z-index: 2;
  line-height: 1.4;
}
.game-card__badge--top {
  background: var(--orange);
  color: #fff;
}
.game-card__badge--new {
  background: var(--green);
  color: #fff;
}
.game-card__name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  z-index: 2;
  line-height: 1.2;
}
@media(max-width:1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}
@media(max-width:640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media(max-width:400px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
