:root {
    --gf-blue: #005AA8;
    --gf-blue-dark: #003B70;
    --gf-blue-soft: #EAF4FF;
    --gf-dark: #05070A;
    --gf-navy: #0B2038;
    --gf-yellow: #FFCC08;
    --gf-gray: #737678;
    --gf-muted: #6b7280;
    --gf-light: #f4f8fc;
    --gf-card: #ffffff;
    --gf-border: #e6eaf0;
    --gf-shadow: 0 20px 60px rgba(11, 32, 56, .16);
    --gf-glow: rgba(255, 204, 8, .18);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 204, 8, .16), transparent 18%),
        radial-gradient(circle at 85% 10%, rgba(0, 90, 168, .16), transparent 20%),
        linear-gradient(180deg, #f7fbff 0%, #eef4fb 46%, #dfe7f3 100%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #18202f;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 28% 78%, rgba(255, 255, 255, .78), transparent 12%),
        radial-gradient(circle at 78% 72%, rgba(255, 204, 8, .16), transparent 14%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none
}

img {
    max-width: 100%
}

main {
    padding-top: 0;
}

section[id],
.page-hero,
.hero-section {
    scroll-margin-top: 92px;
}

/* Navigation */
.gf-navbar {
    background: rgba(5, 7, 10, .90);
    border-bottom: 3px solid var(--gf-yellow);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
}

.gf-navbar .container {
    min-height: 64px
}

.navbar-brand {
    min-width: 0
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    background: #05070A;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 90, 168, .25);
    padding: 5px;
}

.brand-logo {
    height: 26px;
    width: auto;
    display: block;
    object-fit: contain
}

.brand-name {
    line-height: 1.05;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 310px
}

.brand-name small {
    display: block;
    font-size: .66rem;
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    letter-spacing: .08em;
    margin-top: 4px;
    text-transform: uppercase;
}

.navbar .nav-link {
    font-weight: 700;
    color: rgba(255, 255, 255, .78) !important;
    border-radius: 999px;
    padding: .5rem .85rem !important
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff !important
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .2)
}

/* Hero */
.hero-section,
.page-hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(0, 90, 168, .55), transparent 32%),
        radial-gradient(circle at 86% 15%, rgba(255, 204, 8, .32), transparent 28%),
        linear-gradient(135deg, #05070A 0%, #0B2038 55%, #005AA8 100%);
    position: relative;
    overflow: hidden;
}

.hero-section:after,
.page-hero:after {
    content: "";
    position: absolute;
    right: -90px;
    top: -100px;
    width: 360px;
    height: 360px;
    border: 44px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.hero-section:before,
.page-hero:before {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 55%);
    border-radius: 50%;
}

.hero-section h1,
.page-hero h1 {
    letter-spacing: .01em;
}

.hero-section p,
.page-hero p {
    max-width: 740px;
}

.hero-section .container,
.page-hero .container {
    position: relative;
    z-index: 1
}

.text-white-75 {
    color: rgba(255, 255, 255, .76)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gf-logo-watermark {
    position: absolute;
    right: 6%;
    bottom: -18px;
    opacity: .055;
    width: 245px;
    max-width: 42vw;
    pointer-events: none
}

.gf-highlight {
    color: var(--gf-yellow)
}

.brand-strip {
    height: 5px;
    background: linear-gradient(90deg, var(--gf-blue), var(--gf-yellow), var(--gf-gray))
}

/* Buttons */
.btn {
    transition: .18s ease
}

.btn-gf {
    background: linear-gradient(135deg, #0072d1, #003e80);
    color: #fff;
    border: 0;
    font-weight: 800;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 90, 168, .22);
    letter-spacing: .01em;
}

.btn-gf:hover {
    background: linear-gradient(135deg, #1d8cff, #0c56a3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(0, 90, 168, .32);
}

.btn-gf-dark {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border: 0;
    font-weight: 750;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.btn-gf-dark:hover {
    background: linear-gradient(135deg, #0f172a, #0b1432);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-secondary {
    border-radius: 14px;
    font-weight: 800;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    transition: .18s ease, background .18s ease, border-color .18s ease;
}

.btn-outline-light:hover,
.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .42);
    color: #fff;
}

.hero-card {
    background: rgba(255, 255, 255, .96);
    border-radius: 34px;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: var(--gf-shadow);
    position: relative;
    overflow: hidden;
}

.hero-card:before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 204, 8, .24), transparent 50%);
    border-radius: 50%;
}

.hero-card:after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(0, 90, 168, .14), transparent 50%);
    border-radius: 50%;
}

.icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(0, 90, 168, .12);
    color: var(--gf-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

.stat-box {
    background: #f3f6fa;
    border-radius: 20px;
    padding: 20px;
    min-height: 112px;
    border: 1px solid #e8e9ee;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: var(--gf-blue);
    line-height: 1
}

.stat-box span {
    font-weight: 750;
    color: #2b3240;
    margin-top: 8px;
    font-size: .92rem
}

.card {
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.card::before {
    content: '';
    position: absolute;
    top: -28px;
    right: -28px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 64%);
    border-radius: 50%;
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    bottom: -26px;
    left: -26px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(0, 90, 168, .08), transparent 62%);
    border-radius: 50%;
    pointer-events: none;
}

.card-header.gf-card-header,
.modal-header.gf-card-header {
    background: linear-gradient(135deg, #05070A, #0B2038 70%, #005AA8) !important;
    color: #fff !important;
    border-bottom: 4px solid var(--gf-yellow) !important;
}

.gf-card-header {
    background: linear-gradient(135deg, #05070A, #0B2038 70%, #005AA8);
    color: #fff;
    border-bottom: 4px solid var(--gf-yellow)
}

/* Forms */
.form-label {
    font-weight: 750;
    color: #253047
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: #dfe5ee
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gf-blue);
    box-shadow: 0 0 0 .22rem rgba(0, 90, 168, .12)
}

.interest-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    border: 1px solid #e2e5ec;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
    font-weight: 650;
    transition: .15s ease;
}

.interest-pill:hover {
    border-color: var(--gf-blue);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
    background: #f8fbff
}

.interest-pill input {
    accent-color: var(--gf-blue)
}

/* Stations */
.station-card {
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--gf-shadow);
    transition: .3s ease, transform .3s ease;
    height: 100%;
}

.station-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(20, 24, 32, .18)
}

.station-card.completed {
    border-color: rgba(25, 135, 84, .45);
    background: linear-gradient(180deg, #f9fffb, #ecfff2)
}

.station-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #005AA8, #003B70);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 18px;
    box-shadow: 0 14px 32px rgba(0, 90, 168, .16);
}

.station-card.completed .station-icon {
    background: linear-gradient(135deg, #16a34a, #0f766e);
}

.station-card p {
    color: var(--gf-muted);
    min-height: 68px;
}

.score-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--gf-blue);
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .16);
    white-space: nowrap;
}

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

.answer-option {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    cursor: pointer;
    background: #fff;
    transition: .15s;
    min-height: 58px
}

.answer-option:hover {
    border-color: var(--gf-blue);
    background: #f1f8ff
}

.answer-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--gf-blue);
    flex: 0 0 auto
}

.big-icon {
    font-size: 70px;
    margin-bottom: 14px
}

.big-icon.success {
    color: #198754
}

.validation-box {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    background: #fafafa
}

.validation-box span {
    display: block;
    color: var(--gf-muted);
    font-size: .82rem;
    text-transform: uppercase;
    font-weight: 800
}

.validation-box strong {
    font-size: 1.35rem
}

/* Tables / admin */
.table-responsive {
    border-radius: 18px
}

.leaderboard-table thead,
.table thead {
    background: #0B2038;
    color: #fff
}

.rank-badge {
    background: var(--gf-yellow);
    color: #111;
    font-weight: 900;
    border-radius: 999px;
    padding: 8px 12px
}

.score-text {
    font-size: 1.35rem;
    color: var(--gf-blue)
}

.admin-stat {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06)
}

.admin-stat i {
    font-size: 32px;
    color: var(--gf-blue)
}

.admin-stat span {
    display: block;
    color: var(--gf-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .8rem;
    margin-top: 12px
}

.admin-stat strong {
    font-size: 2rem;
    color: #11151d
}

.footer {
    background: #05070A;
    border-top: 4px solid var(--gf-yellow)
}

/* Responsive behavior */
@media(max-width:991.98px) {
    .gf-navbar .container {
        min-height: 58px
    }

    .navbar-collapse {
        padding: 12px 0 8px
    }

    .navbar .nav-link {
        border-radius: 12px;
        padding: .7rem .85rem !important
    }

    .hero-section .container {
        padding-top: 1.5rem !important;
        padding-bottom: 3rem !important
    }

    .page-hero {
        text-align: left
    }

    .score-pill {
        margin-top: 6px
    }
}

@media(max-width:767.98px) {
    .brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 10px;
        padding: 4px
    }

    .brand-logo {
        height: 22px
    }

    .brand-name {
        font-size: .88rem;
        max-width: 220px
    }

    .brand-name small {
        font-size: .55rem
    }

    .display-4 {
        font-size: 2.15rem;
        line-height: 1.08
    }

    .lead {
        font-size: 1rem
    }

    .hero-card {
        border-radius: 22px
    }

    .stat-box {
        min-height: 96px;
        padding: 16px
    }

    .card-body {
        padding: 1.25rem !important
    }

    .card-header {
        padding: 1.15rem !important
    }

    .answer-grid {
        grid-template-columns: 1fr
    }

    .answer-option {
        padding: 14px 15px
    }

    .station-card p {
        min-height: auto
    }

    .gf-logo-watermark {
        width: 170px;
        right: -15px;
        bottom: -10px;
        max-width: 60vw
    }

    .btn-lg {
        font-size: 1rem;
        padding: .75rem 1rem
    }
}

@media(max-width:575.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px
    }

    .brand-name {
        max-width: 175px
    }

    .navbar-brand {
        gap: .45rem !important
    }

    .hero-section .d-flex.gap-3 {
        gap: .75rem !important
    }

    .hero-section .btn {
        width: 100%
    }

    .score-pill {
        width: 100%;
        justify-content: center
    }

    .validation-box strong {
        font-size: 1.05rem
    }

    .admin-stat {
        padding: 18px
    }

    .table {
        font-size: .88rem
    }
}

/* New guided QR scan, answer, social and prize UI improvements */
.consent-box {
    background: #f8fbff;
    border: 1px solid #dfeaf7;
    border-radius: 18px;
    padding: 16px 18px;
    color: #263448;
    font-weight: 650;
}

.consent-box input {
    accent-color: var(--gf-blue);
    margin-right: 8px
}

.scan-illustration {
    width: 118px;
    height: 118px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 90, 168, .12), rgba(255, 204, 8, .22));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--gf-blue);
    font-size: 58px;
    border: 1px solid rgba(0, 90, 168, .12);
}

.qr-scanner-box {
    background: #05070A;
    border-radius: 22px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--gf-yellow);
}

.qr-scanner-box video {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block
}

.answer-button {
    text-align: left;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    cursor: pointer;
    background: #fff;
    transition: .15s;
    min-height: 62px;
    color: #1d2738;
}

.answer-button:hover {
    border-color: var(--gf-blue);
    background: #f1f8ff;
    transform: translateY(-1px)
}

.answer-button:disabled {
    cursor: not-allowed;
    opacity: .72
}

.answer-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gf-blue);
    flex: 0 0 20px
}

.selected-answer {
    background: #eaf7ef !important;
    border-color: #198754 !important;
    color: #0f5132 !important;
    box-shadow: 0 12px 28px rgba(25, 135, 84, .12)
}

.selected-answer .answer-dot {
    background: #198754;
    border-color: #198754;
    box-shadow: inset 0 0 0 4px #fff
}

.disabled-answer:not(.selected-answer) {
    filter: grayscale(.2)
}

.big-icon.warning {
    color: var(--gf-yellow)
}

.prize-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    background: linear-gradient(135deg, #fff, #f5faff);
    border: 1px solid #e6eaf0;
    border-radius: 22px;
    padding: 18px 20px;
    font-weight: 700;
    color: #11366b;
    box-shadow: 0 12px 24px rgba(0, 72, 136, .08);
}

border-radius:18px;
padding:16px;
font-weight:800;
color:#1c2736;
box-shadow:0 10px 24px rgba(11, 32, 56, .06);
}

.prize-card i {
    color: var(--gf-yellow);
    font-size: 24px;
    background: #05070A;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px
}

@media(max-width:575.98px) {
    .qr-scanner-box {
        min-height: 220px;
        border-width: 3px;
        border-radius: 18px
    }

    .scan-illustration {
        width: 94px;
        height: 94px;
        font-size: 46px;
        border-radius: 26px
    }

    .modal-body {
        padding: 1rem !important
    }
}

/* Admin advisor improvements */
.text-gf-blue {
    color: var(--gf-blue) !important
}

.btn-gf-yellow {
    background: var(--gf-yellow);
    color: #111;
    border: 0;
    font-weight: 800
}

.btn-gf-yellow:hover {
    background: #ffd83d;
    color: #111
}

.advisor-sticky {
    position: sticky;
    top: 92px;
    z-index: 0;
}

.advisor-card {
    position: relative;
    z-index: 0;
}

.advisor-card .form-label {
    color: #10223a
}

.advisor-form .form-select {
    border-radius: 14px;
    padding: .85rem 1rem
}

.roadmap-card {
    height: 100%;
    border: 1px solid rgba(0, 90, 168, .12);
    border-radius: 22px;
    padding: 20px;
    background: linear-gradient(180deg, #fff, #f7fbff);
    box-shadow: 0 10px 25px rgba(5, 7, 10, .05)
}

.roadmap-card span {
    display: inline-block;
    background: rgba(255, 204, 8, .35);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 900;
    color: #142235;
    margin-bottom: 10px
}

.roadmap-card h5 {
    font-size: 1rem;
    font-weight: 900;
    color: #08223d
}

.roadmap-card p {
    font-size: .9rem;
    color: #5b6470;
    margin-bottom: 0
}

.advisor-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--gf-yellow);
    color: #111;
    font-size: 1.7rem;
    box-shadow: 0 10px 25px rgba(255, 204, 8, .3)
}

.advisor-badge {
    background: #0B2038;
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: .92rem
}

.advisor-roadmap {
    counter-reset: item;
    padding-left: 0;
    list-style: none
}

.advisor-roadmap li {
    position: relative;
    margin-bottom: 10px;
    padding: 12px 14px 12px 48px;
    background: #f5f8fc;
    border-radius: 14px
}

.advisor-roadmap li:before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gf-blue);
    color: #fff;
    font-weight: 900;
    font-size: .82rem
}

@media(max-width:991px) {
    .advisor-sticky {
        position: static !important
    }

    .brand-name {
        font-size: .92rem
    }

    .brand-name small {
        font-size: .65rem
    }
}