/* Club show header */
.club-hero {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.club-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.86) 0%,
        rgba(0, 0, 0, 0.72) 22%,
        rgba(0, 0, 0, 0.42) 55%,
        rgba(0, 0, 0, 0.18) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.club-hero__content {
    position: relative;
    z-index: 2;
}

.club-hero__avatar {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 3px solid #fff;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.club-hero__title {
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    word-break: break-word;
    text-shadow:
        -1px -1px 2px rgba(0, 0, 0, 0.95),
        1px -1px 2px rgba(0, 0, 0, 0.95),
        -1px 1px 2px rgba(0, 0, 0, 0.95),
        1px 1px 2px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(0, 0, 0, 1);
}

.club-hero__description {
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    line-height: 1.45;
    word-break: break-word;
    text-shadow:
        -1px -1px 2px rgba(0, 0, 0, 0.95),
        1px -1px 2px rgba(0, 0, 0, 0.95),
        -1px 1px 2px rgba(0, 0, 0, 0.95),
        1px 1px 2px rgba(0, 0, 0, 0.95),
        0 0 8px rgba(0, 0, 0, 0.95);
}

.club-hero__stat-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.club-hero__stat {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px 16px;
    backdrop-filter: blur(2px);
}

.club-hero__stat-value {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.club-hero__cta .btn,
.club-hero__action-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.club-hero__action-btn {
    min-width: 220px;
}

@media (max-width: 576px) {
    .club-hero {
        min-height: 300px;
    }

    .club-hero__avatar {
        width: 96px;
        height: 96px;
    }

    .club-hero__action-btn {
        width: 100%;
        min-width: 0;
    }

    .club-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .club-hero__actions .club-hero__cta,
    .club-hero__actions form {
        width: 100%;
    }

    .club-hero__actions .club-hero__action-btn {
        text-align: left;
    }
}

@media (max-width: 370px) and (min-width: 320px) {
    .club-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .club-hero__stat {
        min-width: 0;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .club-hero__stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }

    .club-hero__stat-value {
        font-size: 1.6rem;
        line-height: 1.1;
    }
}

/* Club Rules Section */
.club-rules-content {
    color: #111010;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 16px;
    background: rgba(168, 23, 0, 0.03);
    border-left: 4px solid #A81700;
    border-radius: 6px;
    white-space: pre-line;
    word-wrap: break-word;
}

.club-rules-content p {
    margin-bottom: 0.75rem;
}

.club-rules-content p:last-child {
    margin-bottom: 0;
}

.club-rules-content strong,
.club-rules-content b {
    color: #A81700;
    font-weight: 700;
}

.club-rules-content ul,
.club-rules-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.club-rules-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
    .club-rules-content {
        font-size: 0.9rem;
        padding: 14px;
    }
}

/* Club Rules Modal */
.club-rules-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.club-rules-modal .modal-header {
    padding: 25px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.club-rules-modal .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111010;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    line-height: 1.2;
}

.club-rules-modal .modal-title i {
    font-size: 1.5rem;
    vertical-align: middle;
    line-height: 1;
}

.club-rules-modal .modal-title span {
    vertical-align: middle;
    line-height: 1.5rem;
}

.club-rules-modal .modal-body {
    padding: 20px 24px;
    max-height: 60vh;
}

.club-rules-modal-content {
    color: #111010;
    font-size: 1rem;
    line-height: 1.75;
    padding: 20px;
    white-space: pre-line;
    word-wrap: break-word;
}

.club-rules-modal-content strong,
.club-rules-modal-content b {
    color: #A81700;
    font-weight: 700;
}

.club-rules-modal .modal-footer {
    padding: 16px 24px 24px;
    background: rgba(248, 249, 250, 0.5);
}

.club-rules-modal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.club-rules-modal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.club-rules-modal .btn-close {
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.club-rules-modal .btn-close:hover {
    opacity: 1;
}

/* Modal animation */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

@media (max-width: 576px) {
    .club-rules-modal .modal-title {
        font-size: 1.4rem;
    }

    .club-rules-modal .modal-header,
    .club-rules-modal .modal-body,
    .club-rules-modal .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .club-rules-modal-content {
        font-size: 0.95rem;
        padding: 16px;
    }
}
