/* 1. Globalni Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #000; /* Potpuno crna za maksimalan kontrast */
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    overflow-x: hidden;
}

/* 2. Naslov sa suptilnom animacijom */
h1 {
    font-size: clamp(2rem, 8vw, 3.5rem); /* Responzivna veličina */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 60px;
    background: linear-gradient(to bottom, #fff 30%, rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Grid koji se prilagođava ekranu */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

/* 4. "Bento" kocke */
.container a {
    text-decoration: none;
    position: relative;
    border-radius: 28px;
    padding: 2px; /* Prostor za svjetleći rub */
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

button {
    width: 100%;
    height: 250px;
    background: #0a0a0a; /* Tamna unutrašnjost kocke */
    border: none;
    border-radius: 26px;
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* 5. Svjetleći Hover Efekt (Glow) */
.container a:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #00f2ff, #7000ff, #ff00c8);
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.3);
}

.container a:hover button {
    background: #000; /* Još tamnije na hover za kontrast */
    color: #fff;
}

/* Ukrasni detalj: Mala točkica koja pulsira */
button::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: 0.4s;
}

.container a:hover button::before {
    background: #00f2ff;
    box-shadow: 0 0 15px #00f2ff;
}

/* Uklanjanje neželjenog razmaka */
br {
    display: none;
}

/* Responzivnost */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    button {
        height: 180px;
    }
}