/* ------------------------------------------------------------------
 * GlobalMarketHub responsive overrides
 * ------------------------------------------------------------------ */
:root {
    --primary-color: #c40000;
    --primary-gradient: linear-gradient(90deg, #c40000 0%, #5b0101 100%);
    --surface-dark: rgba(18, 18, 18, 0.96);
    --text-color: #e9e8e8;
    --heading-color: #ffffff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #000;
    color: var(--text-color);
    font-family: "Lato", "Montserrat", Arial, sans-serif;
    line-height: 1.6;
}

main {
    background-color: #000;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
 a:focus {
    color: #ff6b6b;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    border: 0;
}

.show-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.show-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.body {
    animation: fadeInAnimation ease 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

header {
    background-color: #000;
}

.site-header {
    background-color: #000;
    color: var(--heading-color);
}

.uk-section {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* Navigation ----------------------------------------------------- */
.main-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 72px;
    flex-wrap: wrap;
}

header .uk-navbar-container > .uk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 3rem);
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-right {
    gap: 1.5rem;
}

header .uk-navbar-left section {
    margin: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    text-align: left !important;
}

header .uk-navbar-left section img,
header .nav-logo img {
    display: block;
    width: 120px;
    height: auto;
}

header .uk-navbar-right.uk-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1rem, 2vw, 2.5rem);
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

header .uk-navbar-right.uk-flex > ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 1 auto;
}

header .uk-navbar-right.uk-flex > * {
    flex: 0 0 auto;
}

header .uk-navbar-right.uk-flex .in-optional-nav {
    display: flex;
    align-items: center;
}

header .uk-navbar-item.in-optional-nav > div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uk-navbar-nav,
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-logo img {
    max-width: 100%;
    height: auto;
}

.uk-navbar-nav > li > a,
.nav-links > li > a {
    color: var(--heading-color);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li > a:focus,
.nav-links > li > a:hover,
.nav-links > li > a:focus {
    color: #ff6b6b;
}

.nav-actions .uk-button {
    color: var(--heading-color);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.45rem 1.25rem;
}

.nav-actions .uk-button:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    margin-right: 0.5rem;
}

/* Mobile navigation */
.nav-mobile {
    display: none;
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.mobile-nav-icon {
    width: 18px;
    height: 12px;
    position: relative;
    display: inline-block;
}

.mobile-nav-icon::before,
.mobile-nav-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-icon::before {
    top: 0;
}

.mobile-nav-icon::after {
    bottom: 0;
}

body.menu-open .mobile-nav-icon::before {
    top: 5px;
    transform: rotate(45deg);
}

body.menu-open .mobile-nav-icon::after {
    bottom: 5px;
    transform: rotate(-45deg);
}

body.menu-open .mobile-nav-label {
    color: #ff6b6b;
}

#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 340px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background: var(--surface-dark);
    color: var(--heading-color);
    z-index: 3000;
    display: flex;
}

#mobile-menu[hidden] {
    display: none !important;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open #mobile-menu {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay[hidden] {
    display: none !important;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.75rem 1.5rem 2.5rem;
    overflow-y: auto;
    gap: 1.5rem;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-menu-logo img {
    max-width: 160px;
    height: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--heading-color);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.mobile-menu-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    color: var(--heading-color);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--heading-color);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-menu-btn.primary {
    border: none;
    background: var(--primary-gradient);
}

/* Hero ----------------------------------------------------------- */
.hero-section {
    background-color: #000;
}

.hero-slides {
    background-color: #000;
}

.hero-grid {
    align-items: center;
    min-height: clamp(420px, 76vh, 680px);
    gap: 3rem;
}

.hero-content {
    color: var(--heading-color);
    padding: 3.5rem 0;
}

.hero-title {
    color: var(--heading-color);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-subtitle {
    color: rgba(233, 232, 232, 0.85);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-button {
    background: var(--primary-gradient);
    border: none;
    padding: 0.85rem 1.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-button:hover,
.hero-button:focus {
    background: #111;
    color: var(--heading-color);
}

.hero-footnote {
    color: rgba(233, 232, 232, 0.75);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-footnote .uk-text-primary {
    color: var(--primary-color) !important;
}

.hero-media {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.hero-image {
    max-width: min(100%, 560px);
    height: auto;
}

/* Gradient strip ------------------------------------------------- */
.gradient-strip {
    background-image: linear-gradient(90deg, rgb(196, 0, 0) 0%, #000 100%);
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: var(--heading-color);
}

.gradient-strip-title {
    color: var(--heading-color);
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    padding-right: 6rem;
    padding-top: 1.5rem;
    margin: 0;
}

.gradient-strip-grid {
    padding-right: 6rem;
}

.asset-category-grid {
    row-gap: 1.5rem;
}

.asset-category-grid p {
    color: var(--heading-color);
    font-size: 1.05rem;
}

/* Trading widgets ------------------------------------------------ */
.tradingview-widget-container,
.tradingview-widget-container__widget {
    width: 100% !important;
}

.tradingview-widget-container iframe {
    width: 100% !important;
    min-height: 360px;
}

.bodyi {
    margin-top: 2rem;
}

/* Cards and content helpers ------------------------------------- */
.in-pricing-1 .uk-card {
    background-color: rgba(17, 17, 17, 0.85);
    border: 1px solid rgba(196, 0, 0, 0.35);
    border-radius: 12px;
    height: 100%;
}

.in-pricing-1 .uk-card-header h3,
.in-pricing-1 .uk-card-header p,
.in-pricing-1 .uk-card-body li {
    color: var(--text-color) !important;
}

.in-pricing-1 .uk-button-secondary {
    background: var(--primary-gradient) !important;
    border: none;
}

.uk-text-lead,
.uk-text-small {
    color: var(--text-color);
}

.uk-card-default {
    background: rgba(17, 17, 17, 0.85);
}

/* Video wrapper adjustments ------------------------------------- */
.in-wave-3 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.in-wave-3 .in-wave-video {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.in-wave-3 .in-wave-video img {
    box-shadow: 15px 15px 0 0 #010847;
}

.in-wave-3 .in-wave-video .in-play-button {
    width: 75px;
    height: 75px;
    border-radius: 50px;
    background: rgba(32, 32, 32, 0.9);
    box-shadow: 0 0 0 0 #ffffff;
    animation: pulse-white 2s infinite;
}

.in-wave-3 .in-wave-video i {
    font-size: 24px;
    position: absolute;
    top: 25px;
    left: 28px;
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 0 45px rgba(255, 255, 255, 0);
    }
}

/* Utilities ------------------------------------------------------ */
.uk-text-center .uk-button,
.uk-text-center a {
    justify-content: center;
}

.coinwidget,
#coinmarketcap-widget-marquee {
    width: 100% !important;
}

/* Responsive breakpoints ---------------------------------------- */
@media (max-width: 1280px) {
    .nav-links > li > a {
        letter-spacing: 0.06em;
    }

    .gradient-strip-title,
    .gradient-strip-grid {
        padding-right: 3rem;
    }
}

@media (max-width: 1080px) {
    .nav-right {
        gap: 1rem;
    }
}

@media (max-width: 960px) {
    .nav-right {
        display: none;
    }

    .nav-mobile {
        display: flex;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        padding: 2.5rem 0 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-footnote {
        justify-content: center;
    }

    .hero-media {
        order: -1;
    }

    .gradient-strip-title,
    .gradient-strip-grid {
        padding-right: 0;
        text-align: center;
    }

    .asset-category-grid {
        justify-items: center;
    }

    .in-profit-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .in-wave-3 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 640px) {
    .mobile-menu-inner {
        padding: 1.5rem 1.25rem 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-button {
        flex: 1 1 100%;
    }

    .gradient-strip {
        text-align: center;
    }

    .asset-category-grid p {
        font-size: 1rem;
    }

    .mobile-menu-links a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding-left: 0;
        padding-right: 0;
    }

    .mobile-nav-toggle {
        font-size: 0.85rem;
    }
}
