:root {
    --primary-color: #007377;
    --secondary-color: #1e40af;
    --background-color: #ffffff8e;
    --card-background: #ffffff83;
    --text-color: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --section-bg-1: #b7fae694;
    --section-bg-2: #bfc8ff91;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 12px;
}

.category:nth-child(1) {
    background-color: var(--section-bg-1);
}

.category:nth-child(2) {
    background-color: var(--section-bg-2);
}

h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    display: inline-block;
}

.category:nth-child(1) h2 {
    color: #1d4ed8;
}

.category:nth-child(2) h2 {
    color: #15803d;
}

h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.link-card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.link-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.link-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .category {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.8rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .category {
        padding: 0.8rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    .link-card {
        padding: 0.8rem;
    }
    
    .link-card h4 {
        font-size: 0.95rem;
    }
    
    .link-card p {
        font-size: 0.8rem;
    }
} 