@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

body, a, p, span, button, input {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
}

@media only screen and (max-width: 600px) {
    #sidebar { display: none; }
    .mob-space { padding: 0 0 20% 0; }
    #loginForm, #userForm {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    .image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        background: #073042;
    }

    .form > h1, .form > span {
        font-family: "Raleway", sans-serif;
    }
    .image > img {
        width: 240px;
    }
    .text {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin: 10px 0;
    }
    .int {
        padding: 13.2px 15px;
        border-radius: 125px;
        border: none;
        outline: none;
        background: #ddd;
        color: #1d1d1d;
        font-weight: 400;
        letter-spacing: 1.2;
    }
    .int::placeholder {
        color: #1d1d1d;
        font-weight: 400;
    }
    .btn {
        padding: 13.2px 0;
        border: none;
        color: #FFF;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 1.2;
        border-radius: 125px;
    }
    .text > h1 {
        font-size: 27px;
        font-weight: 650;
        letter-spacing: 1.3;
    }
    .text > span {
        font-size: 16px;
        letter-spacing: 1.2;
        font-weight: 400;
    }
    .dont > span {
        font-size: 16.4px;
        font-weight: 400;
        letter-spacing: 1.2;
    }
    .dont > span > a {
        font-size: 17.4px;
        color: #073042;
        font-weight: bolder;
        text-transform: uppercase;
        letter-spacing: 1.2;
        text-decoration: none;
    }
    .mob-nav {
        display: flex;
        flex-direction: row;
        width: 100vw;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        padding: 15px 0;
        position: fixed;
        bottom: 0;
        background: #FFF;
        align-items: center;
        justify-content: space-around;
    }
    .mob-nav > a {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        text-decoration: none;
        justify-content: center;
    }
    .mob-nav > a > img {
        width: 28px;
        height: auto;
    }
    .mob-nav > a > span {
        font-size: 12px;
        color: #1d1d1d;
        letter-spacing: 1.1;
        font-weight: 500;
        text-transform: uppercase;
    }
    .body {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 80vh;
    }
    .modes {
        display: flex;
        gap: 10px;
    }
    .main {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 40px 20px;
        border-radius: 15px 15px 0 0;
        background: #f5f7fa;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }
    .mode {
        border-radius: 125px;
        padding: 10px 14px;
        background: #003e66;
        color: #FFF;
    }
    #suggestions, #cards, #youMayLikeList {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    #suggestions > div > img, #youMayLikeList > div > img {
        width: 150px;
        height: 150px;
    }
    .h-text {
        font-family: 'Poppins', sans-serif;
        letter-spacing: 1.2;
        font-weight: 500;
    }
    #cards > div > img {
        width: 140px;
        height: 200px;
        border-radius: 12px;
    }
    #cards > div > h1 {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1.1;
    }
    #cards > div, #youMayLikeList > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0px;
    }
    #cards > div > p {
        font-family: 'Poppins', sans-serif;
        font-size: 21px;
        font-weight: bolder;
    }
    .header {
        display: flex;
        flex-direction: column;
        padding: 20px 15px;
    }
    .balance-area > img {
        width: 22px;
    }
    #balance {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: 5px;
        margin: 10px 20px;
    }
    .balance-area {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        background: #daa520;
        padding: 10px 20px;
        border-radius: 125px;
    }
    #product {
        display: flex;
        flex-direction: column;
        padding: 10px 30px;
        gap: 10px;
    }
    #product > img {
        border-radius: 15px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    #product > p > strong {
        font-size: 20px;
    }
    #greet > strong {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-family: 'Poppins', sans-serif;
        font-size: 22px;
        letter-spacing: 1.3;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .mob-nav {
        display: flex;
        flex-direction: column;
        width: 220px;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        background: #FFF;
        box-shadow: rgba(0, 0, 0, 0.24) 3px 0px 8px;
        padding: 30px 0;
        align-items: center;
        justify-content: flex-start;
        gap: 40px;
    }
    .mob-nav > a {
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        text-decoration: none;
        justify-content: flex-start;
        width: 80%;
        padding: 15px 20px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    .mob-nav > a:hover {
        background: #f5f7fa;
        transform: translateX(5px);
    }
    .mob-nav > a > img {
        width: 32px;
        height: auto;
    }
    .mob-nav > a > span {
        font-size: 16px;
        color: #1d1d1d;
        letter-spacing: 1.1;
        font-weight: 600;
        text-transform: uppercase;
    }
    .body {
        margin-left: 220px;
        padding: 20px;
        min-height: 100vh;
    }
    .main {
        margin-left: 0;
        padding: 30px;
        border-radius: 20px;
        background: #f5f7fa;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    }
    #loginForm, #userForm {
        display: flex;
        margin-left: 0;
    }
    .image, .form {
        width: 50vw;
        height: 100vh;
    }
    .image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
    .image > img {
        width: 350px;
        max-width: 80%;
    }
    .form {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 40px;
        background: #073042;
        justify-content: center;
        color: #FFF;
    }
    .text > h1 {
        font-size: 36px;
        font-weight: 700;
        letter-spacing: 1.2;
        margin-bottom: 10px;
    }
    .text > span {
        font-size: 18px;
        letter-spacing: 1.1;
        font-weight: 400;
        opacity: 0.9;
    }
    .int {
        padding: 16px 24px;
        border-radius: 12px;
        border: none;
        outline: none;
        background: #fff;
        color: #1d1d1d;
        font-weight: 500;
        letter-spacing: 1.1;
        font-size: 16px;
    }
    .btn {
        padding: 16px;
        border: none;
        border-radius: 12px;
        cursor: poRaleway;
        font-weight: 700;
        letter-spacing: 1.2;
        text-transform: uppercase;
        background: #046baf;
        color: #FFF;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    .btn:hover {
        background: #035a9a;
        transform: translateY(-2px);
    }
    #cards, #suggestions, #youMayLikeList {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-left: 220px;
        padding: 30px;
    }
    #cards > div, #suggestions > div, #youMayLikeList > div {
        background: #fff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        transition: all 0.3s ease;
    }
    #cards > div:hover, #suggestions > div:hover, #youMayLikeList > div:hover {
        transform: translateY(-5px);
        box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 24px;
    }
    #cards > div > img, #suggestions > div > img, #youMayLikeList > div > img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px;
    }
    .header {
        margin-left: 220px;
        padding: 25px 30px;
    }
    .balance-area {
        padding: 12px 24px;
        border-radius: 20px;
        background: #daa520;
    }
    #product {
        margin-left: 220px;
        padding: 30px;
    }
}

@media only screen and (min-width: 1025px) {
    body {
        min-height: 100vh;
        background: #f8fafc;
    }
    .balance-area > img {
        width: 22px;
    }
    .mob-nav {
        display: flex;
        flex-direction: column;
        width: 260px;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        background: #ffffff;
        border-right: 1px solid #e5e7eb;
        padding: 24px 0;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        z-index: 1000;
        box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    }

    .mob-nav > a {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: center;
        text-decoration: none;
        justify-content: flex-start;
        width: 85%;
        padding: 12px 20px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        margin: 2px 0;
        cursor: poRaleway;
    }

    .mob-nav > a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(59, 130, 246, 0.1);
        transition: left 0.5s;
    }

    .mob-nav > a:hover::before {
        left: 100%;
    }

    .mob-nav > a:hover {
        background: #f3f4f6;
        transform: translateX(6px) scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .mob-nav > a:active {
        transform: translateX(6px) scale(0.98);
    }

    .mob-nav > a > img {
        width: 20px;
        height: auto;
        transition: all 0.3s ease;
    }

    .mob-nav > a:hover > img {
        transform: scale(1.1);
    }

    .mob-nav > a > span {
        font-size: 14px;
        color: #374151;
        letter-spacing: 0.3px;
        font-weight: 600;
        text-transform: capitalize;
        transition: all 0.3s ease;
    }

    .mob-nav > a:hover > span {
        color: #1f2937;
        font-weight: 700;
    }

    .body {
        margin-left: 260px;
        padding: 0;
        min-height: 100vh;
        background: transparent;
    }

    .main {
        margin: 20px;
        padding: 24px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb;
    }

    #loginForm, #userForm {
        display: flex;
        margin-left: 0;
        height: 100vh;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    }

    .image, .form {
        width: 50vw;
        height: 100vh;
    }

    .image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8fafc;
        position: relative;
    }

    .image > img {
        width: 320px;
        max-width: 70%;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
        transition: all 0.6s ease;
        z-index: 1;
    }

    .image > img:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    }

    .form {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 48px;
        background: #073042;
        justify-content: center;
        color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .text {
        position: relative;
        z-index: 1;
    }

    .text > h1 {
        font-size: 36px;
        font-weight: 700;
        letter-spacing: -1px;
        margin-bottom: 12px;
        color: #ffffff;
    }

    .text > span {
        font-size: 16px;
        letter-spacing: 0.3px;
        font-weight: 400;
        opacity: 0.9;
        line-height: 1.6;
        color: #cbd5e1;
    }

    .int {
        padding: 16px 20px;
        border-radius: 12px;
        border: 1px solid #d1d5db;
        outline: none;
        background: #ffffff;
        color: #1f2937;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .int:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        transform: translateY(-1px);
    }

    .int::placeholder {
        color: #6b7280;
    }

    .btn {
        padding: 16px 24px;
        border: none;
        border-radius: 12px;
        cursor: poRaleway;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        background: #3b82f6;
        color: #ffffff;
        font-size: 14px;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: left 0.5s;
    }

    .btn:hover::before {
        left: 100%;
    }

    .btn:hover {
        background: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    }

    .btn:active {
        transform: translateY(-1px);
    }

    #cards, #suggestions, #youMayLikeList {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        margin-left: 260px;
        padding: 24px;
    }

    #cards > div, #suggestions > div, #youMayLikeList > div {
        background: #ffffff;
        padding: 18px;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        cursor: poRaleway;
    }

    #cards > div::before, #suggestions > div::before, #youMayLikeList > div::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: #3b82f6;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    #cards > div:hover::before, #suggestions > div:hover::before, #youMayLikeList > div:hover::before {
        transform: scaleX(1);
    }

    #cards > div:hover, #suggestions > div:hover, #youMayLikeList > div:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: #3b82f6;
    }

    #cards > div > img, #suggestions > div > img, #youMayLikeList > div > img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    #cards > div:hover > img, #suggestions > div:hover > img, #youMayLikeList > div:hover > img {
        transform: scale(1.05);
    }

    #cards > div > h1 {
        font-size: 16px;
        font-weight: 700;
        color: #1f2937;
        margin-top: 12px;
        font-family: "Raleway", sans-serif;
        letter-spacing: -0.3px;
    }

    #cards > div > p {
        font-size: 14px;
        color: #6b7280;
        margin-top: 6px;
        font-family: "Raleway", sans-serif;
        line-height: 1.5;
    }

    .header {
        margin-left: 260px;
        padding: 24px 24px 20px 24px;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 16px 16px 0 0;
        margin-bottom: -20px;
        margin-top: 20px;
        position: relative;
    }

    #greet {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    #greet > h1 {
        font-size: 28px;
        font-weight: 800;
        color: #1f2937;
        font-family: "Raleway", sans-serif;
        letter-spacing: -0.5px;
    }

    #greet > p {
        font-size: 14px;
        color: #6b7280;
        font-family: "Raleway", sans-serif;
        font-weight: 500;
    }

    .balance-area {
        padding: 10px 20px;
        border-radius: 20px;
        background: #f59e0b;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        transition: all 0.3s ease;
        cursor: poRaleway;
    }

    .balance-area:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    }

    .balance-area > span {
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
    }

    #balance {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 12px;
    }

    #product {
        margin-left: 260px;
        padding: 24px;
        background: #ffffff;
        border-radius: 16px;
        margin: 20px;
        border: 1px solid #e5e7eb;
    }

    #product > img {
        width: 100%;
        max-width: 600px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        cursor: poRaleway;
    }

    #product > img:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    #product > h1 {
        font-size: 24px;
        font-weight: 800;
        color: #1f2937;
        margin: 20px 0 10px 0;
        letter-spacing: -0.5px;
        font-family: "Raleway", sans-serif;
    }

    #product > p {
        font-size: 16px;
        color: #4b5563;
        line-height: 1.7;
        font-family: "Raleway", sans-serif;
    }

    .sidebar-desk {
        display: none;
    }

    .h-text {
        font-size: 24px;
        font-weight: 800;
        color: #1f2937;
        margin-bottom: 20px;
        font-family: "Raleway", sans-serif;
        letter-spacing: -0.5px;
    }

    .modes {
        display: flex;
        gap: 12px;
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .mode {
        border-radius: 20px;
        padding: 10px 20px;
        background: #374151;
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        border: none;
        cursor: poRaleway;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        font-family: "Raleway", sans-serif;
        letter-spacing: 0.3px;
    }

    .mode::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: left 0.5s;
    }

    .mode:hover::before {
        left: 100%;
    }

    .mode:hover {
        background: #3b82f6;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
    }

    .mode:active {
        transform: translateY(-1px) scale(1.02);
    }
}
