/* Existing Styles Preserved (Minified or not) - Appending New Styles */

/* Base overrides for Artistic Design */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.home-card {
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* Reset inherited styles */
    background: transparent;
    padding: 0;
}

.home-card h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 5;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Glass/Shine Effect */
.home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.home-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.home-card:hover::after {
    transform: scale(1.2);
    opacity: 1;
}

.home-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.home-card:hover h3 {
    transform: scale(1.1);
}

/* Individual Artistic Styles */

/* SDV: Blue Tech Gradient */
.card-sdv {
    background: linear-gradient(135deg, #00C6FF, #0072FF);
}

/* Voice: Deep Purple Gradient */
.card-voice {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    /* Or a more vibrant purple */
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

/* Timekeeper: Golden Hour */
.card-time {
    background: linear-gradient(135deg, #F2994A, #F2C94C);
}

/* Vocabulary: Fresh Green / Education */
.card-vocab {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* OCR: Dark Matrix / High Tech */
.card-ocr {
    background: linear-gradient(135deg, #232526, #414345);
}

/* Game: Fun & Playful */
.card-game {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
}