body {
    background: linear-gradient(to bottom, #1a1a1a 0%, #2a2a2a 100%);
    background-size: 100% 300%;
    animation: gradientShift 6s ease-in-out infinite;
    color: #fff;
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    opacity: 0.8;
}

.distros-container {
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #888;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.distro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

@media (min-width: 1200px) {
    .distro-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .distro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .distro-grid {
        grid-template-columns: 1fr;
    }
}

.distro-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.distro-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.distro-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.distro-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.distro-card .description {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.links-section {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.links-section a {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.4) 0%, rgba(156, 163, 175, 0.2) 100%);
    border: 1px solid rgba(156, 163, 175, 0.3);
    border-radius: 10px;
    color: #f3f4f6;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.links-section a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.links-section a:hover:before {
    left: 100%;
}

.links-section a:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.5) 0%, rgba(156, 163, 175, 0.3) 100%);
    transform: translateY(-2px);
    border-color: rgba(209, 213, 219, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(156, 163, 175, 0.1);
    color: #ffffff;
}

.pros-cons {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
}

.pros, .cons {
    flex: 1;
    text-align: center;
}

.pros h4, .cons h4 {
    color: #4a9eff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li, .cons li {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.pros li:before {
    content: "✓ ";
    color: #4ade80;
    font-weight: bold;
}

.cons li:before {
    content: "✗ ";
    color: #f87171;
    font-weight: bold;
}

@media (max-width: 768px) {
    .distros-container {
        max-width: 95%;
        padding: 1rem;
    }

    .distro-card {
        padding: 1rem;
        min-height: 350px;
    }

    .distro-card img {
        width: 48px;
        height: 48px;
    }

    .pros-cons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .links-section {
        flex-direction: column;
        gap: 0.5rem;
    }

    .links-section a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }
    20% {
        background-position: 0% 20%;
    }
    40% {
        background-position: 0% 10%;
    }
    60% {
        background-position: 0% 5%;
    }
    80% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}
