:root {
    --gvr-blue: #003c71;
    --gvr-blue-2: #005b96;
    --gvr-cyan: #00a6c8;
    --gvr-cyan-dark: #0088a8;
    --gvr-ink: #102033;
    --gvr-muted: #687789;
    --gvr-surface: #f4f8fb;
    --gvr-line: #d9e6ef;
}

body {
    color: var(--gvr-ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: #fff;
}

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

.site-header {
    background: linear-gradient(90deg, var(--gvr-blue), var(--gvr-blue-2));
    box-shadow: 0 14px 40px rgba(0, 60, 113, .18);
    position: sticky;
    top: 0;
    z-index: 20;
}

.navbar {
    min-height: 84px;
}

.brand-rewards {
    width: 152px;
    height: auto;
    display: block;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: .82rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff;
}

.language-switcher .dropdown-menu {
    border: 0;
    box-shadow: 0 16px 36px rgba(16, 32, 51, .16);
}

.btn-primary {
    --bs-btn-bg: var(--gvr-cyan);
    --bs-btn-border-color: var(--gvr-cyan);
    --bs-btn-hover-bg: var(--gvr-cyan-dark);
    --bs-btn-hover-border-color: var(--gvr-cyan-dark);
    font-weight: 800;
}

.btn-outline-primary {
    --bs-btn-color: var(--gvr-blue);
    --bs-btn-border-color: var(--gvr-blue);
    --bs-btn-hover-bg: var(--gvr-blue);
    --bs-btn-hover-border-color: var(--gvr-blue);
    font-weight: 800;
}

.hero-section {
    color: #fff;
    min-height: 620px;
    padding: 84px 0;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, .22), transparent 28%),
        linear-gradient(135deg, rgba(0, 60, 113, .96), rgba(0, 166, 200, .88)),
        url("/assets/img/ui/hero-grid.svg");
    overflow: hidden;
    position: relative;
}

.hero-section h1,
.page-hero h1,
.article-header h1 {
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-section h1 {
    font-size: clamp(2.25rem, 4.6vw, 4.35rem);
    max-width: 650px;
    margin-bottom: 1.35rem;
}

.hero-section p {
    color: rgba(255, 255, 255, .86);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 2.35rem;
}

.eyebrow {
    display: inline-flex;
    color: rgba(255, 255, 255, .76);
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn {
    padding: .9rem 1.35rem;
}

.hero-panel {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 30px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    padding: 34px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 38, 78, .28);
}

.hero-card-main {
    background: #fff;
    color: var(--gvr-blue);
    border-radius: 22px;
    padding: 26px;
    max-width: none;
    width: 100%;
}

.hero-card-main strong {
    display: block;
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

.hero-card-main p {
    color: var(--gvr-muted);
    font-size: 1rem;
    margin: 0;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--gvr-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(0, 166, 200, .16);
    margin-bottom: 24px;
}

.reward-stack {
    display: grid;
    gap: 14px;
    width: 100%;
    margin: 0;
}

.reward-stack div {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--gvr-blue);
    border-radius: 18px;
    padding: 22px 24px;
    font-weight: 850;
    min-height: 74px;
}

.reward-stack span {
    color: var(--gvr-cyan);
    margin-right: 18px;
    font-size: 1.15rem;
}

.section-padding {
    padding: 84px 0;
}

.bg-soft {
    background: var(--gvr-surface);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 760px;
    font-weight: 850;
    margin: 0;
}

.news-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--gvr-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(16, 32, 51, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 68px rgba(16, 32, 51, .13);
}

.news-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-image img,
.news-list-image img,
.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-body {
    padding: 24px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--gvr-muted);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.news-meta span {
    color: var(--gvr-cyan-dark);
}

.news-card h3 {
    font-size: 1.26rem;
    font-weight: 850;
    margin: 12px 0;
}

.news-card p,
.news-list-content p {
    color: var(--gvr-muted);
    margin: 0;
}

.page-hero,
.article-header {
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .17), transparent 24%),
        linear-gradient(135deg, var(--gvr-blue), var(--gvr-cyan-dark));
    padding: 92px 0;
}

.page-hero h1,
.article-header h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.page-hero p,
.article-header p {
    color: rgba(255, 255, 255, .82);
    max-width: 680px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px;
    border: 1px solid var(--gvr-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 32, 51, .06);
}

.news-list-image {
    width: 150px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
}

.news-list-content h2 {
    font-size: 1.25rem;
    font-weight: 850;
    margin: 8px 0;
}

.container-narrow {
    max-width: 920px;
}

.back-link {
    display: inline-flex;
    color: rgba(255, 255, 255, .8);
    font-weight: 800;
    margin-bottom: 28px;
}

.article-image {
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    margin-top: 54px;
    box-shadow: 0 24px 60px rgba(16, 32, 51, .14);
}

.article-content {
    padding: 48px 0 86px;
    color: #26384d;
    font-size: 1.12rem;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--gvr-blue);
    font-weight: 850;
    margin: 2rem 0 1rem;
}

.auth-page {
    background: var(--gvr-surface);
}

.auth-section {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    padding: 76px 0;
}

.auth-section h1 {
    color: var(--gvr-blue);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 850;
}

.auth-section p {
    color: var(--gvr-muted);
    font-size: 1.1rem;
}

.form-panel {
    background: #fff;
    border: 1px solid var(--gvr-line);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 42px);
    box-shadow: 0 24px 68px rgba(16, 32, 51, .1);
}

.form-label {
    color: var(--gvr-blue);
    font-weight: 800;
    font-size: .9rem;
}

.form-control,
.form-select {
    min-height: 52px;
    border-color: var(--gvr-line);
    color: var(--gvr-ink);
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gvr-cyan);
    box-shadow: 0 0 0 .22rem rgba(0, 166, 200, .16);
}

textarea.form-control {
    min-height: 160px;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 88px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--gvr-blue);
    font-weight: 850;
    font-size: .78rem;
    text-transform: uppercase;
}

.form-link,
.form-helper a {
    color: var(--gvr-blue);
    font-weight: 850;
}

.form-helper {
    color: var(--gvr-muted);
    text-align: center;
    margin: 18px 0 0;
}

.profile-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-option {
    text-align: left;
    border: 1px solid var(--gvr-line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    color: var(--gvr-ink);
    box-shadow: 0 12px 34px rgba(16, 32, 51, .06);
}

.profile-option strong,
.profile-option span {
    display: block;
}

.profile-option strong {
    color: var(--gvr-blue);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.profile-option span {
    color: var(--gvr-muted);
}

.profile-option.active {
    color: #fff;
    border-color: var(--gvr-blue);
    background: linear-gradient(135deg, var(--gvr-blue), var(--gvr-cyan-dark));
}

.profile-option.active strong,
.profile-option.active span {
    color: #fff;
}

.preference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gvr-line);
    border-radius: 8px;
    padding: 14px 16px;
    background: var(--gvr-surface);
    font-weight: 750;
}

.check-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--gvr-cyan);
}

.terms-box {
    border-top: 1px solid var(--gvr-line);
    padding-top: 20px;
    margin-top: 10px;
}

.success-modal {
    border: 0;
    border-radius: 8px;
    text-align: center;
    padding: 18px;
}

.success-modal .modal-body {
    padding: 30px;
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: var(--gvr-cyan);
    font-weight: 900;
    margin-bottom: 18px;
}

.success-modal h2 {
    color: var(--gvr-blue);
    font-weight: 850;
}

.success-modal p {
    color: var(--gvr-muted);
}

.regulation-content {
    color: #26384d;
    font-size: 1.05rem;
    line-height: 1.78;
}

.regulation-intro {
    display: grid;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--gvr-blue), var(--gvr-cyan-dark));
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 34px;
}

.regulation-intro strong {
    font-size: 1.2rem;
}

.regulation-intro span {
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.regulation-content h2 {
    color: var(--gvr-blue);
    font-size: 1.35rem;
    font-weight: 850;
    margin: 2rem 0 .8rem;
}

.site-footer {
    color: rgba(255, 255, 255, .78);
    background: #002f5f;
    padding: 58px 0 28px;
}

.site-footer h2 {
    color: #fff;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}

.site-footer a {
    display: block;
    color: #fff;
    margin-bottom: 8px;
}

.footer-rewards {
    width: 170px;
    max-width: 100%;
    height: auto;
}

.footer-gilbarco {
    width: 160px;
    max-width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
    margin-top: 42px;
    padding-top: 22px;
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 74px;
    }

    .brand-rewards {
        width: 132px;
    }

    .hero-section {
        min-height: auto;
        padding: 68px 0;
    }

    .hero-section h1 {
        max-width: 720px;
    }

    .hero-section p {
        max-width: 680px;
    }

    .section-heading {
        display: block;
    }

    .section-heading .btn {
        margin-top: 20px;
    }

    .news-list-item {
        grid-template-columns: 120px 1fr;
    }

    .news-list-item .btn {
        grid-column: 2;
        justify-self: start;
    }

    .news-list-image {
        width: 120px;
        height: 86px;
    }
}

@media (max-width: 575.98px) {
    .hero-panel {
        min-height: auto;
        padding: 22px;
        gap: 16px;
    }

    .reward-stack div {
        min-height: 62px;
        padding: 16px 18px;
    }

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

    .hero-actions {
        gap: .75rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-padding {
        padding: 58px 0;
    }

    .news-list-item {
        grid-template-columns: 1fr;
    }

    .news-list-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .news-list-item .btn {
        grid-column: auto;
    }

    .footer-bottom {
        display: block;
    }

    .profile-selector,
    .preference-grid {
        grid-template-columns: 1fr;
    }

    .auth-section {
        min-height: auto;
        padding: 56px 0;
    }
}
