/* ===== CLUB ARCHIVE GRID ===== */
.club-archive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-header p {
    color: #666;
    font-size: 18px;
}

/* GRID */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* CARD */
.club-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.club-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

/* LOGO */
.club-logo {
    height: 180px;
    background: #a52a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-logo-img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    border-radius: 20px;
}

.club-logo-placeholder {
    font-size: 48px;
    opacity: 0.4;
}

/* CONTENT */
.club-content {
    padding: 20px;
}

.club-name {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.club-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.meta-label {
    color: #777;
}

.meta-value {
    font-weight: 600;
    color: #111;
}

.club-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, #e84c3d, #a52a2a);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease;
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #777 ;
}

.btn-outline {
    background: transparent;
    border: 2px solid #e84c3d;
    color: #e84c3d;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.apply-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.apply-modal-content {
    background: #fff;
    max-width: 420px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 16px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    cursor: pointer;
    font-size: 22px;
}

.apply-modal input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.btn-submit {
    width: 100%;
    background: #e53935;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
}

.btn-apply {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid #e53935;
    background: #fff;
    color: #e53935;
    font-weight: 600;
    cursor: pointer;
}
.btn-apply:hover {
    background: #e53935;
    color: #fff;
}
