/* ==========================================================================
   1. ROOT VARIABLES & ANIMATIONS
   ========================================================================== */

:root {
    --page-bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --text-main: #172033;
    --text-muted: #667085;
    --brand: #f1b84b;
    --brand-deep: #c98d1b;
    --accent: #0ea5e9;
    --border: rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* ==========================================================================
   2. BASE & RESET STYLES
   ========================================================================== */

*,
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    background: radial-gradient(circle at top left, rgba(241, 184, 75, 0.16), transparent 30%), radial-gradient(circle at right top, rgba(14, 165, 233, 0.12), transparent 28%), linear-gradient(180deg, #f8fbff 0%, var(--page-bg) 40%, #f6f8fc 100%);
    color: var(--text-main);
}

.body,
.container,
.navbar {
    left: 0;
    right: 0;
}

.container {
    max-width: 1400px !important;
    width: min(1400px, calc(100% - 24px));
}

#div1 {
    width: 100%;
}

#dr {
    display: block;
}


/* ==========================================================================
   3. HEADER & NAVBAR
   ========================================================================== */

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
    background-color: #f5663b;
}

#nav {
    left: 0;
    right: 0;
    width: auto;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-item {
    margin: 0;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.toggle-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* .skyline img {
    filter: brightness(0) invert(1);
} */

.logo-overlay-wrapper {
    width: 100%;
    height: 100px;
    background: url('./uploads/logo-grey.png') center center no-repeat;
    background-size: contain;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-foreground {
    width: 200px;
    height: 200px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}


/* ==========================================================================
   4. SEARCH BOX & BUTTONS
   ========================================================================== */

.search-container {
    margin: 0;
}

.search-box {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
    padding: 5px 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.custom-search-input {
    border: none;
    outline: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
}

.custom-search-input::placeholder {
    color: #888;
}

.search-input {
    border: 0;
    box-shadow: none !important;
    font-size: 1rem;
    padding: 0.95rem 1rem;
}

.search-input:focus {
    box-shadow: none !important;
}

.search-btn {
    background-color: #b8860b;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn i {
    color: white;
    font-size: 16px;
}

.search-button {
    background: linear-gradient(135deg, var(--brand), #ffd56b);
    color: #1f2937;
    border: none;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.9rem 1.35rem;
    box-shadow: 0 10px 24px rgba(241, 184, 75, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(241, 184, 75, 0.38);
    filter: saturate(1.05);
}


/* ==========================================================================
   5. COMMON LAYOUT & TYPOGRAPHY
   ========================================================================== */

.regulators-dropdown {
    margin-left: 100px;
}

.broker-slider,
.broker-search,
.side-rankings-section,
.home-down,
.wiki-nav-list,
.ea-list-l,
.ranking,
.ranking-carousel-wrapper,
.spread-comparison,
.expo-section,
.sentiments-section,
.survey-section,
.protection-section,
.tear-section {
    position: relative;
    padding-top: 22px;
    padding-bottom: 40px;
}

.broker-slider .container,
.broker-search .container,
.side-rankings-section .container,
.home-down .container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 28px;
}

.broker-slider .container,
.broker-search .container {
    overflow: hidden;
}

.broker-search .container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
    border: 1px solid rgba(241, 184, 75, 0.22);
}

.home-down .container {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.88));
}

.main-title,
.rankings-title {
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.main-title {
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 18px;
    max-width: 14ch;
    animation: fadeUp 0.8s ease both;
}

.rankings-title {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 800;
}

.text-1,
.text-2,
.text-3 {
    margin-bottom: 0;
}

.text-2 {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.text-3 {
    color: var(--text-muted);
    font-size: 1.05rem;
}


/* ==========================================================================
   6. STATS & RANKING CARDS
   ========================================================================== */

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.stat-item {
    flex: 1 1 220px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.number {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 800;
    display: block;
    letter-spacing: -0.04em;
}

.label {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-top: 4px;
    display: inline-block;
}

.broker-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.broker-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.broker-link:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.separator {
    display: none;
    color: rgba(102, 112, 133, 0.5);
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.rankings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.header-icons i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    margin-left: 6px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.header-icons i.active,
.header-icons i:hover {
    background: linear-gradient(135deg, var(--brand), #ffd56b);
    color: #1f2937;
    transform: translateY(-2px);
}

.content-section {
    padding: 0 0 24px;
}

.content-section .rankings-list {
    background: var(--surface-strong);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px;
}

.broker-item-link {
    text-decoration: none;
    color: inherit;
}

.broker-contents {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.broker-contents:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.broker-logo-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(241, 184, 75, 0.18), rgba(14, 165, 233, 0.12));
    display: grid;
    place-items: center;
}

.regulated-badge {
    position: absolute;
    top: -10px;
    left: 12px;
    background: #16a34a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.com-img {
    max-width: 70px;
    width: 70px;
    height: 70px !important;
    object-fit: contain;
    border-radius: 18px;
}

.com-img3 {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    background: white;
}

.broker-info {
    flex: 1;
    min-width: 0;
}

.broker-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-weight: 800;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), #ffd56b);
    color: #1f2937;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(241, 184, 75, 0.3);
}


/* ==========================================================================
   7. WIKI NAV & EA TOOLS
   ========================================================================== */

.wiki-nav-list {
    max-width: 1400px;
    width: min(1400px, calc(100% - 24px));
    margin: 0 auto 18px;
    padding: 0 40px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
}

.wiki-nav-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    color: Black;
    font-weight: 600;
    user-select: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.3s;
}

.wiki-nav-item.active,
.wiki-nav-item:hover {
    color: red;
    background: linear-gradient(135deg, var(--brand), #ffd56b);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ea-list-l {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    padding: 14px 4px 20px;
    margin: 16px auto 0;
    width: 100%;
    max-width: 1400px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.ea-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #ffffff 0%, #fffaf0 64%, #fff4d7 100%);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: 0 18px 35px rgba(130, 94, 18, 0.16);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    width: min(330px, 85vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.ea-card::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 166, 40, 0.26) 0%, rgba(217, 166, 40, 0) 72%);
    pointer-events: none;
}

.ea-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 134, 11, 0.42);
    box-shadow: 0 24px 38px rgba(130, 94, 18, 0.22);
}

.ea-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ea-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #d8a129, #b8860b);
    color: white;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 8px 16px rgba(184, 134, 11, 0.3);
}

.income-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(184, 134, 11, 0.14);
    color: #8b6508;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
}

.ea-title {
    flex: 1;
    min-width: 100%;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.22;
    color: #2f2413;
}

.ea-card-income {
    font-size: 13px;
    margin-bottom: 12px;
    color: #6f5a2f;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(184, 134, 11, 0.18);
}

.ea-income {
    font-weight: 800;
    color: #b27a08;
}

.ea-card-desc {
    font-size: 14px;
    flex-grow: 1;
    color: #4a3d27;
    margin-bottom: 16px;
    line-height: 1.6;
}

.ea-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(184, 134, 11, 0.3);
}

.ea-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.ea-price {
    font-weight: 800;
    font-size: 18px;
    color: #8b6508;
}

.ea-old-price {
    font-size: 13px;
    color: #8b94a6;
    text-decoration: line-through;
    margin-left: 0;
}

.ea-btn {
    background: linear-gradient(135deg, #d8a129 0%, #b8860b 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 11px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 18px rgba(184, 134, 11, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.ea-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(184, 134, 11, 0.36);
    filter: brightness(1.06);
}


/* ==========================================================================
   8. VPS CONTAINER
   ========================================================================== */

.ea-vps-container {
    display: flex;
    background: #f9f9f9;
    margin: 0;
    padding: 0;
    overflow-x: visible;
    position: relative;
}

.ea-card-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-left: -48px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, margin-left 0.3s ease;
    z-index: 0;
    cursor: pointer;
    overflow: visible;
}

.ea-card-wrapper:first-child {
    margin-left: 0;
}

.ea-card-wrapper:hover {
    z-index: 10;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-left: 0;
}

.ea-card-tag {
    width: 50px;
    position: absolute;
    top: 0;
    left: 0;
    background: #c49b5f;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: -1px 10px;
    border-bottom-right-radius: 8px;
    z-index: 1;
}

.ea-card-content {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.ea-card-logo {
    width: 68px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 12px;
}

.ea-card-title {
    font-size: 14px;
    font-weight: bold;
    color: #1d2129;
    margin-bottom: 8px;
    text-align: center;
}

.ea-card-specs {
    font-size: 12px;
    color: #86909c;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 14px;
}

.ea-card-btn {
    display: inline-block;
    padding: 5px 6px;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    width: 70%;
}

.btn-free {
    background: #3b76f6;
    color: white;
}

.btn-ultra {
    background: #ff6a00;
    color: white;
}

.btn-pro {
    background: #1a1a2e;
    color: white;
}


/* ==========================================================================
   9. SOCIAL ICONS
   ========================================================================== */

.social-icon.facebook {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1877f2, #0ea5e9);
    color: #fff;
    box-shadow: 0 12px 24px rgba(24, 119, 242, 0.26);
}

.social-icon.facebook:hover {
    transform: translateY(-2px);
}


/* ==========================================================================
   10. FOOTER SECTION
   ========================================================================== */

.foot1-wiki-foot {
    background: #2e3440;
    color: #a3a8b4;
    padding: 40px 0 60px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
}

.foot1-page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.foot1-country-group {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.foot1-choice-txt {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.foot1-current-country {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3b4252;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    border: 1px solid #4c566a;
    transition: background 0.3s;
}

.foot1-current-country:hover {
    background: #434c5e;
}

.foot1-current-flag {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.foot1-arrow-up {
    width: 12px;
    filter: brightness(0) invert(1);
    margin-left: auto;
}

.foot1-obey-txt {
    font-size: 12px;
    line-height: 1.5;
    color: #8892b0;
    margin-top: 10px;
}

.foot1-information-group {
    flex: 1;
    min-width: 300px;
}

.foot1-bottom-logo {
    width: 180px;
    margin-bottom: 20px;
}

.foot1-links-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.foot1-single-link {
    color: #eceff4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.foot1-single-link:hover {
    color: #fcd734;
}

.foot1-segment {
    color: #4c566a;
    margin: 0 12px;
    font-style: normal;
}

.foot1-website-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #8892b0;
    line-height: 1.6;
}


/* ==========================================================================
   11. RISK WARNING MODAL
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    color: #333;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #d9534f;
}

.modal-box h2 {
    margin-top: 0;
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555;
}


/* ==========================================================================
   12. MARKET TICKER (STICKY BOTTOM)
   ========================================================================== */

.foot1-market-ticker-bg {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.foot1-market-ticker-container {
    width: 100%;
    overflow: hidden;
}

.foot1-market-ticker-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
}

.foot1-market-ticker-marquee:hover {
    animation-play-state: paused;
}

.foot1-market-ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.foot1-market-ticker-item:hover {
    background: #f8f9fa;
}

.foot1-ticker-symbol {
    font-weight: 700;
    margin-right: 8px;
    color: #111;
}

.foot1-ticker-value {
    font-weight: 600;
    margin-right: 8px;
}

.foot1-ticker-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    margin-right: 4px;
}

.foot1-ticker-arrow.up {
    border-bottom: 6px solid #28a745;
}

.foot1-ticker-arrow.down {
    border-top: 6px solid #dc3545;
}

.foot1-ticker-change.up {
    color: #28a745;
    font-weight: 600;
}

.foot1-ticker-change.down {
    color: #dc3545;
    font-weight: 600;
}

.foot1-ticker-sep {
    margin-left: 15px;
    color: #ccc;
}


/* ==========================================================================
   13. MEDIA QUERIES
   ========================================================================== */

@media (min-width: 601px) {
    .broker-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }
    .separator {
        display: inline-block;
        margin: 0 6px;
        color: #999;
    }
}

@media (max-width: 1080px) {
    .sticky-top {
        left: 0;
        right: 0;
        margin: 0;
    }
    .navbar {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: #f5663b;
    }
}

@media (max-width: 991px) {
    .container,
    .wiki-nav-list,
    .ea-list-l {
        width: min(100% - 16px, 1400px) !important;
    }
    .broker-slider .container,
    .broker-search .container,
    .side-rankings-section .container,
    .home-down .container {
        padding: 18px;
    }
    .rankings-header,
    .broker-contents,
    .home-down .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .broker-logo-wrapper {
        width: 82px;
        height: 82px;
        flex-basis: 82px;
    }
    .down-r img {
        height: auto !important;
    }
}

@media (max-width: 980px) {
    #regulate {
        width: 50%;
        right: 30px;
        left: 0;
    }
}

@media (max-width: 950px) {
    #dr {
        display: none;
    }
}

@media (max-width: 768px) {
    *,
    .body,
    .container {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .navbar {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: #f5663b;
        left: 0;
        right: 0;
    }
    #down {
        display: none;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }
    .toggle-btn {
        display: block;
    }
    .dropdown-content .regulators-dropdown .container {
        margin-left: 100px;
    }
    .regulator-item {
        width: 100%;
    }
    .custom-search-input {
        font-size: 10px;
        width: 167px;
    }
    .side-by-side-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    #div11,
    #dr {
        width: 100%;
    }
    #div11 .rankings-lists .broker-item {
        width: 100%;
        box-sizing: border-box;
    }
    .ea-vps-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 0;
    }
    .ea-card-wrapper {
        width: 180px;
        margin-left: -40px;
    }
    .ea-card-wrapper:first-child {
        margin-left: 0;
    }
    .ea-card-wrapper:hover {
        margin-left: 0;
    }
    .ea-card-logo {
        width: 40px;
        height: 40px;
    }
    .ea-card-title {
        font-size: 13px;
    }
    .ea-card-specs {
        font-size: 11px;
    }
    .ea-card-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    #div1,
    #div2 {
        width: 50%;
    }
    .wiki-nav-list {
        padding: 0;
        justify-content: flex-start;
    }
    .ea-list-l {
        width: min(100% - 8px, 1400px);
        gap: 14px;
        padding: 10px 2px 16px;
    }
    .foot1-page-width {
        flex-direction: column;
        gap: 30px;
    }
    .foot1-links-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .foot1-segment {
        display: none;
    }
    .foot1-market-ticker-item {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .vps-card {
        width: 130px;
        padding: 12px;
    }
    .vps-title {
        font-size: 14px;
    }
    .btn-vps {
        font-size: 12px;
        padding: 6px 0;
    }
    .wiki-nav-item {
        padding: 8px 16px;
        font-size: 14px;
    }
    .ea-card {
        width: min(300px, 88vw);
        padding: 14px;
    }
    .ea-title {
        font-size: 16px;
    }
    .ea-price {
        font-size: 16px;
    }
    .ea-card-income,
    .ea-card-desc {
        font-size: 13px;
    }
    .ea-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 318px) {
    .navbar {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        background-color: #f5663b;
    }
}