:root {
    --text-color: rgb(246, 204, 182);
    --btn-bg: rgba(217, 217, 217, 0.22);
    --btn-border: rgb(236, 194, 177);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

#root {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

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

html, body {
    overflow-x: hidden;
    overflow-y:hidden;
    height:100vh;
    width:100vw;
}

.notfound {
    min-height: 100vh;
    width: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:var(--text-color);
    font-family: 'Poppins', sans-serif;
    position: relative;
@media screen and (max-width: 767px) {
  .notfound {
    background-size: contain;
    background-position: top center;
  }
}
}


.notfound__container {
    color: var(--text-color);
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    position:relative;
    width:409px;
    height: 300px;
}

.title{
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 200px;
    line-height: 300px;
}

.notfound__zero {
    position: relative;
    display:inline-block;
}

.notfound__arrow{
    position: absolute;
    width:220px;
    height: 220px;
    top:53%;
    left:50%;
    transform: translate(-50%,-50%);
}

.notfound__tagline {
    font-size: 1.5rem;
    margin-top: -25px;
    line-height: 1.5;
    padding: 0.8rem;
}

.notfound__button {
    position: relative;
    display: inline-block;
    margin: 1rem auto;
    padding: 0.8rem 2rem;
    font-weight: bold;
    color: var(--text-color);
    border: 1px solid var(--btn-border);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--btn-bg);
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.notfound__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
    );
    transition: left 0.6s ease;
    z-index: 0;
}

.notfound__button:hover::before {
    left: 100%;
}


.notfound__button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--btn-border);
    color: #3a185c;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(80, 99, 126, 0.18);
}

.notfound__button span {
    position: relative;
    z-index: 2;
}

.notfound__emoji {
    font-size: 2rem;
    margin: 0.8rem 0;
}

.notfound__footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-color);
    letter-spacing: 1px;
}


/*-----responsiveness--------*/

/*desktops*/
@media screen and (min-width: 1440px) {
    .notfound__container {
        width: 500px;
        height: 350px;
    }

    .title {
        font-size: 240px;
        line-height: 350px;
    }

    .notfound__arrow {
        width: 250px;
        height: 300px;
    }

    .notfound__tagline {
        font-size: 1.8rem;
        margin-top: -30px;
    }

    .notfound__button {
        padding: 1rem 2.5rem;
        font-size: 1.3rem;
    }
}

/*laptops*/
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .notfound__container {
        width: 409px;
        height: 300px;
    }

    .title {
        font-size: 200px;
        line-height: 300px;
    }
}

/* Tablets*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .notfound {
        padding: 2rem 1rem;
    }

    .notfound__container {
        width: clamp(350px, 70vw, 450px);
        height: clamp(220px, 35vh, 280px);
    }

    .title {
        font-size: 160px;
    }

    .notfound__arrow {
        width: 180px;
        height: 180px
    }

    .notfound__tagline {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
        margin-top: -20px;
    }

    .notfound__button {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
        min-width: 250px;
    }
}

/* Tablet but smaller*/
@media screen and (min-width: 481px) and (max-width: 767px) {
    .notfound {
        padding: 1.5rem 1rem;
    }

    .notfound__container {
        width: clamp(300px, 85vw, 380px);
        height: clamp(180px, 30vh, 240px);
        gap: 0.15rem;
    }

    .title {
        font-size: 125px;
        line-height: 200px;
    }

    .notfound__arrow {
        width: 180px;
        height:140px;
    }

    .notfound__tagline {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-top: -15px;
        padding: 0.6rem 1rem;
    }

    .notfound__button {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        min-width: 220px;
        margin: 0.8rem auto;
    }

    .notfound__emoji {
        font-size: 1.8rem;
        margin: 0.7rem 0;
    }

    .notfound__footer {
        font-size: 0.65rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
}

/* Big Chungus Mobile */
@media screen and (min-width: 376px) and (max-width: 480px) {
    .notfound {
        padding: 1rem 0.8rem;
    }

    .notfound__container {
        width: clamp(280px, 90vw, 340px);
        height: clamp(150px, 25vh, 200px);
        gap: 0.1rem;
    }

    .title {
        font-size: 110px;
        line-height: 160px;
    }

    .notfound__arrow {
        width: 120px;
        height: 140px;
    }

    .notfound__tagline {
        font-size: clamp(0.9rem, 4.5vw, 1.1rem);
        margin-top: -10px;
        padding: 0.5rem 0.8rem;
        line-height: 1.4;
    }

    .notfound__button {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
        min-width: 180px;
        margin: 0.7rem auto;
        border-radius: 15px;
    }

    .notfound__emoji {
        font-size: 1.6rem;
        margin: 0.6rem 0;
    }

    .notfound__footer {
        font-size: 0.6rem;
        margin-top: 1.2rem;
        padding: 0 0.8rem;
        line-height: 1.3;
    }
}

/* Mobile*/
@media screen and (min-width: 321px) and (max-width: 375px) {
    .notfound {
        padding: 1rem 0.5rem;
    }

    .notfound__container {
        width: clamp(250px, 95vw, 300px);
        height: clamp(130px, 22vh, 170px);
        gap: 0.05rem;
    }

    .title {
        font-size: 90px;
        line-height: 130px;
    }

    .notfound__arrow {
        width: 95px;
        height: 125px;
    }

    .notfound__tagline {
        font-size: clamp(0.8rem, 5vw, 1rem);
        margin-top: -8px;
        padding: 0.4rem 0.5rem;
        line-height: 1.3;
    }

    .notfound__button {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
        min-width: 160px;
        margin: 0.6rem auto;
        border-radius: 12px;
    }

    .notfound__emoji {
        font-size: 1.4rem;
        margin: 0.5rem 0;
    }

    .notfound__footer {
        font-size: 0.55rem;
        margin-top: 1rem;
        padding: 0 0.5rem;
        line-height: 1.2;
    }
}

/* micro Mobile*/
@media screen and (max-width: 320px) {
    .notfound {
        padding: 0.8rem 0.3rem;
    }

    .notfound__container {
        width: clamp(220px, 98vw, 260px);
        height: clamp(110px, 20vh, 140px);
        gap: 0;
    }

    .title {
        font-size: clamp(60px, 26vw, 75px);
        line-height: clamp(85px, 16vh, 110px);
    }

    .notfound__arrow {
        width: 75px;
        height: 100px;
    }

    .notfound__tagline {
        font-size: clamp(0.7rem, 5.5vw, 0.9rem);
        margin-top: -5px;
        padding: 0.3rem 0.3rem;
        line-height: 1.2;
    }

    .notfound__button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 140px;
        margin: 0.5rem auto;
        border-radius: 10px;
        gap: 0.2rem;
    }

    .notfound__emoji {
        font-size: 1.2rem;
        margin: 0.4rem 0;
    }

    .notfound__footer {
        font-size: 0.5rem;
        margin-top: 0.8rem;
        padding: 0 0.3rem;
        line-height: 1.1;
        letter-spacing: 0.3px;
    }
}

/* Ultra-wide screens (1920px and up) */
@media screen and (min-width: 1920px) {
    .notfound__container {
        width: 600px;
        height: 400px;
    }

    .title {
        font-size: 280px;
        line-height: 400px;
    }

    .notfound__arrow {
        width: 300px;
        height: 350px;
    }

    .notfound__tagline {
        font-size: 2rem;
        margin-top: -40px;
    }

    .notfound__button {
        padding: 1.2rem 3rem;
        font-size: 1.4rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .notfound {
        padding: 0.5rem;
    }

    .notfound__container {
        height: clamp(80px, 15vh, 120px);
    }

    .title {
        font-size: clamp(50px, 12vh, 80px);
        line-height: clamp(60px, 15vh, 100px);
    }

    .notfound__arrow {
        width: clamp(50px, 10vh, 80px);
        height: clamp(60px, 12vh, 100px);
    }

    .notfound__tagline {
        font-size: clamp(0.7rem, 3vh, 1rem);
        margin-top: -5px;
        padding: 0.2rem;
    }

    .notfound__button {
        padding: 0.3rem 1rem;
        font-size: clamp(0.7rem, 2.5vh, 0.9rem);
        margin: 0.3rem auto;
    }

    .notfound__emoji {
        font-size: clamp(1rem, 3vh, 1.5rem);
        margin: 0.2rem 0;
    }

    .notfound__footer {
        font-size: clamp(0.4rem, 1.5vh, 0.6rem);
        margin-top: 0.5rem;
    }
}



