:root {
    --bg: #f2f9ff;
    --white: #fff;
    --blue: #1687d9;
    --blue-light: #55b8f5;
    --blue-pale: #e5f3ff;
    --text: #17334c;
    --muted: #637f95;
    --border: #d5eafb;
    --shadow: 0 8px 28px rgba(45, 113, 160, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.7 Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
}

h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

p {
    color: var(--muted);
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--blue);
    font-size: 30px;
}

.main-nav,
.footer-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav > a,
.footer-nav a,
.nav-dropdown-toggle {
    color: #526f86;
    font-size: 14px;
    transition: color .2s;
}

.main-nav > a:hover,
.footer-nav a:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--blue);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dropdown-arrow {
    display: inline-block;
    transition: transform .2s;
}

.nav-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -18px;
    z-index: 200;
    width: 230px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(32, 92, 133, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 7px;
    color: #365970;
    font-size: 13px;
    transition: background .2s, color .2s;
}

.dropdown-menu a:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.header-btn,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--blue-light), #2397e8);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 5px 16px rgba(35, 151, 232, .18);
    transition: transform .2s, filter .2s;
}

.header-btn:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* Hero */

.hero {
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 40%, #c6eaff, transparent 48%),
        linear-gradient(120deg, #f5fbff, #dff2ff);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 48px;
    padding-block: 64px;
}

.hero-content {
    max-width: 620px;
}

.hero-content > p {
    max-width: 510px;
    margin-bottom: 28px;
}

.hero-content .hero-note {
    margin-top: 22px;
    margin-bottom: 0;
    font-size: 12px;
}

.hero-image {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
}

.hero-image img {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, .12));
}

/* Sections */

.section {
    padding-block: 88px;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading p {
    margin-bottom: 0;
}

/* Feature cards */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 28px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-light);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--blue-pale);
    border: 1px solid #cdeaff;
    border-radius: 12px;
    color: var(--blue);
    font-size: 27px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Bonus */

.bonus-section {
    overflow: hidden;
    background: linear-gradient(120deg, #e4f4ff, #f7fcff);
    border-block: 1px solid var(--border);
}

.bonus-inner {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1fr .7fr;
    align-items: center;
    gap: 50px;
    padding-block: 56px;
}

.bonus-content {
    max-width: 600px;
}

.bonus-content p {
    margin-bottom: 26px;
}

.bonus-visual {
    position: relative;
    min-height: 230px;
    display: grid;
    place-items: center;
}

.bonus-orbit {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(22, 135, 217, .35);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(22, 135, 217, .12);
}

.bonus-symbol {
    color: var(--blue);
    font-size: 120px;
    text-shadow: 0 0 40px rgba(22, 135, 217, .2);
}

/* Games */

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.game-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform .2s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    height: 220px;
    background: var(--blue-pale);
}

.game-info {
    padding: 22px;
}

.game-info p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Information */

.info-section {
    padding-block: 64px;
    background: #e5f4ff;
    border-top: 1px solid var(--border);
}

.info-content {
    max-width: 780px;
    text-align: center;
}

.info-content p {
    margin-bottom: 0;
}

/* Footer */

.site-footer {
    padding-top: 45px;
    background: #e6f4ff;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-description {
    max-width: 620px;
    margin-block: 18px 24px;
    font-size: 13px;
}

.footer-nav {
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-block: 20px;
    border-top: 1px solid #d0e7f7;
    color: var(--muted);
    font-size: 12px;
}

/* Tablet */

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-inner {
        gap: 24px;
    }

    .main-nav,
    .footer-nav {
        gap: 16px;
    }

    .game-card img {
        height: 180px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 68px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
    }

    .logo {
        font-size: 20px;
    }

    .header-btn {
        min-height: 38px;
        padding-inline: 14px;
        font-size: 12px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        overflow: visible;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        white-space: nowrap;
        font-size: 12px;
    }

    .dropdown-menu {
        left: 0;
        width: 215px;
    }

    .hero-inner,
    .bonus-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 52px;
    }

    .hero-image {
        min-height: 200px;
    }

    .hero-image img {
        max-height: 280px;
        border-radius: 24px;
    }

    .section {
        padding-block: 60px;
    }

    .feature-grid,
    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-card img {
        height: 230px;
    }

    .bonus-visual {
        min-height: 180px;
    }

    .bonus-orbit {
        width: 165px;
        height: 165px;
    }

    .bonus-symbol {
        font-size: 90px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition: none;
    }
}




/* ===== Medical article ===== */

.article-section {
    padding: 48px 0 80px;
    background: #f2f8fd;
}

.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 44px 48px;
    background: #fff;
    border: 1px solid #e0edf7;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(35, 91, 135, .06);
    overflow-wrap: anywhere;
}

/* Paragraphs */

.entry-content p {
    margin: 0 0 20px;
    color: #526779;
    font-size: 16px;
    line-height: 1.85;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content strong {
    color: #23445f;
    font-weight: 700;
}

/* Headings */

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #173d5c;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.4px;
}

.entry-content h1 {
    margin: 0 0 28px;
    font-size: clamp(30px, 4vw, 42px);
}

.entry-content h2 {
    margin: 46px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dcecf8;
    font-size: clamp(24px, 3vw, 30px);
}

.entry-content h3 {
    margin: 34px 0 16px;
    font-size: 21px;
}

.entry-content h4 {
    margin: 26px 0 12px;
    font-size: 18px;
}

/* Links */

.entry-content a {
    color: #087fc4;
    text-decoration: underline;
    text-decoration-color: #b6def6;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: #075d96;
    text-decoration-color: currentColor;
}

/* Lists */

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px;
    padding-left: 26px;
    color: #526779;
}

.entry-content li {
    margin-bottom: 10px;
    padding-left: 4px;
    line-height: 1.8;
}

.entry-content li::marker {
    color: #2595d5;
}

.entry-content li > ul,
.entry-content li > ol {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Product information table */

.entry-content table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 32px !important;
    border: 1px solid #dceaf5;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    color: #526779;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.65;
}

.entry-content table tbody tr:nth-child(even) {
    background: #f6faff;
}

.entry-content table td,
.entry-content table th {
    padding: 15px 18px !important;
    border: 0;
    border-bottom: 1px solid #e3eef7;
    text-align: left;
    vertical-align: top;
}

.entry-content table tr:last-child td,
.entry-content table tr:last-child th {
    border-bottom: 0;
}

.entry-content table td:first-child,
.entry-content table th:first-child {
    width: 32%;
    background: #edf6fd;
    color: #244964;
    font-weight: 700;
}

/* Blockquotes */

.entry-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #36a0df;
    border-radius: 0 10px 10px 0;
    background: #eff8ff;
    color: #49667d;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */

.entry-content img {
    height: auto;
    margin: 24px auto;
    border-radius: 12px;
}

.entry-content figure {
    margin: 28px 0;
}

.entry-content figcaption {
    margin-top: 8px;
    color: #71869a;
    font-size: 13px;
    text-align: center;
}

/* Separators */

.entry-content hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid #dcecf8;
}

/* FAQ: paragraphs with bold questions */

.entry-content p:has(> strong:first-child) {
    padding: 16px 18px;
    border: 1px solid #e0edf7;
    border-radius: 10px;
    background: #f8fbff;
}

.entry-content p:has(> strong:first-child) strong {
    color: #176da5;
}

/* Mobile */

@media (max-width: 640px) {
    .article-section {
        padding: 20px 0 44px;
    }

    .entry-content {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .entry-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .entry-content h1 {
        font-size: 30px;
    }

    .entry-content h2 {
        margin-top: 36px;
        font-size: 24px;
    }

    .entry-content h3 {
        font-size: 19px;
    }

    .entry-content table {
        font-size: 13px !important;
    }

    .entry-content table td,
    .entry-content table th {
        padding: 11px 10px !important;
    }

    .entry-content table td:first-child,
    .entry-content table th:first-child {
        width: 35%;
    }

    .entry-content ul,
    .entry-content ol {
        padding-left: 22px;
    }
}

