:root{
    --orange: #E26827;      /* main brand orange */
    --orange-dark: #C3541E;
    --white: #ffffff;
    --black: #1d1d1f;
    --text-dim: #6b6b6b;

    --container: 1120px;
    --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--black);
    background: url("bg.png") no-repeat center center fixed;
    background-size: cover;
}


/* LAYOUT HELPERS */
.content {
    background: var(--white);
    border-radius: var(--radius);
    margin-top: -32px;
    padding: 48px 0 72px;
    position: relative;
    z-index: 2;
}

/* ORANGE BANDS */
.band{
    background: var(--orange);
    color: var(--white);
}
.band--top{
    padding-bottom: 56px;
    background: none; /* remove header-only background */
    color: var(--white);
    position: relative;
}
.band--bottom {
    background: linear-gradient(to bottom, #009fff, #00ff99); /* same as header */
    padding: 48px 0;
    color: white;
}


/* NAV */
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nav__link{
    color: var(--white);
    text-decoration: none;
    margin-left: 18px;
    opacity: .9;
}
.nav__link:hover{ opacity: 1; }
.dot{
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--white);
    margin-right: 8px;
    opacity: .8;
}

/* HERO */
.hero {
    text-align: center;
    padding: 10px 0 60px; /* top / bottom space for background area */
    color: #fff;
}

.hero__img{
    width: 240px; height: 240px; object-fit: cover;
    border-radius: 50%;
    display: block; margin: 0 auto 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.hero__title{
    margin: 8px 0 10px;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
}
.hero__sub {
    padding: 10px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    word-break: break-all;
    letter-spacing: 0;
}
.hero__gif {
    width: 400px;       /* adjust size */
    height: auto;
    margin: 20px auto;  /* space between text and button */
    display: block;
    border-radius: 12px; /* optional rounded corners */
}
.hero__sub span {
    -webkit-text-stroke: 1px #000; /* black stroke */
    text-stroke: 1px #000;         /* fallback */
}

/* Colors */
.hero__sub .c1 { color: #ffde00; }  /* yellow */
.hero__sub .c2 { color: #ff6b00; }  /* orange */
.hero__sub .c3 { color: #ff0000; }  /* red */
.hero__sub .c4 { color: #00a2ff; }  /* blue */
.hero__sub .c5 { color: #00ff6a; }  /* green */


.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
    text-decoration: none;
    color: #fff; /* white text */
    background: linear-gradient(90deg, #ffde00, #ff6b00, #ff0000, #00a2ff, #00ff6a);
    background-size: 300% 100%;
    transition: transform .15s ease, box-shadow .15s ease, background-position .5s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.btn:hover {
    transform: translateY(-2px);
    background-position: 100% 0; /* animate gradient */
}
/* CONTENT WHITE AREA */
.content{
    background:  none; /* same as header */
    border-radius: var(--radius);
    margin-top: -32px;     /* overlap white on orange like the screenshot */
    padding: 30px 0 72px;
}

/* SECTION TITLE */
.section{
    text-align: center;
}
.section__title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.section__title span {
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
}

.section__title .c1 { color: #ffde00; }  /* yellow */
.section__title .c2 { color: #ff6b00; }  /* orange */
.section__title .c3 { color: #ff0000; }  /* red */
.section__title .c4 { color: #00a2ff; }  /* blue */
.section__title .c5 { color: #00ff6a; }  /* green */


/* GRID GALLERY */
.grid{
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    width: min(70%, 1000px); /* optional cap */
    margin: 0 auto;          /* <-- centers the grid */
}
.grid img{
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

.grid img:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* RESPONSIVE GRID BREAKPOINTS */
@media (max-width: 1200px){
    .grid{ grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 900px){
    .grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px){
    .grid{ grid-template-columns: repeat(2, 1fr); }
    .hero__img{ width: 180px; height: 180px; }
}

/* FOOTER */
.footer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--white);
    text-transform: lowercase;
}
.brand{ font-weight: 700; letter-spacing: .06em; }
.chevron{ opacity: .9; }

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}
.modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.logo {
    padding-left: 15px;
    height: 60px;         /* adjust to fit your header */
    width: auto;          /* keeps aspect ratio */
    display: block;
}
.btn-group {
    display: flex;
    gap: 15px;             /* space between buttons */
    justify-content: center;
    max-width: 400px;      /* optional: set a max width */
    margin: 20px auto;     /* center group */
}

.btn-group .btn {
    flex: 1;               /* make both take equal width */
    text-align: center;    /* center text inside */
}