:root {
    --bg-dark: #07080A;
    --bg-light: #ffffff;
    --text-dark: #ffffff;
    --text-light: #000000;
    --active: #16A34A;
    --actived: #159946;
    --card-bg: #08090c;
}

.hobbies-section {
    max-width: 1200px;
    margin: 100px auto 0 auto;
    text-align: center;
}

.hobbies-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.light-mode h2 {
    color: var(--text-light);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.hobby-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.hobby-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--active);
    box-shadow: 0 8px 24px var(--active);
}

.hobby-card i {
    font-size: 2rem;
    color: var(--active);
    margin-bottom: 1rem;
}

.hobby-card h3 {
    font-size: 1.2rem;
    font-family: "Poppins", sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hobby-card p {
    font-size: 0.95rem;
    font-family: "Roboto", sans-serif;
    color: var(--text-dark);
    font-weight: 300;
    line-height: 1.5;
}

.light-mode p {
    color: var(--text-light);
}

.light-mode .hobby-card {
    background-color: var(--bg-light);
    border: 1px solid var(--text-light);
}

.light-mode .hobby-card:hover {
    box-shadow: 0 8px 24px var(--shadow-dark);
    transform: translateY(-5px);
    border: 1px solid #000;
}

/* Responsive fallback */
@media (max-width: 600px) {
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
}