:root {
    --primary: #c9a77e;
    --primary-dark: #b08d62;
    --text-light: #f8f8f8;
    --glass-bg: rgba(25, 25, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body,
html {
    min-height: 100%;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    color: var(--text-light);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    overflow-y: auto;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 220px;
    opacity: 0.8;
    animation: pulse 2s infinite ease-in-out;
    margin-bottom: 2rem;
    filter: invert(1);
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* Background Video */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    transition: opacity 2s ease;
}

/* Main Content */
.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    animation: slideDown 1.5s ease 0.5s both;
}

.logo {
    height: 140px;
    max-width: 420px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    padding-bottom: 4px;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.social-link:hover::after {
    left: 0;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    margin: auto 0;
    animation: fadeIn 2s ease 1s both;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 i {
    color: var(--primary);
    font-style: italic;
}

.subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Newsletter form */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: var(--transition);
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.glass-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.notify-form {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.input-group {
    flex-grow: 1;
    position: relative;
}

input[type="email"] {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(201, 167, 126, 0.3);
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button.btn-notify {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0 2rem;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

button.btn-notify:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    animation: slideUp 1.5s ease 0.5s both;
    font-size: 0.85rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Utilities & Animations */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: black;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
        gap: 2rem;
    }

    header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-links {
        align-self: center;
    }

    .notify-form {
        flex-direction: column;
    }

    button.btn-notify {
        padding: 1rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
