/*
Theme Name: Wingo Apk
Theme URI: https://wingoapk.net/
Author: Wingo Apk
Author URI: https://wingoapk.net/
Description: Indian bilingual Wingo Apk information, prediction and result guide theme.
Version: 1.0.0
Text Domain: wingoapk
*/

:root {
  --green: #07853f;
  --green-dark: #045f2d;
  --green-soft: #e9f8f0;
  --orange: #ff6b16;
  --orange-soft: #fff2e8;
  --navy: #071f3d;
  --text: #10213b;
  --muted: #627089;
  --line: #dfe7ef;
  --bg: #f7fafc;
  --white: #ffffff;
  --red: #ef3340;
  --violet: #8044d8;
  --shadow: 0 14px 36px rgba(7, 31, 61, 0.10);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-weight: 700;
  color: var(--navy);
}

.main-nav a {
  position: relative;
  padding: 25px 0;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fbfd;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.lang-switch span {
  color: var(--muted);
}

.search-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.header-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(255, 107, 22, 0.25);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, rgba(255, 107, 22, 0.12), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(7, 133, 63, 0.10), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f6fbf8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 46px;
  padding: 34px 0 30px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid #bee9d0;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
}

.badge.orange {
  background: #fff4df;
  border-color: #ffe0a3;
  color: #935000;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--green-dark);
}

.hero h1 span {
  color: var(--orange);
}

.hero .lead {
  max-width: 670px;
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.35;
  color: #263650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 900;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #07974a, #047737);
  box-shadow: 0 16px 28px rgba(4, 119, 55, 0.25);
}

.btn-link {
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  position: relative;
  min-height: 410px;
}

.phone-card {
  width: min(360px, 92%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 34px;
  background: #06172e;
  box-shadow: 0 28px 60px rgba(7, 31, 61, 0.24);
  transform: rotate(-3deg);
}

.phone-screen {
  border-radius: 24px;
  background: #f8fbfb;
  overflow: hidden;
  border: 6px solid #0a1f3a;
}

.phone-top {
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #0a6937);
}

.phone-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 24px;
}

.pred-box {
  margin: 14px;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(7, 31, 61, 0.09);
}

.pred-title {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffd44f;
  color: #3d2d00;
  font-weight: 900;
  font-size: 13px;
}

.ball-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin: 16px 0;
}

.ball {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.14);
}

.ball.green {
  background: var(--green);
}

.ball.red {
  background: var(--red);
}

.ball.violet {
  background: var(--violet);
}

.phone-pill-row {
  display: flex;
  gap: 8px;
}

.phone-pill {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.period-card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f4f7fb;
  display: flex;
  justify-content: space-between;
  font-weight: 900;
}

.ist-card {
  position: absolute;
  top: 35px;
  right: 0;
  width: 230px;
  padding: 17px;
  border-radius: 14px;
  border: 1px solid #a7d7bd;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.ist-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.1;
}

.ist-card small {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 28px 0;
}

.quick-cards {
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(7, 31, 61, 0.06);
}

.tool-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #16b862, var(--green));
  font-size: 28px;
  font-weight: 900;
}

.tool-card:nth-child(2) .tool-icon {
  background: linear-gradient(180deg, #ff7c25, var(--orange));
}

.tool-card:nth-child(3) .tool-icon {
  background: linear-gradient(180deg, #0c4d88, var(--navy));
}

.tool-card h3 {
  margin: 0 0 3px;
  font-size: 21px;
  color: var(--navy);
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.arrow {
  margin-left: auto;
  font-size: 34px;
  color: var(--navy);
}

.two-col {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 26px rgba(7, 31, 61, 0.06);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.15;
}

.panel p {
  margin: 3px 0 0;
  color: var(--muted);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  border: 0;
  border-radius: 6px;
  background: #eef3f7;
  color: var(--navy);
  padding: 11px 8px;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  color: #fff;
  background: var(--green);
}

.pred-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  overflow: hidden;
  border-radius: 8px;
}

.pred-table th,
.pred-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.pred-table th {
  background: #eef4f8;
  color: var(--navy);
  font-weight: 900;
}

.num {
  font-weight: 900;
  font-size: 19px;
}

.num.green {
  color: var(--green);
}

.num.red {
  color: var(--red);
}

.num.violet {
  color: var(--violet);
}

.dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  border-radius: 999px;
  vertical-align: -1px;
}

.dot.green {
  background: var(--green);
}

.dot.red {
  background: var(--red);
}

.dot.violet {
  background: var(--violet);
}

.result-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.result-item {
  text-align: center;
  font-weight: 800;
  color: var(--muted);
  font-size: 12px;
}

.result-item .ball {
  margin-bottom: 4px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
}

.side-link.orange {
  background: var(--orange-soft);
  color: #8b4600;
}

.content-section {
  padding: 34px 0;
}

.content-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.content-box h2 {
  color: var(--navy);
  margin-top: 0;
}

.content-box h3 {
  color: var(--green-dark);
}

.content-box p,
.content-box li {
  color: #33425a;
}

.site-footer {
  margin-top: 28px;
  color: #dce9f6;
  background: #061d36;
}

.footer-inner {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.footer-logo img {
  width: 148px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-disclaimer {
  font-size: 12px;
  color: #b6c8d9;
  line-height: 1.45;
}

.float-social {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.float-social a,
.float-social button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(7, 31, 61, 0.18);
  cursor: pointer;
}

.float-social img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 64px;
  }

  .logo img {
    width: 146px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-download,
  .search-dot {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero .lead {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .ist-card {
    right: 8px;
    top: 10px;
    width: 190px;
  }

  .phone-card {
    width: min(310px, 86%);
  }

  .card-grid,
  .two-col,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 96px;
  }

  .tabs {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
  }

  .pred-table {
    font-size: 13px;
  }

  .pred-table th,
  .pred-table td {
    padding: 8px 7px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 1180px);
  }

  .lang-switch {
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .badges {
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 7px 11px;
  }

  .hero-actions {
    gap: 14px;
  }

  .btn {
    width: 100%;
  }

  .btn-link {
    width: auto;
  }

  .trust-row {
    gap: 12px;
    font-size: 13px;
  }

  .phone-card {
    transform: none;
  }

  .ist-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .hero-visual {
    min-height: auto;
  }

  .panel {
    padding: 14px;
  }

  .panel-head {
    flex-direction: column;
  }

  .footer-nav {
    gap: 10px;
  }

  .float-social {
    right: 12px;
    bottom: 14px;
  }
}
.prediction-summary-card {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.98)),
    radial-gradient(circle at 80% 0%, rgba(255,107,22,0.2), transparent 34%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.prediction-summary-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row span {
  color: var(--muted);
  font-weight: 700;
}

.summary-row strong {
  color: var(--green-dark);
}

.summary-balls {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.prediction-summary-card p {
  margin: 0;
  color: var(--muted);
}
/* ===== Wingo Apk Home Upgrade ===== */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 48%, rgba(255,244,224,0.72) 100%),
    radial-gradient(circle at 82% 28%, rgba(255,107,22,0.18), transparent 30%),
    radial-gradient(circle at 72% 68%, rgba(7,133,63,0.14), transparent 34%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 26%;
  width: 420px;
  height: 120px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,107,22,0.18), rgba(7,133,63,0.18));
  transform: rotate(-18deg);
  filter: blur(1px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "India First";
  position: absolute;
  top: -12px;
  right: 8%;
  color: rgba(7, 31, 61, 0.10);
  font-size: 52px;
  font-weight: 900;
  transform: rotate(-7deg);
  pointer-events: none;
}

.badge {
  box-shadow: 0 8px 18px rgba(7, 133, 63, 0.08);
}

.badge.orange {
  box-shadow: 0 8px 18px rgba(255, 107, 22, 0.10);
}

.hero .lead {
  max-width: 720px;
}

.phone-card {
  position: relative;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(7,133,63,0.12), rgba(255,107,22,0.10));
  z-index: -1;
}

.phone-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: 42px;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,107,22,0.22), rgba(255,107,22,0.02));
  z-index: -1;
}

.phone-top {
  position: relative;
  overflow: hidden;
}

.phone-top::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -30px;
  width: 110px;
  height: 80px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.pred-title {
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

.phone-pill.green {
  background: var(--green);
}

.phone-pill.violet {
  background: var(--violet);
}

.phone-pill.red {
  background: var(--red);
}

.ist-card {
  overflow: hidden;
}

.ist-card::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(7, 133, 63, 0.08);
}

.quick-cards {
  padding-top: 0;
}

.premium-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0), rgba(7,133,63,0.06));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 133, 63, 0.28);
  box-shadow: 0 18px 42px rgba(7, 31, 61, 0.12);
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card > * {
  position: relative;
  z-index: 1;
}

.tool-card {
  border-radius: 16px;
}

.tool-card h3 {
  font-size: 20px;
}

.tool-card p {
  font-size: 15px;
}

.panel {
  border-radius: 16px;
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel h2::before {
  content: "";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 24%, transparent 25%),
    linear-gradient(180deg, #16b862, var(--green));
  box-shadow: 0 8px 18px rgba(7, 133, 63, 0.18);
}

.tabs {
  padding: 5px;
  border-radius: 10px;
  background: #edf3f7;
}

.tab {
  border-radius: 8px;
}

.pred-table {
  border: 1px solid var(--line);
}

.pred-table tbody tr:nth-child(even) {
  background: #fafcfd;
}

.pred-table tbody tr:hover {
  background: #f1fbf5;
}

.result-balls {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fb);
  border: 1px solid var(--line);
}

.result-item .ball {
  transition: transform 0.18s ease;
}

.result-item:hover .ball {
  transform: translateY(-3px);
}

.side-link {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 133, 63, 0.12);
}

.side-link::after {
  content: "";
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(7, 133, 63, 0.12);
}

.side-link.orange {
  border-color: rgba(255, 107, 22, 0.18);
}

.side-link.orange::after {
  background: rgba(255, 107, 22, 0.14);
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.content-box {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(7, 31, 61, 0.06);
}

.content-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--orange));
}

.content-box h2 {
  font-size: 32px;
  line-height: 1.2;
}

.content-box h3 {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}

.content-box p {
  font-size: 16px;
  line-height: 1.8;
}

.side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 94px;
}

.mini-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 31, 61, 0.07);
}

.mini-panel h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.mini-panel a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 800;
}

.mini-panel a:last-child {
  border-bottom: 0;
}

.mini-panel a::after {
  content: "›";
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.mini-panel p {
  margin: 9px 0;
  color: #34445b;
}

.orange-panel {
  background: linear-gradient(180deg, #fff, #fff7ed);
  border-color: #ffe0bd;
}

.orange-panel h3 {
  color: #8b4600;
}

.orange-panel strong {
  color: var(--orange);
}

@media (max-width: 980px) {
  .hero::after,
  .hero-copy::before {
    display: none;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
  }

  .content-box h2 {
    font-size: 27px;
  }
}

@media (max-width: 560px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,251,248,0.94)),
      radial-gradient(circle at 80% 20%, rgba(255,107,22,0.10), transparent 32%);
  }

  .card-grid {
    gap: 12px;
  }

  .premium-card {
    align-items: flex-start;
  }

  .tool-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 24px;
  }

  .arrow {
    font-size: 26px;
  }

  .result-balls {
    gap: 9px;
  }

  .content-box {
    padding: 22px 20px;
  }

  .content-box h2 {
    font-size: 24px;
  }

  .content-box h3 {
    font-size: 20px;
  }

  .mini-panel {
    padding: 18px;
  }
}
.tool-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7fafc;
  border: 1px dashed #cfdbe7;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.prediction-panel,
.result-panel {
  position: relative;
  overflow: hidden;
}

.prediction-panel::after,
.result-panel::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(7, 133, 63, 0.055);
  pointer-events: none;
}

.result-panel::after {
  background: rgba(255, 107, 22, 0.07);
}

.result-panel .panel-head a {
  color: var(--green-dark);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .tool-note {
    font-size: 12px;
  }

  .result-panel .panel-head a {
    white-space: normal;
  }
}
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.result-hero-card {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.result-hero-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 30px;
}

.latest-result-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 14px;
  background: var(--green-soft);
  border: 1px solid #cdebd9;
}

.latest-result-row strong {
  display: block;
  color: var(--green-dark);
  font-size: 17px;
}

.latest-result-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.result-mini-grid {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.mini-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.result-main-panel {
  min-width: 0;
}

.result-balls-large {
  margin-bottom: 16px;
}

.result-table td,
.result-table th {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .result-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .result-hero-card {
    padding: 20px;
  }

  .result-hero-card h2 {
    font-size: 25px;
  }

  .latest-result-row {
    align-items: flex-start;
  }

  .result-table {
    font-size: 12px;
  }

  .result-table td,
  .result-table th {
    white-space: normal;
  }
}
.color-wheel-card {
  width: min(450px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.color-wheel-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 30px;
}

.color-map-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.color-map {
  padding: 15px 16px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  font-weight: 900;
}

.color-map strong {
  font-size: 19px;
}

.color-map span {
  font-size: 16px;
}

.green-map {
  background: linear-gradient(135deg, #05823e, #12aa59);
}

.red-map {
  background: linear-gradient(135deg, #cf2634, #ff4d4d);
}

.violet-map {
  background: linear-gradient(135deg, #6e35c8, #9b62f0);
}

.compact-balls {
  max-width: 270px;
  margin: 16px auto;
}

.color-wheel-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 560px) {
  .color-wheel-card {
    padding: 20px;
  }

  .color-wheel-card h2 {
    font-size: 25px;
  }

  .color-map {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
.size-card {
  width: min(450px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.size-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 30px;
}

.size-columns {
  display: grid;
  gap: 16px;
}

.size-box {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.size-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.size-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-box span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.small-box {
  background: #f3f8fb;
}

.small-box strong {
  color: var(--navy);
}

.small-box span {
  background: #49627f;
}

.big-box {
  background: var(--green-soft);
}

.big-box strong {
  color: var(--green-dark);
}

.big-box span {
  background: var(--green);
}

.size-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .size-card {
    padding: 20px;
  }

  .size-card h2 {
    font-size: 25px;
  }
}
.period-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.period-hero-card {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.period-hero-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 30px;
}

.period-number {
  display: block;
  padding: 16px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1.1;
  word-break: break-word;
}

.period-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.period-status-grid div,
.period-big-display div {
  padding: 14px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid var(--line);
}

.period-status-grid span,
.period-big-display span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.period-status-grid strong,
.period-big-display strong {
  color: var(--navy);
  font-size: 18px;
}

.period-hero-card p {
  margin: 0;
  color: var(--muted);
}

.period-big-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .period-tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .period-hero-card {
    padding: 20px;
  }

  .period-hero-card h2 {
    font-size: 25px;
  }

  .period-number {
    font-size: 21px;
  }

  .period-status-grid,
  .period-big-display {
    grid-template-columns: 1fr;
  }
}
.guide-steps-card {
  width: min(450px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.guide-steps-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 30px;
}

.guide-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 15px;
  background: #f7fafc;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.guide-step strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.guide-step p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 560px) {
  .guide-steps-card {
    padding: 20px;
  }

  .guide-steps-card h2 {
    font-size: 25px;
  }
}
.faq-hero-card {
  width: min(450px, 100%);
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq-hero-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 30px;
}

.faq-hero-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

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

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #34445b;
}

@media (max-width: 560px) {
  .faq-hero-card {
    padding: 20px;
  }

  .faq-hero-card h2 {
    font-size: 25px;
  }

  .faq-item summary {
    padding: 14px 15px;
  }

  .faq-item p {
    padding: 0 15px 15px;
  }
}
.hero-tiny {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 107, 22, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f7fbf8);
}

.simple-hero {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 0;
}

.simple-hero h1 {
  margin: 16px 0 10px;
  color: var(--green-dark);
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.05;
}

.simple-hero p {
  max-width: 760px;
  margin: 0;
  color: #263650;
  font-size: 20px;
  line-height: 1.45;
}

.content-box h2 + p {
  margin-bottom: 24px;
}
.search-list {
  display: grid;
  gap: 16px;
}

.search-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.search-item h2 {
  margin: 0 0 8px;
  font-size: 23px;
}

.search-item h2 a {
  color: var(--navy);
}

.search-item p {
  margin: 0 0 12px;
  color: var(--muted);
}

.read-more {
  color: var(--green-dark);
  font-weight: 900;
}

.pagination {
  margin-top: 16px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.pagination .current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.float-social {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.float-social a,
.float-social button {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
}

.float-social img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}