:root {
    --primary-orange: #FF8C00;
    --dark-orange: #E67E00;
    --light-orange: #FFB347;
    --white: #FFFFFF;
    --dark-grey: #333333;
    --overlay-color: rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--white);
    background-color: #000;
    overflow-x: hidden;
}

#bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 2;
}

.main-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.hero-logo {
    width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.title-container {
    margin-bottom: 40px;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin: 0;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.highlight {
    color: var(--primary-orange);
}

.sub-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: 15px;
    font-weight: 300;
    color: #eee;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 350px;
}

.btn {
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-orange);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--white);
    transform: translateY(-3px) scale(1.02);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: white;
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    padding: 35px;
    border-radius: 24px;
    color: var(--dark-grey);
    position: relative;
    animation: slideUp 0.5s ease-out;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal h2 {
    color: var(--primary-orange);
    margin-top: 0;
    margin-bottom: 20px;
}

#registrationForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: right;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-orange);
    outline: none;
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

.radio-item input,
.checkbox-item input {
    width: auto;
    cursor: pointer;
}

.submit-btn {
    grid-column: 1 / -1;
    padding: 15px;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s,
        transform 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
}

/* Footer / Contact */
.contact-section {
    margin-top: 50px;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s;
}

.contact-item a:hover {
    border-color: var(--primary-orange);
}

.whatsapp-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wa-btn {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.wa-btn:hover {
    transform: scale(1.05);
    background: #128C7E;
}

.copy-text {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Auth Gating */
#gated-content {
    display: none;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    color: #333;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.restricted-message {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 12px;
    color: #c53030;
}

.restricted-message a {
    color: #c53030;
    font-weight: bold;
    text-decoration: underline;
}