/* GENERAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: #080f1c;
    color: #f5f7fc;
    font-family: "DM Sans", sans-serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    color: #4b9aff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ANNOUNCEMENT */
.announcement {
    background: #10284b;
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
    color: #d5e5ff;
}

/* HEADER */
.header {
    background: #0b1423;
    border-bottom: 1px solid #1d2b40;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.logo strong {
    color: #4b9aff;
}

.logo-icon {
    background: linear-gradient(135deg, #58a4ff, #1554c6);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    font-size: 21px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a,
.login-btn {
    color: #b9c4d5;
    font-size: 13px;
    transition: .3s;
}

.nav-links a:hover,
.login-btn:hover {
    color: #58a4ff;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.signup-btn {
    background: #2877e8;
    padding: 11px 19px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.signup-btn:hover,
.primary-btn:hover {
    background: #1763ce;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

/* HERO */
.hero {
    padding: 105px 0 115px;
    background:
        radial-gradient(ellipse at 80% 40%, #102b50 0%, transparent 45%),
        #080f1c;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.hero-content h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 59px);
    line-height: 1.17;
    margin: 20px 0;
    letter-spacing: -2px;
}

.hero-content h1 span {
    color: #4b9aff;
    display: block;
}

.hero-content > p {
    color: #aab7ca;
    font-size: 15px;
    max-width: 530px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 23px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 13px;
    transition: .3s;
}

.primary-btn {
    background: #2877e8;
    color: white;
}

.secondary-btn {
    border: 1px solid #34455e;
    color: #e4ebf5;
}

.secondary-btn:hover {
    background: #172b45;
}

.hero-note {
    margin-top: 28px;
    color: #8c9db3;
    font-size: 11px;
}

.note-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #43c99b;
    border-radius: 50%;
    margin-right: 7px;
}

/* HERO CHART */
.hero-visual {
    position: relative;
    padding: 25px;
}

.chart-card {
    background: linear-gradient(145deg, #14243a, #0d192a);
    border: 1px solid #263c58;
    border-radius: 16px;
    padding: 27px;
    box-shadow: 0 25px 70px #0006;
}

.chart-top,
.chart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.chart-top small {
    color: #8498b2;
    font-size: 10px;
    letter-spacing: 1px;
}

.chart-top h3 {
    font-size: 18px;
    margin-top: 5px;
}

.live-label {
    background: #173b33;
    color: #65dcb4;
    font-size: 9px;
    padding: 5px 9px;
    border-radius: 4px;
}

.chart-value {
    margin-top: 40px;
}

.chart-value h2 {
    font-size: 22px;
}

.chart-value span,
.chart-bottom {
    color: #8394aa;
    font-size: 10px;
}

.chart {
    height: 185px;
    margin-top: 15px;
    border-bottom: 1px solid #2c4058;
}

.chart svg {
    width: 100%;
    height: 100%;
}

.chart-bottom {
    margin-top: 15px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: #172a42;
    border: 1px solid #2c4768;
    border-radius: 10px;
    box-shadow: 0 12px 30px #0005;
}

.floating-one {
    top: 0;
    right: -12px;
}

.floating-two {
    bottom: 0;
    left: -15px;
}

.float-icon {
    background: #204f88;
    color: #80b8ff;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 18px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
}

.floating-card small {
    color: #8fa1b8;
    font-size: 9px;
}

/* INFORMATION STRIP */
.info-strip {
    background: #101e31;
    border-top: 1px solid #20334c;
    border-bottom: 1px solid #20334c;
    padding: 30px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-grid div {
    padding-left: 18px;
    border-left: 2px solid #398bff;
}

.info-grid strong,
.info-grid span {
    display: block;
}

.info-grid strong {
    font-size: 13px;
}

.info-grid span {
    color: #8fa1b8;
    font-size: 11px;
}

/* SECTION HEADINGS */
.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-heading h2,
.about-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 4vw, 39px);
    line-height: 1.3;
    margin: 13px 0;
    letter-spacing: -1px;
}

.section-heading p,
.about-content p {
    color: #98a9bf;
    font-size: 14px;
}

/* ABOUT */
.about-section {
    background: #0b1423;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image-box {
    min-height: 390px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 30%, #285b97, transparent 55%),
        linear-gradient(145deg, #152e4b, #0d192a);
    border: 1px solid #2b4565;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.about-symbol {
    width: 125px;
    height: 125px;
    display: grid;
    place-items: center;
    border: 2px solid #71b2ff;
    border-radius: 30px;
    font-size: 80px;
    font-weight: 800;
    color: #8bc2ff;
    margin-bottom: 25px;
}

.about-image-text span {
    color: #8bbcff;
    font-size: 11px;
    letter-spacing: 3px;
}

.about-image-text h3 {
    font-size: 23px;
    margin-top: 10px;
    max-width: 300px;
}

.experience-label {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    background: #1b3c62;
    padding: 15px 22px;
    border-radius: 10px;
}

.experience-label strong {
    font-size: 30px;
    color: #74b3ff;
}

.experience-label span {
    font-size: 11px;
    line-height: 1.4;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 17px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 25px 0 30px;
}

.about-points div {
    font-size: 12px;
    color: #c5d1e1;
}

.about-points span {
    color: #4cafff;
    margin-right: 6px;
}

/* MARKETS */
.markets-section {
    background: #080f1c;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.market-card {
    background: #101d2e;
    border: 1px solid #20334b;
    padding: 27px 20px;
    border-radius: 12px;
    transition: .3s;
}

.market-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    border-color: #438be9;
}

.market-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.bitcoin {
    background: #49351d;
    color: #ffb947;
}

.ethereum {
    background: #272f51;
    color: #a5b5ff;
}

.forex {
    background: #183c38;
    color: #65dcb4;
}

.gold {
    background: #443b1c;
    color: #f1cf60;
}

.market-card h3 {
    font-size: 17px;
}

.market-card p {
    color: #8fa1b8;
    font-size: 12px;
}

.market-tag {
    display: inline-block;
    margin-top: 18px;
    color: #6caeff;
    background: #172d48;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 10px;
}

.market-disclaimer {
    color: #8294aa;
    font-size: 11px;
    text-align: center;
    margin-top: 25px;
}

/* FEATURES */
.features-section {
    background: #0b1423;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #101e31;
    border: 1px solid #223750;
    border-radius: 12px;
    padding: 28px;
    transition: .3s;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #1c3e67;
    color: #77b5ff;
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 9px;
}

.feature-card p {
    color: #91a3b9;
    font-size: 12px;
}

/* HOW IT WORKS */
.how-section {
    background: #080f1c;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: #101e31;
    border: 1px solid #223750;
    border-radius: 12px;
    padding: 30px;
}

.step-number {
    color: #4b9aff;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    font-weight: 800;
}

.step-card h3 {
    font-size: 17px;
    margin: 14px 0 9px;
}

.step-card p {
    color: #91a3b9;
    font-size: 12px;
}

/* CTA */
.cta-section {
    padding: 85px 0;
    text-align: center;
    background:
        radial-gradient(ellipse at center, #194b82, transparent 70%),
        #10233c;
    border-top: 1px solid #294c71;
    border-bottom: 1px solid #294c71;
}

.cta-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    margin: 12px 0;
}

.cta-content p {
    color: #b6c7dc;
    margin: 0 auto 25px;
    max-width: 550px;
    font-size: 14px;
}

/* FAQ */
.faq-section {
    background: #0b1423;
}

.faq-container {
    max-width: 800px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #111f32;
    border: 1px solid #263a53;
    border-radius: 9px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #f4f7fc;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
}

.faq-question span {
    color: #58a4ff;
    font-size: 23px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #9eafc3;
    font-size: 12px;
}

.faq-item.active .faq-answer {
    max-height: 180px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* CONTACT */
.contact-section {
    background: #10233b;
    padding: 60px 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-content h2 {
    font-size: 28px;
    margin: 8px 0;
}

.contact-content p {
    color: #a9bad0;
    font-size: 13px;
}

.contact-email {
    color: #82baff;
    font-size: 14px;
    font-weight: 700;
}

/* FOOTER */
.footer {
    background: #070d17;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-brand p {
    color: #8394aa;
    font-size: 12px;
    max-width: 280px;
    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-column a {
    color: #8d9db2;
    font-size: 12px;
}

.footer-column a:hover {
    color: #62a8ff;
}

.footer-bottom {
    border-top: 1px solid #1b2a3d;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #78899f;
    font-size: 10px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 950px) {
    .nav-links {
        gap: 13px;
    }

    .hero-grid,
    .about-grid {
        gap: 35px;
    }

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .navbar {
        position: relative;
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #101e31;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #293d56;
        border-radius: 0 0 10px 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-buttons {
        gap: 10px;
    }

    .login-btn {
        display: none;
    }

    .signup-btn {
        padding: 9px 12px;
        font-size: 11px;
    }

    .hero {
        padding: 75px 0;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        margin-top: 25px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        width: 91%;
    }

    .logo {
        font-size: 15px;
        gap: 7px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-visual {
        padding: 15px 5px;
    }

    .chart-card {
        padding: 18px;
    }

    .floating-one {
        right: -3px;
    }

    .floating-two {
        left: -3px;
    }

    .floating-card {
        padding: 9px;
    }

    .floating-card strong {
        font-size: 9px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .info-grid,
    .market-grid,
    .features-grid,
    .about-points {
        grid-template-columns: 1fr;
    }

    .about-image-box {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .section {
        padding: 75px 0;
    }
}/* AUTHENTICATION PAGES */

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 15px;
    background: #081321;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #111f32;
    border: 1px solid #2a405c;
    border-radius: 14px;
    padding: 35px;
}

.auth-logo {
    display: block;
    text-align: center;
    color: white;
    font-size: 25px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 30px;
}

.auth-logo span {
    color: #398bff;
}

.auth-card h1 {
    color: white;
    font-size: 27px;
    text-align: center;
    margin-bottom: 10px;
}

.auth-description {
    color: #a9bad0;
    text-align: center;
    font-size: 13px;
    margin-bottom: 25px;
}

.auth-card label {
    display: block;
    color: #c7d3e3;
    font-size: 13px;
    margin: 15px 0 7px;
}

.auth-card input,
.auth-card select {
    width: 100%;
    padding: 13px;
    background: #0a1525;
    border: 1px solid #2b405b;
    border-radius: 7px;
    color: white;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.auth-card input:focus,
.auth-card select:focus {
    border-color: #398bff;
}

.auth-card select {
    cursor: pointer;
}

.auth-card select option {
    background: #111f32;
    color: white;
}

.auth-card button {
    width: 100%;
    padding: 14px;
    margin-top: 22px;
    background: #2877e8;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.auth-card button:hover {
    background: #1763ce;
}

.auth-card button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-switch {
    text-align: center;
    color: #a9bad0;
    font-size: 13px;
    margin-top: 22px;
}

.auth-switch a {
    color: #62a5ff;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.demo-notice {
    text-align: center;
    color: #8294aa;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 22px;
}

#signupMessage {
    color: #65dcb4;
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px 20px;
    }

    .auth-card h1 {
        font-size: 23px;
    }
}

/* GLOBAL RESPONSIVE FIX */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1200px);
    margin-left: auto;
    margin-right: auto;
}

/* TABLET AND MOBILE */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
    }

    img {
        height: auto;
    }

    section {
        max-width: 100%;
    }
}

/* SMALL MOBILE SCREENS */

@media screen and (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }

    h1 {
        font-size: clamp(28px, 8vw, 40px);
    }

    h2 {
        font-size: clamp(23px, 6vw, 32px);
    }
}

/* SCDFX TRADE CUSTOMER DASHBOARD */

.dashboard-page {
    min-height: 100vh;
    background: #07111f;
    color: #ffffff;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    background: #0d1b2d;
    border-bottom: 1px solid #24364d;
}

.dashboard-container {
    width: min(100% - 32px, 1050px);
    margin: 40px auto;
}

.welcome-section {
    margin-bottom: 30px;
}

.dashboard-label {
    color: #4b9cff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.welcome-section h1 {
    font-size: 30px;
    margin: 12px 0;
}

.welcome-section p {
    color: #a8b5c7;
}

.balance-card {
    background: linear-gradient(135deg, #123c75, #1264c4);
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 25px;
}

.balance-card p {
    font-size: 15px;
    color: #dceaff;
}

.balance-card h2 {
    font-size: 38px;
    margin: 15px 0;
}

.balance-card small {
    color: #dceaff;
}

.account-card {
    background: #101f32;
    border: 1px solid #24364d;
    padding: 25px;
    border-radius: 14px;
}

.account-card h2 {
    margin-bottom: 20px;
}

.account-detail {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #24364d;
}

.account-detail span {
    color: #a8b5c7;
}

.account-detail strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.logout-button {
    background: #e54848;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 7px;
    cursor: pointer;
}

.dashboard-notice {
    margin-top: 25px;
    padding: 20px;
    background: #101f32;
    border: 1px solid #24364d;
    border-radius: 12px;
}

.dashboard-notice p {
    color: #a8b5c7;
    line-height: 1.7;
}

#dashboardMessage {
    color: #ff8585;
    margin: 15px 0;
}

@media (max-width: 600px) {
    .dashboard-header {
        padding: 16px;
    }

    .dashboard-container {
        margin: 25px auto;
    }

    .balance-card h2 {
        font-size: 30px;
    }

    .account-detail {
        flex-direction: column;
        gap: 7px;
    }

    .account-detail strong {
        text-align: left;
    }
}


/* SCDFX TRADE CREATIVE DASHBOARD */

.dashboard-page {
    margin: 0;
    background: #07111f;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 245px;
    background: #0d1b2d;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid #1e3047;
}

.dashboard-logo {
    color: white;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 55px;
}

.dashboard-logo span {
    color: #368cff;
}

.sidebar-heading {
    color: #74859c;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.side-link {
    color: #aab8cb;
    text-decoration: none;
    padding: 15px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: 0.2s;
}

.side-link:hover,
.side-link.active {
    background: #16345a;
    color: #ffffff;
}

.sidebar-bottom {
    margin-top: auto;
    color: #8292a8;
    font-size: 12px;
    line-height: 1.6;
}

.sidebar-logout {
    width: 100%;
    padding: 12px;
    border: 0;
    background: #351f2a;
    color: #ff8b9a;
    border-radius: 8px;
    cursor: pointer;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
    padding: 30px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #1e3047;
}

.topbar-small {
    color: #4d9cff;
    font-size: 11px;
    letter-spacing: 2px;
}

.dashboard-topbar h2 {
    margin: 5px 0;
}

.topbar-status {
    background: #123b35;
    color: #6ce0b1;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 12px;
}

.welcome-section {
    margin: 35px 0 25px;
}

.welcome-small {
    color: #4d9cff;
    font-size: 12px;
    letter-spacing: 2px;
}

.welcome-section h1 {
    font-size: 30px;
    margin: 10px 0;
}

.welcome-section h1 span {
    color: #4d9cff;
}

.welcome-section p:last-child {
    color: #94a6bd;
}

.balance-card {
    background: linear-gradient(120deg, #123d75, #1268c8);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 12px 35px rgba(0, 70, 160, 0.15);
}

.balance-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-top p {
    margin: 0 0 7px;
    font-weight: bold;
}

.balance-top small {
    color: #c3ddff;
}

.balance-icon {
    font-size: 35px;
}

.balance-card h2 {
    font-size: 42px;
    margin: 25px 0;
    overflow-wrap: anywhere;
}

.balance-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.balance-actions button {
    border: none;
    padding: 13px 23px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.deposit-button {
    background: white;
    color: #1255a0;
}

.withdraw-button {
    background: #071d38;
    color: white;
}

.balance-disclaimer {
    font-size: 11px;
    color: #d3e6ff;
    margin-top: 22px;
}

.market-section {
    margin-bottom: 40px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin-bottom: 7px;
}

.section-heading p {
    color: #8fa2bb;
    font-size: 13px;
}

.market-label {
    color: #69b6ff;
    background: #122e4c;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 10px;
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.crypto-card {
    background: #101f32;
    border: 1px solid #24364d;
    padding: 20px;
    border-radius: 13px;
    min-width: 0;
    transition: 0.2s;
}

.crypto-card:hover {
    transform: translateY(-3px);
    border-color: #398fff;
}

.crypto-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coin-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
}

.bitcoin { background: #5a3510; color: #ffb547; }
.ethereum { background: #26365c; color: #9bb6ff; }
.solana { background: #263e3a; color: #6be2b5; }
.bnb { background: #504116; color: #ffdb66; }
.xrp { background: #28364b; color: #c9d8ed; }
.cardano { background: #163d71; color: #78b9ff; }

.coin-symbol {
    color: #8da2bb;
    font-size: 12px;
    font-weight: bold;
}

.crypto-card h3 {
    font-size: 14px;
    color: #9eb0c5;
    margin: 18px 0 10px;
}

.crypto-card h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
}

.coin-up {
    color: #54d6a0;
    font-size: 11px;
}

.coin-down {
    color: #ff8585;
    font-size: 11px;
}

.market-disclaimer {
    color: #8497ad;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 16px;
}

.account-section {
    background: #101f32;
    border: 1px solid #24364d;
    padding: 25px;
    border-radius: 13px;
}

.account-section h2 {
    margin-top: 0;
    margin-bottom: 22px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.account-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-wrap: anywhere;
}

.account-item span {
    color: #8295ad;
    font-size: 12px;
}

.account-item strong {
    font-size: 14px;
}

.dashboard-footer {
    text-align: center;
    color: #71849c;
    font-size: 12px;
    padding: 35px 0 10px;
}

#dashboardMessage {
    color: #ff8b8b;
    margin-top: 15px;
}

/* POPUP WINDOWS */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal.show {
    display: flex;
}

.modal-box {
    position: relative;
    background: #102137;
    border: 1px solid #2a4664;
    border-radius: 15px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
}

.modal-box h2 {
    margin-top: 0;
}

.modal-box p {
    color: #a8b8ca;
    line-height: 1.6;
    font-size: 14px;
}

.modal-box label {
    display: block;
    margin: 18px 0 8px;
}

.modal-box input {
    width: 100%;
    padding: 13px;
    box-sizing: border-box;
    border: 1px solid #38516d;
    border-radius: 8px;
    background: #071526;
    color: white;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.modal-action {
    width: 100%;
    margin-top: 18px;
    padding: 13px;
    background: #2678df;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#withdrawMessage {
    color: #ff9b9b;
}

/* TABLET */

@media (max-width: 950px) {
    .sidebar {
        width: 195px;
    }

    .crypto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-main {
        padding: 22px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .dashboard-layout {
        display: block;
    }

    .sidebar {
        width: auto;
        padding: 15px;
        display: block;
        border-right: none;
        border-bottom: 1px solid #24364d;
    }

    .dashboard-logo {
        display: block;
        margin-bottom: 18px;
    }

    .sidebar-heading,
    .sidebar-bottom {
        display: none;
    }

    .side-link {
        display: inline-block;
        padding: 10px;
        font-size: 12px;
        margin: 0 3px 0 0;
    }

    .dashboard-main {
        padding: 17px;
    }

    .dashboard-topbar {
        align-items: flex-start;
    }

    .dashboard-topbar h2 {
        font-size: 19px;
    }

    .topbar-status {
        font-size: 10px;
        padding: 8px;
    }

    .welcome-section h1 {
        font-size: 25px;
    }

    .balance-card {
        padding: 22px;
    }

    .balance-card h2 {
        font-size: 32px;
    }

    .crypto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .crypto-card {
        padding: 14px;
    }

    .crypto-card h2 {
        font-size: 17px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .crypto-grid {
        grid-template-columns: 1fr;
    }

    .balance-actions button {
        width: 100%;
    }
}

/* SCDFX PRIVATE ADMIN DASHBOARD */

.admin-page {
    min-height: 100vh;
    background: #07111f;
    color: white;
    font-family: Arial, sans-serif;
}

.admin-header {
    background: #0d1b2d;
    border-bottom: 1px solid #263b55;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.admin-header > span {
    color: #64aaff;
    font-size: 11px;
    letter-spacing: 1px;
}

.admin-header button {
    background: #38202a;
    color: #ff9aaa;
    border: none;
    padding: 11px 18px;
    border-radius: 7px;
    cursor: pointer;
}

.admin-container {
    width: min(100% - 32px, 850px);
    margin: 45px auto;
}

.admin-welcome {
    margin-bottom: 30px;
}

.admin-welcome p {
    color: #4b9cff;
    font-size: 12px;
    letter-spacing: 2px;
}

.admin-welcome h1 {
    font-size: 32px;
}

.admin-welcome span,
.admin-card > p {
    color: #9aabc0;
}

.admin-card {
    background: #101f32;
    border: 1px solid #263b55;
    padding: 25px;
    border-radius: 13px;
    margin-bottom: 22px;
}

.admin-card h2,
.admin-card h3 {
    margin-top: 0;
}

.admin-card label {
    display: block;
    margin: 18px 0 9px;
    color: #a9bbd0;
}

.admin-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    background: #071526;
    border: 1px solid #354d69;
    border-radius: 8px;
    color: white;
    outline: none;
}

.admin-card input:focus {
    border-color: #398fff;
}

.admin-card button {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    background: #2678df;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.admin-detail {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #263b55;
}

.admin-detail span {
    color: #91a4bb;
}

.admin-detail strong {
    overflow-wrap: anywhere;
    text-align: right;
}

.admin-card hr {
    border: 0;
    border-top: 1px solid #263b55;
    margin: 25px 0;
}

#adminMessage,
#balanceMessage {
    color: #ff9b9b;
    font-size: 13px;
    line-height: 1.5;
}

.admin-disclaimer {
    color: #8194aa;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

@media(max-width: 600px) {
    .admin-header {
        padding: 15px;
        flex-wrap: wrap;
    }

    .admin-container {
        margin: 25px auto;
    }

    .admin-card {
        padding: 18px;
    }

    .admin-detail {
        flex-direction: column;
        gap: 7px;
    }

    .admin-detail strong {
        text-align: left;
    }
}