:root {
    --primary: #499167;
    --primary-dark: #3a7554;
    --primary-light: #6bab8a;
    --bg-base: #fdfcf9;
    --bg-card: #ffffff;
    --text-primary: #2d2d2d;
    --text-secondary: #6b6b6b;
    --shadow-soft: rgba(73, 145, 103, 0.08);
    --shadow-medium: rgba(73, 145, 103, 0.15);
    --shadow-strong: rgba(73, 145, 103, 0.25);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Atmosphere */
.background-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -10%;
    right: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    bottom: -15%;
    left: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.logo-container {
    margin-bottom: 24px;
    animation: grow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

@keyframes grow {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px var(--shadow-soft));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-placeholder:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px var(--shadow-soft);
    opacity: 0;
    transform: translateY(30px);
    animation: growIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.link-card[data-delay="0"] { animation-delay: 0.3s; }
.link-card[data-delay="1"] { animation-delay: 0.4s; }
.link-card[data-delay="2"] { animation-delay: 0.5s; }
.link-card[data-delay="3"] { animation-delay: 0.6s; }
.link-card[data-delay="4"] { animation-delay: 0.7s; }
.link-card[data-delay="5"] { animation-delay: 0.8s; }

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

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.link-card:hover::before {
    opacity: 0.08;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px var(--shadow-medium);
    border-color: var(--primary-light);
}

.link-card:active {
    transform: translateY(-2px) scale(1.01);
}

.link-icon {
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-card:hover .link-icon {
    transform: rotate(10deg) scale(1.2);
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.link-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.link-card:hover .link-title {
    color: var(--primary-dark);
}

.link-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.link-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-card:hover .link-arrow {
    transform: translateX(8px);
}

/* Footer */
.footer {
    text-align: center;
    animation: fadeIn 1s ease 1s backwards;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 40px 20px 32px;
    }

    .title {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .link-card {
        padding: 20px 24px;
        gap: 16px;
    }

    .link-icon {
        font-size: 1.75rem;
    }

    .link-title {
        font-size: 1.125rem;
    }

    .link-description {
        font-size: 0.875rem;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 2rem;
    }

    .link-card {
        padding: 18px 20px;
    }

    .logo-placeholder {
        width: 100px;
        height: 100px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.link-card:focus-visible,
.social-icon:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}
