:root {
    --primary-color: #42745c;
    --primary-hover: #355d4a;
    --bg-color: #f6f2ed;
    --text-color: #1a1a1a;
    --text-muted: #4a4a4a;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.main-logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.category-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.category-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(66, 116, 92, 0.1);
}

.links-list {
    display: grid;
    gap: 0.75rem;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-subtle);
    border: 1px solid transparent;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.link-card.highlight {
    background-color: var(--primary-color);
    color: var(--white);
}

.link-card.highlight .link-name {
    font-weight: 500;
}

.link-card.highlight:hover {
    background-color: var(--primary-hover);
    border-color: transparent;
}

.link-name {
    font-size: 1.05rem;
    font-weight: 400;
}

.link-arrow {
    font-size: 1.2rem;
    transition: transform var(--transition-speed) ease;
}

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

.footer {
    margin-top: auto;
    padding: 4rem 0 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations Delay */
.category-section:nth-child(1) { transition-delay: 0.1s; }
.category-section:nth-child(2) { transition-delay: 0.2s; }
.category-section:nth-child(3) { transition-delay: 0.3s; }
.category-section:nth-child(4) { transition-delay: 0.4s; }

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #dcd7d0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc7c0;
}
