* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #0b1a3a, #000000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden; /* 🔥 blokada scrolla w prawo */
    overflow-y: hidden;
    position: relative;
}

/* subtle animated background */
body::before {
    content: '';
    position: absolute;
    inset: 0; /* 🔥 zamiast width:200% height:200% */
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveBg 30s linear infinite;
    z-index: 0;
}

@keyframes moveBg {
    from { transform: translate(0,0); }
    to { transform: translate(-200px,-200px); }
}

.container {
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    width: 100%;
}

.logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

/* tablet */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* mobile */
@media (max-width: 600px) {

    body {
        align-items: flex-start;
        overflow-y: auto;
        padding: 20px 0;
    }

    .logo {
        max-width: 320px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tile {
        padding: 35px 15px;
    }
}

.tile {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 45px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

/* glow border */
.tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(122,162,255,0.6), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: 0.3s;
}

.tile:hover::before {
    opacity: 1;
}

.tile:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.tile h2 {
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.tile p {
    font-size: 14px;
    opacity: 0.65;
}

/* color accents */
.tile:nth-child(1) { border-top: 3px solid #44718E; }
.tile:nth-child(2) { border-top: 3px solid #70CCDB; }
.tile:nth-child(3) { border-top: 3px solid white; }
.tile:nth-child(4) { border-top: 3px solid #49008a; }
.tile:nth-child(5) { border-top: 3px solid #a32f49; }
.tile:nth-child(6) { border-top: 3px solid #430101; }