@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --color-one : #6b573c;
    --color-two: #745e41;
    --color-three: #fafaf1;
    --color-four: #ffeba8;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: "Montserrat", sans-serif;
}

.wrapper {
    width: 60%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, 
        #806948 0%, 
        #6b573c 30%,  
        #1a1717 70%,  
        #0e0d0d 85%,    
        #0e0d0d 100%  
    );
    background-attachment: fixed;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 8px 25px;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.scrolled {
    background: #0d0c0c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.top-nav .logo {
    text-decoration: none;
    color: #fafaf1;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    padding: 3px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.052),
                inset -1px -1px 2px rgba(0, 0, 0, 0.043);
    color: #fbfbfa;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.034);
}

.nav-link i {
    font-size: 14px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover {
    text-shadow: 0 0 5px #fbfbfa;
    color: #fbfbfa;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
}

.main-content  .notification-marquee {
    display: flex;
    align-items: center;
    border-radius: 15px;
    padding: 3px 0;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.084);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fbfbfa;
    position: relative;
    overflow: hidden;
}

.notification-container {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.027);
    height: 100%;
    z-index: 2;
}

.notification-icon {
    font-size: 18px;
    color: #ffeba8;
}

.message-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.message {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: slideMessage 200s linear infinite;
    font-size: 12px;
    color: #dcdcdc;
}

@keyframes slideMessage {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* HERO-BANNER */
.hero-banner {
    width: 100%;
    height: 250px;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.228), rgba(0, 0, 0, 0.462));
    z-index: 1;
}
/* END HERO BANNER */

/* QUICK SUMMARY CARDS */
.quick_summary_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0;
}

.quick_summary_cards .card {
  width: 100%;
  min-height: 130px;
  border-radius: 16px;
  padding: 12px 16px;
  color: #fbfbfa;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px; /* reduced from 15px */
}

.quick_summary_cards .card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../assets/AI-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.quick_summary_cards .card > * {
  position: relative;
  z-index: 2;
}

.quick_summary_cards .card .card_title {
  font-size: 13px;
  color: #cfcfcf;
  margin-bottom: 2px;
}

.quick_summary_cards .card .card_value span {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.quick_summary_cards .card .card_equivalent {
  font-size: 13px;
  color: #cccccc;
}


.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #0d0c0c;
  padding: 10px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  /* border: 1px solid blue; */
}

.bottom-nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-links a {
    text-decoration: none;
}

.bottom-nav .link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bottom-nav .link .icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.bottom-nav .link.active {
  color: #fff;
}

.bottom-nav .link.active .icon, .bottom-nav .link.active span {
  color: #806948;
}

.bottom-nav .link:hover {
  color: #eee;
}

.bottom-nav .link:hover .icon, .bottom-nav .link:hover span {
  color: #806948;
}

.menu-options {
     width: 100%;
    background: rgba(255, 255, 255, 0.058);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.menu-options .menu {
    flex: 1 1 22%;
    min-width: 70px;
    max-width: 25%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.menu:hover {
    transform: scale(1.05);
}

.menu-options .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 0 8px rgba(128, 105, 72, 0.5);
}

.menu .icon i {
    font-size: 24px;
    color: #ffe9a8;
}

.menu .text {
    font-size: 13px;
    font-weight: 500;
    color: #fbfbfa;
}

.activity-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #fff;
    margin-top: 30px;
}

.activity-container .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activity-container .top h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #dcb294;
}

.activity-container .more {
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #ccc;
    gap: 4px;
}

.activities {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity .img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity .record p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.activity .record span {
    font-size: 13px;
    color: #bbb;
    display: block;
    margin-top: 4px;
}

.withdrawal-record-container {
    max-height: 10.5rem;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1.2rem;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.withdrawal-record-container .title h4 {
    font-size: 18px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #dcb294;
    /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); */
}

.withdrawal-records .record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdrawal-records .record:last-child {
    border-bottom: none;
}

.record .credential {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ccc;
}

.record .amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0ff4c6;
}

.realtime_quotes_container {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1.2rem;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.realtime_quotes_container .title h4 {
    font-size: 18px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #dcb294;
}

.quotes-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-asset {
  background: rgba(20, 20, 20, 0.6);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(128, 105, 72, 0.3);
}

.main-asset span {
  color: #ccc;
  font-size: 10px;
}

.assets {
  margin-top: 0.8rem;
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem; */
}

.asset {
  /* background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08); */
  padding: 0.6rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: #ddd;
  display: flex;
  align-items: center;
  /* flex-direction: column; */
  justify-content: space-between;
  gap: 4px;
}

.asset div:first-child {
  font-weight: 500;
  color: #ccc;
}

.asset .price {
    color: rgba(255, 0, 0, 0.841);
    font-size: 13px;
    font-weight: 500;
}

.exchange-logo {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  /* box-shadow: 0 0 6px rgba(0,0,0,0.3); */
}

.info_container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 0 30px rgba(168, 239, 255, 0.06);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info_container .container {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #e2e2e2;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(168, 239, 255, 0.02);
}

.info_container .stats {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.info_container .stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(168, 239, 255, 0.06);
}

.info_container .stat p {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    color: #dddddd;
    margin-bottom: 0.4rem;
}

.info_container .stat span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dcb294;
}


@media (max-width: 768px) {
    .wrapper {
        width: 100%;
    }

    .top-nav {
        padding: 10px 25px;
    }

    .top-nav .logo {
        font-size: 16px;
        /* text-transform: capitalize; */
    }

    .top-nav .nav-links {
        gap: 10px;
    }

    .hero-banner {
        height: 200px;
    }

    .menu-options .menu {
        flex: 1 1 22%;
        max-width: 25%;
    }

    .menu-options .icon {
        width: 40px;
        height: 40px;
    }

    .menu-options .icon i {
        font-size: 18px;
    }

    .menu-options .text {
        font-size: 12px;
    }
}