/* === Floating trigger (fixed bottom-right) === */

#globalKlubModal {
    z-index: 9999;
}

.gm-trigger {
    position: fixed;
    bottom: 0;
    right:70px;
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--primary);
    padding: 10px 16px;
}

.gm-trigger.is-visible {
    display: flex;
}

.gm-trigger-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 25.2px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

.gm-trigger-dismiss {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.gm-trigger-dismiss:hover {
    opacity: 1;
}

.gm-trigger-dismiss svg {
    width: 14px;
    height: 14.6px;
    display: block;
}

/* === Darker backdrop === */
.modal-backdrop.show {
    opacity: 0.75;
}

/* === Modal dialog max-width override === */
.gm-dialog {
    max-width: 1720px;
}

/* === Modal content: horizontal flex layout === */
.gm-content {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    padding: 48px;
    gap: 48px;
    align-items: flex-start;
}

/* === Close button (top-right X) === */
.gm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.2s;
}

.gm-close:hover {
    opacity: 0.6;
}

.gm-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* === Image column === */
.gm-image-col {
    flex: 0 0 42%;
    aspect-ratio: 788 / 555;
    position: relative;
    overflow: hidden;
}

.gm-image-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === Body column === */
.gm-body-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 0;
}

/* === Typography === */
.gm-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 63px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.gm-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16.8px;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

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

.gm-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    padding: 8px 16px;
    text-transform: uppercase;
}

.gm-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16.8px;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

/* === Form === */
.gm-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gm-input {
    width: 100%;
    height: 44px;
    border: 1px solid #9d9d9d;
    background: #fff;
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16.8px;
    color: #000;
    outline: none;
    box-sizing: border-box;
    border-radius: 0;
}

.gm-input::placeholder {
    color: #9d9d9d;
}

.gm-input:focus {
    border-color: #555;
    box-shadow: none;
}

.gm-checkbox-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.gm-checkbox-row input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

.gm-checkbox-row label {
    font-family: 'Poppins', sans-serif;
    font-size: 16.8px;
    color: #000;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.gm-checkbox-row a {
    color: #000;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Submit: auto-width (not full-width), matches Figma shrink-0 */
.gm-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 25.2px;
    line-height: 1;
    text-transform: uppercase;
    padding: 8px 48px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.gm-submit:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* === Error messages === */
.gm-error {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    margin-top: 2px;
    display: none;
}

.gm-error.show {
    display: block;
}

/* === Success state === */
.gm-success {
    text-align: center;
    padding: 40px 0;
}

.gm-success h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gm-success p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 769px) {
    .gm-content {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }

    .gm-body-col {
        width: 100%;
    }

    .gm-image-col {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .gm-submit {
        padding: 8px 24px;
    }

    .gm-trigger-btn {
        font-size: 18px;
    }
}

@media (max-width: 376px) {
    .gm-title {
        font-size: 42px;
    }

    .gm-badge {
        font-size: 32px;
    }
}
