 @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
    
    :root {
      --primary: #1FC7D4;
      --primary-dark: #17a2ad;
      --secondary: #7645D9;
      --success: #31D0AA;
      --warning: #ED4B9E;
      --notice: #FFB237;
      --bg: #f8f9fc;
      --card-bg: #fff;
      --text-main: #280D5F;
      --text-muted: #7A6EAA;
      --border: #E7E3EB;
      --gradient: linear-gradient(135deg, #1FC7D4 0%, #7645D9 100%);
    }
    
    * { 
      margin: 0; 
      padding: 0; 
      box-sizing: border-box; 
    }
    
    body {
      font-family: 'Kanit', sans-serif;
      background: var(--bg);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      color: var(--text-main);
    }
    
    /* Top bar */
    .top-bar {
      background: var(--card-bg);
      padding: 1.25rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      position: relative;
      z-index: 10;
    }
    
    .top-bar h1 {
      font-size: 1.75rem;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
      letter-spacing: -0.5px;
    }
    
    .top-bar .actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .top-bar ion-icon {
      font-size: 1.5rem;
      color: var(--text-main);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .top-bar ion-icon:hover {
      color: var(--primary);
    }
    
    .top-bar .connect-btn {
      background: var(--gradient);
      color: #fff;
      border: none;
      border-radius: 16px;
      padding: 0.75rem 1.5rem;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-family: 'Kanit', sans-serif;
    }
    
    .top-bar .connect-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(111, 66, 193, 0.3);
    }
    
    /* Content area */
    main {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
    }
    
    /* Wallet Tabs */
    .wallet-tabs {
      display: flex;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }
    
    .wallet-tab {
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      position: relative;
      transition: all 0.2s ease;
    }
    
    .wallet-tab.active {
      color: var(--primary);
    }
    
    .wallet-tab.active:after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary);
      border-radius: 3px 3px 0 0;
    }
    
    /* Wallet Cards */
    .wallet-card {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 5px 15px rgba(0,0,0,0.03);
      border: 1px solid var(--border);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .wallet-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }
    
    .wallet-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }
    
    .wallet-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-main);
    }
    
    .wallet-amount {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .wallet-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }
    
    /* Action Buttons */
    .action-buttons {
      display: flex;
      gap: 0.75rem;
    }
    
    .action-btn {
      flex: 1;
      padding: 0.75rem;
      border-radius: 12px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-family: 'Kanit', sans-serif;
    }
    
    .action-btn.primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 10px rgba(31, 199, 212, 0.3);
    }
    
    .action-btn.secondary {
      background: var(--secondary);
      color: white;
      box-shadow: 0 4px 10px rgba(118, 69, 217, 0.3);
    }
    
    .action-btn.outline {
      background: transparent;
      color: var(--text-main);
      border: 1px solid var(--border);
    }
    
    .action-btn:hover {
      transform: translateY(-2px);
    }
    
    .action-btn.primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 6px 15px rgba(31, 199, 212, 0.4);
    }
    
    .action-btn.secondary:hover {
      background: #6a3fd4;
      box-shadow: 0 6px 15px rgba(118, 69, 217, 0.4);
    }
    
    .action-btn ion-icon {
      font-size: 1.25rem;
    }
    
    /* Asset List */
    .asset-list {
      margin-top: 1.5rem;
    }
    
    .asset-item {
      display: flex;
      align-items: center;
      padding: 1rem;
      border-radius: 12px;
      margin-bottom: 0.75rem;
      transition: background 0.2s ease;
    }
    
    .asset-item:hover {
      background: rgba(248, 249, 252, 0.7);
    }
    
    .asset-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, #f8f9fc 0%, #e2e6f0 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 1rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    .asset-icon img {
      width: 24px;
      height: 24px;
      border-radius: 50%;
    }
    
    .asset-details {
      flex: 1;
    }
    
    .asset-name {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }
    
    .asset-amount {
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    
    .asset-value {
      font-weight: 600;
      text-align: right;
    }
    
    /* Staking Section */
    .staking-section {
      margin-top: 2rem;
    }
    
    .staking-card {
      background: linear-gradient(135deg, rgba(31, 199, 212, 0.1) 0%, rgba(118, 69, 217, 0.1) 100%);
      border: 1px solid rgba(31, 199, 212, 0.2);
      border-radius: 20px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }
    
    .staking-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
    
    .staking-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--primary);
    }
    
    .staking-apy {
      background: rgba(31, 199, 212, 0.1);
      color: var(--primary);
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.9rem;
    }
    
    .staking-stats {
      display: flex;
      gap: 1rem;
      margin: 1rem 0;
    }
    
    .stat-item {
      flex: 1;
      text-align: center;
    }
    
    .stat-value {
      font-size: 1.5rem;
      font-weight: 600;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    /* Features Grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
    
    .feature-btn {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 0.75rem 0.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .feature-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      border-color: var(--primary);
    }
    
    .feature-btn ion-icon {
      font-size: 1.75rem;
      margin-bottom: 0.5rem;
      color: var(--primary);
    }
    
    .feature-btn span {
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-main);
    }
    
    .stat-label {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    
    /* Bottom Nav */
    .bottom-nav {
      background: var(--card-bg);
      display: flex;
      justify-content: space-around;
      padding: 0.75rem 0;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
      border-top: 1px solid var(--border);
      position: fixed;
      bottom: 0;
      width: 100%;
    }
    
    .bottom-nav div {
      flex: 1;
      text-align: center;
      color: var(--text-muted);
      font-size: 0.75rem;
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .bottom-nav div.active, 
    .bottom-nav div:hover {
      color: var(--primary);
    }
    
    .bottom-nav ion-icon {
      font-size: 1.5rem;
      display: block;
      margin: 0 auto 0.25rem;
    }
    .Default-wrapper{
      width: 100%;
      height: auto;
    }
       .timer-banner {
      background: linear-gradient(135deg, #ED4B9E 0%, #7645D9 100%);
      color: white;
      padding: 0.75rem;
      text-align: center;
      font-weight: 600;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
    }
    .timer-banner.active {
      transform: translateY(0);
    }
     /* Welcome section */
    .welcome-section {
      margin: 1rem 0 1.5rem;
      padding: 0 0.5rem;
    }
    
    .welcome-section h2 {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 0.25rem;
    }
    
    .welcome-section .username {
      color: var(--primary);
      font-weight: 700;
    }
    
    .welcome-section .subtitle {
      color: var(--text-muted);
      font-size: 0.95rem;
    }
    
    /* Notice section */
    .notice-section {
      background: rgba(255, 178, 55, 0.1);
      border: 1px solid rgba(255, 178, 55, 0.3);
      border-radius: 16px;
      padding: 1rem;
      margin: 0 0 1.5rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    
    .notice-section ion-icon {
      color: var(--notice);
      font-size: 1.5rem;
      flex-shrink: 0;
      margin-top: 0.15rem;
    }
    
    .notice-section .notice-content {
      flex: 1;
    }
    
    .notice-section .notice-title {
      font-weight: 600;
      color: var(--notice);
      margin-bottom: 0.25rem;
    }
    
    .notice-section .notice-text {
      font-size: 0.9rem;
      color: var(--text-main);
      line-height: 1.4;
    }
    
    @media (max-width: 768px) {
      .action-buttons {
        flex-wrap: wrap;
      }
      
      .action-btn {
        min-width: calc(50% - 0.5rem);
      }
      
      .wallet-amount {
        font-size: 1.75rem;
      }
    }
    
    @media (max-width: 600px) {
      .bottom-nav { display: flex; }
      main { padding-bottom: 5rem; }
      
      .top-bar {
        padding: 1rem;
      }
      
      .top-bar h1 {
        font-size: 1.5rem;
      }
      
      .wallet-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
      }
    }
    
    @media (min-width: 600px) {
      .bottom-nav { display: none; }
    }

/*    loader sikel*/

.ldrs {
    --uib-size: 44px;
    --uib-color: #c5c4d3;
    --uib-speed: 2s;
    --uib-bg-opacity: 0;
    height: var(--uib-size);
    width: var(--uib-size);
    transform-origin: center;
    animation: rotate var(--uib-speed) linear infinite;
    will-change: transform;
    overflow: visible;
  }

  .car {
    fill: none;
    stroke: var(--uib-color);
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
    will-change: stroke-dasharray, stroke-dashoffset;
    transition: stroke 0.5s ease;
  }

  .track {
    fill: none;
    stroke: var(--uib-color);
    opacity: var(--uib-bg-opacity);
    transition: stroke 0.5s ease;
  }
  .loader-skeleton{
    width: 100%;
    height: calc(100vh - 170px);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .none{
    display: none !important;
  }

  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes stretch {
    0% {
      stroke-dasharray: 0, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 75, 150;
      stroke-dashoffset: -25;
    }
    100% {
      stroke-dashoffset: -100;
    }
  }