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

:root {
    --gold: #D4AF37;
    --gold-light: #E8C547;
    --gold-dark: #B8960C;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
}

body {
    min-height: 100vh;
    background-image: url('attached_assets/Gemini_Generated_Image_gqbebugqbebugqbe_1765909714342.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.established {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 30px;
    margin-top: 0;
}

.art-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.art-wrapper .event-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #ffffff;
    margin-top: 15px;
}

.art-container {
    width: 380px;
    height: 380px;
    overflow: hidden;
    position: relative;
}

.art-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--gold);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.access-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 320px;
}

.access-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.access-input::placeholder {
    color: var(--gold);
    opacity: 0.7;
}

.access-input:focus {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
}

.enter-btn {
    width: 100%;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: none;
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.enter-btn:active {
    transform: translateY(0);
}

.footer-text {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tagline-gold {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--gold);
    line-height: 1.8;
    max-width: 500px;
}

@media (max-width: 768px) {
    .art-container {
        width: 300px;
        height: 300px;
    }
    
    .title {
        font-size: 48px;
        letter-spacing: 6px;
        margin-top: -35px;
    }
    
    .access-form {
        max-width: 280px;
    }
    
    .tagline-gold {
        font-size: 10px;
        padding: 0 20px;
    }
    
    .event-large {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .established {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 15px;
        padding: 5px 0 0 0;
    }
    
    .art-container {
        width: 260px;
        height: 260px;
    }
    
    .title {
        font-size: 36px;
        letter-spacing: 4px;
        margin-top: -28px;
    }
    
    .access-input {
        font-size: 10px;
        padding: 12px 16px;
    }
    
    .enter-btn {
        font-size: 12px;
        padding: 12px 30px;
    }
    
    .tagline-gold {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 0 15px;
    }
    
    .event-large {
        font-size: 16px;
        letter-spacing: 2px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid var(--gold);
    padding: 50px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 15px;
}

.modal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 35px;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.modal-input::placeholder {
    color: var(--gold);
    opacity: 0.6;
}

.modal-input:focus {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
}

.modal-btn {
    width: 100%;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: none;
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

@media (max-width: 480px) {
    .modal {
        padding: 40px 25px;
    }
    
    .modal-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .modal-subtitle {
        font-size: 10px;
    }
    
    .modal-input {
        font-size: 10px;
        padding: 12px 16px;
    }
    
    .modal-btn {
        font-size: 11px;
        padding: 12px 30px;
    }
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 11px;
    color: #888;
    line-height: 1.5;
    margin: 5px 0;
}

.consent-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--gold);
    background: rgba(20, 20, 20, 0.8);
    cursor: pointer;
    margin-top: 2px;
}

.consent-label input[type="checkbox"]:checked {
    background: var(--gold);
}

.consent-label input[type="checkbox"]:checked::after {
    content: '\2713';
    display: block;
    text-align: center;
    color: var(--black);
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
}

.consent-label a {
    color: var(--gold);
    text-decoration: none;
}

.consent-label a:hover {
    text-decoration: underline;
}

.legal-footer {
    margin-top: 30px;
    font-size: 10px;
    letter-spacing: 1px;
}

.legal-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-footer a:hover {
    color: var(--gold);
}

.legal-footer .separator {
    color: #444;
    margin: 0 10px;
}

.ada-btn {
    background: transparent;
    border: 1px solid #666;
    color: #666;
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}
.ada-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.ada-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1a1a1a;
    border: 1px solid var(--gold);
    padding: 20px;
    z-index: 1001;
    display: none;
    min-width: 200px;
}
.ada-panel.active { display: block; }
.ada-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1px;
}
.ada-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
}
.ada-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ada-options button {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}
.ada-options button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

body.high-contrast {
    filter: contrast(1.3);
}
body.high-contrast .title,
body.high-contrast .tagline-gold,
body.high-contrast .established {
    color: #FFD700;
}

body.underline-links a {
    text-decoration: underline !important;
}

body.large-spacing {
    letter-spacing: 2px !important;
    line-height: 2 !important;
    word-spacing: 4px !important;
}
body.large-spacing * {
    letter-spacing: inherit;
    line-height: inherit;
    word-spacing: inherit;
}

body.dyslexia-font,
body.dyslexia-font * {
    font-family: 'Comic Sans MS', 'OpenDyslexic', Arial, sans-serif !important;
}

body.big-cursor,
body.big-cursor * {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%23D4AF37" stroke="%23000" d="M5 2l20 14-9 2 5 12-4 1-5-11-7 7z"/></svg>') 5 2, auto !important;
}

.reading-guide {
    position: fixed;
    left: 0;
    right: 0;
    height: 30px;
    background: rgba(212, 175, 55, 0.15);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    pointer-events: none;
    z-index: 9999;
}

.ada-reset {
    background: var(--gold) !important;
    color: #000 !important;
    border-color: var(--gold) !important;
    font-weight: 600;
}
.ada-reset:hover {
    background: var(--gold-light) !important;
}

.site-credits {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
}
.site-credits p {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: #555;
    margin: 5px 0;
    text-transform: uppercase;
}
.site-credits a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}
.site-credits a:hover {
    color: var(--gold);
}
.site-credits .copyright {
    color: #444;
}
.site-credits .trademark {
    font-size: 9px;
    color: #333;
}
