:root {
    --bg: #f7f3ea;
    --bg-soft: #fffdf7;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --ink: #112143;
    --ink-soft: #3f5273;
    --line: rgba(17, 33, 67, 0.12);
    --red: #d92d20;
    --red-dark: #b42318;
    --navy: #163063;
    --blue: #1f6fd1;
    --blue-soft: #dceafe;
    --green: #2a8f5b;
    --green-soft: #dff6e8;
    --yellow: #f5c24b;
    --yellow-soft: #fff0c9;
    --shadow-lg: 0 28px 70px rgba(17, 33, 67, 0.15);
    --shadow-md: 0 18px 40px rgba(17, 33, 67, 0.10);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--ink);
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(217, 45, 32, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(31, 111, 209, 0.08), transparent 26%),
        linear-gradient(180deg, #fffcf5 0%, #f5f7fb 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 33, 67, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 33, 67, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 78%);
    pointer-events: none;
    z-index: -2;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    font-family: 'Fredoka', cursive;
    letter-spacing: -0.02em;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.page-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}

.page-orb--red {
    width: 260px;
    height: 260px;
    top: 80px;
    left: -80px;
    background: rgba(217, 45, 32, 0.45);
}

.page-orb--blue {
    width: 320px;
    height: 320px;
    top: 30%;
    right: -100px;
    background: rgba(31, 111, 209, 0.28);
}

.page-orb--green {
    width: 240px;
    height: 240px;
    bottom: 40px;
    left: 18%;
    background: rgba(42, 143, 91, 0.22);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(17, 33, 67, 0.08);
}

.navbar.scrolled {
    box-shadow: 0 16px 38px rgba(17, 33, 67, 0.12);
}

.nav-brand {
    font-family: 'Fredoka', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 800;
    font-size: 0.98rem;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #fff;
}

.section {
    position: relative;
    z-index: 1;
    padding: 48px 0 28px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading--left {
    text-align: left;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-kicker::before {
    content: '';
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    color: var(--ink);
}

.section-subtitle {
    width: min(620px, 100%);
    margin: 12px auto 0;
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.65;
}

.section-subtitle--left {
    margin-left: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(217, 45, 32, 0.24);
}

.btn-secondary,
.btn-nav {
    background: rgba(17, 33, 67, 0.08);
    color: var(--ink);
    border: 1px solid rgba(17, 33, 67, 0.10);
}

.hero {
    padding-top: 22px;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 36px;
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(17, 33, 67, 0.08);
    color: var(--navy);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.hero-copy h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.92;
    color: var(--ink);
    text-wrap: balance;
}

.hero-text {
    width: min(620px, 100%);
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: 1.12rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-badges li {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 33, 67, 0.10);
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(17, 33, 67, 0.05);
}

.hero-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.penalty-card {
    padding: 24px;
    border-radius: calc(var(--radius-lg) + 6px);
    background:
        radial-gradient(circle at top right, rgba(245, 194, 75, 0.18), transparent 28%),
        linear-gradient(155deg, #102552, #1b3d7a 60%, #f4f7ff 220%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

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

.penalty-kicker {
    color: rgba(255, 255, 255, 0.74);
}

.penalty-kicker::before {
    background: rgba(255, 255, 255, 0.6);
}

.penalty-card h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.96;
    color: #fff;
}

.penalty-text {
    margin-top: 14px;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
}

.penalty-scoreboard {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.penalty-score,
.penalty-meta-item {
    min-width: 92px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.penalty-score span,
.penalty-meta-item span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.penalty-score strong,
.penalty-meta-item strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-family: 'Fredoka', cursive;
    font-size: 1.35rem;
    line-height: 1;
}

.penalty-score--keeper {
    background: rgba(17, 33, 67, 0.28);
}

.penalty-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.penalty-arena {
    width: min(100%, 460px);
    margin-top: 22px;
}

.penalty-goal {
    position: relative;
    height: 296px;
    border-radius: 28px 28px 22px 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
        linear-gradient(180deg, #86c9ff 0%, #7fc2ff 50%, #4cad63 50%, #419f59 100%);
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(17, 33, 67, 0.08);
}

.penalty-goal::before {
    content: '';
    position: absolute;
    inset: 12px 12px 94px;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.penalty-goal::after {
    content: '';
    position: absolute;
    inset: 14px 14px 92px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
    background-size: 28px 24px;
    opacity: 0.8;
    pointer-events: none;
}

.penalty-goal.goal-flash {
    box-shadow:
        inset 0 0 0 1px rgba(17, 33, 67, 0.08),
        0 0 0 6px rgba(245, 194, 75, 0.18);
}

.penalty-goal.save-flash {
    box-shadow:
        inset 0 0 0 1px rgba(17, 33, 67, 0.08),
        0 0 0 6px rgba(217, 45, 32, 0.16);
}

.penalty-target {
    position: absolute;
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), opacity var(--transition);
}

.penalty-target:hover,
.penalty-target:focus-visible {
    transform: scale(1.08);
    background: rgba(245, 194, 75, 0.34);
    outline: none;
}

.penalty-target.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.penalty-target--top-left {
    top: 34px;
    left: 38px;
}

.penalty-target--top-right {
    top: 34px;
    right: 38px;
}

.penalty-target--middle {
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
}

.penalty-target--middle:hover,
.penalty-target--middle:focus-visible {
    transform: translateX(-50%) scale(1.08);
}

.penalty-target--bottom-left {
    left: 62px;
    bottom: 118px;
}

.penalty-target--bottom-right {
    right: 62px;
    bottom: 118px;
}

.penalty-keeper {
    position: absolute;
    left: 50%;
    bottom: 94px;
    width: 84px;
    height: 128px;
    transform: translateX(-50%);
    transform-origin: center bottom;
    transition: transform 280ms ease;
    z-index: 2;
}

.penalty-keeper-head,
.penalty-keeper-body,
.penalty-keeper-arm,
.penalty-keeper-leg {
    position: absolute;
    display: block;
    background: #ffe1ba;
}

.penalty-keeper-head {
    top: 4px;
    left: 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: inset 0 6px 0 0 #1f2f63;
}

.penalty-keeper-body {
    top: 34px;
    left: 22px;
    width: 40px;
    height: 42px;
    border-radius: 16px 16px 12px 12px;
    background: #f5c24b;
}

.penalty-keeper-arm {
    top: 42px;
    width: 12px;
    height: 44px;
    border-radius: 999px;
}

.penalty-keeper-arm--left {
    left: 12px;
    transform: rotate(22deg);
}

.penalty-keeper-arm--right {
    right: 12px;
    transform: rotate(-22deg);
}

.penalty-keeper-leg {
    top: 72px;
    width: 14px;
    height: 44px;
    border-radius: 999px;
    background: #eef3ff;
}

.penalty-keeper-leg--left {
    left: 26px;
    transform: rotate(10deg);
}

.penalty-keeper-leg--right {
    right: 26px;
    transform: rotate(-10deg);
}

.penalty-keeper.dive-top-left {
    transform: translateX(-132px) translateY(-18px) rotate(-14deg);
}

.penalty-keeper.dive-top-right {
    transform: translateX(48px) translateY(-18px) rotate(14deg);
}

.penalty-keeper.dive-middle {
    transform: translateX(-50%) translateY(-8px) scale(1.04);
}

.penalty-keeper.dive-bottom-left {
    transform: translateX(-118px) translateY(4px) rotate(10deg);
}

.penalty-keeper.dive-bottom-right {
    transform: translateX(36px) translateY(4px) rotate(-10deg);
}

.penalty-ball {
    position: absolute;
    left: 50%;
    bottom: 30px;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #ffffff 0 28%, #e7eef8 29% 100%);
    box-shadow:
        inset -6px -6px 0 rgba(17, 33, 67, 0.10),
        0 10px 22px rgba(17, 33, 67, 0.24);
    transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
    z-index: 3;
}

.penalty-ball::before,
.penalty-ball::after {
    content: '';
    position: absolute;
    background: rgba(17, 33, 67, 0.9);
}

.penalty-ball::before {
    inset: 10px 4px;
    clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.penalty-ball::after {
    inset: 4px 10px;
    clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
    transform: rotate(38deg);
    opacity: 0.18;
}

.penalty-ball.shoot-top-left {
    transform: translate(-168px, -212px) scale(0.66);
}

.penalty-ball.shoot-top-right {
    transform: translate(140px, -212px) scale(0.66);
}

.penalty-ball.shoot-middle {
    transform: translate(0, -150px) scale(0.7);
}

.penalty-ball.shoot-bottom-left {
    transform: translate(-148px, -108px) scale(0.76);
}

.penalty-ball.shoot-bottom-right {
    transform: translate(124px, -108px) scale(0.76);
}

.penalty-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.penalty-btn {
    min-height: 48px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), opacity var(--transition);
}

.penalty-btn:hover,
.penalty-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(245, 194, 75, 0.24);
    outline: none;
}

.penalty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.penalty-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.penalty-status {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 900;
    line-height: 1.5;
}

.penalty-reset {
    flex-shrink: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.penalty-reset:hover {
    background: rgba(255, 255, 255, 0.18);
}

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

.hero-stage-card {
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.hero-stage-card span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stage-card strong {
    display: block;
    margin-top: 8px;
    color: var(--navy);
    font-family: 'Fredoka', cursive;
    font-size: 1.3rem;
    line-height: 1.05;
}

.hero-stage-card--main {
    padding: 28px;
    background: linear-gradient(155deg, var(--navy), #214382 58%, #fff3e9 200%);
    color: #fff;
}

.hero-stage-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.72);
}

.hero-stage-kicker::before {
    content: '';
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.hero-stage-card--main h2 {
    margin-top: 14px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 0.98;
    max-width: 11ch;
    color: #fff;
    text-wrap: balance;
}

.hero-stage-card--main p {
    margin-top: 14px;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-stage-card--blue {
    background:
        radial-gradient(circle at top right, rgba(111, 187, 255, 0.28), transparent 42%),
        rgba(255, 255, 255, 0.92);
}

.hero-stage-card--red {
    background:
        radial-gradient(circle at top right, rgba(217, 45, 32, 0.20), transparent 44%),
        rgba(255, 255, 255, 0.92);
}

.hero-stage-card--green {
    background:
        radial-gradient(circle at top right, rgba(42, 143, 91, 0.22), transparent 42%),
        rgba(255, 255, 255, 0.92);
}

.hero-stage-card--navy {
    background:
        radial-gradient(circle at top right, rgba(22, 48, 99, 0.20), transparent 44%),
        rgba(255, 255, 255, 0.92);
}

.guestbook-spotlight {
    padding-top: 18px;
}

.guestbook-count {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(217, 45, 32, 0.08);
    color: var(--red);
    font-weight: 900;
}

.guestbook-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
}

.guestbook-panel,
.interest-card,
.ticker-card,
.project-card,
.invite-card {
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.guestbook-panel {
    padding: 28px;
}

.guestbook-panel h3 {
    font-size: 1.8rem;
    color: var(--navy);
}

.panel-text,
.panel-head p {
    margin-top: 10px;
    color: var(--ink-soft);
    line-height: 1.65;
}

.panel-head {
    margin-bottom: 18px;
}

.guestbook-form {
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(63, 82, 115, 0.62);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(31, 111, 209, 0.48);
    box-shadow: 0 0 0 4px rgba(31, 111, 209, 0.12);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.char-count {
    margin-top: 6px;
    text-align: right;
    font-size: 0.84rem;
    color: var(--ink-soft);
}

.btn-submit {
    width: 100%;
}

.form-feedback {
    min-height: 26px;
    margin-top: 12px;
    text-align: center;
    font-weight: 900;
}

.form-feedback.success {
    color: var(--green);
}

.form-feedback.error {
    color: var(--red);
}

.guestbook-entries {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.loading-entries,
.no-entries {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(17, 33, 67, 0.05);
    color: var(--ink-soft);
    text-align: center;
}

.entry {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 33, 67, 0.08);
}

.entry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.entry-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red), #f0663f);
    color: #fff;
    font-weight: 900;
}

.entry-meta {
    min-width: 0;
}

.entry-name {
    font-weight: 900;
    color: var(--navy);
}

.entry-age,
.entry-date {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.entry-message {
    color: var(--ink);
    line-height: 1.7;
    word-break: break-word;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.interest-card {
    position: relative;
    padding: 24px 22px 22px;
    overflow: hidden;
}

.interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
}

.interest-card--red::before {
    background: linear-gradient(90deg, var(--red), #ff7b54);
}

.interest-card--green::before {
    background: linear-gradient(90deg, var(--green), #65c18c);
}

.interest-card--yellow::before {
    background: linear-gradient(90deg, #d9a411, var(--yellow));
}

.interest-card--blue::before {
    background: linear-gradient(90deg, var(--blue), #6db6ff);
}

.interest-card--navy::before {
    background: linear-gradient(90deg, var(--navy), #3e63b3);
}

.interest-tag {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.interest-card h3 {
    margin-top: 12px;
    font-size: 1.55rem;
    color: var(--navy);
}

.interest-card p {
    margin-top: 12px;
    color: var(--ink-soft);
    line-height: 1.68;
}

.fcb-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 26px;
    align-items: end;
}

.ticker-card {
    padding: 28px;
    background: linear-gradient(155deg, var(--navy), #214382 58%, #fff3e9 200%);
    color: #fff;
}

.ticker-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticker-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticker-status {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    font-size: 0.92rem;
}

.ticker-match {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: #fff;
}

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

.ticker-meta-item {
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.ticker-meta-item span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ticker-meta-item strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
    line-height: 1.4;
}

.ticker-countdown {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    font-size: 1rem;
    font-weight: 900;
}

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

.project-card {
    display: block;
    padding: 26px;
    text-decoration: none;
    color: inherit;
}

.project-card--sky {
    background:
        radial-gradient(circle at top right, rgba(111, 187, 255, 0.40), transparent 38%),
        rgba(255, 255, 255, 0.92);
}

.project-card--amber {
    background:
        radial-gradient(circle at top right, rgba(245, 194, 75, 0.38), transparent 38%),
        rgba(255, 255, 255, 0.92);
}

.project-chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 33, 67, 0.08);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-card h3 {
    margin-top: 18px;
    font-size: 1.9rem;
    color: var(--navy);
}

.project-card p {
    margin-top: 12px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.project-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--red);
    font-weight: 900;
}

.invite-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, #fff7ef 0%, #ffffff 100%);
}

.invite-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
}

.invite-card p:last-child {
    margin-top: 10px;
    color: var(--ink-soft);
}

.site-footer {
    padding: 24px 0 36px;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.90);
}

.footer-text {
    font-weight: 900;
    color: var(--navy);
}

.footer-sub {
    margin-top: 6px;
    color: var(--ink-soft);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(17, 33, 67, 0.08);
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
    transition: transform var(--transition), background var(--transition);
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: rgba(17, 33, 67, 0.12);
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-shell,
    .fcb-layout,
    .guestbook-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 18px 36px rgba(17, 33, 67, 0.14);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 10px;
        border-radius: 14px;
    }

    .nav-links a:hover {
        background: rgba(17, 33, 67, 0.06);
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-nav {
        display: none;
    }

    .hero {
        padding-top: 10px;
    }

    .penalty-head,
    .penalty-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .penalty-scoreboard {
        width: 100%;
    }

    .penalty-score {
        flex: 1;
    }

    .penalty-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .projects-grid,
    .interest-grid {
        grid-template-columns: 1fr 1fr;
    }

    .invite-card,
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .site-header {
        padding: 10px 0;
    }

    .navbar {
        border-radius: 24px;
        padding: 12px 14px;
    }

    .section {
        padding: 34px 0 18px;
    }

    .hero-actions,
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stage-grid,
    .penalty-controls,
    .form-row,
    .ticker-meta,
    .projects-grid,
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage-card--main h2 {
        max-width: none;
    }

    .penalty-goal {
        height: 264px;
    }

    .penalty-target {
        width: 48px;
        height: 48px;
    }

    .penalty-target--top-left {
        top: 28px;
        left: 24px;
    }

    .penalty-target--top-right {
        top: 28px;
        right: 24px;
    }

    .penalty-target--middle {
        top: 82px;
    }

    .penalty-target--bottom-left {
        left: 42px;
        bottom: 104px;
    }

    .penalty-target--bottom-right {
        right: 42px;
        bottom: 104px;
    }

    .penalty-keeper {
        bottom: 82px;
    }

    .guestbook-panel,
    .penalty-card,
    .ticker-card,
    .project-card,
    .interest-card,
    .invite-card {
        padding: 22px;
    }

    .back-to-top {
        width: 100%;
    }

    .penalty-reset {
        width: 100%;
    }
}
