/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 24px 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header h1 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: red; // #222;
    letter-spacing: 0.5px;
}

/* Links grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    padding: 24px;
    flex: 1;
}

/* Card base */
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    //background: rgba(255, 255, 255, 0.7);//
    background: red;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

/* Image */
.link-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid transparent;
    background: red; //#fafafa;
    transition: border 0.3s ease, transform 0.3s ease;
}

.link-card:hover img {
    transform: scale(1.08);
}

/* Text */
.link-card span {
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* Footer */
footer {
    padding: 14px;
    text-align: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
}

/* Category accents */
.link-card.basket img {
    border-color: #ff7675;
}

.link-card.basket:hover {
    box-shadow: 0 10px 28px rgba(255, 118, 117, 0.25);
}

.link-card.voli img {
    border-color: #74b9ff;
}

.link-card.voli:hover {
    box-shadow: 0 10px 28px rgba(116, 185, 255, 0.25);
}

.link-card.futsal img {
    border-color: #55efc4;
}

.link-card.futsal:hover {
    box-shadow: 0 10px 28px rgba(85, 239, 196, 0.25);
}

.link-card.general img {
    border-color: #ffeaa7;
}

.link-card.general:hover {
    box-shadow: 0 10px 28px rgba(255, 234, 167, 0.25);
}

/* Responsiveness tweaks */
@media (max-width: 500px) {
    .link-card img {
        width: 72px;
        height: 72px;
    }

    header h1 {
        font-size: 1.4rem;
    }
}