/* =============================================
   JOIN THE CLUB — Membership System Styles
   Hey Sis by With The Flow
   ============================================= */

/* --- Custom Cursor (pink bow pixel art) --- */
*, *::before, *::after {
    cursor: url('pink-bow-cursor.png'), auto !important;
}
a, button, [role="button"], input[type="submit"], input[type="button"], .btn, .btn-dark, .btn-light, select, label[for] {
    cursor: url('pink-bow-cursor.png'), pointer !important;
}

/* --- CSS Variables (mirrors site palette) --- */
:root {
    --club-cream: #fffaf6;
    --club-rose: #ff6fab;
    --club-deep: #2b2b2b;
    --club-accent: #a90a0b;
    --club-blush: #ffe0ec;
    --club-mauve: #e0507a;
    --club-text: #2b2b2b;
    --club-text-light: #4A4A4A;
    --club-radius: 20px;
    --club-transition: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   MODAL — Join / Sign In overlay
   ============================================= */
.club-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.club-modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.club-modal {
    background: var(--club-cream);
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px 36px 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    animation: clubModalIn 0.5s var(--club-transition);
}

@keyframes clubModalIn {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Top decorative bar */
.club-modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--club-rose), var(--club-accent), var(--club-rose));
    border-radius: 28px 28px 0 0;
}

.club-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.06);
    border: none;
    color: var(--club-text-light);
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.club-modal-close:hover {
    background: rgba(30, 30, 30, 0.12);
    transform: scale(1.1) rotate(90deg);
}

/* --- Modal Header --- */
.club-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.club-modal-emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

.club-modal-title {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 800;
    color: var(--club-deep);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.club-modal-subtitle {
    font-size: 0.85rem;
    color: var(--club-text-light);
    font-weight: 400;
}

/* --- Tabs (Join / Sign In) --- */
.club-modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: rgba(30, 30, 30, 0.04);
    border-radius: 14px;
    padding: 4px;
}

.club-tab {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--club-text-light);
    background: transparent;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.club-tab.active {
    background: #fff;
    color: var(--club-deep);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.club-tab:hover:not(.active) {
    color: var(--club-deep);
}

/* --- Form Views --- */
.club-form-view {
    display: none;
}
.club-form-view.active {
    display: block;
    animation: clubSlideUp 0.3s ease;
}

@keyframes clubSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Form Inputs --- */
.club-form-group {
    margin-bottom: 16px;
}

.club-form-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--club-text-light);
    margin-bottom: 6px;
    font-weight: 600;
}

.club-form-input {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid rgba(30, 30, 30, 0.1);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--club-deep);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.club-form-input:focus {
    border-color: var(--club-rose);
    box-shadow: 0 0 0 3px rgba(255, 111, 171, 0.15);
}

.club-form-input::placeholder {
    color: rgba(30, 30, 30, 0.3);
}

.club-form-input.error {
    border-color: var(--club-accent);
    box-shadow: 0 0 0 3px rgba(169, 10, 11, 0.1);
}

/* --- Checkbox --- */
.club-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
}

.club-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(30, 30, 30, 0.15);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.2s ease;
    background: #fff;
}

.club-checkbox:checked {
    background: var(--club-rose);
    border-color: var(--club-rose);
}

.club-checkbox:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #fff;
    font-weight: 700;
}

.club-checkbox-label {
    font-size: 0.82rem;
    color: var(--club-text-light);
    line-height: 1.4;
    cursor: pointer;
}

/* --- Buttons --- */
.club-btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: var(--club-deep);
    color: var(--club-cream);
    border: none;
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.club-btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 30, 30, 0.2);
}

.club-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.club-btn-ghost {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: var(--club-text-light);
    border: 1.5px solid rgba(30, 30, 30, 0.12);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.club-btn-ghost:hover {
    border-color: var(--club-rose);
    color: var(--club-deep);
}

/* --- Error / Message --- */
.club-form-error {
    display: none;
    padding: 10px 14px;
    background: rgba(169, 10, 11, 0.06);
    border: 1px solid rgba(169, 10, 11, 0.15);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--club-accent);
    margin-bottom: 16px;
    line-height: 1.4;
}
.club-form-error.show {
    display: block;
    animation: clubSlideUp 0.3s ease;
}

.club-form-success {
    display: none;
    padding: 10px 14px;
    background: rgba(111, 207, 151, 0.08);
    border: 1px solid rgba(111, 207, 151, 0.2);
    border-radius: 12px;
    font-size: 0.8rem;
    color: #2d8a54;
    margin-bottom: 16px;
}
.club-form-success.show {
    display: block;
    animation: clubSlideUp 0.3s ease;
}

/* --- Forgot Password Link --- */
.club-forgot-link {
    display: block;
    text-align: right;
    font-size: 0.78rem;
    color: var(--club-rose);
    text-decoration: none;
    margin-top: -8px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.club-forgot-link:hover {
    color: var(--club-mauve);
}

/* --- Divider --- */
.club-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: rgba(30, 30, 30, 0.25);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.club-divider::before, .club-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(30, 30, 30, 0.08);
}

/* =============================================
   WELCOME / ONBOARDING SCREENS
   ============================================= */
.club-welcome {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.club-welcome.active {
    display: block;
    animation: clubModalIn 0.5s var(--club-transition);
}

.club-welcome-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.club-welcome-title {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 800;
    color: var(--club-deep);
    margin-bottom: 8px;
}

.club-welcome-subtitle {
    font-size: 0.88rem;
    color: var(--club-text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* --- Onboarding Steps --- */
.club-onboard-step {
    display: none;
    animation: clubSlideUp 0.4s ease;
}
.club-onboard-step.active {
    display: block;
}

.club-onboard-step-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--club-rose);
    margin-bottom: 14px;
    font-weight: 600;
}

.club-onboard-step h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 700;
    color: var(--club-deep);
    margin-bottom: 16px;
}

/* --- Avatar Picker --- */
.club-avatar-picker {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.club-avatar-option {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    background: #fff;
    border: 2px solid rgba(30, 30, 30, 0.06);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--club-transition);
}

.club-avatar-option:hover {
    border-color: var(--club-rose);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 111, 171, 0.15);
}

.club-avatar-option.selected {
    border-color: var(--club-rose);
    background: var(--club-blush);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(255, 111, 171, 0.2);
}

/* --- Interest Chips --- */
.club-interest-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.club-interest-chip {
    padding: 9px 16px;
    background: #fff;
    border: 1.5px solid rgba(30, 30, 30, 0.08);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--club-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.club-interest-chip:hover {
    border-color: var(--club-rose);
    color: var(--club-deep);
}

.club-interest-chip.selected {
    background: var(--club-blush);
    border-color: var(--club-rose);
    color: var(--club-deep);
    font-weight: 600;
}

/* --- Cycle Input --- */
.club-cycle-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.club-cycle-row .club-form-group {
    flex: 1;
    margin-bottom: 0;
}

/* --- Notification Options --- */
.club-notif-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.club-notif-option {
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid rgba(30, 30, 30, 0.08);
    border-radius: 14px;
    font-size: 0.85rem;
    color: var(--club-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.club-notif-option:hover {
    border-color: var(--club-rose);
}

.club-notif-option.selected {
    border-color: var(--club-rose);
    background: rgba(255, 111, 171, 0.06);
    color: var(--club-deep);
    font-weight: 500;
}

/* --- Onboard Progress --- */
.club-onboard-progress {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 24px;
}

.club-onboard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.1);
    transition: all 0.3s ease;
}

.club-onboard-dot.active {
    background: var(--club-rose);
    transform: scale(1.2);
}

.club-onboard-dot.done {
    background: var(--club-rose);
}

/* --- Skip Link --- */
.club-skip-link {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(30, 30, 30, 0.35);
    text-decoration: none;
    margin-top: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.club-skip-link:hover {
    color: var(--club-text-light);
}

/* =============================================
   PROFILE PANEL — Slide-in from right
   ============================================= */
.club-profile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 30, 0.4);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.club-profile-backdrop.open {
    display: block;
    opacity: 1;
}

.club-profile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--club-cream);
    z-index: 9999;
    overflow-y: auto;
    padding: 32px 28px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s var(--club-transition);
    visibility: hidden;
}
.club-profile-panel.open {
    transform: translateX(0);
    visibility: visible;
}

.club-profile-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.06);
    border: none;
    color: var(--club-text-light);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.club-profile-close:hover {
    background: rgba(30, 30, 30, 0.12);
    transform: rotate(90deg);
}

/* Profile header */
.club-profile-header {
    text-align: center;
    margin-bottom: 28px;
    padding-top: 8px;
}

.club-profile-avatar {
    font-size: 3rem;
    margin-bottom: 8px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s var(--club-transition);
}
.club-profile-avatar:hover {
    transform: scale(1.15);
}

.club-profile-name {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 700;
    color: var(--club-deep);
    margin-bottom: 2px;
}

.club-profile-email {
    font-size: 0.78rem;
    color: var(--club-text-light);
}

.club-profile-member-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 14px;
    background: var(--club-blush);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--club-mauve);
}

/* --- Profile Sections --- */
.club-profile-section {
    margin-bottom: 24px;
}

.club-profile-section-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--club-rose);
    margin-bottom: 12px;
    font-weight: 600;
}

/* Saved articles list */
.club-saved-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.club-saved-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(30, 30, 30, 0.05);
    transition: all 0.2s ease;
}
.club-saved-item:hover {
    border-color: rgba(255, 111, 171, 0.2);
    transform: translateX(4px);
}

.club-saved-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.club-saved-item-title {
    flex: 1;
    font-size: 0.82rem;
    color: var(--club-deep);
    line-height: 1.3;
}

.club-saved-item-remove {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(30, 30, 30, 0.25);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.club-saved-item-remove:hover {
    background: rgba(169, 10, 11, 0.08);
    color: var(--club-accent);
}

.club-saved-empty {
    text-align: center;
    padding: 20px;
    color: rgba(30, 30, 30, 0.3);
    font-size: 0.82rem;
    font-style: italic;
}

/* Game progress cards */
.club-game-progress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.club-game-card {
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(30, 30, 30, 0.05);
    text-align: center;
}

.club-game-card-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.club-game-card-name {
    font-size: 0.7rem;
    color: var(--club-text-light);
    margin-bottom: 4px;
}

.club-game-card-stat {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--club-deep);
}

/* --- Profile Action Buttons --- */
.club-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 30, 30, 0.06);
}

.club-profile-action {
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: var(--club-text-light);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}
.club-profile-action:hover {
    border-color: rgba(30, 30, 30, 0.2);
    color: var(--club-deep);
}

.club-profile-action.danger {
    color: var(--club-accent);
    border-color: rgba(169, 10, 11, 0.1);
}
.club-profile-action.danger:hover {
    background: rgba(169, 10, 11, 0.04);
    border-color: rgba(169, 10, 11, 0.2);
}

/* =============================================
   NAV BADGE — Club link in navigation
   ============================================= */
.club-nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.club-nav-avatar {
    font-size: 1.1rem;
    line-height: 1;
}

.club-nav-name {
    font-size: 0.82rem;
}

/* =============================================
   PERSISTENT PROFILE ICON — Fixed on all pages
   ============================================= */
/* Ensure desktop nav bars have room for the profile FAB icon */
@media (min-width: 769px) {
    nav, .wtf-nav, .nav-bar {
        padding-right: 72px !important;
    }
}

.club-profile-fab {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 9990;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: var(--club-rose);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--club-transition);
    box-shadow: 0 4px 16px rgba(255, 111, 171, 0.25);
    font-size: 15px;
}
.club-profile-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(255, 111, 171, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
}
.club-profile-fab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Logged-in state */
.club-profile-fab.logged-in {
    background: var(--club-accent);
    border-color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(169, 10, 11, 0.25);
}
.club-profile-fab.logged-in:hover {
    background: var(--club-deep);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Subtle pulse on first load when logged out */
@keyframes clubFabPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 111, 171, 0.25); }
    50% { box-shadow: 0 4px 28px rgba(255, 111, 171, 0.5); }
}
.club-profile-fab.pulse {
    animation: clubFabPulse 2s ease 1s 2;
}

/* =============================================
   SAVE / BOOKMARK BUTTON — on cards
   ============================================= */
.club-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(30, 30, 30, 0.06);
    color: rgba(30, 30, 30, 0.3);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--club-transition);
    z-index: 5;
    padding: 0;
    line-height: 1;
}

.club-save-btn:hover {
    color: var(--club-rose);
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(255, 111, 171, 0.2);
}

.club-save-btn.saved {
    color: var(--club-rose);
    background: var(--club-blush);
    border-color: rgba(255, 111, 171, 0.3);
}

.club-save-btn.saved:hover {
    transform: scale(1.1);
}

/* Dark background variant */
.club-save-btn.dark {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(255, 111, 171, 0.15);
    color: rgba(254, 236, 222, 0.4);
}
.club-save-btn.dark:hover {
    color: var(--club-rose);
    background: rgba(30, 30, 30, 0.7);
}
.club-save-btn.dark.saved {
    color: var(--club-rose);
    background: rgba(255, 111, 171, 0.15);
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.club-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.club-toast {
    padding: 14px 20px;
    background: var(--club-deep);
    color: var(--club-cream);
    border-radius: 14px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: clubToastIn 0.4s var(--club-transition), clubToastOut 0.3s ease 2.7s forwards;
    max-width: 340px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.club-toast.success {
    border-left: 3px solid #6fcf97;
}
.club-toast.error {
    border-left: 3px solid var(--club-accent);
}
.club-toast.info {
    border-left: 3px solid var(--club-rose);
}

.club-toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes clubToastIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes clubToastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(20px); }
}

/* =============================================
   BRANDED EXPORT CARD
   ============================================= */
.club-export-card {
    background: var(--club-cream);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.club-export-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--club-rose), var(--club-accent), var(--club-rose));
}

.club-export-logo {
    display: block;
    max-width: 120px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

.club-export-content {
    text-align: center;
    margin-bottom: 24px;
}

.club-export-title {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    color: var(--club-deep);
    margin-bottom: 12px;
}

.club-export-body {
    font-size: 0.85rem;
    color: var(--club-text-light);
    line-height: 1.6;
}

.club-export-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 30, 30, 0.06);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(30, 30, 30, 0.3);
}

/* =============================================
   LOADING SPINNER
   ============================================= */
.club-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(254, 236, 222, 0.3);
    border-top-color: var(--club-cream);
    border-radius: 50%;
    animation: clubSpin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes clubSpin {
    to { transform: rotate(360deg); }
}

/* =============================================
   RESPONSIVE — Mobile adjustments
   ============================================= */
@media (max-width: 600px) {
    .club-modal {
        padding: 32px 24px 28px;
        border-radius: 24px;
        max-width: 100%;
    }

    .club-avatar-picker {
        grid-template-columns: repeat(5, 1fr);
    }

    .club-profile-panel {
        width: 100%;
        max-width: 100vw;
        right: 0;
        transform: translateX(100%);
    }
    .club-profile-panel.open {
        transform: translateX(0);
    }

    .club-toast-container {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
    }

    .club-toast {
        max-width: 100%;
    }

    .club-game-progress {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .club-cycle-row {
        flex-direction: column;
        gap: 0;
    }
}
