﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:wght@400;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:wght@400;600&display=swap');

:root {
    --bg: #eef4f8;
    --paper: #f9fcff;
    --ink: #0b1a24;
    --muted: #4c5e70;
    --line: #cdd9e3;
    --accent: #0a4a6b;
    --accent-soft: #d6edf7;
    --accent-ice: #e8f6ff;
    --success: #1f7a5c;
    --danger: #b23a3a;
    --low: #2e6a45;
    --mid: #9b6a2a;
    --high: #8f1d1d;
    --glow: rgba(10, 74, 107, 0.12);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    font-family: "Space Grotesk", "Source Serif 4", sans-serif;
    background:
        linear-gradient(160deg, rgba(232, 246, 255, 0.9), rgba(238, 244, 248, 0.7)),
        radial-gradient(circle at 15% 20%, rgba(10, 74, 107, 0.08), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(31, 95, 165, 0.15), transparent 45%),
        var(--bg);
    background-attachment: fixed;
}

.shell {
    max-width: 1160px;
    margin: 28px auto;
    padding: 0 18px 32px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    border-bottom: 1px solid rgba(205, 217, 227, 0.8);
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.brand {
    text-decoration: none;
    color: var(--ink);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.tagline {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a,
.nav .nav-button {
    text-decoration: none;
    color: var(--ink);
    border: 1px solid rgba(205, 217, 227, 0.8);
    background: rgba(249, 252, 255, 0.9);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.93rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.nav a:hover,
.nav .nav-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(10, 24, 36, 0.12);
}

.nav a.active {
    background: linear-gradient(135deg, #0a4a6b, #1a6b90);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(10, 74, 107, 0.3);
}

.nav-form {
    margin: 0;
}

.nav-button {
    cursor: pointer;
}

.card {
    background: rgba(249, 252, 255, 0.92);
    border: 1px solid rgba(205, 217, 227, 0.9);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(12, 26, 38, 0.08);
    backdrop-filter: blur(6px);
}

.grid {
    display: grid;
    gap: 16px;
}

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

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

h1, h2, h3 { margin-top: 0; }

.meta {
    color: var(--muted);
    font-size: 0.93rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
}

th, td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th { font-size: 0.9rem; color: var(--muted); }

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.82rem;
    font-weight: 700;
}

.level-low { background: #dff2e1; color: var(--low); }
.level-mid { background: #f5ead7; color: var(--mid); }
.level-high { background: #f8dede; color: var(--high); }
.badge-muted { background: #ece7de; color: var(--muted); }
.badge-verified { background: #d9f3e8; color: var(--success); }

.plan-header {
    display: flex;
    gap: 14px;
    align-items: center;
}

.plan-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid var(--team-accent, var(--line));
    background: #fff;
}

.plan-header h1, .plan-header h2 {
    margin: 0 0 6px;
    color: var(--team-primary, var(--ink));
}

.plan-header .badge {
    border-color: var(--team-accent, var(--line));
}

.plan-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(205, 217, 227, 0.9);
    background: rgba(232, 246, 255, 0.7);
}

.plan-branding .plan-preview {
    margin-top: 10px;
}

.plan-preview img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--team-accent, var(--line));
    background: #fff;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

form { display: grid; gap: 12px; }

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 0.92rem;
}

input, select, textarea {
    width: 100%;
    border: 1px solid #cdd9e3;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 0.95rem;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

input[type="checkbox"] {
    width: auto;
    padding: 0;
}

textarea { min-height: 110px; }

button, .btn {
    border: 0;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0a4a6b, #1b6f99);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 18px rgba(10, 74, 107, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(10, 74, 107, 0.28);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(205, 217, 227, 0.9);
    box-shadow: none;
}

.kpi {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 4px;
}

.flash {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-weight: 600;
}

.flash-success { background: #d9f3e8; color: var(--success); }
.flash-error { background: #f9dede; color: var(--danger); }

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

fieldset.checklist {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 8px;
}

fieldset.checklist legend {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 6px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.check-item.muted {
    opacity: 0.6;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.turnstile {
    margin: 8px 0;
}

.footer {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}
.footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}
.footer-links a {
    color: #2a5ea5;
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #0b1220;
    color: #f5f7fb;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 20px 40px rgba(5, 8, 16, 0.35);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 40;
}

.og-note {
    font-size: 0.8rem;
    color: var(--muted);
}
.cookie-banner .meta {
    color: #c8d1dd;
    margin: 4px 0 0;
}
.cookie-banner .actions {
    margin: 0;
}
.cookie-banner .btn {
    background: transparent;
    color: #eaf0f8;
    border: 1px solid #3b4a61;
}
@media (max-width: 720px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.board-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.board-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: end;
}

.board-wrap {
    position: relative;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, rgba(10, 74, 107, 0.08), rgba(232, 246, 255, 0.7));
    border-radius: 16px;
    border: 1px solid rgba(205, 217, 227, 0.9);
}

.board-canvas {
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid #c9c2b8;
    background: transparent;
}

.board-overlay {
    position: absolute;
    inset: 10px;
    border: none;
}

.board-advanced {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 10px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: rgba(255, 253, 250, 0.7);
}

.board-palette {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.palette-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #b9b3a8;
    cursor: pointer;
    padding: 0;
}

.chip {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    padding: 4px 10px;
    cursor: pointer;
    font-weight: 700;
}

.print-shell {
    margin: 12px auto;
    max-width: 900px;
    background: #fff;
    color: #000;
    padding: 12px;
}

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

.hero-content h1 {
    font-size: 2.6rem;
    margin: 8px 0 10px;
}

.hero-copy {
    font-size: 1rem;
    max-width: 540px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
}

.hero-card {
    background: rgba(249, 252, 255, 0.94);
    border: 1px solid rgba(205, 217, 227, 0.9);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 16px 30px rgba(12, 26, 38, 0.12);
}

.hero-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.feature-grid {
    margin-top: 18px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ad-slot {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.ad-placeholder {
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #c9c2b8;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--muted);
}

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

.shot-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(22, 34, 41, 0.08);
    overflow: hidden;
}

.shot-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: #fefbf6;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #c96b5c; }
.dot-gold { background: #d5b15b; }
.dot-green { background: #7bb274; }

.shot-body {
    padding: 14px;
    min-height: 160px;
    display: grid;
    gap: 12px;
}

.shot-block {
    height: 22px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(15, 93, 122, 0.14), rgba(15, 93, 122, 0.05));
}

.shot-row {
    display: flex;
    gap: 8px;
}

.shot-pill {
    flex: 1;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(159, 111, 45, 0.18), rgba(159, 111, 45, 0.06));
}

.shot-rink {
    background: radial-gradient(circle at 70% 40%, rgba(31, 95, 165, 0.15), transparent 55%);
    border-radius: 12px;
    position: relative;
}

.rink-line {
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 50%;
    width: 2px;
    background: #c21807;
    opacity: 0.7;
}

.rink-circle {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #c21807;
    opacity: 0.6;
}

.rink-arrow {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 2px;
    background: #0f5d7a;
}

.rink-arrow::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -4px;
    border-left: 8px solid #0f5d7a;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.hero-wrap {
    position: relative;
}

.hero-visual {
    position: relative;
    min-height: 420px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(11, 26, 36, 0.88), rgba(14, 56, 80, 0.95));
    color: #fff;
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(10, 24, 36, 0.3);
}

.hero-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(90, 190, 255, 0.35), transparent 70%);
    filter: blur(4px);
}

.ice-panel {
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.ice-sheet {
    position: absolute;
    inset: 58px 34px 92px;
    border-radius: 28px;
    background: linear-gradient(180deg, #f7fbff 0%, #ecf5ff 100%);
    border: 2px solid rgba(10, 74, 107, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.ice-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(194, 24, 7, 0.75);
}

.ice-line-center {
    left: 50%;
}

.ice-line-blue {
    left: 28%;
    background: rgba(18, 103, 161, 0.7);
}

.ice-line-blue-2 {
    left: 72%;
}

.ice-circle {
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid rgba(194, 24, 7, 0.55);
}

.ice-circle-left {
    top: 20%;
    left: 16%;
}

.ice-circle-right {
    bottom: 18%;
    right: 18%;
}

.ice-arc {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px dashed rgba(18, 103, 161, 0.45);
}

.ice-arc-left {
    top: -30px;
    right: 30%;
}

.ice-arc-right {
    bottom: -40px;
    left: 30%;
}

.ice-route {
    position: absolute;
    width: 160px;
    height: 2px;
    background: rgba(10, 74, 107, 0.8);
    top: 46%;
    left: 20%;
    transform: rotate(12deg);
}

.ice-route-2 {
    width: 120px;
    top: 62%;
    left: 50%;
    transform: rotate(-10deg);
    background: rgba(10, 74, 107, 0.65);
}

.ice-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(194, 24, 7, 0.7);
    top: 48%;
    left: 36%;
}

.ice-dot-2 {
    top: 64%;
    left: 62%;
    background: rgba(18, 103, 161, 0.7);
}

.ice-header,
.ice-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ice-header strong,
.ice-footer strong {
    display: block;
    font-size: 1.05rem;
}

.stat-row {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(205, 217, 227, 0.9);
    background: rgba(249, 252, 255, 0.95);
    box-shadow: 0 10px 18px rgba(10, 24, 36, 0.08);
}

.stat {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 6px 0 8px;
    color: var(--accent);
}

.photo-grid {
    margin-top: 18px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
    background: rgba(249, 252, 255, 0.94);
    border: 1px solid rgba(205, 217, 227, 0.9);
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 14px;
    box-shadow: 0 12px 24px rgba(10, 24, 36, 0.1);
}

.photo {
    height: 160px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 26, 36, 0.0), rgba(11, 26, 36, 0.35));
}

.photo-ice {
    background-image: url('/assets/hockey-action-1.jpg');
}

.photo-huddle {
    background-image: url('/assets/hockey-youth-1.jpg');
}

.photo-notes {
    background-image: url('/assets/hockey-action-2.jpg');
}

@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .topbar { flex-direction: column; align-items: flex-start; }
    .board-toolbar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .board-wrap { max-height: 420px; }
    .board-canvas { max-height: 420px; }
    .hero { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .shots { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
}

@media print {
    body { background: #fff; }
    .topbar, .footer, .nav, .actions, .no-print { display: none !important; }
    .shell { margin: 0; max-width: 100%; }
    .card { box-shadow: none; border-color: #b7b7b7; }
}
