/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #0a0a0a;
    color: #c9a961;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.request-access-link {
    color: #c9a961;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.request-access-link:hover {
    color: #d4b76a;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
}

.logo-image {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.3));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 0 30px rgba(201, 169, 97, 0.5));
    transform: scale(1.05);
}

/* Tagline */
.tagline {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #c9a961;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* CTA Button */
.cta-button {
    background: transparent;
    border: 2px solid rgba(201, 169, 97, 0.3);
    color: #c9a961;
    padding: 15px 40px;
    font-size: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;
}

.cta-button:hover {
    background: linear-gradient(135deg, #c9a961, #d4b76a);
    color: #0a0a0a;
    border-color: #c9a961;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    transform: translateY(-2px);
}

.cta-icon {
    margin-right: 10px;
}

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

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

.modal {
    background: #1a1a1a;
    border: 2px solid #c9a961;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.3);
    padding-bottom: 20px;
}

.modal-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #c9a961;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #c9a961;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #d4b76a;
}

.modal-subtitle {
    font-size: 16px;
    color: #c9a961;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

/* Form Styles */
.access-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    color: #c9a961;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    background: #0a0a0a;
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: #c9a961;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #c9a961;
    background: #1a1a1a;
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.2);
}

.form-group input::placeholder {
    color: rgba(201, 169, 97, 0.5);
}

.referral-hint {
    font-size: 14px;
    color: rgba(201, 169, 97, 0.7);
    margin-top: 5px;
    font-style: italic;
}

.privacy-notice {
    font-size: 14px;
    color: rgba(201, 169, 97, 0.8);
    text-align: center;
    font-style: italic;
    margin-top: 10px;
}

.submit-button {
    background: transparent;
    border: 2px solid #c9a961;
    color: #c9a961;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
}

.submit-button:hover:not(:disabled) {
    background: #c9a961;
    color: #0a0a0a;
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #c9a961;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4b76a;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(201, 169, 97, 0.6);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #2d5a2d;
    border: 1px solid #4a8f4a;
}

.notification.error {
    background: #5a2d2d;
    border: 1px solid #8f4a4a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .logo-image {
        width: 250px;
    }
    
    .tagline {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .modal {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
