/* =========================================
   DAILY EARN MONEY - FINAL STYLE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   TOP BAR
========================================= */

.dem-topbar {
    width: 100%;
    background: linear-gradient(90deg, #1254a4, #1976d2);
    color: #ffffff;
    padding: 10px 25px;
}

.dem-topbar-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dem-trust {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 500;
}

.dem-trust span {
    white-space: nowrap;
}

.dem-top-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dem-top-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.dem-calculator {
    display: inline-block;
    background: #ff5757;
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.dem-calculator:hover {
    background: #ff3030;
    transform: translateY(-2px);
}


/* =========================================
   MIDDLE BAR
========================================= */

.dem-middle {
    width: 100%;
    background: #f5f8fc;
    padding: 12px 25px;
    border-bottom: 1px solid #e4e8ee;
}

.dem-middle-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}


/* =========================================
   LOGO
========================================= */

.dem-logo {
    min-width: 360px;
}

.dem-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dem-logo-icon {
    width: 64px;
    height: 64px;
    background: #2196f3;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.dem-logo-text h1 {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #111;
}

.dem-logo-text h1 span {
    color: #1976d2;
}

.dem-logo-text p {
    margin-top: 5px;
    color: #888;
    font-size: 13px;
}


/* =========================================
   SEARCH
========================================= */

.dem-search {
    flex: 1;
    height: 52px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 30px;
    overflow: hidden;
}

.dem-search input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.dem-search button {
    width: 62px;
    height: 52px;
    border: none;
    background: #1976d2;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.dem-search button:hover {
    background: #1254a4;
}


/* =========================================
   MIDDLE BUTTONS
========================================= */

.dem-middle-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dem-middle-btn {
    padding: 12px 18px;
    border-radius: 25px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.dem-deals {
    background: #ff8a00;
}

.dem-coupons {
    background: #7131b8;
}

.dem-currency {
    background: #2686df;
}

.dem-middle-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}


/* =========================================
   MAIN MENU
========================================= */

.dem-menubar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.dem-menu {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dem-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 17px 28px;
    font-size: 15px;
    font-weight: 600;
    border-right: 1px solid #e5e5e5;
    transition: .3s;
}

.dem-menu a:first-child {
    border-left: 1px solid #e5e5e5;
}

.dem-menu a:hover {
    color: #1976d2;
    background: #f5f9ff;
}

.dem-menu a.active {
    color: #1976d2;
}

.dem-menu i {
    font-size: 15px;
}


/* =========================================
   HOMEPAGE CONTENT
========================================= */

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}

main h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
}

main p {
    color: #666;
    font-size: 18px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .dem-topbar-inner {
        flex-direction: column;
    }

    .dem-middle-inner {
        flex-wrap: wrap;
    }

    .dem-logo {
        min-width: auto;
    }

    .dem-search {
        min-width: 300px;
    }

    .dem-middle-buttons {
        width: 100%;
        justify-content: center;
    }

    .dem-menu {
        flex-wrap: wrap;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .dem-topbar {
        padding: 8px 10px;
    }

    .dem-topbar-inner {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .dem-trust {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 10px;
        font-size: 10px;
        text-align: center;
    }

    .dem-trust span {
        white-space: normal;
    }

    .dem-top-links {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px;
    }

    .dem-top-links a {
        font-size: 11px;
    }

    .dem-calculator {
        padding: 6px 12px;
        font-size: 11px;
    }


    /* MIDDLE */

    .dem-middle {
        padding: 15px 12px;
    }

    .dem-middle-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }


    /* LOGO */

    .dem-logo {
        width: 100%;
        min-width: 0;
        display: flex;
        justify-content: center;
    }

    .dem-logo-link {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dem-logo-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 14px;
        font-size: 25px;
    }

    .dem-logo-text h1 {
        font-size: 25px;
        line-height: 1.1;
    }

    .dem-logo-text p {
        margin-top: 3px;
        font-size: 11px;
    }


    /* SEARCH */

    .dem-search {
        width: 100%;
        min-width: 0;
        height: 48px;
    }

    .dem-search input {
        min-width: 0;
        padding: 0 15px;
        font-size: 13px;
    }

    .dem-search button {
        width: 52px;
        min-width: 52px;
        height: 48px;
        font-size: 17px;
    }


    /* DEALS / COUPONS / CURRENCY */

    .dem-middle-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 2px 0 5px;
        scrollbar-width: none;
    }

    .dem-middle-buttons::-webkit-scrollbar {
        display: none;
    }

    .dem-middle-btn {
        flex: 0 0 auto;
        padding: 9px 12px;
        font-size: 10px;
        white-space: nowrap;
    }


    /* MAIN MENU */

    .dem-menubar {
        width: 100%;
    }

    .dem-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 0;
    }

    .dem-menu a {
        min-width: 0;
        padding: 13px 5px;
        font-size: 11px;
        gap: 5px;
        border-right: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
    }

    .dem-menu a:first-child {
        border-left: 0;
    }

    .dem-menu i {
        font-size: 12px;
    }


    /* MAIN CONTENT */

    main {
        width: 100%;
        padding: 40px 15px;
    }

    main h1 {
        font-size: 28px;
        line-height: 1.25;
    }

    main p {
        font-size: 14px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .dem-logo-text h1 {
        font-size: 22px;
    }

    .dem-logo-text p {
        font-size: 10px;
    }

    .dem-logo-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 22px;
    }

    .dem-trust {
        font-size: 9px;
    }

    .dem-top-links a {
        font-size: 10px;
    }

    .dem-middle-btn {
        padding: 9px 12px;
        font-size: 10px;
    }

    .dem-menu a {
        padding: 12px 3px;
        font-size: 10px;
    }

    .dem-menu a span {
        white-space: nowrap;
    }

    main h1 {
        font-size: 24px;
    }
}