@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

body {
    background: linear-gradient(160deg, rgb(243, 50, 50) 0%, rgb(235, 80, 24) 100%);
    background-attachment: fixed;
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

nav {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 20px;
    height: 40px;
    width: fit-content;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav:link,
.nav:visited {
    font-size: 15px;
    padding: 0 20px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
}

.nav:hover {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    transition: background 0.3s;
}

section {
    margin-top: 40px;
    padding: 0 20px;
}

div.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
    /* Make it take up most of the screen */
}

img {
    max-width: 100%;
    height: auto;
    width: 600px;
    border-radius: 20px;
    /* Optional: adds smoothness */
    animation: float 6s ease-in-out infinite;
}

.box {
    font-size: 70px;
    width: 100%;
    max-width: 600px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    font-style: italic;
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.1;
    margin-top: 0;
}

.subtitle {
    font-size: 0.4em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 25px;
}

.brand {
    font-size: 1em;
    font-style: normal;
    color: white;
    font-family: 'Pacifico', sans-serif;
}

.tg-note {
    font-size: 18px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    line-height: 1.4;
    font-weight: 500;
}

#gobot {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    border: unset;
    background-color: black;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    transition: transform 0.2s, background-color 0.2s;
    width: fit-content;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#gobot:hover {
    transform: scale(1.05);
    background-color: #222;
}

#chooseFlirty {
    color: white;
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}

ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    width: 300px;
    padding: 30px 20px;
    border: solid 3px rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    flex: 1 1 300px;
    box-sizing: border-box;
    cursor: default;
}

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

p {
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
}

.data {
    border: unset;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.rm-padding {
    margin-bottom: 5px;
    font-size: 48px;
    font-weight: 800;
}

h3 {
    margin-top: 0;
    font-weight: 400;
    opacity: 0.9;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    div.container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }

    .box {
        align-items: center;
        font-size: 40px;
        /* Smaller title on mobile */
    }

    img {
        width: 80%;
        max-width: 400px;
    }

    #gobot {
        width: 100%;
        max-width: 280px;
    }

    .tg-note {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .box {
        font-size: 42px;
        /* Increased base size for h1 */
        padding: 0 10px;
    }

    .title {
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 0.5em;
        /* Increased h3 size relative to box */
        margin-top: 10px;
        margin-bottom: 25px;
    }

    #gobot {
        font-size: 18px;
        /* Reduced font size */
        padding: 12px 30px;
        /* Reduced padding */
        width: fit-content;
        /* Don't stretch full width */
        min-width: unset;
    }

    div.container {
        gap: 30px;
        padding-top: 10px;
    }

    img {
        width: 100%;
        max-width: 100%;
        /* Adapt image to full width */
        height: auto;
        margin-top: 10px;
    }

    .card {
        flex: 1 1 100%;
        width: 100%;
    }

    .rm-padding {
        font-size: 36px;
    }
}