/* ============================================================
   The Sandbox Club - Member Site Stylesheet
   Color Palette:
     Background:   #0a0a0a (near-black)
     Surface:      #111111, #1a1a1a, #222222
     Border:       #2e2e2e, #3a3a3a
     Text:         #e8e8e8, #b0b0b0, #888
     Accent Gold:  #c9a84c (primary CTA, highlights)
     Accent Silver:#a0a0a0, #c8c8c8 (silver tones)
     Danger/Red:   #dc3545
     Success/Green:#28a745
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
    --accent:        #c9a84c;
    --accent-hover:  #e0bf6a;
    --accent-light:  #d4b87a;
    --silver:        #b8b8b8;
    --silver-light:  #d0d0d0;
    --bg:            #0a0a0a;
    --surface-1:     #111111;
    --surface-2:     #1a1a1a;
    --surface-3:     #222222;
    --border:        #2e2e2e;
    --border-light:  #3d3d3d;
    --text-primary:  #e8e8e8;
    --text-muted:    #a0a0a0;
    --text-dim:      #666666;
}

/* ============================================================
   MODAL STYLES
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(160deg, #1a1a1a 0%, #111111 100%);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--accent);
    border-radius: 4px;
    padding: 40px 35px 35px 35px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-content h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: center;
}

.modal-close-button {
    position: absolute;
    top: 12px;
    right: 18px;
    color: var(--text-muted);
    font-size: 1.8em;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close-button:hover {
    color: var(--text-primary);
}

.modal-form-group {
    margin-bottom: 18px;
}

.modal-form-group label {
    display: block;
    color: var(--silver);
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.modal-form-group input[type="text"],
.modal-form-group input[type="password"],
.modal-form-group input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface-3);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 0.95em;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

.modal-submit-button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 3px;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.25s ease;
}

.modal-submit-button:hover {
    background: var(--accent-hover);
}

.forgot-password-link {
    display: block;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82em;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: var(--accent-light);
}

.modal-message {
    display: none;
    padding: 10px;
    border-radius: 3px;
    text-align: center;
    margin-top: 12px;
    font-size: 0.9em;
}

.modal-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.modal-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Site Alert Modal */
.site-alert-content {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--accent);
    color: var(--text-primary);
    padding: 40px 25px 25px 25px;
    position: relative;
    max-width: 800px;
    width: 90%;
    /* Cap modal at viewport so the close button is always reachable */
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.site-alert-content .modal-close-button {
    color: var(--text-muted);
    /* Keep the X visible even when content scrolls inside the modal */
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
    width: 32px;
    height: 32px;
    line-height: 28px;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    z-index: 2;
}

.site-alert-content img {
    /* Scale large images to fit the modal viewport without overflow */
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Mobile: more breathing room, slightly taller image cap */
@media (max-width: 600px) {
    .site-alert-content {
        padding: 35px 12px 15px 12px;
        max-height: 95vh;
    }
    .site-alert-content img {
        max-height: 80vh;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   RESERVATION / PRE-PAYMENT
   ============================================================ */
.reservation-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}
.selection-panel,
.cart-panel {
    flex: 1;
    min-width: 300px;
    background: var(--surface-2);
    padding: 25px;
    border-radius: 4px;
    border: 1px solid var(--border);
}
.selection-panel h3,
.cart-panel h3 {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.4em;
    text-align: center;
    letter-spacing: 0.05em;
}
.cart-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-items-table th,
.cart-items-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.cart-items-table th { color: var(--text-muted); }
.cart-item-remove-btn {
    background: #d9534f;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
}
.cart-total-row td {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--accent);
    border-top: 2px solid var(--border-light);
}
.tip-input {
    width: 80px;
    padding: 8px;
    margin-left: 10px;
    text-align: right;
}

/* ============================================================
   FORM CONTAINER (Request Username, etc.)
   ============================================================ */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 4px;
    text-align: center;
}

.form-container .form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-container .form-label {
    margin-bottom: 0.75rem;
}

.form-container small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
}

/* ============================================================
   APPLICATION FORM
   ============================================================ */
.application-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--surface-2);
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}
.application-form {
    margin-top: 2rem;
}
.form-fieldset {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: var(--surface-3);
}
.form-legend {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    padding: 3px 14px;
    background: var(--accent);
    border: none;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.form-group {
    flex: 1;
    min-width: 200px;
}
.form-group.full-width  { flex-basis: 100%; }
.form-group.half-width  { flex-basis: calc(50% - 0.5rem); }
.form-group.third-width { flex-basis: calc(33.33% - 0.67rem); }
.form-group.quarter-width { flex-basis: calc(25% - 0.75rem); }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--silver-light);
    font-size: 0.85em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    font-size: 1rem;
    background: var(--surface-2);
    color: var(--text-primary);
    transition: border-color 0.25s ease;
}
.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}
.form-input::placeholder { color: var(--text-dim); }

.radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.important-notice {
    background: var(--surface-3);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}
.important-notice p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.important-notice p:last-child { margin-bottom: 0; }
.important-notice a {
    color: var(--accent-light);
    text-decoration: none;
}
.important-notice a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.submit-button:hover { background: var(--accent-hover); }

/* Message blocks */
.message {
    padding: 12px 20px;
    border-radius: 4px;
    margin: 15px 0;
}
.message.success {
    background: rgba(40,167,69,0.12);
    border: 1px solid #28a745;
    color: #28a745;
}
.message.error {
    background: rgba(220,53,69,0.12);
    border: 1px solid #dc3545;
    color: #dc3545;
}
.message.info {
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--accent);
    color: var(--accent-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: linear-gradient(to top, #000000, #111111);
    color: var(--text-muted);
    font-size: 0.95em;
    padding: 30px 20px;
    flex-shrink: 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.footer-logo img:hover { opacity: 1; }

.footer-contact p {
    margin: 5px 0;
    color: var(--text-muted);
}
.footer-contact a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-contact a:hover { color: var(--text-primary); }

.footer-social {
    display: flex;
    gap: 20px;
}
.footer-social a {
    color: var(--text-muted);
    font-size: 1.8em;
    transition: color 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover {
    color: var(--accent-light);
    transform: scale(1.1);
}

.footer-copyright {
    font-size: 0.85em;
    color: var(--text-dim);
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: 5px;
}

/* ============================================================
   BODY & CORE LAYOUT
   ============================================================ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.main-content {
    flex: 1;
}

a { color: #c9a96e; }
a:hover { color: #e8c98a; }

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
    background: linear-gradient(to bottom, #000000, #181818);
    width: 100%;
    flex-shrink: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.header-logo { flex-shrink: 0; }

.header-logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1000;
    order: 2;
}
.menu-toggle:focus { outline: none; }

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
nav ul li {
    margin: 5px 2px;
}
nav ul li a {
    color: var(--silver);
    text-decoration: none;
    padding: 8px 14px;
    transition: color 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}
nav ul li a:hover {
    color: var(--text-primary);
    background-color: rgba(255,255,255,0.06);
}
nav ul li a.active {
    color: var(--accent);
    background-color: rgba(201,168,76,0.1);
    border-radius: 3px;
}

.header-action-button {
    flex-shrink: 0;
    margin-left: 20px;
    order: 3;
    display: flex;
    gap: 10px;
}
.header-action-button .button {
    display: inline-block;
    padding: 8px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.25s ease;
    white-space: nowrap;
}
.header-action-button .button.login {
    background: var(--accent);
    color: #000;
}
.header-action-button .button.login:hover {
    background: var(--accent-hover);
}
.header-action-button .button.logout {
    background: #2e2e2e;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.header-action-button .button.logout:hover {
    background: #3a3a3a;
    color: var(--text-primary);
}
.header-action-button .button.social {
    background: #2e2e2e;
    color: var(--silver-light);
    border: 1px solid var(--border-light);
}
.header-action-button .button.social:hover {
    background: #3a3a3a;
}

/* ============================================================
   HERO SECTION (About page)
   ============================================================ */
.hero-section {
    width: 100%;
    min-height: 600px;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    padding: 60px 20px;
}
.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1;
}
.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.hero-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.0rem;
}
.hero-image {
    flex: 0 0 440px;
}
.hero-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--accent);
}

/* ============================================================
   EXPECT SECTION (About page)
   ============================================================ */
.expect-section-container {
    background: var(--surface-1);
    padding: 60px 20px;
    border-top: 1px solid var(--border);
}
.expect-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.expect-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.expect-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.expect-section-desc {
    font-size: 1.1rem;
    color: var(--accent-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 6px;
}
.expect-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.expect-column h2 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.expect-column p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}
.expect-column.image-col img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}
.not-permitted-list {
    list-style: none;
    padding-left: 0;
}
.not-permitted-list li {
    color: var(--text-muted);
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}
.not-permitted-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}
.first-visit-notice {
    margin-top: 30px;
    padding: 25px;
    border-left: 3px solid var(--accent);
    background: rgba(201,168,76,0.04);
}
.first-visit-notice h2 {
    margin-top: 0;
    border-bottom-color: transparent;
}
.first-visit-notice h3 {
    font-size: 1.05em;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.text-highlight { color: var(--accent-light); font-weight: 600; }
.text-color     { color: var(--accent); font-weight: 600; }

/* ============================================================
   SPLASH & BANNER IMAGES (Home page)
   ============================================================ */
.splash-image-container { 
    width: 100%; 
    background: #0a0a0a;
}
.splash-image {
    width: 100%;
    display: block;
    max-height: 600px;
    object-fit: contain;
    object-position: center top;
}
.second-banner-container { width: 100%; }
.second-banner {
    width: 100%;
    display: block;
}

/* ============================================================
   CONTENT WRAPPER (generic pages)
   ============================================================ */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}
.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}
.page-subtitle {
    font-size: 1.1rem;
    color: var(--accent-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.membership-section {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 4px;
    padding: 30px;
}
.membership-section .table { font-size: 0.85em; }
.membership-section .table th,
.membership-section .table td { padding: 6px 6px; }
.membership-section .table td img { height: 35px; }
.membership-section h2 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.membership-section h3 {
    color: var(--silver-light);
    font-size: 1.05rem;
    margin: 22px 0 10px 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.membership-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.membership-section strong { color: var(--text-primary); }
.membership-section a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.membership-section a:hover { color: var(--accent-hover); }

.important-info {
    grid-column: 1 / -1;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 25px 30px;
    border-radius: 4px;
}
.important-info h2 {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.important-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.event-image { margin-top: 20px; }
.event-image img { max-width: 100%; height: auto; border: 1px solid var(--border); }

/* Tables */
.table-responsive { overflow-x: auto; margin: 15px 0; }
.membership-section .table-responsive { overflow-x: visible; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}
.table th {
    background: var(--surface-3);
    color: var(--silver-light);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82em;
    border-bottom: 1px solid var(--border-light);
}
.table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.table tr:hover td { background: rgba(255,255,255,0.02); }

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.checklist li {
    color: var(--text-muted);
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.checklist li a {
    color: var(--accent-light);
    text-decoration: none;
}
.checklist li a:hover { color: var(--accent-hover); }

/* ============================================================
   HELP PAGE
   ============================================================ */
.help-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.help-links li {
    margin: 0;
}
.help-links li a {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    font-size: 1.0em;
    font-weight: 500;
    letter-spacing: 0.03em;
}
.help-links li:first-child a { border-top: 1px solid var(--border); }
.help-links li a::before {
    content: '›';
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.4em;
    line-height: 1;
    font-weight: 300;
    transition: margin-right 0.2s ease;
}
.help-links li a:hover {
    background: rgba(201,168,76,0.05);
    color: var(--accent-light);
    padding-left: 30px;
}
.help-links li a:hover::before {
    margin-right: 16px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.contact-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}
.contact-info {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
}
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 0.95rem;
}
.contact-info strong { color: var(--text-primary); }
.contact-info a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-info a:hover { color: var(--accent-hover); }

.contact-form-container {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 4px;
}
.contact-form-container h2 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.contact-form-group {
    margin-bottom: 20px;
}
.contact-form-group label {
    display: block;
    color: var(--silver);
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.contact-form-group input[type="text"],
.contact-form-group input[type="email"],
.contact-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface-3);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 0.95em;
    font-family: inherit;
    transition: border-color 0.25s ease;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
}
.contact-form-group textarea {
    height: 130px;
    resize: vertical;
}
.contact-submit-button {
    padding: 12px 35px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.contact-submit-button:hover { background: var(--accent-hover); }

/* ============================================================
   LOGIN HELP / FORGOT PASSWORD PAGES
   ============================================================ */
.login-help-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}
.login-help-container h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}

/* ============================================================
   PAGE TITLE CONTAINER (Events banner area)
   ============================================================ */
.page-title-container {
    text-align: center;
    padding: 0;
}
.page-title-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 25px 20px 15px;
}
.page-title-container p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ============================================================
   EVENTS PAGE
   ============================================================ */
@media screen {
    .event-grid {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .event-item {
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-left: 3px solid var(--accent);
        border-radius: 4px;
        padding: 25px;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .event-item:hover {
        border-color: var(--accent);
        border-left-color: var(--accent-hover);
        box-shadow: 0 4px 25px rgba(201,168,76,0.1);
    }
    .event-columns-container {
        display: flex;
        gap: 30px;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .event-column.left {
        flex: 0 0 280px;
        min-width: 160px;
    }
    .event-column.middle {
        flex: 0 0 220px;
        min-width: 180px;
    }
    .event-column.right {
        flex: 1;
        min-width: 200px;
    }
    .event-column.right h3 {
        font-size: 1.3em;
        color: var(--text-primary);
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 12px;
    }
    .event-description {
        color: var(--text-muted);
        line-height: 1.7;
        font-size: 0.95rem;
    }
    .event-details-group {
        margin-bottom: 12px;
    }
    .event-details-group p {
        color: var(--text-muted);
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .event-date-display {
        font-size: 1.2em !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        letter-spacing: 0.04em;
    }
    .separator-line {
        border-top: 1px solid var(--border);
        margin: 10px 0;
    }
    .event-costs p {
        color: var(--accent-light) !important;
        font-weight: 600;
        font-size: 0.95rem !important;
    }
    .event-actions {
        margin-top: 15px;
    }
    .event-actions button {
        padding: 9px 20px;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        font-size: 0.85em;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        transition: background 0.25s ease;
    }
    .event-actions button.primary {
        background: var(--accent);
        color: #000;
    }
    .event-actions button.primary:hover { background: var(--accent-hover); }
    .event-actions button.secondary {
        background: var(--surface-3);
        color: var(--text-muted);
        border: 1px solid var(--border-light);
    }
    .event-actions button:disabled {
        background: #333;
        color: #666;
        cursor: not-allowed;
    }
    .event-item-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border: 1px solid var(--border);
        border-radius: 2px;
        display: block;
    }
}

/* View Toggle (List / Calendar) */
.view-toggle-container {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}
.view-toggle-group {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}
.view-toggle-btn {
    padding: 8px 18px;
    background: var(--surface-2);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.view-toggle-btn:first-child {
    border-right: 1px solid var(--border-light);
}
.view-toggle-btn.active {
    background: var(--accent);
    color: #000;
}
.view-toggle-btn:hover:not(.active) {
    background: var(--surface-3);
    color: var(--text-primary);
}

/* ============================================================
   CALENDAR VIEW
   ============================================================ */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.cal-month-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    min-width: 220px;
    text-align: center;
}
.cal-nav-btn {
    background: var(--surface-2);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.cal-nav-btn:hover {
    background: var(--surface-3);
    border-color: var(--accent);
    color: var(--accent);
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}
.cal-day-header {
    background: var(--surface-3);
    text-align: center;
    padding: 10px 5px;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}
.cal-cell {
    background: var(--surface-2);
    border: 1px solid var(--border);
    min-height: 90px;
    padding: 8px 6px;
    position: relative;
    transition: background 0.2s ease;
}
.cal-cell-empty {
    background: var(--surface-1);
    border-color: var(--border);
}
.cal-cell-today {
    background: rgba(201,168,76,0.07);
    border-color: var(--accent) !important;
}
.cal-cell-past {
    opacity: 0.5;
}
.cal-day-num {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 5px;
    display: block;
}
.cal-cell-today .cal-day-num {
    color: var(--accent);
    font-size: 1em;
}
.cal-event-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--surface-3);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    border-radius: 3px;
    padding: 4px;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    margin-top: 3px;
    transition: background 0.2s ease, transform 0.15s;
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
}
.cal-event-pill:hover {
    background: var(--accent-hover);
}
.cal-pill-soldout {
    background: #3a3a3a;
    color: var(--text-muted);
}
.cal-pill-soldout:hover {
    background: #444;
}
.cal-pill-img {
    width: 100%;
    max-height: 55px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

/* Calendar Modal */
.cal-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.cal-modal-overlay.open {
    display: flex;
}
.cal-modal-box {
    background: var(--surface-2);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--accent);
    border-radius: 4px;
    max-width: 1000px;
    width: 92%;
    padding: 35px 30px 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}
.cal-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8em;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.cal-modal-close:hover { color: var(--text-primary); }
#cal-modal-content h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
#cal-modal-content .cal-modal-date {
    color: var(--accent-light);
    font-size: 0.9em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
#cal-modal-content .cal-modal-time {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 15px;
}
#cal-modal-content .cal-modal-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95em;
    margin-bottom: 18px;
}
#cal-modal-content .cal-modal-pricing {
    background: var(--surface-3);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
}
#cal-modal-content .cal-modal-pricing p {
    color: var(--accent-light);
    font-size: 0.9em;
    font-weight: 600;
    margin: 3px 0;
}
#cal-modal-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--border);
    margin-bottom: 18px;
    border-radius: 2px;
}

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}
.terms-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--accent);
}
.terms-header h1 {
    color: var(--text-primary);
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}
.terms-header .subtitle {
    color: var(--accent-light);
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}
.terms-intro {
    background: linear-gradient(135deg, #181818 0%, #111111 100%);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 22px 25px;
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}
.terms-section {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}
.terms-section.highlight-section {
    border-color: #dc3545;
}
.terms-section.highlight-section .terms-section-header {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
}
.terms-section.policy-section {
    border-color: #28a745;
}
.terms-section.policy-section .terms-section-header {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}
.terms-section-header {
    background: linear-gradient(135deg, #1e1a0e 0%, #2a2210 100%);
    border-left: 4px solid var(--accent);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.section-number {
    background: rgba(201,168,76,0.2);
    color: var(--accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid var(--accent);
}
.terms-section.highlight-section .section-number,
.terms-section.policy-section .section-number {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.section-title {
    color: var(--accent-light);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}
.terms-section.highlight-section .section-title,
.terms-section.policy-section .section-title {
    color: #fff;
}
.section-content {
    padding: 22px 25px;
}
.section-content p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.section-content p:last-child { margin-bottom: 0; }
.section-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.section-content ul li {
    color: var(--text-muted);
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}
.section-content ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.3em;
    line-height: 1;
    font-weight: 300;
}
.section-content strong { color: var(--text-primary); }
.section-content a {
    color: var(--accent-light);
    text-decoration: none;
}
.section-content a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Terms acceptance */
.terms-accept-container {
    background: var(--surface-3);
    border: 1px solid var(--border-light);
    border-top: 2px solid var(--accent);
    padding: 25px;
    border-radius: 4px;
    margin-top: 30px;
    text-align: center;
}
.terms-checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}
.terms-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}
.terms-checkbox-group label {
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
}
.terms-accept-btn {
    padding: 12px 40px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}
.terms-accept-btn:hover { background: var(--accent-hover); }
.terms-accept-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* ============================================================
   MEMBER PROFILE
   ============================================================ */
.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}
.profile-header-bar {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    padding: 25px 30px;
    border-radius: 4px;
    margin-bottom: 25px;
}
.profile-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.profile-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
    margin-bottom: -1px;
}
.profile-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.profile-tab:hover:not(.active) {
    color: var(--text-primary);
}
.profile-panel {
    display: none;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 4px;
}
.profile-panel.active { display: block; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px 20px;
}
.faq-category {
    margin-bottom: 35px;
}
.faq-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 18px;
    background: var(--surface-3);
    border-left: 3px solid var(--accent);
    margin-bottom: 3px;
}
.faq-item {
    background: var(--surface-2);
    border: 1px solid var(--border);
    margin-bottom: 2px;
    overflow: hidden;
}
.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}
.faq-question:hover { background: rgba(201,168,76,0.04); }
.faq-question::after {
    content: '+';
    color: var(--accent);
    font-size: 1.4em;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.25s ease;
}
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   GENERAL BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    padding: 11px 28px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 3px;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
    display: inline-block;
    padding: 11px 28px;
    background: var(--surface-3);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent-light);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px auto;
    max-width: 1200px;
}

/* ============================================================
   POLICY PAGE
   ============================================================ */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}
.policy-container h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}
.policy-section {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 25px 30px;
    margin-bottom: 20px;
}
.policy-section h2 {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.policy-section p,
.policy-section li {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ============================================================
   ERROR PAGES (403, 404)
   ============================================================ */
.error-page-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--border-light);
    line-height: 1;
    margin-bottom: 10px;
}
.error-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.error-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }
    .header-logo {
        order: 1;
    }
    .expect-content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content-wrapper {
        gap: 40px;
    }
    .hero-image {
        flex: 0 0 340px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    #main-nav {
        display: none;
        order: 4;
        width: 100%;
        background: var(--surface-1);
        border-top: 1px solid var(--border);
        padding: 10px 0;
    }
    #main-nav.active { display: block; }
    #main-nav ul {
        flex-direction: column;
    }
    #main-nav ul li {
        margin: 0;
    }
    #main-nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid var(--border);
    }
    .header-action-button {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
    }
    .hero-content-wrapper {
        flex-direction: column;
    }
    .hero-image {
        flex: none;
        width: 100%;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .expect-content-grid {
        grid-template-columns: 1fr;
    }
    .event-columns-container {
        flex-direction: column;
    }
    .event-column.left,
    .event-column.middle {
        flex: none;
        width: 100%;
    }
    .cal-grid {
        padding: 0 10px;
    }
    .cal-cell { min-height: 80px; }
    .cal-pill-img { display: block; max-height: 35px; }
    .cal-event-pill { font-size: 0.65em; padding: 2px 5px; }
    .view-toggle-btn { padding: 7px 12px; font-size: 0.78em; }
    .page-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .content-wrapper { padding: 25px 15px; }
    .membership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .header-logo img { height: 38px; }
    .header-action-button .button { padding: 7px 14px; font-size: 0.78em; }
    .page-title { font-size: 1.7rem; }
    .hero-title { font-size: 1.9rem; }
    .modal-content { padding: 30px 20px 25px; }
    .cal-day-header { font-size: 0.68em; padding: 6px 2px; }
    .cal-month-label { font-size: 1.1rem; }
}

.hidden { display: none !important; }
