* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
}

/* Header and Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navigation {
    background-color: #fff;
    border-bottom: 1px solid #c9a86d;
}
.nav-bar {
    max-width: 1030px;
    margin: 0 auto;
    position: relative;
}
.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
}
.nav-logo img {
    width: 24px;
    height: 24px;
    margin-bottom: -5px;
}
.nav-icons {
    display: flex;
    gap: 10px;
    font-size: 18px;
    color: #000;
}
.nav-icons span:hover {
    color: #c9a86d;
}
.nav-links a {
    padding: 5px 20px;
    background: #fff;
    border-radius: 5px;
    color: #383838;
    text-decoration: none;
}
.nav-links a:hover {
    padding: 5px 20px;
    background: #fafafa;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}
.nav-bottom {
    position: relative;
    background: #c9a86d;
    border-top: 1px solid #c9a86d;
}
.nav-scroll-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    background: #c9a86d;
    border: none;
    cursor: pointer;
    z-index: 2;
    font-size: 14px;
    color: #fbf7ef;
}
.scroll-left {
    left: 0;
}
.scroll-right {
    right: 0;
}
.nav-scroll-menu {
    overflow-x: hidden;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 8px 40px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    transition: scroll-left 0.3s;
    padding-left: 10px;
}
.nav-menu::-webkit-scrollbar {
    display: none;
}
.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.3s;
}
.nav-menu li a:hover {
    color: #d1d1d1;
}
.nav-scroll-button.hidden {
    display: none;
}

/* Container an Content Layout */
.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1030px;
    margin: 0 auto;
    padding: 10px;
    gap: 15px;
}
.left-bar,
.right-bar {
    flex: 0 0 320px;
}
.content {
    flex: 1;
    padding: 0;
    min-width: 0;
}
.content p {
    padding: 10px 0;
    margin: 0;
}
.content h1 {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Arial Black', 'Arial', sans-serif;
    letter-spacing: -0.5px;
    color: #222;
    margin: 0;
    padding: 0;
}
.content h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Arial Black', 'Arial', sans-serif;
    letter-spacing: -0.5px;
    color: #222;
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .content {
        order: 1;
        width: 100%;
    }
    .left-bar,
    .right-bar {
        order: 2;
        width: 100%;
    }
}

/* Breadchrumb */
.top-bar {
    background: #fafafa;
    width: 100%;
    border-bottom: 1px solid #ddd;
}
.breadcrumb {
    max-width: 1030px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}
.breadcrumb-links {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb-links .crumb {
  display: inline-flex;
  align-items: center;
  color: #000;
}
.breadcrumb-links .crumb:not(:last-child)::after {
  content: "/";
  color: #999;
  margin-left: 8px;
  margin-right: 8px;
  font-size: 18px;
  margin-bottom: -3px;
}
.breadcrumb-links a {
  text-decoration: none;
  color: #000;
}
.breadcrumb-links a:hover {
  color: #ddd;
}
.breadcrumb-links .current {
  color: #636363;
  font-weight: bold;
}
.breadcrumb-links span {
    color: #333;
    font-weight: bold;
}
.button-group {
    display: flex;
    gap: 10px;
}
.btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}
.btn i {
    margin-right: 0;
}
.btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Main Price */
.main-price {
    margin-top: 10px;
    display: flex;
    background: #fff;
    overflow: hidden;
}
.tabs-side {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}
.tabs-side button {
    padding: 5px 8px;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #333;
    transition: background 0.2s;
}
.tabs-side button.active {
    background-color: #c9a86d;
    color: white;
    font-weight: bold;
}
.tab-content-area {
    padding: 0 10px;
    flex-grow: 1;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.price-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}
.price {
    color: #202124;
}
.change-box {
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 10px;
}
.change-up {
    background-color: #e6f4ea;
    color: #137333;
}
.change-down {
    background-color: #fce8e6;
    color: #d93025;
}
.change-text-up {
    color: #137333;
    font-size: 14px;
    font-weight: normal;
}
.change-text-down {
    color: #d93025;
    font-size: 14px;
    font-weight: normal;
}
.price-bottom {
    margin-top: 5px;
    font-size: 14px;
    color: #5f6368;
}
.price-bottom a {
    color: #5f6368;
    text-decoration: underline;
    cursor: pointer;
}

/* Charts Filter */
.filter-charts {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 0px;
    margin-top: 10px;
}
.filter-buttons span {
    font-size: 14px;
}
.filter-btn {
    cursor: pointer;
    color: #888;
    font-weight: normal;
    position: relative;
}
.filter-btn.active {
    color: #007bff;
    font-weight: bold;
}
.filter-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Charts */
#chart {
  width: 100%;
  max-width: 100%;
  height: 300px;
  aspect-ratio: 16 / 9;
}

/* Perubahan Harga */
.price-change-grid {
    margin-top: 10px;
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 768px) {
    .price-change-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
.price-change-card {
    background: white;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
}
.price-change-weight {
    display: inline-block;
    background: #fff;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    padding: 2px 6px;
    margin-bottom: 5px;
}
.price-change-price {
    font-size: 18px;
    font-weight: bold;
}
.price-change-per-gram {
    color: gray;
    font-size: 13px;
}
.price-change-diff {
    margin-top: 4px;
    font-size: 13px;
    font-weight: bold;
}
.price-change-up {
    color: #188038;
}
.price-change-down {
    color: #cc0000;
}

/* H2 With Tooltip */
.h2-tooltip {
    display: flex;
    align-items: center;
    gap: 8px;
}
.h2-right-text {
    margin-left: auto;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.tooltip .tooltiptext {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    font-size: 13px;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    color: #000;
    text-align: center;
    border-radius: 10px;
    padding: 2px 8px;
    z-index: 1;
    max-width: 280px;
    width: max-content;
    word-wrap: break-word;
}
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltip-icon {
    background-color: #c9a86d;
    color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

/* Two Column */
.two-column {
    display: flex;
    flex-wrap: wrap;
    max-width: 1030px;
    margin: 0 auto;
    gap: 10px;
}
.column {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
    }
}

/* Table */
.my-table {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    font-size: 14px;
}
.my-table thead {
    border-bottom: 2px solid #333;
}
.my-table th {
    padding: 5px;
}
.my-table td {
    padding: 8px 5px;
}
.my-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}
.align-left {
    text-align: left;
}
.align-left a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    text-decoration: none;
}
.melayang {
    transition: box-shadow 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    position: relative;
    z-index: 0;
}

.melayang:hover {
    background-color: #eee;
}
.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}
.bold {
    font-weight: bold;
}

/* Discover Markets */
.discover-more {
    max-width: 1030px;
    margin: auto;
    padding: 0 10px;
}

.discover-more h2 {
    font-size: 18px;
}

.market-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
}

@media (max-width: 1024px) {
    .market-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .market-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Link styling */
.market-list-card {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    background-color: #ffffff;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #eee;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.market-list-card:hover {
    background-color: #f9f9f9;
}

.market-list-top-row,
.market-list-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.market-list-top-row {
    font-weight: bold;
}

.market-list-bottom-row {
    font-size: 13px;
    color: #444;
}

.market-list-up {
    color: #4caf50;
    font-weight: bold;
}

.market-list-down {
    color: #f44336;
    font-weight: bold;
}

.market-list-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Box for Sidebar */
.box {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
details {
    margin-top: 5px;
}
.label-title {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: #f1f1f1;
    border-radius: 16px;
    padding: 4px 10px;
    margin-bottom: 5px;
}
.label-title::before {
    font-family: "FontAwesome";
    content: "\f017";
    margin-right: 6px;
}
.box hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 12px 0;
}
.rate-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
}
.rate-line .label {
    text-transform: uppercase;
    color: #666;
}
.rate-line .value {
    color: #1a1a1a;
}

/* Accordion */
.accordion {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}
.accordion i {
    font-size: 12px;
}
summary {
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
summary::-webkit-details-marker {
    display: none;
}
.accordion-content {
    padding: 0 10px;
    font-size: 14px;
    color: #555;
}
.fa {
    transition: transform 0.3s ease;
}

/* SidePanel */
.sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-y: auto;
    transition: 0.3s;
}
.openbtn {
    cursor: pointer;
    font-size: 22px;
    margin-bottom: -5px;
}
.sidepanel-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}
.sidepanel-logo img {
    height: 30px;
}
.closebtn {
    font-size: 28px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}
.sidepanel-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #f1f1f1;
    display: block;
    transition: 0.2s;
}
.sidepanel a:hover {
    background-color: #575757;
}

/* SidePAnel Calculator */
.kalkulator {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-y: auto;
    transition: 0.3s;
}
.kalkulator-openbtn {
    cursor: pointer;
    font-size: 22px;
    margin-bottom: -5px;
}
.kalkulator-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}
.kalkulator-logo img {
    height: 30px;
}
.kalkulator-closebtn {
    font-size: 28px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}
.mykalkulator {
    padding: 10px;
    color: white;
}
.kalkulator-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}
.kalkulator-form input[type="text"],
.kalkulator-form select {
    padding: 8px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}
.kalkulator-input-group {
    display: flex;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}
.kalkulator-input-group select {
    border: none;
    padding: 8px;
    font-size: 14px;
    color: #5c5c5c;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.kalkulator-input-group button {
    padding: 8px 12px;
    border: none;
    background-color: #dfdfdf;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.kalkulator-input-group button:hover {
    background-color: #ccc;
}
.kalkulator-lastsearch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.kalkulator-lastsearch a {
    background-color: #222;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.kalkulator-lastsearch a:hover {
    background-color: #444;
}

/* Language Selectr */
.select-language {
    position: relative;
    display: inline-block;
    float: right;
}
.select-language-button {
    cursor: pointer;
    font-size: 22px;
    margin-bottom: -5px;
}
.select-language-button img {
    border: 1px solid #ddd; 
    width:22px; 
    border-radius: 100%;
    margin-bottom: -3px;
}
.select-language-popup {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    width: fit-content;
    z-index: 100;
    white-space: nowrap;
    display: none;
    gap: 16px;
    align-items: center;
}
.select-language-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.select-language-list img {
    height: 22px;
    width: 22px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-bottom: -5px;
    margin-right: 3px;
}
.select-language-list li {
    padding: 0;
}

.select-language-list a {
    display: block;
    padding: 5px 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}
.select-language-list a:hover {
    background: #f0f0f0;
}

/* Table */
.home-table {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 5px;
}
.home-table thead {
    border-left: none;
    background: #fafafa;
}
.home-table th {
    padding: 5px;
}
.home-table td {
    border-top: 1px solid #ddd;
    padding: 8px 5px;
}
.home-table tbody tr:nth-child(even) {
    background-color: #fff;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}
.bold {
    font-weight: bold;
}

.grid-bar {
    max-width: 1030px;
    margin: 0 auto;
    padding: 10px 10px;
}
.grid-bar h2 {
    margin: 0;
    padding: 8px 0;
    font-size: 18px;
}
.goldbox-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    padding: 0;
    height: 400px;
}
.goldbox-box {
    background: #fafafa;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.goldbox-box1 {
    grid-row: span 2;
}
.goldbox-content {
    position: relative;
    width: 100%;
    height: 100%;
}
.goldbox-content img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.goldbox-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: white;
    text-shadow: 0 0 4px black;
    font-size: 14px;
    z-index: 1;
}
.goldbox-info .big { font-size: 18px; font-weight: bold; }
.goldbox-info .small { font-size: 12px; }

@media (max-width: 768px) {
    .goldbox-grid {
        display: flex;
        overflow-x: auto;
        gap: 5px;
        padding: 0;
        height: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .goldbox-grid::-webkit-scrollbar {
        display: none;
    }
    .goldbox-box {
        flex: 0 0 150px;
        position: relative;
    }
    .goldbox-box1 {
        flex: 0 0 150px;
     }
    .goldbox-content {
        width: 100%;
        padding-top: 100%;
    }
    .goldbox-content img,
    .goldbox-info {
        position: absolute;
    }
}
.goldbox-box:hover .goldbox-content,
.goldbox-box:active .goldbox-content {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* Price Box */
.price-boxs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
}
.price-tops {
    background: #fafafa;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 6px;
}
.price-tops a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    text-decoration: none;
}
.price-tops::before {
    content: "💰";
}
.price-tables {
    width: 100%;
    border-collapse: collapse;
}
.price-tables tr {
    border-bottom: 1px solid #eee;
}
.price-tables td {
    padding: 8px 5px;
    font-size: 15px;
}
.price-tables td:first-child {
    color: #555;
    font-weight: bold;
}
.price-tables td:last-child {
    text-align: right;
    color: #2c3e50;
}
@media (max-width: 500px) {
    .price-boxs {
        max-width: 100%;
    }
}

/* Input & Option */
.input-converter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 400px;
    font-family: Arial, sans-serif;
}

.currency-row {
    background-color: #fff;
    display: flex;
    flex-wrap: nowrap;
    border: 1px solid #ccc;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
}
.currency-row input {
    flex: 1;
    border-radius: 5px;
    padding: 10px;
    border: none;
    font-size: 16px;
    outline: none;
    appearance: none;
    min-width: 0;
}
.currency-row select {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 16px;
    outline: none;
    appearance: none;
    min-width: 0;
}

.currency-row select[name="mata_uang_asal"] {
    max-width: 80px;
    width: 100%;
    text-align: center;
    border-left: 1px solid #ddd;
    border-radius: 0;
    background-color: transparent;
}
.currency-row select {
    background-color: #fff;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.currency-row select::-ms-expand {
    display: none;
}
.currency-row button {
    border: none;
    padding: 4px 16px 3px;
    border-radius: 5px;
    margin: 0 5px;
    font-size: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}
.currency-row button:hover {
    background-color: #f0f0f0;
}

.h2converter {
    margin: 51px;
    background-color: #fafafa;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.converter {
    background-color: #fcfcfc;
    padding: 5px;
    margin-top: 2px;
}
.converter p {
    padding: 5px 0 10px 0;
}

.latestinput {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 2px;
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin-top: 3px;
}

.latestinput li a {
    display: block;
    padding: 5px;
    background-color: #fcfcfc;
    border: 1px solid #fafafa;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.latestinput li a:hover {
    background-color: #e0e0e0;
}

/*  Pricing */
.price-rate {
    font-family: Arial, sans-serif;
    color: #202124;
    display: inline-block;
    margin-top: 5px;
}
.rate-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rate-value {
    font-size: 22px;
    font-weight: 500;
}
.rate-change {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}
.percent-down {
    background-color: #fce8e6;
    color: #d93025;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}
.value-down {
    color: #d93025;
    font-weight: 500;
}
.percent-up {
    background-color: #e6f4ea;
    color: #188038;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}
.value-up {
    color: #188038;
    font-weight: 500;
}
.rate-time {
    font-size: 12px;
    color: #5f6368;
    margin-top: 3px;
    margin-bottom: 3px;
}
.rate-time a {
    color: #5f6368;
    text-decoration: underline;
    font-size: 12px;
}
.xmain-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
  color: #000;
}
.xmain-info li {
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}
.xmain-info .xprice-info {
  color: #000;
  font-weight: bold;
}



/* Footer */
.footer {
    background-color: #fafafa;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #ebebeb;
}
.site-footer {
    max-width: 1030px;
    margin: 0 auto;
    padding: 20px 10px;
    font-size: 14px;
    color: #777;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #777;
}
.footer-links a:hover {
    color: #000;
}
.footer-line {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 10px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.footer-bottom img {
    border-radius: 50%;
    border: 1px solid #ddd;
}
.footer-copy {
    font-size: 13px;
}
.footer-right a {
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
}
.footer-right a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .footer-right {
        text-align: left;
    }
}

