/* CSS Reset and Variables */
:root {
    --color-primary: #D4AF37; /* Gold */
    --color-primary-dark: #B5952F;
    --color-bg-dark: #0A0A0A;
    --color-text-light: #F5F5F5;
    --color-text-muted: #B0B0B0;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s ease-in-out infinite;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
    z-index: 1;
}

/* Background Video */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Lowered opacity */
    z-index: -2;
}



/* Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: -1;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
}

.contact-link a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    display: inline-block;
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(5px);
}

.contact-link a:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Main Content Wrapper */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    margin-top: 4rem;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFF, #D4AF37, #B5952F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

.description {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 0 auto 2rem auto;
}

.features-list {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 5rem;
}

.features-list span {
    margin: 0 10px;
}

/* Signup Form */
.signup-container p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.signup-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.signup-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.signup-form input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-gold {
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background-color: #FFF;
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.success-message {
    margin-top: 1.5rem;
    color: #4BB543;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Footer */
.footer-elements {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up-active {
    animation: fadeUp 1s ease forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .description {
        font-size: 1.2rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .btn-gold {
        width: 100%;
    }
}
