:root {
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8529;
    --black-bg: #050505;
    --black-panel: rgba(15, 15, 15, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

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

body {
    background-color: var(--black-bg);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    height: 100dvh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="https://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    max-width: 800px;
    padding: 2vh 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4vh; /* Flexible spacing between logo and content */
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Removed margin-bottom since container gap handles spacing scaling nicely */
    animation: fadeInDown 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transition: transform 0.5s ease;
}

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

.logo-container:hover .logo {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
}

.logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.15));
    transition: filter 0.5s ease;
}

.logo-text-img {
    max-width: 350px;
    height: auto;
    margin-top: 1.5rem;
}

.content {
    background: var(--black-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: 4vh 3rem;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    letter-spacing: 2.5px;
    text-align: center;
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 3vh auto;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    opacity: 0.8;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.email-icon {
    display: flex;
    color: var(--gold-primary);
    transition: transform 0.4s ease;
}

.email-link:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.email-link:hover .email-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Background Animated Glows */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    animation: float 15s infinite ease-in-out alternate;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: var(--gold-dark);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.4);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 20s;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .content {
        padding: 2.5rem 1.5rem;
    }

    .logo {
        max-width: 200px;
    }

    .logo-text-img {
        max-width: 280px;
        width: 85%;
        margin-top: 1.5vh;
    }
    
    .subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        letter-spacing: 1.5px;
    }

    .email-link {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1vh 1rem;
        gap: 2vh;
    }
    
    .content {
        padding: 3vh 1rem;
    }
    
    .logo {
        max-width: 140px;
    }

    .logo-text-img {
        max-width: 220px;
        width: 90%;
        margin-top: 1vh;
    }

    .subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        letter-spacing: 1px;
    }
    
    .divider {
        margin: 2vh auto;
    }
}
