:root {
  --bg: #f2f4f8;
  --bg-2: #e8ebf1;
  --card: #ffffff;
  --card-2: #f7f8fc;
  --card-dark: #15171e;
  --accent: #ff2d55;
  --accent-2: #ff527a;
  --gold: #f5b62c;
  --text: #1b1d24;
  --muted: #6c7280;
  --on-dark: #ffffff;
  --on-dark-muted: #a7adba;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(20, 22, 30, 0.09);
  --shadow-lg: 0 18px 40px rgba(20, 22, 30, 0.12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #ffffff; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Decorative blurred background (configurable in admin; light abstract default) */
body::before {
  content: "";
  position: fixed;
  inset: -40px;
  z-index: -1;
  background: #f3f4f7 var(--site-bg, url('/static/img/bg-default.svg')) center center / cover no-repeat;
  filter: blur(var(--site-bg-blur, 3px));
  opacity: var(--site-bg-opacity, 0.75);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ---------- Header (floating glass bar, grid-width, rounded) ---------- */
.site-header-wrap {
  position: sticky; top: 0; z-index: 100;
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 20px 4px;
  pointer-events: none;
}
.site-header {
  width: 100%;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(20, 22, 30, 0.10);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 36px rgba(20, 22, 30, 0.16);
  background: rgba(255, 255, 255, 0.72);
}
.header-inner {
  display: flex; align-items: center; justify-content: flex-start;
  height: 66px; gap: 20px; padding: 0 22px;
}
.brand { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-logo {
  display: inline-grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 28px; font-weight: 900; line-height: 1;
  box-shadow: 0 6px 16px rgba(255, 45, 85, 0.4);
  flex: none;
}
.brand-logo-img {
  height: 50px; max-width: 160px; width: auto; border-radius: 12px; object-fit: contain; flex: none;
}
.brand-name { font-size: 21px; letter-spacing: .5px; color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-dropdown > a {
  display: inline-block; padding: 9px 13px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: #3a3e48; transition: .15s;
}
.main-nav > a:hover, .nav-dropdown > a:hover { background: var(--bg-2); color: var(--text); }
.main-nav a.active { color: var(--accent); }
.nav-giveaways { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,45,85,.07); color: var(--accent) !important; }
.nav-giveaways:hover { background: rgba(255,45,85,.14) !important; }
/* Star badge over the last letter of the "Рейтинг" nav item */
.nav-rating-inner { position: relative; }
.nav-rating-star { position: absolute; top: -4px; right: -0.85em; font-size: 11px; line-height: 1; color: var(--gold); pointer-events: none; }
.nav-rating-star-img { position: absolute; top: -7px; right: -0.95em; width: 15px; height: 15px; object-fit: contain; pointer-events: none; }

.nav-giveaways-icon { font-size: 15px; line-height: 1; }
/* Bigger giveaways icon image. The negative vertical margins cancel the image
   height (margin ≈ -height/2 per side) so its margin-box is ~0 and it never
   changes the row height — the "Розыгрыши" text stays exactly in place. */
.nav-giveaways-img {
  width: 30px; height: 30px; object-fit: contain; border-radius: 6px;
  margin-top: -16px; margin-bottom: -16px; flex: none;
}
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .18s; border: 1px solid rgba(0,0,0,.05);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; }
.dropdown-menu a:hover { background: var(--bg-2); color: var(--accent); }
.dropdown-all { color: var(--accent) !important; font-size: 13px !important; margin-top: 4px; border-top: 1px solid rgba(0,0,0,.06); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--text); }

.page-main { display: block; min-height: 50vh; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 8px; }
.hero--service { padding: 16px 0 8px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 2.15fr 1fr; gap: 16px; align-items: stretch;
}
.hero-side, .hero-main { display: flex; }
.hero-side .banner, .hero-main .banner { width: 100%; }

/* Banner uses dark card background for visual impact */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(150deg, #1d2029, #15171e);
  color: var(--on-dark); min-height: 250px; display: flex;
  box-shadow: var(--shadow-lg); isolation: isolate;
}
.banner--big { min-height: 440px; }
.banner--small { min-height: 440px; }
.banner-bg {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.banner--noimg .banner-bg { background: transparent; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,11,15,.12), rgba(10,11,15,.62));
}
.banner--noimg::after { background: radial-gradient(120% 100% at 0% 0%, rgba(255,45,85,.22), transparent 60%); }
.banner-content {
  position: relative; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 12px; padding: 26px; width: 100%;
}
.banner--big .banner-content { justify-content: center; }
.hero-badge {
  pointer-events: none; align-self: flex-start;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 11px;
  letter-spacing: 1px; padding: 6px 12px; border-radius: 20px;
}
.banner-title { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.banner--big .banner-title { font-size: 40px; max-width: 80%; }
.banner-subtitle { margin: 0; font-size: 14px; color: rgba(255,255,255,.88); max-width: 92%; }
.banner--big .banner-subtitle { font-size: 16px; max-width: 60%; }
.banner-btn {
  pointer-events: auto; display: inline-block; margin-top: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 800; font-size: 14px; padding: 12px 22px; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(255,45,85,.45); transition: transform .15s, box-shadow .15s;
}
.banner-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,45,85,.55); }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section--tight { padding: 16px 0 30px; }
.section--page-hero { padding: 28px 0 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.section-title { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; margin: 0; }
.section-title .ico {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 14px; font-weight: 900;
}
.section-title .ico-img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; flex: none; vertical-align: middle; }
.section-sub { color: var(--muted); margin: 4px 0 0; font-weight: 500; }
.section-link { color: var(--accent); font-weight: 700; }
.empty-note { color: var(--muted); padding: 20px 0; }

.page-hero-head { text-align: center; padding: 12px 0 8px; }
.page-hero-title { margin: 0 0 8px; font-size: 36px; font-weight: 900; }
.page-hero-sub { margin: 0; font-size: 16px; color: var(--muted); font-weight: 500; max-width: 560px; margin: 0 auto; }

/* ---------- Promo grid (light cards) ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo-card {
  background: var(--card); color: var(--text);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06); transition: transform .15s, box-shadow .15s;
  position: relative; overflow: hidden;
}
.promo-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.promo-logo {
  width: 54px; height: 54px; border-radius: 14px; overflow: hidden; flex: none;
  background: var(--bg-2); display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,.06);
}
.promo-logo img { width: 100%; height: 100%; object-fit: cover; }
.promo-logo-fallback { font-weight: 900; color: var(--accent); font-size: 18px; }
.promo-titles { min-width: 0; }
.promo-service { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.promo-bonus { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 800; font-size: 13px; }
.promo-desc { color: var(--muted); font-size: 14px; margin: 0 0 16px; flex: 1; }
.promo-code {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 2px dashed rgba(255,45,85,.4); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px;
  background: rgba(255,45,85,.05);
}
.promo-code-value { font-weight: 900; letter-spacing: 1.5px; font-size: 15px; color: var(--text); }
.promo-code-copy {
  border: 0; background: var(--bg-2); color: var(--text); font-weight: 700; font-size: 12px;
  padding: 7px 12px; border-radius: 8px; cursor: pointer; transition: .15s; white-space: nowrap;
}
.promo-code-copy:hover { background: var(--accent); color: #fff; }
.promo-code.copied { border-color: #2ec26a; background: rgba(46,194,106,.1); }
.promo-code.copied .promo-code-value { color: #1a9650; }
.promo-go {
  display: block; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; padding: 13px; border-radius: 12px; transition: .15s;
}
.promo-go:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- Popular sites tiles (homepage) ---------- */
.sites-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.site-tile {
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: var(--card); border: 1px solid rgba(0,0,0,.07);
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.site-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.site-tile-logo {
  aspect-ratio: 1.45 / 1; background: #15171e; display: grid; place-items: center;
  padding: 18px;
}
.site-tile-logo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.site-tile-logo-text { color: #fff; font-size: 18px; font-weight: 900; text-align: center; line-height: 1.1; }
.site-tile-name {
  padding: 11px 8px; text-align: center; font-weight: 800; font-size: 12px;
  letter-spacing: .6px; text-transform: uppercase; color: #3a3e48; background: #fff;
}

/* ---------- Services strip (service page "other services") ---------- */
.services-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.service-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid rgba(0,0,0,.07);
  padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow); transition: .15s; border-left: 4px solid var(--svc-color, var(--accent));
}
.service-chip:hover { transform: translateY(-2px); color: var(--svc-color, var(--accent)); box-shadow: var(--shadow-lg); }
.service-chip img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.service-chip-icon {
  width: 26px; height: 26px; border-radius: 7px; background: var(--svc-color, var(--accent));
  color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; flex: none;
}
.service-chip-name { flex: 1; }
.service-chip-arrow { color: var(--muted); font-size: 13px; }

/* ---------- Services grid (services page) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06);
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
  border-top: 4px solid var(--svc-color, var(--accent));
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 22px 22px 0;
  background: linear-gradient(135deg, var(--svc-color, var(--accent)), var(--accent-2));
  display: grid; place-items: center; overflow: hidden;
}
.service-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card-icon span { color: #fff; font-size: 18px; font-weight: 900; }
.service-card-body { padding: 14px 22px 14px; flex: 1; }
.service-card-name { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.service-card-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.service-card-link { display: block; padding: 14px 22px; color: var(--svc-color, var(--accent)); font-weight: 800; font-size: 14px; border-top: 1px solid rgba(0,0,0,.06); }

/* ---------- Service page hero (grid-width banner) ---------- */
.service-hero-section { padding: 16px 0 6px; }
.service-hero-section .crumbs { margin-bottom: 12px; }
.service-hero-banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: 168px; padding: 24px 30px;
  border-radius: 18px;
  background-color: #15171e;
  background-image: linear-gradient(120deg, var(--svc-color, #2a2f3a), #15171e);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
/* Dark overlay only when a custom image is set, for text readability */
.service-hero-banner.has-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,11,15,.82), rgba(10,11,15,.45));
}
.service-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; }
.service-hero-icon {
  width: 72px; height: 72px; flex: none; border-radius: 18px;
  background: linear-gradient(135deg, var(--svc-color, var(--accent)), var(--accent-2));
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.service-hero-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-hero-icon span { color: #fff; font-size: 22px; font-weight: 900; }
.service-hero-title { margin: 0 0 6px; font-size: 32px; font-weight: 900; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.service-hero-desc { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; max-width: 560px; }

/* ---------- Giveaway strips & grids ---------- */
.giveaway-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.giveaway-teaser {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06);
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.giveaway-teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.giveaway-teaser-img {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  background-color: var(--card-dark); position: relative;
}
.giveaway-teaser-img.is-empty {
  background: linear-gradient(135deg, #1d2029, var(--accent));
  display: grid; place-items: center; font-size: 36px;
}
.giveaway-teaser-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.giveaway-teaser-title { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.giveaway-prize { color: var(--accent); font-weight: 700; font-size: 13px; }
.giveaway-deadline { color: var(--muted); font-size: 12px; }
.giveaway-cta { color: var(--accent); font-weight: 800; font-size: 13px; margin-top: 4px; }

.giveaway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.giveaway-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06);
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.giveaway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.giveaway-card-img {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  background-color: var(--card-dark); position: relative;
}
.giveaway-card-img.is-empty {
  background: linear-gradient(135deg, #1d2029, var(--accent));
  display: grid; place-items: center; font-size: 40px;
}
.giveaway-badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.giveaway-deadline-badge {
  position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.giveaway-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.giveaway-card-title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.25; }
.giveaway-entry-count { color: var(--muted); font-size: 12px; font-weight: 600; }
.giveaway-conditions-count { color: var(--muted); font-size: 12px; font-weight: 600; }
.giveaway-cta-btn {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 10px;
  text-align: center; margin-top: 4px;
}

/* ---------- Giveaway page ---------- */
.giveaway-page { padding: 30px 0 50px; }
.giveaway-article { margin-top: 16px; }
.giveaway-hero-img {
  aspect-ratio: 16/8; background-size: cover; background-position: center;
  background-color: var(--card-dark); border-radius: var(--radius);
  margin-bottom: 20px; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.giveaway-hero-img.is-empty { background: linear-gradient(135deg, #1d2029, var(--accent)); font-size: 64px; }
.giveaway-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.giveaway-deadline { background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.giveaway-entry-count-badge { background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.giveaway-title { font-size: 32px; font-weight: 900; margin: 0 0 16px; line-height: 1.2; }
.giveaway-prize-box {
  display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(255,45,85,.08), rgba(255,82,122,.06));
  border: 1px solid rgba(255,45,85,.2); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px;
}
.giveaway-prize-label { font-weight: 700; color: var(--muted); font-size: 14px; }
.giveaway-prize-value { font-weight: 900; color: var(--accent); font-size: 18px; }
.giveaway-description { font-size: 16px; line-height: 1.7; color: #3a3e48; margin-bottom: 24px; }

.giveaway-conditions { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.giveaway-conditions-title { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.giveaway-conditions-sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.conditions-list { display: flex; flex-direction: column; gap: 10px; }
.condition-item {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(0,0,0,.08);
  background: var(--bg); transition: .15s; user-select: none;
}
.condition-item:has(.condition-check:checked) { border-color: #2ec26a; background: rgba(46,194,106,.08); }
.condition-check { display: none; }
.condition-checkmark {
  width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid rgba(0,0,0,.15);
  display: grid; place-items: center; transition: .15s; background: #fff;
}
.condition-item:has(.condition-check:checked) .condition-checkmark {
  background: #2ec26a; border-color: #2ec26a;
}
.condition-item:has(.condition-check:checked) .condition-checkmark::after {
  content: "✓"; color: #fff; font-size: 13px; font-weight: 900;
}
.condition-text { font-size: 15px; font-weight: 600; }

.giveaway-join-btn {
  width: 100%; padding: 16px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 900; font-size: 16px; transition: .15s; box-shadow: 0 10px 24px rgba(255,45,85,.4);
  font-family: inherit;
}
.giveaway-join-btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,45,85,.55); }
.giveaway-join-btn:disabled { background: var(--bg-2); color: var(--muted); box-shadow: none; cursor: not-allowed; }

.giveaway-joined-state {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: rgba(46,194,106,.1); border: 1.5px solid #2ec26a; border-radius: var(--radius-sm);
  padding: 16px; font-weight: 800; color: #1a9650; font-size: 16px;
}
.giveaway-joined-icon { font-size: 22px; }

.giveaway-success-banner {
  background: rgba(46,194,106,.12); border: 1.5px solid #2ec26a; border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 700; color: #1a9650; margin-bottom: 16px;
}
.giveaway-already-banner {
  background: rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.1); border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 600; color: var(--muted); margin-bottom: 16px;
}

.empty-state { text-align: center; padding: 40px 0; }
.empty-state-icon { font-size: 56px; margin-bottom: 12px; }
.empty-state-text { color: var(--muted); font-size: 16px; font-weight: 600; }

/* ---------- Article grid ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-thumb {
  position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center;
  background-color: #2a2d35;
}
.article-thumb.is-empty {
  background: linear-gradient(135deg, #1d2029, #15171e);
}
.article-thumb.is-empty::after {
  content: "%"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 60px; font-weight: 900; color: rgba(255,255,255,.08);
}
.article-cat {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 20px;
}
.article-card-body { padding: 16px 18px 20px; }
.article-card-title { margin: 0 0 6px; font-size: 17px; font-weight: 800; line-height: 1.25; }
.article-card-excerpt { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Category tabs ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cat-tab {
  background: var(--card); border: 1px solid rgba(0,0,0,.07); padding: 9px 18px; border-radius: 30px;
  font-weight: 700; font-size: 14px; transition: .15s; box-shadow: var(--shadow);
}
.cat-tab:hover { color: var(--accent); }
.cat-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* ---------- Article page ---------- */
.article-page { padding: 30px 0 50px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.article-cat-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; }
.article-title { font-size: 38px; font-weight: 900; margin: 14px 0 8px; line-height: 1.15; }
.article-meta { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.article-hero { aspect-ratio: 16 / 8; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 26px; box-shadow: var(--shadow-lg); }
.article-content { font-size: 17px; color: #2a2d35; }
.article-content p { margin: 0 0 18px; }
.article-content a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.article-content .c-h1 { font-size: 32px; font-weight: 900; margin: 32px 0 14px; }
.article-content .c-h2 { font-size: 26px; font-weight: 800; margin: 28px 0 12px; }
.article-content .c-h3 { font-size: 21px; font-weight: 800; margin: 22px 0 10px; }
.content-btn-wrap { margin: 22px 0; }
.content-btn {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 800; padding: 13px 26px; border-radius: 12px; box-shadow: 0 10px 24px rgba(255,45,85,.4);
}
.content-btn:hover { filter: brightness(1.08); }
.content-video { position: relative; margin: 26px 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.content-video iframe, .content-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.content-figure { margin: 26px 0; text-align: center; }
.content-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.content-figure figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; font-style: italic; }
.content-btn--img { margin-top: 14px; }
.related { margin-top: 50px; }
.related .section-title { margin-bottom: 20px; }

/* ---------- Contacts ---------- */
.contacts-card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contacts-text { font-size: 16px; color: #3a3e48; }
.contacts-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.contacts-list li { font-size: 16px; }
.contacts-list span { font-weight: 800; margin-right: 8px; }
.contacts-list a { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--card-dark); color: var(--on-dark); margin-top: 50px; padding: 40px 0; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.footer-brand .brand-name { color: #fff; }
.footer-logo-img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.footer-note { color: var(--on-dark-muted); max-width: 560px; margin: 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--on-dark-muted); font-weight: 600; }
.footer-links a:hover { color: var(--accent-2); }
.footer-copy { color: #5a5f6b; font-size: 13px; margin: 6px 0 0; }

/* ---------- Popups (300x200, bottom-left) ---------- */
.popup-stack { position: fixed; left: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column-reverse; gap: 14px; }
.popup-card {
  position: relative; width: 300px; background: var(--card-dark); color: #fff; border-radius: 16px;
  overflow: hidden; box-shadow: 0 22px 50px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08);
  animation: popIn .35s ease;
}
@keyframes popIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.popup-card.closing { animation: popZoomOut .2s ease forwards; }
@keyframes popZoomOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.55); } }
.popup-card.hidden { display: none; }
.popup-close {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.popup-close:hover { background: var(--accent); }
.popup-image { height: 96px; background-size: cover; background-position: center; }
.popup-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.popup-text { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
.popup-code {
  align-self: stretch; text-align: center; border: 2px dashed rgba(255,45,85,.6);
  background: rgba(255,45,85,.1); border-radius: 9px; padding: 7px; font-weight: 900; letter-spacing: 1px; font-size: 14px;
}
.popup-btn {
  display: block; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 13px; padding: 9px; border-radius: 9px;
}
.popup-btn:hover { filter: brightness(1.08); }

/* ---------- Rating (list) ---------- */
.page-hero-head--left { text-align: left; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { color: #d4d7df; font-size: 16px; line-height: 1; }
.star.on { color: var(--gold); }
.rating-num { font-weight: 800; margin-left: 8px; }
.rating-votes { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: 6px; }

.rating-list { display: flex; flex-direction: column; gap: 12px; }
.rating-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid rgba(0,0,0,.06); border-radius: 14px;
  padding: 10px 16px 10px 12px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s;
}
.rating-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.rating-row.is-featured { background: linear-gradient(0deg, rgba(245,182,44,.12), rgba(245,182,44,.12)), var(--card); border-color: rgba(245,182,44,.55); }
.rating-mark {
  flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  font-weight: 900; font-size: 13px; color: var(--muted); background: var(--bg-2);
}
.rating-row.is-featured .rating-mark { background: #2ec26a; color: #fff; }
.rating-logo {
  flex: none; width: 240px; height: 58px; background: #15171e; border-radius: 10px;
  display: grid; place-items: center; padding: 8px 14px;
}
.rating-logo img { max-height: 42px; max-width: 100%; object-fit: contain; }
.rating-logo-text { color: #fff; font-weight: 900; font-size: 15px; }
.rating-stars { flex: none; display: inline-flex; align-items: center; }
.rating-cat { margin-left: auto; }
.rating-cat-pill { background: var(--bg-2); color: var(--muted); font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 10px; }
.rating-cta {
  flex: none; background: #fff; border: 1px solid rgba(0,0,0,.12); color: var(--text);
  font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 10px; transition: .12s;
}
.rating-row:hover .rating-cta { border-color: var(--accent); color: var(--accent); }
.rating-row.is-featured .rating-cta { background: var(--accent); border-color: transparent; color: #fff; }

/* ---------- Rating (detail) ---------- */
.rating-detail-title { font-size: 28px; font-weight: 900; margin: 12px 0 16px; line-height: 1.2; }
.rating-top { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; margin: 8px 0 18px; }
.rating-card { background: var(--card); border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.rating-card-logo { background: #15171e; border-radius: 12px; height: 92px; display: grid; place-items: center; padding: 14px; margin-bottom: 12px; }
.rating-card-logo img { max-height: 62px; max-width: 100%; object-fit: contain; }
.rating-go { display: block; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; padding: 12px; border-radius: 10px; margin-bottom: 12px; transition: .15s; }
.rating-go:hover { filter: brightness(1.07); }
.rating-stars--lg { justify-content: center; display: flex; }
.rating-stars--lg .star { font-size: 24px; }
.rating-stars--lg .rating-num { font-size: 19px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros-box, .cons-box { border-radius: 14px; padding: 14px 16px; }
.pros-box { background: #eaf7ee; border: 1px solid #bfe6c8; }
.cons-box { background: #fdeced; border: 1px solid #f6c9ce; }
.pc-title { font-weight: 800; margin-bottom: 8px; }
.pros-box ul, .cons-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pros-box li, .cons-box li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pc-ic { font-weight: 900; flex: none; }
.pros-box .pc-ic { color: #1a9650; }
.cons-box .pc-ic { color: #d2333f; }
.pc-empty { margin: 0; color: var(--muted); font-size: 14px; }
.rating-bonus-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--card); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rating-bonus-label { font-weight: 800; color: var(--accent); }
.rating-bonus-btn { background: #15171e; color: #fff; font-weight: 700; padding: 9px 18px; border-radius: 9px; margin-left: auto; }
/* Promo code in a clear red frame inside the bonus bar */
.rating-bonus-code { margin: 0; border: 2px solid var(--accent); background: rgba(255,45,85,.06); }
.rating-bonus-code .promo-code-value { color: var(--accent); }
.rating-banner { aspect-ratio: 16 / 4.5; background-size: cover; background-position: center; border-radius: 14px; margin-bottom: 18px; box-shadow: var(--shadow); background-color: #15171e; }
.rating-content { margin-bottom: 20px; }

/* ---------- Reviews ---------- */
.reviews { margin-top: 34px; }
.review-form {
  position: relative; background: var(--card);
  border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow); margin: 16px 0 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.review-form-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-form-title { margin: 0; font-size: 18px; font-weight: 900; }
.review-rate { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid rgba(0,0,0,.06); padding: 6px 12px; border-radius: 30px; }
.review-rate-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.review-stars-pick { display: inline-flex; gap: 2px; }
.rs-star { border: 0; background: none; cursor: pointer; font-size: 24px; color: #d4d7df; line-height: 1; padding: 0 1px; transition: transform .1s, color .1s; }
.rs-star:hover { transform: scale(1.15); }
.rs-star.on { color: var(--gold); }
.review-input {
  width: 100%; border: 1.5px solid var(--bg-2); border-radius: 12px; padding: 13px 15px;
  font: inherit; font-size: 15px; background: var(--bg); color: var(--text); transition: .15s; resize: vertical;
}
.review-input::placeholder { color: #9aa0ab; }
.review-input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(255,45,85,.1); }
.btn-review-submit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0;
  font-weight: 800; font-size: 15px; padding: 13px 28px; border-radius: 12px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(255,45,85,.35); transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-review-submit::before { content: "★"; font-size: 15px; }
.btn-review-submit:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,45,85,.45); }
.review-thanks { background: rgba(46,194,106,.12); border: 1px solid #2ec26a; color: #1a9650; padding: 13px 18px; border-radius: 12px; margin-bottom: 14px; font-weight: 700; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { background: var(--card); border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; flex: none; }
.review-author { font-weight: 800; }
.review-date { color: var(--muted); font-size: 12px; margin-left: auto; }
.stars--sm .star { font-size: 13px; }
.review-text { margin: 0; color: #2a2d35; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }

/* ---------- Gift widget in header ("Подарок") ---------- */
.header-gift { position: relative; display: inline-flex; align-items: center; flex: none; }
.gift-fab {
  width: 50px; height: 50px; border: 0; cursor: pointer; padding: 4px; background: transparent;
  display: grid; place-items: center; border-radius: 12px;
  animation: giftWiggle 2.8s ease-in-out infinite; transform-origin: center bottom;
}
.gift-fab:hover { filter: brightness(1.08) drop-shadow(0 4px 10px rgba(255,45,85,.35)); }
.gift-fab:focus-visible { outline: 3px solid rgba(255,45,85,.4); outline-offset: 2px; }
.gift-fab img { width: 42px; height: 42px; object-fit: contain; }
.gift-fab-emoji { font-size: 34px; line-height: 1; }
@keyframes giftWiggle {
  0%, 60%, 100% { transform: rotate(0); }
  66% { transform: rotate(-13deg); }
  72% { transform: rotate(11deg); }
  79% { transform: rotate(-8deg); }
  86% { transform: rotate(6deg); }
  93% { transform: rotate(-3deg); }
}
.header-gift.open .gift-fab { animation: none; }
@media (prefers-reduced-motion: reduce) { .gift-fab { animation: none; } }

.gift-panel {
  position: absolute; top: calc(100% + 16px); right: 0; width: 300px; max-width: calc(100vw - 32px);
  background: var(--card-dark); color: #fff; border-radius: 16px; overflow: hidden; z-index: 120;
  box-shadow: 0 24px 54px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: scale(.55); transform-origin: top right;
  transition: opacity .16s ease, transform .2s cubic-bezier(.2,.8,.3,1.45), visibility .2s;
}
.header-gift.open .gift-panel { opacity: 1; visibility: visible; transform: scale(1); }
.gift-close { position: absolute; top: 8px; right: 8px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.gift-close:hover { background: var(--accent); }
.gift-panel-image { height: 120px; background-size: cover; background-position: center; }
.gift-panel-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 11px; }
.gift-panel-text { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.gift-panel-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 2px dashed rgba(255,45,85,.6); background: rgba(255,45,85,.12); border-radius: 10px; padding: 8px 10px; }
.gift-code-value { font-weight: 900; letter-spacing: 1px; font-size: 15px; }
.gift-code-copy { border: 0; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 12px; padding: 7px 10px; border-radius: 7px; cursor: pointer; transition: .15s; white-space: nowrap; }
.gift-code-copy:hover { background: var(--accent); }
.gift-panel-code.copied { border-color: #2ec26a; background: rgba(46,194,106,.15); }
.gift-panel-btn { display: block; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; padding: 12px; border-radius: 10px; transition: filter .15s; }
.gift-panel-btn:hover { filter: brightness(1.08); }

/* ---------- Responsive ---------- */

/* Large laptops / small desktops */
@media (max-width: 1100px) {
  .sites-tiles { grid-template-columns: repeat(5, 1fr); }
}

/* Small laptops / large tablets (landscape) */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr 1.8fr; }
  .hero-grid .hero-side:last-child { display: none; }
  .banner--big, .banner--small { min-height: 360px; }
  .sites-tiles { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets (portrait) */
@media (max-width: 860px) {
  /* Collapse the nav into a mobile menu earlier so the bar never overflows */
  .main-nav {
    position: fixed; inset: 86px 14px auto 14px; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 14px; gap: 4px; box-shadow: var(--shadow-lg);
    border-radius: 16px; border: 1px solid rgba(0,0,0,.06);
    transform: translateY(-160%); transition: transform .25s; max-height: calc(100vh - 110px); overflow: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding-left: 12px; min-width: 0; border: 0;
  }
  .nav-giveaways { justify-content: flex-start; }
  .nav-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .banner--big { min-height: 300px; }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .giveaway-grid, .giveaway-strip { grid-template-columns: repeat(2, 1fr); }
  .sites-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* Large phones */
@media (max-width: 640px) {
  .section { padding: 30px 0; }
  .section-title { font-size: 21px; }
  .promo-grid, .article-grid, .services-grid, .giveaway-grid, .giveaway-strip { grid-template-columns: 1fr; }
  .sites-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Rating list/detail stack on phones */
  .rating-row { flex-wrap: wrap; gap: 10px 14px; }
  .rating-logo { width: 100%; }
  .rating-cat { margin-left: 0; }
  .rating-top { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .rating-detail-title { font-size: 22px; }

  /* Gift icon scales down a bit on phones (stays in the header) */
  .gift-fab { width: 44px; height: 44px; }
  .gift-fab img { width: 36px; height: 36px; }
  .gift-fab-emoji { font-size: 30px; }
  .banner--big .banner-title { font-size: 26px; max-width: 100%; }
  .banner--big .banner-subtitle { max-width: 100%; }
  .article-title { font-size: 26px; }
  .giveaway-title { font-size: 24px; }
  .page-hero-title { font-size: 26px; }

  /* Service hero banner stacks the icon above the text */
  .service-hero-banner { min-height: 0; padding: 20px; }
  .service-hero-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .service-hero-title { font-size: 26px; }

  /* Popups dock to the full bottom width and shrink */
  .popup-stack { left: 12px; right: 12px; bottom: 12px; }
  .popup-card { width: 100%; max-width: 320px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .site-header-wrap { padding: 10px 12px 4px; }
  .header-inner { height: 58px; padding: 0 14px; gap: 12px; }
  .brand-logo, .brand-logo-img { width: 42px; height: 42px; font-size: 24px; }
  .brand-name { font-size: 17px; }
  .section { padding: 24px 0; }
  .section-head { margin-bottom: 16px; }
  .banner-content { padding: 20px; }
  .banner--big .banner-title { font-size: 22px; }
  .promo-card { padding: 16px; }
  .article-title { font-size: 22px; }
  .page-hero-title { font-size: 22px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .sites-tiles { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
}
