* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f1a;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    padding: 2rem;
    width: 100%;
    max-width: 1400px;
}

h1 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    background: linear-gradient(45deg, #ff6b6b, #f9c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 8px;
    flex-wrap: nowrap;
}

.card, .card-half, .card-third {
    position: relative;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card {
    height: 144px;
}

.card-half {
    height: 64px;
}

.card-third {
    height: 40px;
}

.card-half-container, .card-third-container {
    width: 300px;
    display: flex;
    flex-direction: column;
}

.card-half-container {
    gap: 16px;
}

.card-third-container {
    gap: 12px;
}

.card h2 {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: background 0.3s ease;
}

.card:hover .overlay {
    background: rgba(0, 0, 0, 0.4);
}

.digital {
    background: linear-gradient(45deg, #7c3aed, #6a3db7);
}

@media (max-width: 968px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card, .card-half-container, .card-third-container {
        width: 100%;
        max-width: 300px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
}