:root {
    --wg-green: #16a34a;
    --wg-green-dark: #047857;
    --wg-green-deep: #064e3b;
    --wg-mint: #ecfdf5;
    --wg-mint-2: #f3fff8;
    --wg-text: #102018;
    --wg-muted: #66756c;
    --wg-line: #d8f5e4;
    --wg-red: #ef4444;
    --wg-violet: #8b5cf6;
    --wg-orange: #f59e0b;
    --wg-white: #ffffff;
    --wg-shadow: 0 20px 60px rgba(4, 120, 87, .14);
    --wg-radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--wg-text);
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, .12), transparent 34rem),
        linear-gradient(145deg, #ffffff 0%, #f3fff8 48%, #e9fbf0 100%);
    font-size: 16px;
    line-height: 1.6;
}

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

button,
input {
    font: inherit;
}

.wg-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.wg-section {
    margin-top: 34px;
}

.wg-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(216, 245, 228, .9);
}

.wg-header-inner {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.wg-logo-img {
    display: block;
    width: 210px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

@media (max-width: 520px) {
    .wg-logo-img {
        width: 168px;
        max-height: 48px;
    }
}

.wg-logo-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 20%, #bbf7d0, transparent 28%),
        linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(22, 163, 74, .28);
}

.wg-logo-text {
    display: grid;
    line-height: 1;
}

.wg-logo-text strong {
    font-size: 21px;
}

.wg-logo-text small {
    color: var(--wg-muted);
    font-weight: 800;
}

.wg-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--wg-muted);
    font-weight: 800;
}

.wg-desktop-nav a:hover {
    color: var(--wg-green-dark);
}

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

.wg-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--wg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wg-green-dark);
    font-weight: 900;
    white-space: nowrap;
}

.wg-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--wg-line);
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
}

.wg-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--wg-green-deep);
    border-radius: 99px;
}

.wg-mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 12px;
    padding: 12px;
    border: 1px solid var(--wg-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--wg-shadow);
}

.wg-mobile-panel a {
    display: block;
    padding: 12px;
    border-radius: 12px;
    font-weight: 850;
    color: var(--wg-muted);
}

.wg-mobile-panel a:hover {
    background: var(--wg-mint);
    color: var(--wg-green-dark);
}

.wg-mobile-panel.is-open {
    display: block;
}

.wg-mobile-lang {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.wg-mobile-lang a {
    text-align: center;
    background: var(--wg-mint);
    color: var(--wg-green-dark);
}

.wg-main {
    padding-bottom: 72px;
}

.wg-page-hero {
    position: relative;
    overflow: hidden;
    margin-top: 28px;
    padding: clamp(28px, 6vw, 64px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, .18), transparent 16rem),
        radial-gradient(circle at 10% 20%, rgba(22, 163, 74, .2), transparent 18rem),
        linear-gradient(135deg, #ffffff 0%, #f2fff8 58%, #dcfce7 100%);
    border: 1px solid #ddf8e9;
    box-shadow: var(--wg-shadow);
}

.wg-page-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 42px solid rgba(22, 163, 74, .08);
}

.wg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wg-green-dark);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 12px;
}

.wg-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--wg-orange), var(--wg-green));
}

.wg-page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 12px 0 14px;
    font-size: clamp(30px, 4.8vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
    color: #06291a;
}
.wg-page-hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0;
    color: var(--wg-muted);
    font-size: clamp(16px, 2vw, 20px);
}

.wg-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.wg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 950;
}

.wg-btn-primary {
    background: linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff;
    box-shadow: 0 14px 30px rgba(22, 163, 74, .28);
}

.wg-btn-soft {
    background: #fff;
    color: var(--wg-green-dark);
    border: 1px solid var(--wg-line);
}

.wg-section-title {
    margin-bottom: 16px;
}

.wg-section-title h2,
.wg-tool-head h2,
.wg-card h2,
.wg-rich h2 {
    margin: 6px 0 6px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.08;
    color: #06291a;
}

.wg-section-title p,
.wg-tool-head p,
.wg-card p,
.wg-rich p {
    margin: 0;
    color: var(--wg-muted);
}

.wg-tool-shell {
    overflow: hidden;
    padding: clamp(18px, 4vw, 30px);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(6, 95, 70, .96), rgba(4, 120, 87, .92)),
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .2), transparent 16rem);
    color: #fff;
    box-shadow: var(--wg-shadow);
}

.wg-tool-shell .wg-eyebrow,
.wg-tool-shell h2,
.wg-tool-shell p {
    color: #fff;
}

.wg-tool-shell p {
    color: rgba(255, 255, 255, .76);
}

.wg-tool-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.wg-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-weight: 900;
}

.wg-live-pill span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #86efac;
    box-shadow: 0 0 0 6px rgba(134, 239, 172, .16);
}

.wg-period-tabs {
    display: flex;
    gap: 8px;
    margin: 22px 0;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow-x: auto;
    scrollbar-width: none;
}

.wg-period-tabs::-webkit-scrollbar {
    display: none;
}

.wg-period-tabs a {
    flex: 1 0 auto;
    min-width: 76px;
    text-align: center;
    padding: 11px 14px;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    white-space: nowrap;
}

.wg-period-tabs a.active {
    background: #fff;
    color: var(--wg-green-dark);
}

.wg-live-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 12px;
}

.wg-live-card {
    min-width: 0;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
}

.wg-live-card span {
    display: block;
    color: rgba(255, 255, 255, .74);
    font-weight: 800;
    font-size: 13px;
}

.wg-live-card strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1;
    overflow-wrap: anywhere;
}

.wg-live-card small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .7);
}

.wg-prediction-value {
    color: #bbf7d0;
}

.wg-last-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.wg-last-result > div {
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    color: var(--wg-text);
}

.wg-last-result span {
    display: block;
    color: var(--wg-muted);
    font-weight: 800;
    font-size: 13px;
}

.wg-last-result strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 22px;
}

.wg-last-result em {
    font-style: normal;
}

.wg-status {
    width: max-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--wg-mint);
    color: var(--wg-green-dark);
}

.wg-status.wrong {
    background: #fff1f2;
    color: var(--wg-red);
}

.wg-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.wg-period-dashboard {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
}

.wg-period-card,
.wg-card,
.wg-rich,
.wg-faq,
.wg-related {
    border-radius: var(--wg-radius);
    background: rgba(255, 255, 255, .9);
    border: 1px solid #e3f8eb;
    box-shadow: 0 14px 36px rgba(4, 120, 87, .08);
}

.wg-period-card {
    padding: 18px;
}

.wg-period-card span {
    color: var(--wg-muted);
    font-weight: 900;
}

.wg-period-card strong {
    display: block;
    margin: 8px 0;
    font-size: 30px;
    color: var(--wg-green-dark);
}

.wg-period-card small {
    color: var(--wg-muted);
    font-weight: 800;
}

.wg-result-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.wg-result-item {
    min-width: 150px;
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--wg-line);
    text-align: center;
    box-shadow: 0 14px 34px rgba(4, 120, 87, .08);
}

.wg-result-item b,
.wg-result-item small {
    display: block;
}

.wg-result-item b {
    margin-top: 8px;
    color: var(--wg-green-deep);
}

.wg-result-item small {
    color: var(--wg-muted);
    margin-top: 4px;
}

.wg-ball {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-weight: 950;
    font-style: normal;
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .18), 0 8px 20px rgba(0, 0, 0, .1);
}

.wg-result-item .wg-ball,
.wg-rule-item .wg-ball {
    width: 62px;
    height: 62px;
    font-size: 26px;
}

.wg-ball-green {
    background: radial-gradient(circle at 30% 20%, #dcfce7 0, #22c55e 34%, #047857 100%);
}

.wg-ball-red {
    background: radial-gradient(circle at 30% 20%, #fee2e2 0, #ef4444 34%, #991b1b 100%);
}

.wg-ball-violet-red {
    background: linear-gradient(135deg, #ef4444 0 48%, #8b5cf6 52% 100%);
}

.wg-ball-violet-green {
    background: linear-gradient(135deg, #16a34a 0 48%, #8b5cf6 52% 100%);
}

.wg-card,
.wg-rich,
.wg-faq,
.wg-related {
    padding: clamp(18px, 4vw, 28px);
}

.wg-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.wg-accuracy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 13px;
    border-radius: 999px;
    background: var(--wg-mint);
    color: var(--wg-green-dark);
    font-weight: 950;
}

.wg-table-scroll {
    overflow-x: auto;
}

.wg-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.wg-table th,
.wg-table td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid #e8f4ee;
    vertical-align: middle;
}

.wg-table th {
    background: var(--wg-mint);
    color: #17392a;
    font-weight: 950;
}

.wg-table .win {
    color: var(--wg-green-dark);
    font-weight: 950;
}

.wg-table .wrong {
    color: var(--wg-red);
    font-weight: 950;
}

.wg-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 14px;
}

.wg-step {
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--wg-line);
    box-shadow: 0 14px 34px rgba(4, 120, 87, .08);
}

.wg-step span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff;
    font-weight: 950;
}

.wg-step h3 {
    margin: 14px 0 6px;
    font-size: 20px;
}

.wg-step p {
    margin: 0;
    color: var(--wg-muted);
}

.wg-rule-board {
    display: grid;
    grid-template-columns: repeat(10, minmax(84px, 1fr));
    gap: 10px;
    overflow-x: auto;
}

.wg-rule-item {
    min-width: 84px;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--wg-line);
}

.wg-rule-item strong {
    font-size: 13px;
    color: var(--wg-green-deep);
}

.wg-chart-bars {
    height: 220px;
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(#fff, var(--wg-mint));
    overflow: hidden;
}

.wg-chart-bars span {
    flex: 1;
    min-width: 20px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(var(--wg-green), var(--wg-green-dark));
}

.wg-rich-intro {
    font-size: 18px;
    max-width: 860px;
}

.wg-rich-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.wg-rich-grid article {
    padding: 18px;
    border-radius: 20px;
    background: var(--wg-mint-2);
    border: 1px solid var(--wg-line);
}

.wg-rich-grid h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.wg-rich-grid p {
    margin: 0;
}

.wg-faq details {
    border-bottom: 1px solid #e8f4ee;
    padding: 16px 0;
}

.wg-faq summary {
    cursor: pointer;
    font-weight: 950;
    color: #102018;
}

.wg-faq p {
    color: var(--wg-muted);
}

.wg-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wg-link-grid a {
    display: inline-flex;
    padding: 11px 14px;
    border-radius: 999px;
    background: var(--wg-mint);
    color: var(--wg-green-dark);
    font-weight: 900;
}

.wg-skeleton {
    min-height: 126px;
    border-radius: 22px;
    background: linear-gradient(90deg, #e8f7ee, #fff, #e8f7ee);
    background-size: 200% 100%;
    animation: wg-shimmer 1.2s infinite linear;
}

@keyframes wg-shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.wg-floating-actions {
    position: fixed;
    right: 18px;
    top: 42%;
    z-index: 90;
    display: grid;
    gap: 10px;
}

.wg-floating-actions a {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #fff;
    color: var(--wg-green-dark);
    border: 1px solid var(--wg-line);
    box-shadow: 0 14px 34px rgba(4, 120, 87, .18);
    font-weight: 950;
    font-size: 13px;
}

.wg-floating-actions a:first-child {
    background: #229ed9;
    color: #fff;
}

.wg-floating-actions a:nth-child(2) {
    background: linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff;
}

.wg-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 95;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    width: min(94vw, 520px);
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--wg-line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
    backdrop-filter: blur(18px);
}

.wg-bottom-nav a {
    text-align: center;
    color: var(--wg-muted);
    font-weight: 900;
    font-size: 13px;
}

.wg-bottom-nav a:nth-child(2) {
    color: var(--wg-green-dark);
}

.wg-footer {
    margin-top: 50px;
    padding: 42px 16px 96px;
    background: #063f2e;
    color: rgba(255, 255, 255, .74);
}

.wg-footer-inner {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.wg-footer-logo {
    display: inline-block;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    margin-bottom: 8px;
}

.wg-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.wg-footer-links a {
    color: #fff;
    font-weight: 850;
}

.wg-copyright {
    width: min(1180px, 100%);
    margin: 24px auto 0;
    font-size: 14px;
}

@media (max-width: 980px) {
    .wg-desktop-nav {
        display: none;
    }

    .wg-menu-toggle {
        display: block;
    }

    .wg-live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-period-dashboard,
    .wg-result-strip {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
        overflow-x: auto;
    }

    .wg-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-rule-board {
        grid-template-columns: repeat(10, minmax(84px, 1fr));
    }

    .wg-floating-actions {
        right: 10px;
    }
}

@media (max-width: 680px) {
    .wg-container,
    .wg-header-inner,
    .wg-mobile-panel {
        width: min(100% - 24px, 1180px);
    }

    .wg-language-switch {
        display: none;
    }

    .wg-page-hero {
        margin-top: 18px;
        border-radius: 26px;
        padding: 28px 20px;
    }

    .wg-tool-head {
        display: block;
    }

    .wg-live-pill {
        margin-top: 12px;
    }

    .wg-live-grid,
    .wg-last-result,
    .wg-rich-grid,
    .wg-footer-inner {
        grid-template-columns: 1fr;
    }

    .wg-live-card strong {
        font-size: 28px;
    }

    .wg-section-head {
        display: block;
    }

    .wg-accuracy-chip {
        margin-top: 10px;
    }

    .wg-steps {
        grid-template-columns: 1fr;
    }

    .wg-floating-actions {
        top: auto;
        bottom: 92px;
    }

    .wg-floating-actions a {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 11px;
    }

    .wg-bottom-nav {
        display: grid;
    }

    .wg-footer-links {
        justify-content: flex-start;
    }

    .wg-footer {
        padding-bottom: 116px;
    }
}
.wg-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--wg-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wg-green-dark);
    font-weight: 900;
    white-space: nowrap;
}

.wg-lang-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
}

.wg-lang-item:hover {
    background: var(--wg-mint);
}

.wg-flag {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
    flex: 0 0 auto;
}

.wg-flag-en {
    background:
        linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(0deg, transparent 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(135deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
        linear-gradient(45deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
        #012169;
}

.wg-flag-hi {
    background:
        linear-gradient(
            to bottom,
            #ff9933 0 33.33%,
            #ffffff 33.33% 66.66%,
            #138808 66.66% 100%
        );
    position: relative;
}

.wg-flag-hi::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);
    border: 1px solid #000080;
    border-radius: 50%;
}

.wg-mobile-lang a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wg-floating-actions {
    position: fixed;
    right: 18px;
    top: 42%;
    z-index: 90;
    display: grid;
    gap: 12px;
}

.wg-floating-actions a {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(4, 120, 87, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wg-floating-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(4, 120, 87, .24);
}

.wg-floating-actions img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 680px) {
    .wg-floating-actions {
        right: 10px;
        top: auto;
        bottom: 92px;
        gap: 8px;
    }

    .wg-floating-actions a {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }
}
.wg-footer {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    padding: 56px 16px 104px;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, .22), transparent 24rem),
        linear-gradient(135deg, #052e22 0%, #064e3b 52%, #022c22 100%);
    color: rgba(255, 255, 255, .76);
}

.wg-footer::before {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 260px;
    height: 260px;
    border: 44px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.wg-footer-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    gap: 34px;
}

.wg-footer-brand p {
    max-width: 360px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .72);
}

.wg-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 230px;
}

.wg-footer-logo img {
    display: block;
    width: 230px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .2));
}

.wg-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.wg-footer-badges span {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #d1fae5;
    font-size: 13px;
    font-weight: 850;
    border: 1px solid rgba(255, 255, 255, .12);
}

.wg-footer-col {
    display: grid;
    align-content: start;
    gap: 9px;
}

.wg-footer-col h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

.wg-footer-col a {
    color: rgba(255, 255, 255, .72);
    font-weight: 750;
    transition: color .2s ease, transform .2s ease;
}

.wg-footer-col a:hover {
    color: #86efac;
    transform: translateX(3px);
}

.wg-footer-bottom {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.wg-footer-bottom p {
    margin: 0;
}

@media (max-width: 980px) {
    .wg-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-footer-brand {
        grid-column: 1 / -1;
    }

    .wg-footer-bottom {
        display: block;
    }

    .wg-footer-bottom p + p {
        margin-top: 8px;
    }
}

@media (max-width: 640px) {
    .wg-footer {
        padding: 42px 16px 116px;
    }

    .wg-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .wg-footer-logo img {
        width: 190px;
    }
}
/* Premium card polish */
.wg-section {
    margin-top: clamp(28px, 4vw, 52px);
}

.wg-container {
    width: min(1180px, calc(100% - clamp(24px, 5vw, 48px)));
}

.wg-page-hero,
.wg-tool-shell,
.wg-card,
.wg-rich,
.wg-faq,
.wg-related,
.wg-step,
.wg-period-card,
.wg-result-item,
.wg-rule-item {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.wg-card,
.wg-rich,
.wg-faq,
.wg-related {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 255, 250, .92));
    border: 1px solid rgba(216, 245, 228, .95);
    box-shadow:
        0 18px 50px rgba(4, 120, 87, .08),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

.wg-card::before,
.wg-rich::before,
.wg-faq::before,
.wg-related::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #16a34a, #047857);
    opacity: .85;
}

.wg-card:hover,
.wg-rich:hover,
.wg-faq:hover,
.wg-related:hover,
.wg-step:hover,
.wg-period-card:hover,
.wg-result-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 64px rgba(4, 120, 87, .12),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.wg-section-title {
    max-width: 760px;
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.wg-section-title h2,
.wg-tool-head h2,
.wg-card h2,
.wg-rich h2 {
    font-size: clamp(24px, 3.4vw, 36px);
    line-height: 1.14;
}

.wg-section-title p,
.wg-tool-head p,
.wg-card p,
.wg-rich p {
    font-size: 16px;
    line-height: 1.7;
}

.wg-tool-shell {
    border-radius: 34px;
    padding: clamp(20px, 4vw, 34px);
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .22), transparent 14rem),
        radial-gradient(circle at 8% 0%, rgba(245, 158, 11, .18), transparent 16rem),
        linear-gradient(135deg, #047857 0%, #065f46 48%, #052e2b 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow:
        0 28px 80px rgba(4, 78, 56, .2),
        inset 0 1px 0 rgba(255, 255, 255, .18);
}

.wg-live-grid {
    grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(140px, 1fr));
    align-items: stretch;
}

.wg-live-card {
    min-height: 126px;
    border-radius: 24px;
    padding: clamp(16px, 2vw, 22px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .1));
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.wg-last-result {
    margin-top: 14px;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.wg-last-result > div {
    border-radius: 24px;
    padding: 18px;
    background:
        linear-gradient(180deg, #ffffff, #f5fff9);
    border: 1px solid rgba(216, 245, 228, .95);
    box-shadow: 0 12px 34px rgba(4, 120, 87, .08);
}

.wg-period-dashboard {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.wg-period-card {
    min-height: 142px;
    border-radius: 26px;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(22, 163, 74, .12), transparent 7rem),
        #ffffff;
    border: 1px solid rgba(216, 245, 228, .95);
    box-shadow: 0 14px 38px rgba(4, 120, 87, .08);
}

.wg-result-strip {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.wg-result-item {
    min-height: 154px;
    border-radius: 26px;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(22, 163, 74, .1), transparent 7rem),
        #ffffff;
}

.wg-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wg-step {
    min-height: 180px;
    border-radius: 26px;
    padding: 22px;
    background:
        linear-gradient(180deg, #ffffff, #f7fffa);
    border: 1px solid rgba(216, 245, 228, .95);
}

.wg-rule-board {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.wg-rule-item {
    min-height: 126px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, #ffffff, #f6fff9);
    border: 1px solid rgba(216, 245, 228, .95);
}

.wg-rich-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.wg-rich-grid article {
    min-height: 156px;
    border-radius: 22px;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(22, 163, 74, .08), transparent 8rem),
        #ffffff;
    border: 1px solid rgba(216, 245, 228, .95);
}

.wg-faq details {
    background: #fff;
    border: 1px solid rgba(216, 245, 228, .9);
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 10px;
}

.wg-faq details:first-of-type {
    margin-top: 0;
}

.wg-faq details[open] {
    background: linear-gradient(180deg, #ffffff, #f3fff8);
}

.wg-faq details summary {
    list-style: none;
}

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

.wg-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wg-faq summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--wg-mint);
    color: var(--wg-green-dark);
    font-weight: 950;
    flex: 0 0 auto;
}

.wg-faq details[open] summary::after {
    content: "-";
}

.wg-link-grid {
    gap: 12px;
}

.wg-link-grid a {
    padding: 12px 16px;
    background:
        linear-gradient(180deg, #ffffff, #f2fff8);
    border: 1px solid rgba(216, 245, 228, .95);
    box-shadow: 0 10px 24px rgba(4, 120, 87, .06);
}

.wg-table-scroll {
    border: 1px solid rgba(216, 245, 228, .95);
    border-radius: 22px;
    overflow-x: auto;
    background: #fff;
}

.wg-table th {
    white-space: nowrap;
}

.wg-table td {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .wg-live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-last-result {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
    }
}

@media (max-width: 680px) {
    .wg-section {
        margin-top: 28px;
    }

    .wg-page-hero,
    .wg-tool-shell,
    .wg-card,
    .wg-rich,
    .wg-faq,
    .wg-related {
        border-radius: 24px;
    }

    .wg-live-grid {
        grid-template-columns: 1fr;
    }

    .wg-live-card {
        min-height: auto;
    }

    .wg-last-result {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .wg-period-dashboard,
    .wg-result-strip {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .wg-result-item,
    .wg-period-card,
    .wg-step,
    .wg-rich-grid article {
        min-height: auto;
    }

    .wg-rule-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-rule-item {
        min-height: 112px;
    }
}
.wg-platform-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

.wg-platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #16a34a);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(245, 158, 11, .22);
}

.wg-platform-btn:hover {
    transform: translateY(-1px);
}

.wg-platform-cta span {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

@media (max-width: 680px) {
    .wg-platform-cta {
        display: grid;
    }

    .wg-platform-btn {
        width: 100%;
    }
}
.wg-nav-cta {
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .22);
}
.wg-platform-float {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 120;
    width: min(720px, calc(100% - 28px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px 12px 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 158, 11, .22), transparent 10rem),
        linear-gradient(135deg, #064e3b, #047857);
    color: #fff;
    box-shadow: 0 18px 54px rgba(4, 78, 56, .28);
    border: 1px solid rgba(255, 255, 255, .16);
}

.wg-platform-float-text {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}

.wg-platform-float-text strong {
    font-size: 16px;
    line-height: 1.2;
}

.wg-platform-float-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wg-platform-float-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #22c55e);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(245, 158, 11, .24);
}

.wg-platform-float-close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wg-platform-float.is-hidden {
    display: none;
}

@media (max-width: 680px) {
    .wg-platform-float {
        bottom: 78px;
        width: calc(100% - 20px);
        border-radius: 18px;
        padding: 11px;
    }

    .wg-platform-float-text strong {
        font-size: 14px;
    }

    .wg-platform-float-btn {
        min-height: 38px;
        padding: 9px 14px;
    }
}
.wg-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 95;
    display: none;
    grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr;
    align-items: end;
    width: min(96vw, 560px);
    min-height: 76px;
    padding: 10px 10px 8px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 255, 249, .92));
    border: 1px solid rgba(216, 245, 228, .95);
    box-shadow:
        0 18px 52px rgba(0, 0, 0, .16),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(20px);
}

.wg-bottom-nav::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -22px;
    transform: translateX(-50%);
    width: 92px;
    height: 48px;
    border-radius: 999px 999px 0 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 255, 249, .94));
    border: 1px solid rgba(216, 245, 228, .95);
    border-bottom: 0;
    box-shadow: 0 -10px 30px rgba(4, 120, 87, .08);
}

.wg-bottom-item,
.wg-bottom-main {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    min-width: 0;
    color: #6b7b72;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.wg-bottom-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: transparent;
    color: currentColor;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.wg-bottom-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.wg-bottom-item:hover {
    color: var(--wg-green-dark);
}

.wg-bottom-item:hover .wg-bottom-icon {
    background: var(--wg-mint);
    transform: translateY(-1px);
}

.wg-bottom-main {
    transform: translateY(-16px);
    color: var(--wg-green-dark);
}

.wg-bottom-main-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 20%, #bbf7d0 0, transparent 34%),
        linear-gradient(135deg, var(--wg-green), var(--wg-green-dark));
    color: #fff;
    box-shadow:
        0 16px 34px rgba(22, 163, 74, .34),
        inset 0 1px 0 rgba(255, 255, 255, .25);
    border: 3px solid #fff;
}

.wg-bottom-main-icon svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.wg-bottom-main span:last-child {
    margin-top: 1px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(4, 120, 87, .08);
}

@media (max-width: 680px) {
    .wg-bottom-nav {
        display: grid;
    }
}

@media (max-width: 390px) {
    .wg-bottom-nav {
        width: calc(100% - 12px);
        padding-inline: 6px;
        grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr;
    }

    .wg-bottom-item,
    .wg-bottom-main {
        font-size: 10px;
    }

    .wg-bottom-main-icon {
        width: 54px;
        height: 54px;
    }
}
.wg-platform-topbar {
    position: sticky;
    top: 74px;
    z-index: 96;
    padding: 8px 16px;
    background: rgba(236, 253, 245, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 245, 228, .95);
}

.wg-platform-topbar-inner {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 16px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 158, 11, .18), transparent 12rem),
        linear-gradient(135deg, #064e3b, #047857);
    color: #fff;
    box-shadow: 0 12px 34px rgba(4, 78, 56, .18);
    border: 1px solid rgba(255, 255, 255, .14);
}

.wg-platform-topbar-text {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.wg-platform-topbar-text strong {
    font-size: 15px;
    line-height: 1.2;
}

.wg-platform-topbar-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, .76);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wg-platform-topbar-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #22c55e);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(245, 158, 11, .22);
}

.wg-platform-topbar-close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wg-platform-topbar.is-hidden {
    display: none;
}

@media (max-width: 680px) {
    .wg-platform-topbar {
        top: 66px;
        padding: 7px 10px;
    }

    .wg-platform-topbar-inner {
        border-radius: 16px;
        padding: 9px;
        gap: 8px;
    }

    .wg-platform-topbar-text strong {
        font-size: 13px;
    }

    .wg-platform-topbar-text span {
        display: none;
    }

    .wg-platform-topbar-btn {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .wg-platform-topbar-close {
        width: 30px;
        height: 30px;
    }
}
.wg-floating-actions {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: grid;
    gap: 9px;
}

.wg-floating-actions a {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(4, 120, 87, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wg-floating-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(4, 120, 87, .22);
}

.wg-floating-actions img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 680px) {
    .wg-floating-actions {
        right: 8px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        gap: 7px;
    }

    .wg-floating-actions a {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }
}