:root {
--clr-bg: #e6f4ff; /* baby blue */
--clr-bg-alt: #ffffff;
--clr-primary: #0057b8; /* dark Curaçao blue */
--clr-primary-soft: #2d7fe6;
--clr-accent: #ffd200; /* yellow star stripe */
--clr-text: #08213d;
--clr-muted: #5a6f8e;
--radius-lg: 18px;
--radius-md: 12px;
--shadow-soft: 0 18px 45px rgba(0, 40, 80, 0.12);
--shadow-light: 0 10px 25px rgba(0, 40, 80, 0.08);
--max-width: 1120px;
--nav-height: 72px;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
color: var(--clr-text);
background: var(--clr-bg);
}

/* Containers */

.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(14px);
background: rgba(230, 244, 255, 0.9);
border-bottom: 1px solid rgba(0, 87, 184, 0.08);
}

.nav-container {
display: flex;
align-items: center;
justify-content: space-between;
height: var(--nav-height);
}

.logo {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--clr-primary);
font-size: 0.9rem;
}

.logo-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 999px;
background: linear-gradient(
135deg,
var(--clr-primary),
var(--clr-accent)
);
color: #fff;
font-size: 0.9rem;
}

.main-nav {
display: flex;
gap: 1.2rem;
font-size: 0.9rem;
}

.main-nav a {
text-decoration: none;
color: var(--clr-muted);
font-weight: 500;
padding-bottom: 0.2rem;
border-bottom: 2px solid transparent;
transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover {
color: var(--clr-primary);
border-color: var(--clr-accent);
}

/* Hero */

.hero {
padding: 2.5rem 0 3.5rem;
}

.hero-inner {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
gap: 2.5rem;
align-items: center;
}

.hero-text h1 {
font-size: clamp(2.1rem, 3vw, 2.7rem);
margin: 0 0 0.75rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}

.hero-subtitle {
margin: 0 0 1.5rem;
color: var(--clr-muted);
font-size: 0.98rem;
line-height: 1.6;
}

.hero-cta-row {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
margin-bottom: 1.5rem;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.7rem 1.3rem;
border-radius: 999px;
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
}

.btn.primary {
background: linear-gradient(
135deg,
var(--clr-primary),
var(--clr-primary-soft)
);
color: #fff;
box-shadow: var(--shadow-soft);
}

.btn.ghost {
background: rgba(255, 255, 255, 0.85);
color: var(--clr-primary);
border-color: rgba(0, 87, 184, 0.15);
}

/* Live card */

.live-card {
margin-top: 1.5rem;
background: #fff;
border-radius: var(--radius-lg);
padding: 1.1rem 1.2rem 1rem;
box-shadow: var(--shadow-soft);
}

.live-card-header {
display: flex;
flex-direction: column;
gap: 0.25rem;
margin-bottom: 0.8rem;
}

.live-competition {
font-size: 0.75rem;
color: var(--clr-muted);
text-transform: uppercase;
letter-spacing: 0.09em;
}

.pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.25rem 0.6rem;
border-radius: 999px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.09em;
text-transform: uppercase;
}

.live-pill {
background: rgba(0, 87, 184, 0.08);
color: var(--clr-primary);
}

.pill-live {
background: #e60023;
color: #fff;
}

.live-score-row {
display: grid;
grid-template-columns: 1.1fr auto 1.1fr;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.4rem;
}

.team {
display: flex;
align-items: center;
gap: 0.45rem;
font-weight: 600;
}

.team.right {
justify-content: flex-end;
}

.team-name {
font-size: 0.95rem;
}

.team-flag {
font-size: 1.2rem;
}

.score {
font-size: 1.4rem;
font-weight: 800;
color: var(--clr-primary);
display: flex;
gap: 0.25rem;
}

.live-meta-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.4rem;
font-size: 0.76rem;
color: var(--clr-muted);
margin-bottom: 0.65rem;
}

.countdown {
display: flex;
gap: 0.6rem;
margin-bottom: 0.4rem;
}

.countdown > div {
flex: 1;
background: rgba(230, 244, 255, 0.8);
border-radius: 10px;
padding: 0.4rem 0.3rem;
text-align: center;
}

.countdown span {
display: block;
font-weight: 700;
font-size: 0.9rem;
}

.countdown small {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--clr-muted);
}

.live-note {
margin: 0;
font-size: 0.7rem;
color: var(--clr-muted);
}

/* Hero media */

.hero-media {
display: flex;
flex-direction: column;
gap: 0.9rem;
}

.hero-main-photo img {
width: 100%;
border-radius: var(--radius-lg);
object-fit: cover;
display: block;
box-shadow: var(--shadow-soft);
}

.hero-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.55rem;
}

.hero-grid img {
width: 100%;
height: 100%;
border-radius: var(--radius-md);
object-fit: cover;
box-shadow: var(--shadow-light);
}

/* Sections */

.section {
padding: 2.7rem 0;
}

.section-alt {
background: var(--clr-bg-alt);
}

.section h2 {
font-size: 1.7rem;
margin: 0 0 0.4rem;
}

.section-intro {
margin: 0 0 1.5rem;
color: var(--clr-muted);
max-width: 640px;
font-size: 0.97rem;
}

/* Matches table */

.table-wrapper {
overflow-x: auto;
}

.matches-table {
width: 100%;
border-collapse: collapse;
font-size: 0.86rem;
background: #fff;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-soft);
overflow: hidden;
}

.matches-table thead {
background: linear-gradient(
135deg,
var(--clr-primary),
var(--clr-primary-soft)
);
color: #fff;
}

.matches-table th,
.matches-table td {
padding: 0.65rem 0.9rem;
text-align: left;
}

.matches-table tbody tr:nth-child(even) {
background: #f5f9ff;
}

.matches-table tbody tr.upcoming-row {
background: #fff7df;
font-weight: 600;
}

.section-footnote {
margin-top: 0.8rem;
font-size: 0.75rem;
color: var(--clr-muted);
}

/* Players */

.players-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
}

.player-card {
background: #fff;
border-radius: var(--radius-md);
box-shadow: var(--shadow-light);
padding: 1rem;
}

.player-card h3 {
margin: 0 0 0.15rem;
}

.player-role {
margin: 0 0 0.6rem;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.09em;
color: var(--clr-muted);
}

/* Fan center */

.fan-center-grid {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
gap: 1rem;
}

.fan-card {
background: #fff;
border-radius: var(--radius-md);
padding: 1rem;
box-shadow: var(--shadow-light);
}

.newsletter-form {
display: flex;
gap: 0.5rem;
margin: 0.7rem 0;
}

.newsletter-form input {
flex: 1;
padding: 0.55rem 0.7rem;
border-radius: 999px;
border: 1px solid rgba(8, 33, 61, 0.16);
font-size: 0.85rem;
}

.newsletter-form button {
padding: 0.55rem 1rem;
border-radius: 999px;
border: none;
background: var(--clr-primary);
color: #fff;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
}

.small {
font-size: 0.76rem;
color: var(--clr-muted);
}

.tag-list {
list-style: none;
margin: 0 0 0.6rem;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}

.tag-list li {
padding: 0.25rem 0.55rem;
border-radius: 999px;
background: rgba(0, 87, 184, 0.08);
color: var(--clr-primary);
font-size: 0.75rem;
font-weight: 600;
}

/* Store */

.store-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
}

.store-item {
background: #fff;
border-radius: var(--radius-md);
box-shadow: var(--shadow-light);
padding: 1rem;
}

.store-thumb {
height: 140px;
border-radius: 12px;
background: repeating-linear-gradient(
135deg,
#d5e8ff,
#d5e8ff 8px,
#f2f6ff 8px,
#f2f6ff 16px
);
margin-bottom: 0.7rem;
}

.coming-soon {
background: rgba(255, 210, 0, 0.2);
color: #946a00;
}

/* Partners & Travel */

.partners-grid,
.travel-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}

.partner-card,
.travel-card {
background: #fff;
border-radius: var(--radius-md);
box-shadow: var(--shadow-light);
padding: 1rem;
}

/* Gallery */

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0.75rem;
}

.gallery-grid img {
width: 100%;
height: 100%;
border-radius: var(--radius-md);
object-fit: cover;
box-shadow: var(--shadow-light);
}

/* Footer */

.site-footer {
padding: 1.4rem 0 1.8rem;
background: #0d1a33;
color: #f3f6ff;
margin-top: 1.5rem;
}

.footer-inner {
text-align: center;
}

.footer-small {
margin-top: 0.25rem;
font-size: 0.8rem;
color: #9fb0d4;
}

/* Responsive */

@media (max-width: 900px) {
.hero-inner {
grid-template-columns: 1fr;
}

.hero {
padding-top: 1.6rem;
}

.fan-center-grid {
grid-template-columns: 1fr;
}

.main-nav {
display: none; /* keep it simple for now on mobile */
}

.site-header {
text-align: center;
}

.nav-container {
justify-content: center;
}
}

@media (max-width: 600px) {
.live-score-row {
grid-template-columns: 1fr;
text-align: center;
}

.team.right {
justify-content: center;
}

.live-meta-row {
flex-direction: column;
align-items: flex-start;
}

.countdown > div {
padding: 0.35rem 0.2rem;
}
}