:root{
  --mc-bg:#05070b;
  --mc-panel:#121920;
  --mc-panel-2:#0d131a;
  --mc-card:#151d25;
  --mc-soft:#8b96a8;
  --mc-text:#f7f8ff;
  --mc-purple:#c94cff;
  --mc-purple-2:#7d4dff;
  --mc-pink:#ff2bd6;
  --mc-line:rgba(255,255,255,.07);
}

.mc-account-shell{
  background:
    radial-gradient(circle at 20% 0%, rgba(201,76,255,.13), transparent 34%),
    radial-gradient(circle at 75% 15%, rgba(125,77,255,.11), transparent 36%),
    var(--mc-bg);
  color:var(--mc-text);
  min-height:760px;
  padding:18px 28px 42px;
  font-family:inherit;
}

.mc-account-breadcrumb{
  max-width:1540px;
  margin:0 auto 14px;
  color:#91a0b6;
  font-size:13px;
  font-weight:700;
}

.mc-account-layout{
  max-width:1540px;
  margin:0 auto;
  display:grid;
  grid-template-columns:360px minmax(0,1fr) 420px;
  gap:14px;
}

.mc-account-left,
.mc-account-main,
.mc-account-right{
  min-width:0;
}

.mc-profile-card,
.mc-account-nav,
.mc-invite-card,
.mc-support-card,
.mc-overview-card,
.mc-bets-card,
.mc-activity-card,
.mc-challenge-card,
.mc-fantasy-card,
.mc-ranking-card,
.mc-popular-card{
  background:linear-gradient(180deg,rgba(24,33,42,.96),rgba(14,20,28,.96));
  border:1px solid var(--mc-line);
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}

.mc-profile-card{
  min-height:300px;
  padding:24px;
  position:relative;
  text-align:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(201,76,255,.45), transparent 42%),
    linear-gradient(145deg,#243162,#151b25 70%);
}

.mc-profile-date{
  position:absolute;
  right:18px;
  top:14px;
  font-size:12px;
  color:#fff;
  font-weight:800;
}

.mc-profile-avatar{
  width:116px;
  height:116px;
  margin:42px auto 16px;
  border-radius:50%;
  background:linear-gradient(135deg,#2d3544,#8657ff);
  border:4px solid rgba(255,255,255,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:54px;
  font-weight:950;
  position:relative;
}

.mc-profile-camera{
  position:absolute;
  right:0;
  bottom:4px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--mc-purple),var(--mc-purple-2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  border:3px solid #1a2130;
}

.mc-profile-card h1{
  margin:0;
  font-size:24px;
  color:#fff;
}

.mc-profile-card p{
  margin:7px 0 18px;
  color:#b8c2d3;
  font-weight:700;
}

.mc-profile-actions{
  display:flex;
  justify-content:center;
  gap:8px;
}

.mc-profile-actions a,
.mc-profile-actions button{
  height:34px;
  min-width:42px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid rgba(201,76,255,.75);
  background:rgba(201,76,255,.12);
  color:#eecbff!important;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

.mc-account-nav{
  padding:12px;
  margin-top:12px;
}

.mc-account-nav a{
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 16px;
  border-radius:10px;
  color:#e7ebf5;
  text-decoration:none;
  font-size:16px;
  font-weight:850;
}

.mc-account-nav a span{
  width:20px;
  text-align:center;
  color:#cbd3df;
}

.mc-account-nav a.active{
  background:linear-gradient(90deg,rgba(201,76,255,.78),rgba(125,77,255,.55));
  color:#fff;
  box-shadow:0 10px 24px rgba(201,76,255,.18);
}

.mc-account-nav a:nth-child(7){
  margin-top:8px;
  border-top:1px solid var(--mc-line);
  padding-top:18px;
}

.mc-invite-card{
  margin-top:12px;
  padding:22px;
  min-height:128px;
  background:
    radial-gradient(circle at 80% 50%, rgba(255,43,214,.24), transparent 35%),
    linear-gradient(135deg,#7b6cff,#8c41ff);
}

.mc-invite-card h3,
.mc-support-card h3{
  margin:0 0 10px;
  color:#fff;
}

.mc-invite-card p{
  margin:0 0 14px;
  color:#eef1ff;
  font-weight:700;
  line-height:1.45;
}

.mc-invite-card button{
  border:0;
  border-radius:999px;
  background:#05070b;
  color:#fff;
  padding:9px 14px;
  font-weight:900;
}

.mc-support-card{
  margin-top:12px;
  padding:18px;
}

.mc-support-card a{
  display:flex;
  justify-content:space-between;
  padding:13px 0;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

.mc-support-card span{
  color:var(--mc-purple);
  font-size:24px;
}

.mc-overview-card,
.mc-bets-card,
.mc-activity-card{
  padding:20px;
}

.mc-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.mc-card-head h2,
.mc-card-head h3,
.mc-overview-card h2,
.mc-bets-card h2{
  margin:0;
  color:#fff;
  font-size:18px;
  font-weight:950;
}

.mc-card-head a{
  color:#b66cff;
  font-weight:950;
  text-decoration:none;
}

.mc-pill-tabs{
  display:flex;
  gap:10px;
  margin:20px 0 16px;
}

.mc-pill-tabs button{
  border:0;
  border-radius:999px;
  background:#06090e;
  color:#fff;
  padding:10px 16px;
  font-weight:950;
}

.mc-pill-tabs button.active{
  background:linear-gradient(135deg,var(--mc-purple),var(--mc-purple-2));
  box-shadow:0 10px 28px rgba(201,76,255,.22);
}

.mc-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

.mc-stat-card{
  background:rgba(5,8,13,.74);
  border:1px solid var(--mc-line);
  border-radius:12px;
  padding:22px 12px;
  text-align:center;
}

.mc-stat-card span{
  display:block;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(201,76,255,.16);
  color:var(--mc-purple);
  margin:0 auto 12px;
  line-height:34px;
  font-weight:950;
}

.mc-stat-card strong{
  display:block;
  color:#fff;
  font-size:21px;
  margin-bottom:6px;
}

.mc-stat-card p{
  margin:0;
  color:#a8b3c5;
  line-height:1.35;
  font-weight:700;
}

.mc-bets-card{
  margin-top:12px;
  min-height:310px;
}

.mc-empty-state{
  min-height:205px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#aeb8c9;
}

.mc-empty-icon{
  color:#fff;
  font-size:40px;
  margin-bottom:18px;
  text-shadow:0 0 20px rgba(201,76,255,.65);
}

.mc-empty-state p{
  max-width:360px;
  line-height:1.55;
  margin:0;
  font-weight:700;
}

.mc-activity-card{
  margin-top:12px;
}

.mc-activity-list{
  margin-top:14px;
}

.mc-activity-item{
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:12px;
  padding:15px 0;
  border-top:1px solid var(--mc-line);
  align-items:center;
}

.mc-activity-item span{
  font-size:24px;
}

.mc-activity-item strong{
  display:block;
  color:#fff;
  font-size:16px;
}

.mc-activity-item p{
  margin:4px 0 0;
  color:#8f9bad;
  font-weight:700;
}

.mc-activity-item time{
  color:#98a4b5;
  font-weight:800;
  white-space:nowrap;
}

.mc-account-right{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.mc-challenge-card{
  padding:14px;
}

.mc-challenge-top{
  display:grid;
  grid-template-columns:54px 1fr 20px;
  gap:12px;
  align-items:center;
}

.mc-challenge-top span{
  font-size:40px;
}

.mc-challenge-top h3{
  margin:0;
  color:#fff;
}

.mc-challenge-top p,
.mc-challenge-grid p,
.mc-fantasy-card p{
  margin:4px 0 0;
  color:#9faabc;
  font-weight:700;
}

.mc-challenge-top b{
  color:var(--mc-purple);
  font-size:38px;
}

.mc-challenge-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:14px;
}

.mc-challenge-grid div{
  background:rgba(5,8,13,.78);
  border:1px solid var(--mc-line);
  border-radius:10px;
  padding:14px;
  text-align:center;
}

.mc-challenge-grid strong{
  color:#fff;
  font-size:18px;
}

.mc-fantasy-card{
  display:grid;
  grid-template-columns:82px 1fr;
  gap:14px;
  padding:14px;
  position:relative;
}

.mc-fantasy-card button{
  position:absolute;
  right:12px;
  top:10px;
  border:0;
  background:transparent;
  color:#8e9aab;
  font-size:22px;
}

.mc-fantasy-img{
  width:82px;
  height:82px;
  border-radius:12px;
  background:linear-gradient(135deg,#fff,#7bffcb);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
}

.mc-fantasy-card h3,
.mc-ranking-card h3{
  margin:0 0 4px;
  color:#fff;
}

.mc-fantasy-card a{
  display:inline-block;
  margin-top:8px;
  color:#b66cff;
  text-decoration:none;
  font-weight:950;
}

.mc-ranking-card,
.mc-popular-card{
  padding:18px;
}

.mc-ranking-block{
  margin-top:18px;
}

.mc-ranking-title{
  display:flex;
  align-items:center;
  gap:8px;
}

.mc-ranking-title span{
  width:28px;
  height:28px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--mc-purple),var(--mc-purple-2));
  display:flex;
  align-items:center;
  justify-content:center;
}

.mc-ranking-title strong{
  color:#fff;
  flex:1;
}

.mc-ranking-title a{
  color:#b66cff;
  font-size:12px;
  font-weight:950;
}

.mc-ranking-block p{
  background:rgba(5,8,13,.78);
  border-radius:10px;
  padding:28px 16px;
  color:#a8b3c5;
  font-weight:700;
  text-align:center;
}

.mc-popular-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}

.mc-popular-grid div{
  background:rgba(255,255,255,.04);
  border:1px solid var(--mc-line);
  border-radius:12px;
  min-height:86px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
}

.mc-popular-grid span{
  font-size:11px;
  color:#d8deea;
  font-weight:800;
}

.mc-account-guest-card{
  max-width:520px;
  margin:80px auto;
  background:var(--mc-panel);
  border:1px solid var(--mc-line);
  border-radius:18px;
  padding:34px;
  text-align:center;
}

@media(max-width:1200px){
  .mc-account-layout{
    grid-template-columns:320px 1fr;
  }

  .mc-account-right{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .mc-account-shell{
    padding:12px;
  }

  .mc-account-layout{
    grid-template-columns:1fr;
  }

  .mc-account-right{
    display:flex;
  }

  .mc-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mc-popular-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:520px){
  .mc-profile-card{
    min-height:auto;
  }

  .mc-profile-avatar{
    width:96px;
    height:96px;
    font-size:42px;
  }

  .mc-stats-grid{
    grid-template-columns:1fr;
  }

  .mc-activity-item{
    grid-template-columns:30px 1fr;
  }

  .mc-activity-item time{
    grid-column:2;
  }
}

.mc-favorites-card{
  margin-top:12px;
  padding:18px;
  background:linear-gradient(180deg,rgba(24,33,42,.96),rgba(14,20,28,.96));
  border:1px solid var(--mc-line);
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}

.mc-favorites-card h3{
  margin:0 0 16px;
  color:#fff;
  text-align:center;
  font-size:18px;
  font-weight:950;
}

.mc-fav-section{
  margin-top:18px;
}

.mc-fav-section h4{
  margin:0 0 10px;
  color:#fff;
  font-size:15px;
  font-weight:950;
}

.mc-empty-small{
  margin:18px 0 28px;
  color:#98a4b5;
  font-size:13px;
  font-weight:700;
  text-align:center;
}

.mc-fav-mini-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.mc-fav-mini-card{
  min-height:96px;
  padding:12px;
  border-radius:10px;
  background:rgba(5,8,13,.72);
  border:1px solid var(--mc-line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  text-decoration:none;
}

.mc-fav-mini-card:hover{
  border-color:rgba(201,76,255,.45);
  transform:translateY(-1px);
}

.mc-fav-mini-card img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.mc-fav-mini-card span{
  font-size:26px;
}

.mc-fav-mini-card strong{
  color:#fff;
  font-size:12px;
  line-height:1.25;
}

.mc-fav-list{
  display:grid;
  gap:8px;
}

.mc-fav-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border-radius:10px;
  background:rgba(5,8,13,.72);
  border:1px solid var(--mc-line);
  color:#fff;
  text-decoration:none;
  font-weight:850;
}

.mc-fav-row:hover{
  border-color:rgba(201,76,255,.45);
}

.mc-account-tab-panel{
  display:none;
}

.mc-account-tab-panel.active{
  display:block;
}

.mc-history-list{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.mc-history-row{
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border-radius:12px;
  background:rgba(5,8,13,.72);
  border:1px solid var(--mc-line);
  text-decoration:none;
}

.mc-history-row:hover{
  border-color:rgba(201,76,255,.5);
  transform:translateY(-1px);
}

.mc-history-row > span{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(201,76,255,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.mc-history-row strong{
  display:block;
  color:#fff;
  font-size:15px;
}

.mc-history-row p{
  margin:4px 0 0;
  color:#9faabc;
  font-size:13px;
  font-weight:700;
}

.mc-history-row time{
  color:#9faabc;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.mc-clear-history-btn{
  border:1px solid rgba(201,76,255,.4);
  background:rgba(201,76,255,.12);
  color:#e8c5ff;
  border-radius:999px;
  padding:8px 13px;
  font-weight:900;
  cursor:pointer;
}

.mc-home-favorites-card{
  margin-top:12px;
  padding:20px;
  min-height:310px;
  background:linear-gradient(180deg,rgba(24,33,42,.96),rgba(14,20,28,.96));
  border:1px solid var(--mc-line);
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}

.mc-fav-tabs{
  display:flex;
  gap:10px;
  margin:18px 0;
}

.mc-fav-tabs button{
  border:0;
  border-radius:999px;
  background:#06090e;
  color:#fff;
  padding:10px 16px;
  font-weight:950;
  cursor:pointer;
}

.mc-fav-tabs button.active{
  background:linear-gradient(135deg,var(--mc-purple),var(--mc-purple-2));
  box-shadow:0 10px 28px rgba(201,76,255,.22);
}

.mc-fav-panel{
  display:none;
}

.mc-fav-panel.active{
  display:block;
}

.mc-fav-mini-grid.is-wide{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.mc-fav-empty-box{
  min-height:185px;
  border-radius:14px;
  background:rgba(5,8,13,.72);
  border:1px solid var(--mc-line);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:24px;
}

.mc-fav-empty-box strong{
  color:#fff;
  font-size:16px;
  margin-bottom:8px;
}

.mc-fav-empty-box p{
  margin:0;
  color:#9faabc;
  max-width:360px;
  line-height:1.55;
  font-weight:700;
}

@media(max-width:820px){
  .mc-fav-mini-grid.is-wide{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .mc-fav-tabs{
    overflow:auto;
    padding-bottom:4px;
  }

  .mc-fav-tabs button{
    white-space:nowrap;
  }

  .mc-fav-mini-grid.is-wide{
    grid-template-columns:1fr;
  }
}