* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #7fffd4, #5fdac0);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 30px;
}

/* GROUP CONTAINER */
#group1, #group2, #group3, #group4,#group5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 35px;
}

/* CARD */
.span {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px;
    color: #003333;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* SHORT CARD HEIGHT CONTROL */
.span h3 {
    font-size: 15px;
    margin: 8px 0;
}

/* IMAGE */
.img {
    height: 150px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

/* HOVER EFFECT */
.span:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

/* BUTTONS */
.live, .code {
    width: 100%;
    padding: 9px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

/* BUTTON COLORS */
.live {
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: white;
}

.live:hover {
    background: linear-gradient(135deg, #00c853, #009624);
}

.code {
    background: rgba(0,0,0,0.1);
    color: #003333;
}

.code:hover {
    background: rgba(0,0,0,0.2);
}
a{
    text-decoration: none;
    color: white;

}
