/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* custom font */
@font-face {
    font-family: 'MyFontT';
    src: url('fonts/CentraNo2-Thin.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'MyFontM';
    src: url('fonts/CentraNo2-Medium.ttf') format('truetype');
    font-weight: 500;
}

/* base */
body {
    margin: 0;
    background: white;
    font-family: 'MyFontM', sans-serif;
    color: #8C1835;

}

.page {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
    text-align: center;
}

/*   TOP NAV */
.top-bar {
    width: 100%;
    margin-top: 8px;
    background: #8C1835;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 35px;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 30px;
}

/* BUTTONS (UPDATED) */
.top-bar button {
    background: white;
    color:#8C1835;
    border: 1px solid #ddd;
    padding: 13px 20px;
    font-family: 'MyFontM', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* hover */
.top-bar button:hover {
    background: #F05C5B;
    color: white;
    transform: translateY(-1px);
}

/* click */
.top-bar button:active {
    transform: translateY(1px);
}

/* LOGO */
.logo {
    display: block;
    width: 60%;
    margin: -12px auto 40px;
}

/* FLOATING CHIPS */
.piece {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 8px 8px rgba(0,0,0,0.25));
}

/* top row */
.piece1 {
    width: 170px;
    top: 210px;
    left: -10px;
    transform: rotate(-8deg);
}

.piece2 {
    width: 95px;
    top: 275px;
    left: 250px;
    transform: rotate(68deg);
}

.piece3 {
    width: 165px;
    top: 500px;
    left: 480px;
    transform: rotate(8deg);
}

.piece4 {
    width: 160px;
    top: 300px;
    right: 250px;
    transform: rotate(-12deg);
}

.piece5 {
    width: 130px;
    top: 180px;
    right: -10px;
    transform: rotate(12deg);
}

/* middle row */
.piece6 {
    width: 170px;
    top: 470px;
    left: 995px;
    transform: rotate(12deg);
}

.piece7 {
    width: 165px;
    top: 470px;
    right: -20px;
    transform: rotate(18deg);
}

/* lower row */
.piece8 {
    width: 135px;
    top: 690px;
    left: 95px;
    transform: rotate(-12deg);
}

.piece9 {
    width: 155px;
    top: 610px;
    right: 120px;
    transform: rotate(-16deg);
}

.piece10 {
    width: 120px;
    top: 845px;
    right: 120px;
    transform: rotate(55deg);
}
/*  HERO */
.hero {
    text-align: center;
    margin-top: 400px;
    position: relative;
    z-index: 2;
}




.hero h2 {
    font-size: 70px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-frame {
    width: 1000px;
    margin: -25px auto 0;
    border: 40px solid #8C1835;
    background: #8C1835;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/*  ICONS */
.icons {
    width: 100%;              
    max-width: 700px;         
    margin: 40px auto 70px;
    display: flex;
    justify-content: center;  
    align-items: flex-start;
    gap: 24px;                
}

.icon-item {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.nutrient-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 6px;
}

.icon-frame {
    width: 1000px;
    margin: -25px auto 0;
    border: 40px solid #8C1835;
    background: #8C1835;
}

.scroll-wrap {
    width: 100%;
    overflow: hidden;

}

.scroll-track {
    display: flex;
    gap: 40px;
    width: max-content;

    animation: scroll 20s linear infinite;
}

.scroll-track img {
    width: 60px;

}

/* animation */
.scroll-wrap {
    overflow: hidden;
    width: 100%;
}

.scroll-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.scroll-track img {
    width: 60px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/*   ANATOMY IMAGE */
.anatomy {
    margin-top: 0px;
}

.anatomy-image {
    width: 100%;
    max-width: 1100px;
    display: block;
    margin: 0 auto;
}




.footer {
    width: 100%;
    background: #8C1835;
    color: white;
    margin-top: 120px;
    padding: 35px 40px 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.5fr;
    gap: 55px;

    text-align: left;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

}

.footer h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer p,
.footer a {
    color: white;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.story p {
    max-width: 360px;
}

.socials {
    display: flex;
    gap: 26px;
    margin-top: 60px;
     font-size: 34px;
    line-height: 1;
}

.copyright {
    margin-top: 45px;
    font-size: 15px;
}

.subscribe h2 {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 8px;
}

.email-box {
    width: 100%;
    max-width: 560px;
    height: 62px;

    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;

    display: flex;
    align-items: center;
    padding: 0 14px 0 22px;
}

.email-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;

    color: white;
    font-family: 'MyFontM', sans-serif;
    font-size: 20px;
}

.email-box input::placeholder {
    color: rgba(255,255,255,0.55);
}

.email-box button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.18);
    color: white;

    font-size: 28px;
    cursor: pointer;
}

.payments {

    margin-top: 80px;
   display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.payments span {
    background: white;
    color: #8C1835;
    padding: 7px 12px;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 500;
}