:root {
    --primary-color: #002D5B;
    --secondary-color: #D4AF37;
    --text-color: #002D5B; /* Navy text for professional look */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 45, 91, 0.15);
    --hover-bg: rgba(212, 175, 55, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    /* Prevents system dark mode from auto-inverting colors */
    color-scheme: light;
}

/* Background Image & Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/background_luxury.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle vignette to focus on the center content */
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    position: relative;
    padding: 20px 0;
    /* Soft glow behind logo */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.logo {
    max-width: 280px;
    height: auto;
    /* Professional shadow to give depth on light background */
    filter: drop-shadow(0 8px 16px rgba(0, 45, 91, 0.15));
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37 !important;
    
    /* Force colors to remain the same even in system dark mode */
    color-scheme: light !important;
    
    /* Professional black outline that resists inversion */
    text-shadow: 
        -0.5px -0.5px 0 rgba(0, 0, 0, 1) !important,  
         0.5px -0.5px 0 rgba(0, 0, 0, 1) !important,
        -0.5px  0.5px 0 rgba(0, 0, 0, 1) !important,
         0.5px  0.5px 0 rgba(0, 0, 0, 1) !important;
    
    /* Webkit stroke with explicit black color */
    -webkit-text-stroke: 0.4px #000000 !important;
    -webkit-text-fill-color: #D4AF37 !important;
    
    opacity: 1;
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.link-button {
    text-decoration: none;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 45, 91, 0.1);
    padding: 22px 30px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 45, 91, 0.06);
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.link-button:hover {
    transform: translateY(-5px);
    background: var(--hover-bg);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.link-button:hover::before {
    left: 100%;
}

.icon-wrapper {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.link-button:hover .icon-wrapper {
    transform: scale(1.1);
}

.link-button span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 20px;
}

.footer p {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.creator-link {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-logo {
    width: 60px;
    height: auto;
    opacity: 0.9;
    transition: var(--transition);
    margin-bottom: 5px;
}

.creator-link span {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.8;
}

.creator-link:hover {
    opacity: 1;
}

.creator-link:hover .footer-logo {
    transform: scale(1.1);
    opacity: 1;
}

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

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Desktop Adaptation */
@media (min-width: 768px) {
    .container {
        padding: 80px 20px;
    }
    
    .logo {
        max-width: 280px;
    }
    
    .link-button {
        padding: 25px 40px;
    }
    
    .link-button span {
        font-size: 18px;
    }
}
