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

:root {
    --primary: #1b2864;
    --accent: #C9C1FF;
    --light: #f6f8fb;
    --dark: #111827;
    --senior: #ff9ac6;
    --under18: #ffc691;
    --under16: #adfede;
}


body {
    font-family: 'League Spartan', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    padding: 0 20px;
}

.announcement {
    background: var(--accent);
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.hero {
    margin-top: 20px;
    background: linear-gradient(135deg, #1b2864, #3045a0);
    padding: 80px 30px;
    border-radius: 25px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 900;
}

.hero h2 {
    margin: 15px 0;
}

.hero-text {
    max-width: 700px;
    margin: auto;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.primary-btn {
    background: white;
    color: var(--primary);
}

.secondary-btn {
    border: 2px solid white;
    color: white;
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px);
}

.journeys {
    margin: 60px 0;
}

.journeys h2 {
    text-align: center;
    margin-bottom: 40px;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.journey-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
}

.journey-card:hover {
    transform: translateY(-6px);
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin: 50px 0;
}

#searchForm {
    display: flex;
    gap:15px;
    flex-wrap: wrap;
}

#searchForm input {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

button {
    background: var(--accent);
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    margin: 5px;
}

#filterSearchBtn {
    margin-top: 15px;
}

button:hover {
    background: var(--primary);
    color: white;
}

.content-container {
    display: flex;
    gap: 30px;
}

.sidebar {
    width: 260px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    height: fit-content;
}

.sidebar label {
    display: block;
    margin-top: 15px;
}

.sidebar select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 8px;
}

main {
    flex: 1;
}

.club-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
}

.club-list li {
    background: white;
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: .3s;
}

.club-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.age-badge[data-age-group="Senior"] {
    background: var(--senior);
    padding: 5px;
    border-radius: 5px;
}

.age-badge[data-age-group="U18"] {
    background: var(--under18);
    padding: 5px;
    border-radius: 5px;
}

.age-badge[data-age-group="U16"] {
    background: var(--under16);
    padding: 5px;
    border-radius: 5px;
}

.club-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.club-panel {
    position: fixed;
    top: 0;
    right: -720px;
    width: 700px;
    max-width: 100%;
    height: 100vh;
    background: white;
    padding: 30px;
    overflow-y: auto;
    box-shadow: -10px 0 25px rgba(0,0,0,.15);
    z-index: 1000;
    transition: right .35s ease;
}

.club-panel.open {
    right: 0;
}

.panel-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

.panel-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
}

#panelBody h2 {
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

#panelBody p {
    margin-bottom: 12px;
}

#panelBody a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

#panelBody a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .club-panel {
        width: 100%;
        right: -100%;
    }
}