/* --- FONT & GLOBAL STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;900&display=swap');

body {
    background-color: #FFFFFF;
    font-family: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
    color: #060507;
}

*:focus-visible {
    outline: 2px solid rgba(6, 5, 7, 0.35);
    outline-offset: 2px;
}

/* --- LAYOUT CONTAINER --- */
.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    /* Mobile padding */
}

/* --- PAGE TITLE --- */
h1 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    /* Bigger mobile size */
    line-height: 1.1;
    color: #060507;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* --- STARTUPS GRID --- */
.startups-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile */
    gap: 24px;
    /* Mobile */
    margin-bottom: 40px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* --- STARTUP TILE --- */
.startup-tile {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Ensures gradients/backgrounds respect the border-radius */
}

.startup-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.startup-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 28px;
}

/* --- TILE BACKGROUNDS --- */
.tile-bniinn {
    background-color: #FF1576;
}

.tile-abajim {
    background-image: linear-gradient(135deg, #18C9B9 0%, #3A57C7 100%);
}

.tile-readonly {
    background-color: #2B2B2B;
}

.tile-auzy {
    background-color: #8B5CF6;
}

.tile-parkito {
    background-color: #2D2F8E;
}

.tile-funnycation {
    background:
        /* Green base at the bottom */
        linear-gradient(#7ED957, #7ED957) bottom/100% 16px no-repeat,
        /* Sunburst effect */
        repeating-conic-gradient(from 0deg, #FFE35A 0 12deg, #FFD84D 12deg 24deg);
    position: relative;
}

/* Radial glow sits "behind" the logo but on top of the other backgrounds */
.tile-funnycation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, #FFF3A0 0, transparent 70%);
}

/* Ensure logo is on top of the pseudo-element */
.tile-funnycation img {
    position: relative;
    z-index: 1;
}


/* --- LOAD MORE BUTTON --- */
.load-more {
    display: block;
    margin: 0 auto;
    height: 44px;
    padding: 0 28px;
    border-radius: 9999px;
    background-color: transparent;
    border: 1.5px solid rgba(6, 5, 7, 0.12);
    color: #060507;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- FOOTER --- */
footer {
    text-align: left;
    padding: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

footer p {
    font-size: 12px;
    color: #5D5257;
}

/* --- TABLET STYLES --- */
@media (min-width: 768px) {
    .page-container {
        padding: 0 40px;
    }

    h1 {
        font-size: 56px;
        margin-bottom: 40px;
    }

    .startups-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    footer {
        padding: 24px 40px;
    }
}

/* --- DESKTOP STYLES --- */
@media (min-width: 1024px) {
    .page-container {
        padding: 0 64px;
    }

    h1 {
        font-size: 72px;
        margin-bottom: 56px;
    }

    .startups-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .startup-tile {
        min-width: 340px;
    }

    footer {
        padding: 24px 64px;
    }
}