/* --- Glassmorphism Theme Variables --- */
:root {
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    
    /* True Glass Colors */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Beautiful, static beach background */
    background-image: url('https://images.unsplash.com/vector-1766842588876-591129f691a0?q=80&w=1616&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden; /* Prevent body scroll, only internal panel scrolls */
}

/* --- Muted Background Overlay --- */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark slate overlay to sober up the bright image and provide contrast for the glass */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    z-index: 1;
}

/* --- Layout --- */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px; 
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

/* --- Glass Panel --- */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
}

/* --- Header --- */
.panel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.brand {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* --- Scrollable Area --- */
.scroll-area {
    max-height: 320px; 
    overflow-y: auto;
    padding-right: 1.5rem; 
    margin-right: -1.5rem; 
    margin-bottom: 2rem;
}

/* Glassmorphism Custom Scrollbar */
.scroll-area::-webkit-scrollbar {
    width: 6px;
}
.scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}
.scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* --- Language Blocks --- */
.lang-block {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.lang-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.lang-block p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    margin: 0;
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    margin: 1.5rem 0;
}

/* --- Contact Footer --- */
.panel-footer {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.contact-prompt {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

/* Glassmorphism Button */
.btn-primary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    padding: 0.8rem 2.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #0f172a; /* Inverts to dark text on hover for contrast */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* --- Subtle Entrance Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}

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

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .glass-panel {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .scroll-area {
        max-height: 35vh; 
        padding-right: 1rem;
        margin-right: -1rem;
    }

    .lang-block {
        flex-direction: column;
        gap: 0.75rem;
    }

    .lang-badge {
        margin-top: 0;
    }

    .lang-block p {
        font-size: 0.95rem;
    }

    .panel-footer {
        padding-top: 1.5rem;
    }

    .contact-prompt {
        font-size: 0.9rem;
    }

    .btn-primary {
        width: 100%;
    }
}