/* ================================
   GLOBAL
================================ */
*{margin:0;padding:0;box-sizing:border-box}
html,body{width:100%;overflow-x:hidden}
body{
  background:#020617;
  background-size:cover;
  color:#fff;
  font-family:Segoe UI,sans-serif;
}

/* ================================
   LAYOUT
================================ */
.app{display:flex;min-height:100vh}
.main{flex:1;display:flex;flex-direction:column;background:#020617}
.main-content{ flex:1; padding:20px; background-image: url('../images/bg.jpg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; /* Optional: fixes the background relative to the viewport */ background-position: center center; }
.brand{
  font-weight:700;
  font-size:18px;
  display:flex;
  align-items:center;
}

.brand-bc{
  color:#ec4899;   /* pink BC */
  margin-right:2px;
}

.brand-name{
  color:#ffffff;   /* white WIN.live */
}


/* ================================
   SIDEBAR
================================ */
#sidebar{
  width:240px;
  background:linear-gradient(180deg,#1c2433,#141b28);
  padding:20px;
  flex-shrink:0;
}
.logo{font-weight:700;font-size:18px}
.menu{margin-top:20px}
.menu-btn{
  padding:10px;border-radius:8px;cursor:pointer;color:#cbd5f5
}
.menu-btn.active,.menu-btn:hover{background:#1f2937}
.menu-title{margin:15px 0 5px;color:#64748b;font-size:13px}

.sidebar-close{
  display:none;
  position:absolute;
  top:14px;
  right:14px;
  font-size:20px;
  cursor:pointer;
  color:#cbd5f5;
}

/* Show close button only on mobile */
@media(max-width:992px){
  .sidebar-close{
    display:block;
  }

  #sidebar{
    position:fixed;
  }
}
.stake-icon{
  font-size:22px;
  color:#fbbf24;
}

/* ================================
   HEADER
================================ */
.topbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 18px;background:linear-gradient(180deg,#1c2433,#141b28);
}
.top-left,.top-right{display:flex;align-items:center;gap:12px}
.brand{font-weight:700;font-size:18px;display:flex;align-items:center;gap:6px}
.tabs{display:flex;gap:6px}
.tab{background:#232d3f;padding:6px 14px;border-radius:20px;font-size:13px}
.tab.active{background:#FF3366}
.top-center{flex:1;display:flex;justify-content:center}
.search-box{background:#111827;padding:6px 14px;border-radius:22px;display:flex;gap:8px}
.search-box input{background:transparent;border:none;color:white;width:240px;outline:none}
.balance-pill{background:#111827;padding:6px 12px;border-radius:20px;font-size:13px}
.wallet-pill{background:#FF3366;padding:6px 14px;border-radius:20px;font-size:13px}
.user-pill{background:#111827;padding:4px 10px;border-radius:20px;display:flex;gap:8px}
.avatar{background:#f97316;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600}
.mobile-toggle{display:none;cursor:pointer}

/* ================================
   HERO
================================ */
.hero-banner{
  background:linear-gradient(90deg,rgba(2,6,23,.95),rgba(2,6,23,.6));
  padding:50px 40px;border-radius:18px;
  display:flex;justify-content:space-between;align-items:center;gap:30px;
}
.hero-left{max-width:600px}
.hero-left h1{font-size:34px;font-weight:800}
.hero-left span{color:#fbbf24}
.hero-left p{color:#94a3b8;margin:10px 0 20px}
.create-btn{
  background:#FF3366;border:none;padding:10px 18px;
  border-radius:10px;color:white;font-weight:600;display:inline-flex;gap:6px;
}
.hero-right{max-width:320px;width:100%}
.stake-box{background:rgba(15,23,42,.9);border-radius:14px;padding:18px}
.stake-title{font-weight:700;display:flex;justify-content:space-between}
.stake-text{font-size:13px;color:#94a3b8;margin:8px 0 12px}
.stake-input{display:flex;background:#020617;border-radius:8px}
.stake-input input{flex:1;border:none;background:transparent;color:white;padding:10px}
.stake-input button{background:#FF3366;border:none;padding:0 16px;border-radius:10px;color:white}

/* ================================
   CARDS
================================ */
.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}

.vip-wheel-card{
  background:linear-gradient(135deg,#ec4899,#f43f5e);
  border-radius:18px;padding:20px 24px;
  display:flex;justify-content:space-between;align-items:center;
  min-height:160px;box-shadow:0 20px 40px rgba(236,72,153,.25);
}
.vip-left h3{font-weight:800}
.vip-left p{font-size:13px;opacity:.9;margin:8px 0 14px}
.spin-btn{background:rgba(255,255,255,.2);border:none;padding:8px 14px;border-radius:10px;color:white}

.promo-banner{
  background:linear-gradient(135deg,#6d5dfc,#7c6cff);
  border-radius:20px;padding:30px 35px;
  display:flex;justify-content:space-between;align-items:center;
  box-shadow:0 15px 40px rgba(100,90,255,.45);
}
.promo-text{max-width:460px}
.promo-text h2{font-weight:800}
.promo-text h2 span{color:#fde68a}
.promo-text p{font-size:14px;opacity:.9;margin-bottom:20px}
.promo-btn{background:rgba(255,255,255,.15);border:none;padding:10px 16px;border-radius:10px;color:white}

/* ================================
   FEATURES
================================ */
.features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:24px;
}

.feature-card{
  background:linear-gradient(180deg,#1c2433,#111827);
  border-radius:14px;
  padding:18px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  transition:.3s;
}

.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(0,0,0,.45);
}

.feature-icon{
  font-size:28px;
  margin-bottom:10px;
}

.feature-card h5{
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
}

.feature-card p{
  font-size:12px;
  color:#94a3b8;
}



.games-section{
  margin-top:25px;
  background:linear-gradient(180deg,#1c2433,#111827);
  border-radius:14px;
  padding:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.games-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

.games-header h5{
  font-weight:600;
  display:flex;
  gap:8px;
}

.games-controls button{
  background:#1f2937;
  border:none;
  color:white;
  padding:6px 10px;
  border-radius:6px;
  margin-left:6px;
}

.games-controls .see-all{
  background:#2563eb;
  font-size:12px;
}

.games-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.game-card{
  background:#020617;
  border-radius:12px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
}

.game-icon{
  width:54px;
  height:54px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  color:white;
}

.dice{background:#f43f5e;}
.limbo{background:#3b82f6;}
.hilo{background:#ec4899;}

.game-info h6{
  margin:0;
  font-weight:700;
}

.game-info small{
  color:#94a3b8;
}

.game-stats{
  display:flex;
  gap:12px;
  margin-top:6px;
  font-size:12px;
  color:#fbbf24;
}

.play-btn{
  position:absolute;
  right:12px;
  bottom:12px;
  background:#2563eb;
  border:none;
  color:white;
  padding:4px 10px;
  border-radius:8px;
  font-size:12px;
}

/* ?? Mobile */
@media(max-width:768px){
  .games-list{
    grid-template-columns:1fr;
  }
}

/* ================================
   FOOTER
================================ */
footer{padding:20px;background:linear-gradient(180deg,#1c2433,#141b28);display:flex;justify-content:space-between}

/* ================================
   MOBILE & SIDEBAR
================================ */
#overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;z-index:9}
#overlay.show{display:block}

@media(max-width:992px){
  #sidebar{position:fixed;left:-260px;top:0;height:100%;z-index:10;transition:.3s}
  #sidebar.show{left:0}
  .mobile-toggle{display:block}
  .tabs,.top-center{display:none}
  .app{flex-direction:column}
}

@media(max-width:768px){
  .hero-banner{flex-direction:column;padding:25px 20px}
  .cards{grid-template-columns:1fr}
  .features{grid-template-columns:1fr 1fr}
  footer{flex-direction:column;gap:12px;text-align:center}
}


/* =================================
Login
==================================*/



.login-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.login-card{
  background:linear-gradient(180deg,#1c2433,#111827);
  border-radius:18px;
  padding:36px 28px;
  width:100%;
  max-width:420px;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  text-align:center;
}



.login-card p{
  color:#94a3b8;
  font-size:14px;
  margin-bottom:18px;
}

.wallet-input{
  width:100%;
  background:#020617;
  border:1px solid #1f2937;
  border-radius:10px;
  padding:12px;
  color:white;
  margin-bottom:16px;
  outline:none;
}

.wallet-btn{
  width:100%;
  background:#2563eb;
  border:none;
  padding:14px;
  border-radius:12px;
  color:white;
  font-weight:600;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition:.2s;
}

.wallet-btn:hover{background:#1d4ed8;}

.wallet-status{
  margin-top:12px;
  font-size:13px;
  color:#22c55e;
}

/* ?? Mobile */
@media(max-width:576px){
  .login-card{padding:28px 22px}
  .logo{font-size:22px}
  .wallet-btn{font-size:14px;padding:12px}
}

/* =======================================
			Register
=========================================*/



.register-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.register-card{
  background:linear-gradient(180deg,#1c2433,#111827);
  border-radius:18px;
  padding:36px 28px;
  width:100%;
  max-width:460px;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
  text-align:center;
}



.register-card p{
  color:#94a3b8;
  font-size:14px;
  margin-bottom:20px;
}

.form-group{
  display:flex;
  gap:10px;
  margin-bottom:12px;
}

.form-group input,
.full{
  width:100%;
  background:#020617;
  border:1px solid #1f2937;
  border-radius:10px;
  padding:12px;
  color:white;
  outline:none;
}

.connect-btn{
  width:100%;
  background:#2563eb;
  border:none;
  padding:12px;
  border-radius:10px;
  color:white;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:14px 0;
  cursor:pointer;
}

.register-btn{
  width:100%;
  background:#22c55e;
  border:none;
  padding:12px;
  border-radius:10px;
  color:white;
  font-weight:600;
  cursor:pointer;
}

.wallet-status{
  font-size:13px;
  margin-bottom:10px;
  color:#22c55e;
}

.wallet-box{
  background:#020617;
  border:1px solid #1f2937;
  padding:6px 12px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:8px;
  margin:12px 0;
}

.wallet-box input{
  background:transparent;
  border:none;
  color:white;
  outline:none;
  width:100%;
}

.wallet-connect{
  color:#fbbf24;
  font-size:16px;
  cursor:pointer;
}


/* ?? Mobile */
@media(max-width:576px){
  .form-group{flex-direction:column}
  .register-card{padding:28px 22px}
  .logo{font-size:22px}
}

/*===========================================
             Dashboard
============================================*/
.dashboard-body{
  background:#020617;
  color:white;
  font-family:Segoe UI,sans-serif;
}

/* App Layout */
.dashboard-app{
  display:flex;
  min-height:100vh;
}

/* Sidebar */
.dashboard-sidebar{
  width:240px;
  background:#0f172a;
  padding:20px;
}

.dashboard-sidebar-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.dashboard-sidebar nav a{
  display:block;
  padding:10px;
  border-radius:8px;
  color:#cbd5f5;
  text-decoration:none;
}

.dashboard-sidebar nav a:hover{
  background:#1f2937;
}

/* Main */
.dashboard-main{
  flex:1;
}

/* Header */
.dashboard-header{
  background:#111827;
  padding:12px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Content */
.dashboard-title{
  text-align:center;
  margin:40px 0 30px;
  font-weight:800;
}

.dashboard-title span{color:#3b82f6}

/* Cards */
.dashboard-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.dashboard-step-card{
  background:linear-gradient(180deg,#1c2433,#111827);
  border-radius:14px;
  padding:24px;
  text-align:center;
  box-shadow:0 15px 35px rgba(0,0,0,.5);
}

.dashboard-step-card i{
  font-size:40px;
  margin-bottom:15px;
}

.dashboard-step-card h5{font-weight:700}

.dashboard-step-card p{
  color:#94a3b8;
  font-size:14px;
}

/* Overlay */
.dashboard-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  z-index:9;
}
.dashboard-overlay.show{display:block}

/* Mobile */
@media(max-width:768px){
  .dashboard-steps{
    grid-template-columns:1fr;
  }

  .dashboard-sidebar{
    position:fixed;
    left:-260px;
    top:0;
    height:100%;
    z-index:10;
    transition:.3s;
  }

  .dashboard-sidebar.show{
    left:0;
  }
}
/*===================
        spin
=====================*/
/* ===== VIP SPIN WHEEL ===== */

.spin-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99;
}

.spin-box{
  background:#111827;
  border-radius:18px;
  padding:26px;
  width:100%;
  max-width:360px;
  height:420px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.6);
}

.wheel-wrap{
  width:230px;
  height:230px;
  margin:20px auto;
  position:relative;
}

.wheel{
  width:100%;
  height:100%;
  border-radius:50%;
  background:conic-gradient(
    #64748b 0deg 40deg,     /* $0 */
    #22c55e 40deg 80deg,    /* $1 */
    #3b82f6 80deg 120deg,   /* $5 */
    #eab308 120deg 160deg,  /* $10 */
    #f97316 160deg 200deg,  /* $50 */
    #ef4444 200deg 240deg,  /* $100 */
    #a855f7 240deg 280deg,  /* $500 */
    #06b6d4 280deg 320deg,  /* $1000 */
    #fde047 320deg 360deg   /* $1500 */
  );
  border:8px solid #dc2626;
  transition:transform 4s cubic-bezier(.17,.67,.24,1);
}

.pointer{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-bottom:18px solid #fde68a;
}

.label{
  position:absolute;
  left:50%;
  top:50%;
  transform-origin:0 0;
  font-weight:700;
  font-size:13px;
  color:white;
}

.l1{transform:rotate(5deg) translate(50px)}
.l2{transform:rotate(45deg) translate(50px)}
.l3{transform:rotate(85deg) translate(50px)}
.l4{transform:rotate(125deg) translate(50px)}
.l5{transform:rotate(165deg) translate(50px)}
.l6{transform:rotate(205deg) translate(50px)}
.l7{transform:rotate(245deg) translate(50px)}
.l8{transform:rotate(285deg) translate(50px)}
.l9{transform:rotate(325deg) translate(50px)}

.spin-btn{
  background:#2563eb;
  border:none;
  padding:12px 18px;
  border-radius:10px;
  color:white;
  font-weight:700;
  width:100%;
  cursor:pointer;
}



