
/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap'); */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    min-height: 100vh;
    font-weight: 400;
    font-style: normal;
}

header {
    /* background: linear-gradient(90deg, #980303 30%, #02791b 100%); */
    /* background: linear-gradient(90deg, #101a3c 60%, #4f8cff 100%); */
    background: linear-gradient(90deg, #760404 60%, #a9947d 100%);
    /* background: #093002; */
    /* background: #171717; */
    color: #fff;
    /* padding: 32px 0 16px 0; */
    text-align: center;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.08);
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #fff;
}

nav {
    /* margin: 24px 0 0 0; */
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
    background: #fff;
    color: #35424a;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
}

.header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 0 32px;
    /* height: 30px; */
    /* enough for big logo */
}

.header-logo {
    position: relative;
    /* left: 0; */
    /* top: 170%; */
    /* transform: translateY(-50%); */
    height: 70px;
    width: auto;
    border-radius: 14px;
    /* background: #fff; */
    padding: 6px;
    /* box-shadow: 0 2px 8px rgba(53,66,74,0.08); */
}

.header-row h1 {
    margin: 0 auto;
    font-size: 2.5rem;
    letter-spacing: 0.25px;
    color: #fff;
    text-align: center;
    /* width: 100%; */
    position: relative;
    z-index: 1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 32px auto 32px auto;
    overflow: hidden;
}

h1,
h2 {
    color: #35424a;
    margin-bottom: 16px;
}

.cta-center {
    text-align: center;
    margin: 24px 0;
}

.home-card-list {
    display: flex;
    gap: 18px;
    justify-content: left;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.home-card {
    background: #f7f7fa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(53, 66, 74, 0.12);
    padding: 24px 18px;
    width: 25%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.15s, box-shadow 0.15s;
    margin: 10px;
}

.home-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 14px;
    background: #f4f4f4;
    box-shadow: 0 1px 4px rgba(53, 66, 74, 0.08);
}

.home-card h3 {
    margin: 0 0 8px 0;
    color: #434343;
    font-size: 1.2rem;
}

.home-card p {
    margin: 0 0 14px 0;
    color: #555;
    font-size: 1rem;
}

.home-card-pros {
    margin: 0 0 10px 0;
    padding-left: 18px;
    color: #555;
    font-size: 0.98rem;
    list-style: disc inside;
}

.home-card-pros li {
    margin-bottom: 2px;
}

.home-card a {
    margin-top: auto;
    background: #ff4f4f;
    color: #fff;
    padding: 8px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
}

.home-card a:hover {
    background: #35424a;
}
.slogan-banner {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 120px;
    margin: 36px auto 36px auto;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/banner.jpg') center center/cover no-repeat;
    box-shadow: 0 4px 24px rgba(53,66,74,0.13);
}
.slogan-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 20, 30, 0.65);
    z-index: 1;
}
.slogan-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.slogan-text span {
    color: #ff4f4f;
}

@media (max-width: 700px) {
    .slogan-banner {
        height: 70px;
    }
    .slogan-text {
        font-size: 1.2rem;
    }
}

.guide-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-bottom: 32px;
}

.guide-card {
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
    padding: 16px 12px;
    width: 80%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 6px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.guide-card h3 {
    margin: 0 0 6px 0;
    color: #ff4f4f;
    font-size: 1rem;
}

.guide-card p {
    margin: 0 0 8px 0;
    color: #555;
    font-size: 0.93rem;
}

.guide-card a {
    margin-top: auto;
    background: #ff4f4f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
    display: inline-block;
}

.guide-card a:hover {
    background: #35424a;
}

@media (max-width: 800px) {
    .home-card-list {
        flex-direction: column;
        align-items: center;
    }

    .home-card {
        width: 80%;
        min-width: 0;
    }
}

.widget {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(53, 66, 74, 0.10);
    margin-bottom: 32px;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.card {
    background: #f6f6f6;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(53, 66, 74, 0.10);
    padding: 28px 20px 20px 20px;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 420px;
    position: relative;
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(53, 66, 74, 0.18);
}

.exchange-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.08);
    display: block;
}

.card h3 {
    margin: 0 0 10px 0;
    color: #434343;
    font-size: 1.3rem;
}

.card ul {
    margin: 0 0 16px 18px;
    padding: 0;
    color: #555;
    font-size: 1rem;
    list-style: disc inside;
}

.card a {
    margin-top: auto;
    background: #ff4f4f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.card a:hover {
    background: #35424a;
}

.about-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: 32px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(53, 66, 74, 0.10);
    padding: 32px;
}

.about-content {
    flex: 2 1 0;
    min-width: 0;
}

.about-image {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
    background: #f4f4f4;
}

.about-image-mobile {
    display: none;
}

@media (max-width: 900px) {
    .about-image {
        display: none;
    }

    .about-image-mobile {
        display: flex;
        justify-content: center;
        margin: 18px 0;
    }

    .about-image-mobile img {
        max-width: 80%;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
        background: #f4f4f4;
    }
}

.main-cta-btn {
    display: inline-block;
    margin-top: 18px;
    background: #ff4f4f;
    color: #fff;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
    transition: background 0.2s, color 0.2s;
}

.main-cta-btn:hover {
    background: #35424a;
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 0 12px 0;
    background: linear-gradient(90deg, #760404 60%, #a9947d 100%);
    color: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    margin-top: 40px;
}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 4px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(79, 140, 255, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.footer-social a {
    text-decoration: none;
}

.social-icon svg {
    display: block;
}

.social-icon i {
    font-size: 1.4em;
    color: #fff;
    transition: color 0.2s;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 70% 30%, #feda75 0%, #fa7e1e 60%, #d62976 100%);
    transform: scale(1.1);
}

.social-icon.instagram:hover i {
    color: #e1306c;
}

.social-icon.facebook:hover {
    background: #1877f2;
    transform: scale(1.1);
}

.social-icon.facebook:hover i {
    color: #1877f2;
}

.social-icon.tiktok:hover {
    background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
    transform: scale(1.1);
}

.social-icon.tiktok:hover i {
    color: #25f4ee;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hide nav by default on mobile */
@media (max-width: 700px) {
    .burger {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        background: #760404;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 2px 8px rgba(53, 66, 74, 0.10);
        z-index: 1000;
        padding: 16px 0;
    }

    nav.open {
        display: flex;
    }

    .header-row {
        padding-right: 56px;
        /* space for burger */
    }
}

/* Optional: Animate burger to X when open */
.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 800px) {
    .container {
        width: 90%;
        padding: 0 8px;
    }

    .card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .header-logo {
        height: 50px;
        /* top: 50%; */
    }

    .header-row h1 {
        font-size: 1.3rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav {
        gap: 8px;
    }

    .container {
        width: 90%;
        padding: 0 4px;
    }

    .widget,
    .card {
        padding: 12px;
    }

    .card {
        min-height: 0;
    }
}