:root {
    --bg-main: #0a0a0a;
    --bg-sidebar: #121212;
    --bg-card: #181818;
    --pink: #ff007a;
    --yellow: #ffcc00;
    --orange: #ff6600;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Left */
.sidebar-left {
    width: 280px;
    background-color: var(--bg-sidebar);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.sidebar-left.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close:hover {
    color: var(--pink);
    transform: rotate(90deg);
}

.logo-container {
    padding-bottom: 0;
}

.logo {
    width: 100%;
    max-width: 150px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 122, 0.3));
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-item i {
    width: 18px;
}

.nav-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background-color: var(--pink);
    color: #fff;
}

.sidebar-promo {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #1e1e1e, #121212);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.promo-content h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--pink);
    font-weight: 800;
}

.promo-content p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.btn-promo {
    width: 100%;
    padding: 10px;
    background-color: var(--pink);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 122, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--pink);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding: 25px;
    overflow-y: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-menu {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-menu:hover {
    background-color: var(--pink);
    border-color: var(--pink);
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #151515;
    padding: 12px 20px;
    border-radius: 12px;
    width: 450px;
    border: 1px solid var(--border);
}

.search-container i {
    color: var(--text-muted);
    margin-right: 15px;
}

.search-container input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-sell {
    background-color: var(--pink);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.icon-group {
    display: flex;
    gap: 20px;
}

.icon-badge {
    position: relative;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.icon-badge:hover {
    color: #fff;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--pink);
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--pink);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 14px;
    font-weight: 700;
}

.level {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, #111 0%, #1a1a1a 100%);
    border-radius: 24px;
    height: 320px;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.hero-text {
    z-index: 2;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--pink);
}

.hero-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.btn-explore {
    background-color: var(--yellow);
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-explore:hover {
    background-color: #ffd633;
    transform: scale(1.05);
}

.btn-boosting:hover {
    background-color: #e6b800;
}

.trust-section {
    margin-top: 30px;
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.trust-section h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: var(--pink);
    margin-bottom: 15px;
}

.stars i {
    width: 20px;
    height: 20px;
}

.rating-text strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.rating-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-reviews {
    width: 100%;
    background-color: var(--pink);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reviews:hover {
    background-color: #d10064;
    transform: scale(1.02);
}

.overlay {
    transform: scale(1.05);
}

.hero-image {
    position: absolute;
    right: 50px;
    bottom: -20px;
    height: 110%;
    z-index: 1;
}

.hero-image img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 0, 122, 0.4));
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.pink { background: rgba(255, 0, 122, 0.1); color: var(--pink); }
.stat-icon.yellow { background: rgba(255, 204, 0, 0.1); color: var(--yellow); }
.stat-icon.green { background: rgba(0, 255, 102, 0.1); color: #00ff66; }
.stat-icon.blue { background: rgba(0, 204, 255, 0.1); color: #00ccff; }

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Featured Accounts */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.view-all {
    color: var(--pink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.account-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.account-card:hover {
    transform: translateY(-10px);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-image {
    height: 180px;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}

.tag.popular { background-color: var(--pink); }
.tag.best-seller { background-color: var(--yellow); color: #000; }
.tag.hot { background-color: #ff3300; }
.tag.new { background-color: #00ccff; }

.card-content {
    padding: 20px;
    position: relative;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.edition {
    display: block;
    font-size: 11px;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--pink);
}

.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features li {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.features li i {
    color: var(--pink);
    width: 14px;
}

.btn-cart {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--pink);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cart.yellow { background-color: var(--yellow); color: #000; }
.btn-cart.orange { background-color: var(--orange); }

.btn-cart:hover {
    transform: scale(1.1);
}

/* Popular Games */
.games-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.game-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.game-btn.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.game-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.game-arrow {
    background: none;
    border: none;
    color: var(--pink);
    cursor: pointer;
}

/* Footer Info */
.bottom-info {
    display: flex;
    justify-content: space-between;
    background-color: #111;
    padding: 20px 40px;
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid var(--border);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 20px;
}

.info-text h4 {
    font-size: 12px;
    font-weight: 800;
}

.info-text p {
    font-size: 10px;
    color: var(--text-muted);
}

.pink { color: var(--pink); }
.yellow { color: var(--yellow); }
.orange { color: var(--orange); }
.blue { color: #00ccff; }

/* Sidebar Right */
.sidebar-right {
    width: 320px;
    background-color: var(--bg-sidebar);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-left: 1px solid var(--border);
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.sidebar-right.open {
    transform: translateX(0);
}

.user-card-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.user-card-compact img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.user-card-compact .info h4 {
    font-size: 14px;
    font-weight: 800;
}

.user-card-compact .info p {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-settings-small {
    margin-left: auto;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-settings-small:hover {
    color: var(--pink);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.wallet-card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.wallet-card .label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.balance {
    font-size: 24px;
    font-weight: 900;
}

.btn-add {
    background-color: var(--pink);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.recent-orders .section-header h3 {
    font-size: 14px;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.order-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-info h4 {
    font-size: 12px;
    margin-bottom: 2px;
}

.status.completed {
    font-size: 10px;
    color: #00ff66;
    font-weight: 600;
}

.time {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-muted);
}

.rank-card {
    background: linear-gradient(135deg, #222, #111);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.rank-card h3 {
    font-size: 18px;
    font-weight: 900;
}

.rank-card h3 span { color: var(--yellow); }

.rank-card p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}

.rank-badge {
    margin: 20px 0;
}

.rank-badge img {
    width: 80px;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.4));
}

.btn-boosting {
    width: 100%;
    background-color: var(--yellow);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

.trust-section {
    text-align: center;
}

.trust-section h3 {
    font-size: 14px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stars i.filled {
    color: var(--yellow);
    fill: var(--yellow);
}

.trust-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.score {
    font-size: 18px;
    font-weight: 800;
}

.reviews {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-reviews {
    width: 100%;
    background-color: var(--pink);
    border: none;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

/* Settings Page Specifics */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

.tab-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 30px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notify-list { display: flex; flex-direction: column; gap: 20px; }
.notify-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: #111; border-radius: 12px; border: 1px solid var(--border); }
.notify-info h4 { font-size: 14px; margin-bottom: 5px; }
.notify-info p { font-size: 11px; color: var(--text-muted); }

/* Switch Toggle Style */
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--pink); }
input:checked + .slider:before { transform: translateX(20px); }

.saved-method { display: flex; align-items: center; gap: 20px; padding: 20px; background-color: #111; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 20px; }
.saved-method img { height: 30px; }
.btn-remove { background: none; border: none; color: #ff3300; font-size: 12px; font-weight: 700; cursor: pointer; margin-left: auto; }
.btn-add-method { background: none; border: 1px dashed var(--border); color: var(--text-muted); width: 100%; padding: 15px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; transition: var(--transition); }
.btn-add-method:hover { border-color: var(--pink); color: var(--pink); }

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}
