/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-dani: #3b82f6;
    --accent-seb: #10b981;
    --hover-effect: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

/* H1 removed or kept for screen readers, replaced by banner-img */
.banner-img {
    width: 100%;
    max-width: 100%;
    height: 100px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    animation: fadeInDown 1s ease-out;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 5rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 260px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Specific styling */
.card.dany:hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    border-color: var(--accent-dani);
}

.card.dany h2 {
    color: var(--accent-dani);
}

.card.seb:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
    border-color: var(--accent-seb);
}

.card.seb h2 {
    color: var(--accent-seb);
}

@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 350px;
        height: auto;
        padding: 3rem 2rem;
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-tech {
    width: 100%;
    height: auto;
    min-height: 0;
    background-color: #1a0b2e;
    background-image:
        linear-gradient(rgba(118, 74, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 74, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(118, 74, 255, 0.4), inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInDown 1s ease-out;
    border: 2px solid #764aff;
    padding: 0.5rem 1rem;
}

.banner-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(67, 27, 133, 0.4) 0%, rgba(26, 11, 46, 0.8) 100%);
    z-index: 0;
}

.banner-tech h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #ffd700;
    /* Gold/Yellow core */
    z-index: 1;
    text-transform: uppercase;
    text-shadow: none;
    background: linear-gradient(180deg, #fffacd 0%, #ffd700 50%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(4px 4px 0px #64748b);
    /* Grey shadow */
    letter-spacing: 2px;
}

.banner-tech::after {
    /* Scanline effect */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 2;
}

.home-button {
    position: static;
    display: flex;
    align-items: center;
    background: rgba(118, 74, 255, 0.2);
    border: 1px solid #764aff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.home-button:hover {
    background: rgba(118, 74, 255, 0.4);
    box-shadow: 0 0 15px rgba(118, 74, 255, 0.5);
    color: #ffd700;
    transform: translateY(-2px);
}

.header-row {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        align-items: center;
    }

    .banner-tech {
        width: 100%;
        margin-bottom: 1rem;
    }

    .home-button {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
}