/*
Theme Name: Go Rummy App
Theme URI: https://gorummyapp.com
Author: Go Rummy
Author URI: https://gorummyapp.com
Description: Official Go Rummy brand website theme. Lightweight, mobile-first, CWV-friendly. Built from the SEO plan: single brand site with conversion pages (download/login/bonus/refer), content pages (rules/how-to-play/faq) and trust pages (about/contact/disclaimer/privacy), SoftwareApplication + FAQPage schema, hub-spoke internal linking and 18+ compliance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gorummyapp
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --gr-bg: #faf6ee;
    --gr-bg-soft: #f2ecdd;
    --gr-card: #ffffff;
    --gr-card-hover: #fff6df;
    --gr-border: rgba(14, 82, 40, 0.14);
    --gr-primary: #0e7a3e;
    --gr-primary-strong: #0a5c2f;
    --gr-accent: #b8860b;
    --gr-green: #16a34a;
    --gr-gold: #d99e1f;
    --gr-text: #1c2a22;
    --gr-text-muted: #5f6b63;
    --gr-radius: 12px;
    --gr-radius-lg: 18px;
    --gr-shadow: 0 4px 20px rgba(14, 82, 40, 0.1);
    --gr-gradient: linear-gradient(135deg, #0e7a3e 0%, #1ea355 100%);
    --gr-container: 1120px;
    --gr-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gr-bg);
    color: var(--gr-text);
    font-family: var(--gr-font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gr-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.6em;
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5em;
    font-size: 0.95em;
}

th, td {
    border: 1px solid var(--gr-border);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--gr-bg-soft);
    color: var(--gr-text);
    font-weight: 600;
}

td {
    color: var(--gr-text-muted);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

.gr-container {
    max-width: var(--gr-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Icon alignment (icon + text on one line) ============ */

.gr-hero-badge svg,
.gr-hero-trustline svg,
.gr-btn svg,
.gr-stats-item svg,
.gr-trust-item svg,
.gr-card-icon svg,
.gr-alert svg,
.gr-faq-q > svg,
.gr-faq-chevron svg,
.gr-hi-block h3 svg,
.gr-breadcrumb svg,
.gr-footer-social svg,
.gr-mobile-nav svg,
.gr-post-card .gr-post-readmore svg {
    display: block;
    flex-shrink: 0;
}

/* ============ Header ============ */

.gr-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gr-border);
}

.gr-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 16px;
}

.gr-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--gr-text);
}

.gr-logo:hover {
    text-decoration: none;
    color: var(--gr-text);
}

.gr-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gr-gradient);
    box-shadow: 0 4px 14px rgba(14, 122, 62, 0.35);
    flex-shrink: 0;
    overflow: hidden;
}

.gr-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gr-logo-mark svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.gr-logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--gr-text-muted);
    line-height: 1.2;
}

.gr-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gr-nav::-webkit-scrollbar {
    display: none;
}

.gr-nav a {
    color: var(--gr-text-muted);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.gr-nav a:hover,
.gr-nav a.gr-nav-active {
    color: var(--gr-text);
    text-decoration: none;
}

.gr-header-cta {
    display: none;
}

.gr-header-cta .gr-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ============ Buttons ============ */

.gr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.gr-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.gr-btn-primary {
    background: var(--gr-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 122, 62, 0.35);
}

.gr-btn-primary:hover {
    background: var(--gr-primary-strong);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 122, 62, 0.45);
}

.gr-btn-outline {
    background: transparent;
    color: var(--gr-accent);
    border-color: var(--gr-accent);
}

.gr-btn-outline:hover {
    background: var(--gr-primary);
    border-color: var(--gr-primary);
    color: #fff;
    text-decoration: none;
}

.gr-btn-lg {
    padding: 16px 34px;
    font-size: 16px;
}

.gr-btn-green {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.gr-btn-green:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* ============ Hero ============ */

.gr-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(14, 122, 62, 0.12), transparent 60%),
        radial-gradient(700px 350px at -10% 110%, rgba(217, 158, 31, 0.14), transparent 60%),
        var(--gr-bg);
    border-bottom: 1px solid var(--gr-border);
}

.gr-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.gr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(14, 122, 62, 0.1);
    border: 1px solid rgba(217, 158, 31, 0.4);
    color: var(--gr-accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.gr-hero-badge svg {
    width: 14px;
    height: 14px;
}

.gr-hero h1 {
    font-size: clamp(32px, 6vw, 54px);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.gr-hero h1 .gr-gradient-text {
    background: var(--gr-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gr-hero-sub {
    font-size: 18px;
    color: var(--gr-text-muted);
    max-width: 560px;
    margin-bottom: 28px;
}

.gr-hero-sub strong {
    color: var(--gr-text);
}

.gr-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 26px;
}

.gr-hero-media {
    display: flex;
    justify-content: center;
}

.gr-app-icon {
    position: relative;
    border-radius: 42px;
    background: var(--gr-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 0 60px rgba(14, 122, 62, 0.35), var(--gr-shadow);
}

.gr-app-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 30px;
    display: block;
}

.gr-app-icon::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.gr-app-icon svg {
    width: 110px;
    height: 110px;
    color: #fff;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.gr-hero-trustline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 13px;
    color: var(--gr-text-muted);
}

.gr-hero-trustline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gr-hero-trustline svg {
    width: 14px;
    height: 14px;
    color: var(--gr-green);
}

/* ============ Hero banner (first screen) ============ */

.gr-hero-banner {
    margin-bottom: 44px;
}

.gr-hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--gr-radius-lg);
    border: 1px solid var(--gr-border);
    box-shadow: var(--gr-shadow);
}

/* ============ Stats board ============ */

.gr-stats {
    display: flex;
    flex-wrap: wrap;
    background: var(--gr-bg-soft);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 18px 10px;
    box-shadow: var(--gr-shadow);
    margin: 0 0 40px;
}

.gr-stats-item {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-right: 1px solid var(--gr-border);
    min-width: 0;
}

.gr-stats-item:nth-child(2n) {
    border-right: none;
}

.gr-stats-item svg {
    width: 22px;
    height: 22px;
    color: var(--gr-accent);
    flex-shrink: 0;
}

.gr-stat-value {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.gr-stat-label {
    font-size: 12px;
    color: var(--gr-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* ============ Sections ============ */

.gr-section {
    padding: 56px 0;
}

.gr-section-alt {
    background: var(--gr-bg-soft);
    border-top: 1px solid var(--gr-border);
    border-bottom: 1px solid var(--gr-border);
}

.gr-section-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.gr-section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(217, 158, 31, 0.16);
    border: 1px solid rgba(217, 158, 31, 0.35);
    color: var(--gr-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.gr-section-title {
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.gr-section-sub {
    color: var(--gr-text-muted);
    font-size: 16px;
}

/* ============ Cards / grids ============ */

.gr-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gr-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gr-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gr-card {
    background: var(--gr-card);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 28px 24px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.gr-card:hover {
    background: var(--gr-card-hover);
    transform: translateY(-2px);
}

.gr-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(14, 122, 62, 0.1);
    border: 1px solid rgba(217, 158, 31, 0.35);
    margin-bottom: 18px;
}

.gr-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--gr-accent);
}

.gr-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.gr-card p {
    color: var(--gr-text-muted);
    font-size: 15px;
    margin-bottom: 0;
}

/* ============ Social proof bar ============ */

.gr-proof {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gr-border);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    overflow: hidden;
    box-shadow: var(--gr-shadow);
    margin: 0 0 40px;
}

.gr-proof-item {
    background: var(--gr-card);
    padding: 22px 14px;
    text-align: center;
}

.gr-proof-value {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gr-primary);
}

.gr-proof-label {
    font-size: 13px;
    color: var(--gr-text-muted);
    margin-top: 4px;
}

@media (min-width: 640px) {
    .gr-proof {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============ Payment method badges ============ */

.gr-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.gr-pay-badges span {
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--gr-bg-soft);
    border: 1px solid var(--gr-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--gr-text);
}

/* ============ Trust badges ============ */

.gr-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gr-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gr-card);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 16px;
}

.gr-trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--gr-green);
    flex-shrink: 0;
}

.gr-trust-item strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.gr-trust-item span {
    font-size: 12px;
    color: var(--gr-text-muted);
}

/* ============ Steps ============ */

.gr-steps {
    counter-reset: gr-step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gr-step {
    position: relative;
    counter-increment: gr-step;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px 18px 0;
    border-bottom: 1px solid var(--gr-border);
}

.gr-step:last-child {
    border-bottom: none;
}

.gr-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gr-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -9px; /* 数字与右侧标题行垂直居中对齐 */
    box-shadow: 0 4px 12px rgba(14, 122, 62, 0.3);
}

.gr-step h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.gr-step p {
    color: var(--gr-text-muted);
    font-size: 15px;
    margin: 0;
}

/* ============ Hindi block ============ */

.gr-hi-block {
    border: 1px solid rgba(217, 158, 31, 0.4);
    background: rgba(14, 122, 62, 0.06);
    border-radius: var(--gr-radius);
    padding: 24px;
    margin: 24px 0;
}

.gr-hi-block h3 {
    font-size: 16px;
    color: var(--gr-accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gr-hi-block h3 svg {
    width: 18px;
    height: 18px;
}

.gr-hi-block ol,
.gr-hi-block ul {
    margin-bottom: 0;
    color: var(--gr-text);
}

.gr-hi-block li {
    margin-bottom: 8px;
}

.gr-hi-block li:last-child {
    margin-bottom: 0;
}

/* ============ Data grid (table-free layout) ============ */

.gr-data-scroll {
    overflow-x: auto;
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    background: var(--gr-card);
}

.gr-data-grid {
    min-width: 0;
}

.gr-data-head,
.gr-data-row {
    display: grid;
    gap: 0;
}

.gr-data-head {
    background: var(--gr-bg-soft);
    font-weight: 600;
}

.gr-data-row {
    border-top: 1px solid var(--gr-border);
}

.gr-data-cell {
    padding: 12px 14px;
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--gr-text-muted);
    min-width: 0;
}

.gr-data-head .gr-data-cell {
    color: var(--gr-text);
}

.gr-data-cell-strong {
    color: var(--gr-text);
    font-weight: 600;
}

.gr-cols-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
}

.gr-cols-3 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
}

.gr-cols-4 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
}

/* ============ FAQ accordion ============ */

.gr-faq {
    max-width: 820px;
    margin: 0 auto;
}

.gr-faq-item {
    background: var(--gr-card);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.gr-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    background: none;
    border: none;
    color: var(--gr-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    cursor: pointer;
    line-height: 1.4;
}

.gr-faq-q svg:first-child {
    width: 20px;
    height: 20px;
    color: var(--gr-accent);
    flex-shrink: 0;
}

.gr-faq-chevron {
    margin-left: auto;
    width: 18px;
    height: 18px;
    color: var(--gr-text-muted);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.gr-faq-item.is-open .gr-faq-chevron {
    transform: rotate(180deg);
}

.gr-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gr-faq-a-inner {
    padding: 0 20px 18px 54px;
    color: var(--gr-text-muted);
    font-size: 15px;
}

.gr-faq-a-inner p {
    margin: 0;
}

/* ============ CTA band ============ */

.gr-cta {
    padding: 64px 0;
    background:
        radial-gradient(700px 320px at 50% 120%, rgba(14, 122, 62, 0.2), transparent 65%),
        var(--gr-bg);
    border-top: 1px solid var(--gr-border);
}

.gr-cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.gr-cta h2 {
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -0.5px;
}

.gr-cta p {
    color: var(--gr-text-muted);
    font-size: 17px;
    margin-bottom: 28px;
}

.gr-cta .gr-hero-actions {
    align-items: center;
    margin-bottom: 0;
}

/* ============ Compliance ============ */

.gr-compliance {
    background: rgba(217, 158, 31, 0.09);
    border-top: 1px solid rgba(217, 158, 31, 0.35);
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--gr-text-muted);
}

.gr-compliance strong {
    color: var(--gr-gold);
}

/* ============ Page hero (inner pages) ============ */

.gr-page-hero {
    padding: 48px 0 36px;
    background:
        radial-gradient(700px 300px at 90% -20%, rgba(14, 122, 62, 0.1), transparent 60%),
        var(--gr-bg);
    border-bottom: 1px solid var(--gr-border);
}

.gr-page-hero h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    letter-spacing: -0.6px;
    margin-bottom: 10px;
}

.gr-page-hero-sub {
    color: var(--gr-text-muted);
    font-size: 17px;
    max-width: 680px;
    margin-bottom: 0;
}

.gr-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gr-text-muted);
    margin-bottom: 14px;
}

.gr-breadcrumb a {
    color: var(--gr-text-muted);
}

.gr-breadcrumb a:hover {
    color: var(--gr-accent);
}

.gr-breadcrumb svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* ============ Prose content ============ */

.gr-content {
    max-width: 820px;
}

.gr-content h2 {
    font-size: 26px;
    margin-top: 40px;
}

.gr-content h3 {
    font-size: 20px;
    margin-top: 30px;
}

.gr-content p,
.gr-content li {
    color: var(--gr-text-muted);
}

.gr-content p strong,
.gr-content li strong {
    color: var(--gr-text);
}

.gr-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gr-content a:hover {
    color: var(--gr-text);
}

.gr-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--gr-accent);
    background: var(--gr-card);
    border-radius: 0 var(--gr-radius) var(--gr-radius) 0;
    color: var(--gr-text-muted);
}

/* ============ Alerts / notes ============ */

.gr-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: var(--gr-radius);
    padding: 20px;
    margin: 28px 0;
    background: rgba(217, 158, 31, 0.1);
    border: 1px solid rgba(217, 158, 31, 0.4);
}

.gr-alert svg {
    width: 22px;
    height: 22px;
    color: var(--gr-gold);
    flex-shrink: 0;
    margin-top: 1px; /* 与右侧标题行垂直居中对齐 */
}

.gr-alert h3 {
    font-size: 16px;
    color: var(--gr-gold);
    margin-bottom: 6px;
}

.gr-alert p {
    margin: 0;
    color: var(--gr-text-muted);
    font-size: 15px;
}

.gr-alert-green {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.3);
}

.gr-alert-green svg {
    color: var(--gr-green);
}

.gr-alert-green h3 {
    color: var(--gr-green);
}

.gr-alert-purple {
    background: rgba(14, 122, 62, 0.08);
    border-color: rgba(217, 158, 31, 0.4);
}

.gr-alert-purple svg {
    color: var(--gr-accent);
}

.gr-alert-purple h3 {
    color: var(--gr-accent);
}

/* ============ Contact ============ */

.gr-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gr-contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--gr-card);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 24px;
}

.gr-contact-card .gr-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.gr-contact-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.gr-contact-card p {
    color: var(--gr-text-muted);
    font-size: 15px;
    margin: 0 0 8px;
}

.gr-contact-card a {
    font-weight: 600;
}

/* ============ Footer ============ */

.gr-footer {
    background: #0a3a20;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 56px 0 0;
}

.gr-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.gr-footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    max-width: 320px;
}

.gr-footer-company {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 320px;
}

.gr-footer-company p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.5;
}

.gr-footer-company strong {
    color: #f7e7b4;
}

.gr-footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f7e7b4;
    margin-bottom: 16px;
}

.gr-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gr-footer ul li {
    margin-bottom: 10px;
}

.gr-footer ul a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.gr-footer ul a:hover {
    color: #f7e7b4;
    text-decoration: none;
}

.gr-footer .gr-logo {
    color: #ffffff;
}

.gr-footer .gr-logo-text span {
    color: rgba(255, 255, 255, 0.6);
}

.gr-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.gr-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.8);
}

.gr-footer-social a:hover {
    color: #fff;
    background: var(--gr-gold);
    border-color: var(--gr-gold);
    text-decoration: none;
}

.gr-footer-social svg {
    width: 18px;
    height: 18px;
}

.gr-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.gr-footer-bottom p {
    margin: 0 0 6px;
}

/* ============ Mobile bottom nav ============ */

.gr-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    background: rgba(9, 46, 24, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    backdrop-filter: blur(10px);
}

.gr-mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 0;
}

.gr-mobile-nav a:hover {
    color: #f7e7b4;
    text-decoration: none;
}

.gr-mobile-nav svg {
    width: 20px;
    height: 20px;
}

.gr-mobile-nav .gr-mobile-nav-hot {
    color: #f7e7b4;
    font-weight: 700;
}

/* ============ Blog ============ */

.gr-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gr-post-card {
    background: var(--gr-card);
    border: 1px solid var(--gr-border);
    border-radius: var(--gr-radius);
    padding: 26px 24px;
    transition: background 0.25s ease, transform 0.25s ease;
    display: block;
    color: var(--gr-text);
}

.gr-post-card:hover {
    background: var(--gr-card-hover);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--gr-text);
}

.gr-post-card .gr-post-meta {
    font-size: 12px;
    color: var(--gr-text-muted);
    margin-bottom: 10px;
}

.gr-post-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gr-text);
}

.gr-post-card p {
    color: var(--gr-text-muted);
    font-size: 15px;
    margin: 0;
}

.gr-post-card .gr-post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--gr-accent);
    font-weight: 600;
    font-size: 14px;
}

.gr-post-card .gr-post-readmore svg {
    width: 14px;
    height: 14px;
}

/* ============ 404 / search ============ */

.gr-404 {
    text-align: center;
    padding: 80px 20px;
}

.gr-404 h1 {
    font-size: clamp(40px, 8vw, 72px);
    background: var(--gr-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gr-search-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 24px auto 0;
}

.gr-search-form input[type="search"] {
    flex: 1;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--gr-border);
    background: var(--gr-card);
    color: var(--gr-text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.gr-search-form input[type="search"]:focus {
    border-color: var(--gr-accent);
}

.gr-search-form button {
    border: none;
    background: var(--gr-gradient);
    color: #fff;
    padding: 0 22px;
    border-radius: 10px;
    cursor: pointer;
}

/* ============ Responsive ============ */

@media (min-width: 640px) {
    .gr-trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    .gr-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gr-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gr-stats-item {
        flex: 1 1 20%;
    }

    .gr-stats-item:nth-child(2n) {
        border-right: 1px solid var(--gr-border);
    }

    .gr-stats-item:last-child {
        border-right: none;
    }

    .gr-hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .gr-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 860px) {
    .gr-nav {
        display: flex;
    }

    .gr-header-cta {
        display: block;
    }

    .gr-hero {
        padding: 84px 0 72px;
    }

    .gr-hero-inner {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .gr-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gr-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .gr-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gr-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .gr-mobile-nav {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

@media (max-width: 859px) {
    body {
        padding-bottom: 66px;
    }

    .gr-nav {
        flex: 1;
        justify-content: flex-start;
        gap: 16px;
    }

    .gr-nav a {
        font-size: 14px;
    }
}