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

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-gold: #d4af37;
    --accent-light: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Grain texture overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animated gradient background */
.bg-gradient {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    opacity: 0.15;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 50%
    );
    animation: rotate 30s linear infinite;
}

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

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
}

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

.logo-container {
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.2));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.4));
}

.title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.title-line {
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        var(--accent-gold) 50%,
        var(--text-primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
    animation: fadeIn 1.8s ease-out;
}

.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-gold),
        transparent
    );
    margin: 3rem auto;
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.contact-section {
    margin-top: 3rem;
    animation: fadeIn 2s ease-out;
}

.contact-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.email {
    font-size: 1.1rem;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.email:hover {
    color: var(--text-primary);
}

.email:hover::after {
    width: 100%;
}

.footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    animation: fadeIn 2.5s ease-out;
}

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

    .logo {
        max-width: 150px;
    }

    .logo-container {
        margin-bottom: 2rem;
    }

    .title {
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }

    .subtitle {
        margin-bottom: 2rem;
    }

    .divider {
        margin: 2rem auto;
    }

    .contact-section {
        margin-top: 2rem;
    }

    .footer {
        bottom: 1.5rem;
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 120px;
    }

    .title {
        letter-spacing: 0.08em;
    }

    .email {
        font-size: 1rem;
    }
}

/* High-end animations for supported browsers */
@media (prefers-reduced-motion: no-preference) {
    .content {
        animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* Dark mode optimization (already dark, but for completeness) */
@media (prefers-color-scheme: light) {
    /* Keep dark theme even in light mode preference for luxury feel */
    body {
        background-color: var(--primary-dark);
    }
}
