/* Reset CSS */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}
li {list-style-type: none;}
a {text-decoration: none;}

/* Main Styles */
:root {
  --primary-color: #5f41ff;
  --secondary-color: #f9e8ef;
  --text-color: #333;
  --gray-light: #eee;
  --white: #fff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #f5f5f5;
}
/* Header Styles */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 540px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: #4930d9;
  transform: translateY(-1px);
}

.logout-btn svg {
  width: 16px;
  height: 16px;
}
.all_wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 16px;
  background: var(--white);
}

/* Header & Navigation */
.index_wrap {
  position: relative;
}

.content img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* LBank Section */
.lbank {
  background: var(--primary-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.lbank ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lbank li {
  color: var(--white);
}

.lbank a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

/* Buy REM Section */
.buyrem {
  background: linear-gradient(145deg, var(--white), var(--secondary-color));
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.buyrem h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.buyrem h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.buyrem ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.buyrem li a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(95, 65, 255, 0.2);
}

.buyrem li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(95, 65, 255, 0.3);
}

.paylogo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.paylogo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-color);
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.2s ease;
}

.paylogo a:hover {
  background: var(--secondary-color);
}

.paylogo a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.paylogo a p {
  margin: 0;
  font-weight: 500;
}

.paylogo img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.buyrem > span {
  display: block;
  text-align: center;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
  background: rgba(95, 65, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
  margin-top: 8px;
}

/* Assets Section */
.assers_bx {
  display: grid;
  gap: 16px;
}

.as_ul02 {
  background: #ffe8d3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 10px;
}

.asser_top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.asser_top img {
  width: 50px;
    height: 50px;
    border-radius: 10px;
}

.le_tx h2 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.le_tx span {
  font-size: 0.875rem;
  color: #666;
}

.as_ul02 h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.change {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}

/* FAQ Section */
.rection03 {
  margin-top: 32px;
}

.sub_title01 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.news_con dl {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news_con dt {
  padding: 16px;
  background: var(--white);
  cursor: pointer;
  position: relative;
}

.news_con dt::after {
  content: '+';
  position: absolute;
  right: 16px;
}

.news_con dt.on::after {
  content: '-';
}

.news_con dd {
  display: none;
  padding: 16px;
  background: var(--gray-light);
}

/* Footer Navigation */
.footer_fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffa104;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index:9999;
}

.footer_fixed_table {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 12px;
}

.ff_td {
  text-align: center;
}

.ff_td a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ff_img img {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.txt_block {
  font-size: 0.75rem;
  color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 540px) {
  .all_wrap {
    padding: 12px;
  }
  
  .buyrem ul {
    grid-template-columns: 1fr;
  }
  
  .footer_fixed_table {
    padding: 8px;
  }
  
  .ff_img img {
    width: 20px;
    height: 20px;
  }
}