/* --- 1. Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'BL Melody';
    src: url('../../fonts/bl-melody/BLMelody-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BL Melody';
   src: url('../../fonts/bl-melody/BLMelodyMono-Bold.otf') format('opentype');
    font-weight: 700;
   font-style: normal;
}

body {
    background-color: #121212;
    font-family: 'BL Melody', sans-serif;
    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

/* --- MARQUEE --- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 16px;
    animation: scroll 20s linear infinite;
}

/* UPDATED: Marquee text outline style */
.marquee-content span {
    font-family: 'BL Melody', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;

    /* These properties create the outline effect */
    color: transparent;
    /* Makes the inside of the text see-through */
    -webkit-text-stroke-width: 1px;
    /* 1px border */
    -webkit-text-stroke-color: #759711;
    /* Green border color */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- HEADER --- */
.section-header {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header__title {
    font-family: 'Anton SC', sans-serif;
    font-size: 48px;
    /* UPDATED: Smaller size for mobile */
    font-weight: 400;
    color: #759711;
    line-height: 100%;
}

.section-header__title--green {
    color: #759711;
}

/* --- CARDS CONTAINER --- */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
}

/* --- CARD --- */
.card {
    width: 100%;
    max-width: 380px;
    min-height: 353px;
    background-color: #121212;
    border: 2px solid #FAF3E0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    border: 1px solid #FAF3E0;
    border-radius: 16px;
    padding: 6px 12px;
    background-color: #FAF3E0;
    transform: rotate(0deg);
    /* UPDATED: Straight for mobile */
}

.card__tag-text {
    font-family: 'BL Melody', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #121212;
    line-height: 100%;
}

.card__tag-icon {
    width: 10px;
    height: 10px;
    color: #121212;
    stroke-width: 1;
}

.card__text-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 320px;
}

/* UPDATED: Mobile font sizes for card titles */
.card__main-title {
    font-family: 'BL Melody', sans-serif;
    font-weight: 700;
    font-size: 48px;
    /* Base size for '3v3' */
    line-height: 100%;
    letter-spacing: 0%;
    color: #FAF3E0;
    margin-top: 0;
}

.card__main-title span {
    font-size: 24px;
    font-weight: 700;
}

#left-card .card__main-title {
    font-size: 40px;

}

#right-card .card__main-title {
    font-size: 32px;
  
}

.card__subtitle {
    font-family: 'BL Melody', sans-serif;
    font-size: 20px;
    /* UPDATED: Smaller size for mobile */
    font-weight: 600;
    margin-top: 0;
}

.card__description {
    font-family: 'BL Melody', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    color: rgba(250, 243, 224, 0.8);
}

/* --- RESPONSIVE (DESKTOP STYLES) --- */
@media (min-width: 768px) {
    .cards-container {
        flex-direction: row;
        gap: 18px;
    }

    .card {
        width: 380px;
    }

    /* Add back the rotation for desktop */
    .card__tag {
        transform: rotate(0deg);
    }

    /* Add back the large header font for desktop */
    .section-header__title {
        font-size: 128px;
    }

    /* Add back the larger card title fonts for desktop */
    .card__main-title {
        font-size: 60px;
    }

    #left-card .card__main-title {
        font-size: 48px;
    }

    #right-card .card__main-title {
        font-size: 40px;
    }

    .card__subtitle {
        font-size: 24px;
    }
}