/* Color Palette:
   Primary: #4a5d4e (Sage Green)
   Primary Light: #5f7a65
   Accent: #d4a373 (Soft Gold/Camel)
   Text: #333333
   Background: #faf9f6 (Off-white)
*/

:root {
    --primary-color: #4a5d4e;
    --primary-light: #5f7a65;
    --accent-color: #d4a373;
    --text-color: #333333;
    --bg-color: #faf9f6;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Semi-transparent overlay to make text readable */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(250, 249, 246, 0.9) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    margin: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 220px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.tagline {
    font-family: 'Great Vibes', cursive;
    color: var(--primary-color);
    font-size: 2.2rem;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: -0.5rem;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--white);
    padding: 1rem 1.2rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(74, 93, 78, 0.15);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    border-radius: 50px;
}

.social-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.social-link:hover {
    box-shadow: 0 10px 25px rgba(74, 93, 78, 0.15);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.2rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border: 1px solid rgba(74, 93, 78, 0.05);
}

.social-link:hover .icon-wrapper {
    background-color: var(--white);
    color: var(--primary-color);
    transform: rotate(360deg);
}

.social-link span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

footer {
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .container {
        padding: 2.5rem 1.5rem;
        margin: 1rem;
        border-radius: 20px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .social-link {
        padding: 0.8rem 1rem;
    }
    
    .icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .social-link span {
        font-size: 1rem;
    }
}
