:root {
    --cr-accent: #ff8c00; /* Dark Orange */
    --cr-accent-dark: #cc7000;
    --cr-bg-dark: #1a1a1a;
    --cr-bg-gray: #242424;
    --cr-bg-lighter: #2d2d2d;
    --cr-text-light: #f5f5f5;
    --cr-text-dim: #b3b3b3;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--cr-bg-dark);
    color: var(--cr-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.cr-nav {
    background-color: #0d0d0d;
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.mt-icon {
    background: var(--cr-accent);
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.logo span {
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 6px 18px 6px 6px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
}

.nav-profile:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 210, 255, 0.3);
}

.nav-balance {
    display: flex;
    flex-direction: column;
}

.balance-label {
    font-size: 0.6rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
}

.balance-value {
    font-size: 0.85rem;
    color: var(--cr-accent);
    font-weight: 800;
}

.profile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--cr-accent);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

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

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

.profile-icon img {
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-navbar-play {
    background-color: #ffd100;
    color: #333;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.btn-navbar-play:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.cr-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.btn-hero-play {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 45px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-hero-play:hover {
    background: white;
    color: var(--cr-accent);
}

/* Mouse Scroll Icon */
.scroll-down {
    position: absolute;
    bottom: 30px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 7px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Main Content Layout (3 Columns) */
.main-content-layout {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 350px 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* News Section Refined - V2 Grid */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.news-card-v2 {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.news-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-v2:hover .news-header img {
    transform: scale(1.1);
}

.news-header-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-badge-top {
    background: var(--cr-accent);
    color: #000;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-views {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.news-body {
    padding: 25px;
    flex-grow: 1;
}

.news-category {
    color: var(--cr-accent);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.news-body h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.news-body p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.news-footer {
    padding: 20px 25px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.news-footer .read-more {
    color: var(--cr-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.news-footer .read-more:hover {
    gap: 12px;
}

/* IP Copy Section */
.ip-copy-section {
    padding: 80px 0;
    background: #0f0f0f;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ip-wrapper {
    display: inline-block;
}

.ip-wrapper p {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cr-text-gray);
}

.ip-box {
    background: #1a1a1a;
    border: 2px dashed var(--cr-accent);
    padding: 15px 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.ip-box:hover {
    background: #222;
    transform: scale(1.02);
}

#server-ip {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cr-accent);
}

.copy-hint {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
}

/* Activity Tables as Sidebars */
.activity-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.activity-card h3 {
    color: white;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.activity-card h3 i {
    color: var(--cr-accent);
}

.activity-table {
    width: 100%;
}

.activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.activity-row:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.05);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.player-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #eee;
}

.activity-value {
    font-weight: 800;
    color: var(--cr-accent);
    font-size: 0.95rem;
}

/* Admin Specific Adjustments */
.admin-page {
    background-color: #0d0d0d !important;
}

.admin-login {
    background: #000 !important;
}

.btn-primary-admin {
    background-color: var(--cr-accent) !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.side-link.active {
    background: rgba(255, 140, 0, 0.1) !important;
    border-left: 3px solid var(--cr-accent) !important;
    color: var(--cr-accent) !important;
}

.badge-status.status-success {
    background: rgba(255, 140, 0, 0.1) !important;
    color: var(--cr-accent) !important;
}

.admin-sidebar {
    background: #111 !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
}

.admin-top-bar {
    background: #111 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.l-stat-card .l-icon {
    background: rgba(255, 140, 0, 0.1) !important;
    color: var(--cr-accent) !important;
}

.chart-visual path {
    stroke: var(--cr-accent) !important;
}

.chart-visual circle {
    fill: var(--cr-accent) !important;
}

.badge-cat {
    background: rgba(255, 140, 0, 0.1) !important;
    color: var(--cr-accent) !important;
}
.registrations-section {
    padding: 60px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.registrations-section h2 {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.reg-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reg-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    width: 130px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.reg-item:hover {
    transform: translateY(-5px);
    border-color: var(--cr-accent);
}

.reg-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.reg-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reg-date {
    color: #555;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Profile Page Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.profile-header-card {
    grid-column: 1 / -1;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 25px 40px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

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

.header-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--cr-accent);
    padding: 4px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.header-user-details h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.header-user-details span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.header-balance-info {
    text-align: right;
}

.header-balance-label {
    display: block;
    color: #666;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.header-balance-value {
    color: var(--cr-accent);
    font-size: 1.6rem;
    font-weight: 900;
}

.profile-sidebar {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.profile-menu {
    list-style: none;
    padding: 10px 0;
}

.profile-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.profile-menu li.active a,
.profile-menu li a:hover {
    background: rgba(255,255,255,0.03);
    color: white;
}

.profile-menu li.active a {
    border-left: 3px solid var(--cr-accent);
    color: var(--cr-accent);
}

.menu-logout a {
    color: #e74c3c !important;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 10px;
}

.profile-content {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.profile-section h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--cr-accent);
    padding-bottom: 10px;
    width: fit-content;
}

.section-hint {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: block;
    color: #888;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group input, 
.form-group select {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus {
    border-color: var(--cr-accent);
    outline: none;
}

@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.footer {
    background: #151515;
    padding: 60px 0 0;
    color: #888;
    border-top: 4px solid var(--cr-accent);
}

.footer-top {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

.footer-links li a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '•';
    color: var(--cr-accent);
}

.footer-links li a:hover {
    color: white;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-footer-play {
    background: var(--cr-accent);
    color: white;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
}

.btn-footer-play:hover {
    background: var(--cr-accent-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0f0f0f;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--cr-accent);
    transform: translateY(-3px);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--cr-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Market Page Styles */
.market-page {
    background-color: var(--cr-bg-dark);
}

.market-hero {
    background: linear-gradient(135deg, var(--cr-accent) 0%, var(--cr-accent-dark) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.market-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.market-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

.market-sidebar {
    background: white;
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.market-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--cr-accent);
    padding-bottom: 10px;
    display: inline-block;
}

.category-list {
    list-style: none;
}

.cat-btn {
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cr-text-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.cat-btn:hover, .cat-btn.active {
    background: var(--cr-accent);
    color: white;
    border-color: var(--cr-accent);
    transform: translateX(5px);
}

.products-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.products-grid.active {
    display: grid;
}

.product-card {
    background: var(--cr-bg-gray);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd100;
    color: #333;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
}

.product-image {
    height: 200px;
    background: var(--cr-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-image img {
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.description {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cr-accent);
}

.btn-buy {
    background: var(--cr-accent);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buy:hover {
    background: var(--cr-accent-dark);
}

@media (max-width: 900px) {
    .market-container {
        grid-template-columns: 1fr;
    }
}

/* Full LeaderOS Clone Refinement */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

.admin-sidebar {
    width: 260px;
    background: #0d0d0d;
    border-right: 1px solid #1a1a1a;
}

.sidebar-header {
    padding: 25px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: var(--cr-accent);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo-text span { color: var(--cr-accent); }

.sidebar-nav { padding: 20px 15px; }

.nav-label {
    font-size: 0.65rem;
    color: #444;
    font-weight: 700;
    padding: 20px 0 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.side-link {
    width: 100%;
    background: transparent;
    border: none;
    color: #777;
    padding: 12px 15px;
    margin-bottom: 2px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.9rem;
}

.side-link .icon { font-size: 1.1rem; opacity: 0.7; }

.side-link:hover { color: #eee; background: rgba(255,255,255,0.03); }

.side-link.active {
    background: #141414;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.side-link.active .icon { color: var(--cr-accent); opacity: 1; }

/* Admin Header Refinement */
.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 30px;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 90;
}

.header-left .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.breadcrumb .icon-box {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #444;
}

.breadcrumb .current {
    color: #eee;
}

.header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.top-search {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.top-search i {
    position: absolute;
    left: 15px;
    color: #444;
    font-size: 0.9rem;
}

.top-search input {
    width: 100%;
    background: #0a0a0a !important;
    border: 1px solid #1a1a1a !important;
    padding: 10px 15px 10px 45px !important;
    border-radius: 12px;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.top-search input:focus {
    border-color: var(--cr-accent) !important;
    background: #0d0d0d !important;
}

.header-right .top-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #777;
    transition: all 0.2s;
}

.icon-wrapper:hover {
    background: rgba(255,255,255,0.06);
    color: #eee;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 15px;
    border-left: 1px solid #1a1a1a;
}

.user-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #1a1a1a;
}

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

.user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #eee;
}

.user-role {
    font-size: 0.7rem;
    color: var(--cr-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Login Refinement */
.admin-login {
    background: #050505;
    background-image: radial-gradient(circle at 50% 50%, #111 0%, #050505 100%);
}

.login-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.login-logo {
    width: 60px;
    height: 60px;
    background: var(--cr-accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 16px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(244, 115, 33, 0.2);
}

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.login-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.login-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.login-inputs input {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.login-inputs input:focus {
    border-color: var(--cr-accent);
    background: #0d0d0d;
}

#login-btn {
    width: 100%;
    padding: 15px;
    background: var(--cr-accent);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s;
}

#login-btn:hover {
    background: var(--cr-accent-dark);
    transform: translateY(-2px);
}

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

.section-header h1 { font-size: 1.5rem; color: white; }

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.overview-header h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

/* Chart Card */
.chart-card {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.chart-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.chart-info h3 { font-size: 1.1rem; color: #eee; }

.chart-summary {
    display: flex;
    gap: 20px;
}

.summary-item {
    background: #1a1a1a;
    padding: 10px 20px;
    border-radius: 12px;
    text-align: right;
    min-width: 100px;
}

.summary-item .label { display: block; font-size: 0.7rem; color: #555; margin-bottom: 5px; }
.summary-item .value { font-size: 1.1rem; font-weight: 700; color: #eee; }
.summary-item .value small { font-size: 0.7rem; color: #555; }

.chart-visual {
    position: relative;
    padding-bottom: 20px;
}

.sales-svg {
    width: 100%;
    height: 150px;
    overflow: visible;
}

.chart-months {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    margin-top: 15px;
    color: #444;
    font-size: 0.75rem;
}

/* 8 Stats Grid */
.leader-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.l-stat-card {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.l-icon {
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.l-info .label { display: block; font-size: 0.75rem; color: var(--cr-text-dim); margin-bottom: 4px; }
.l-info .value { font-size: 1.1rem; font-weight: 700; color: white; }
.l-info .value small { font-size: 0.75rem; color: var(--cr-accent); opacity: 0.8; margin-left: 5px; }

/* Activity Grid */
.dual-activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.activity-card {
    background: #111;
    border-radius: 16px;
    padding: 25px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-head h3 { font-size: 1rem; color: white; }
.view-all { color: var(--cr-text-dim); text-decoration: none; font-size: 0.8rem; }
.view-all:hover { color: #888; }

.mini-table .th {
    display: flex;
    justify-content: space-between;
    color: var(--cr-text-dim);
    font-size: 0.75rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 15px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
}

.activity-item:last-child { border: none; }

.item-user { display: flex; flex-direction: column; }
.item-user .name { color: #eee; font-weight: 600; font-size: 0.9rem; }
.item-user .handle { color: #555; font-size: 0.75rem; }

.item-amount { color: #eee; font-weight: 700; font-size: 0.9rem; }

.item-subject { color: #eee; font-size: 0.9rem; }
.ticket-icon { color: #0055ff; opacity: 0.5; }

@media (max-width: 1200px) {
    .leader-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dual-activity-grid { grid-template-columns: 1fr; }
}

/* Admin Dashboard Layout Expansion */
.admin-dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #0a0a0a;
}

.admin-sidebar {
    width: 280px;
    background: #111;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid #222;
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 10px;
}

.side-link {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #888;
    padding: 12px 20px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.side-link:hover, .side-link.active {
    background: rgba(244, 115, 33, 0.1);
    color: var(--cr-accent);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#logout-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.back-link {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
}

.admin-content {
    margin-left: 280px;
    flex-grow: 1;
    padding: 40px;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

/* History Tabs & Tables */
.btn-tab {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.05);
    color: #888;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-tab.active {
    background: var(--cr-accent);
    color: #000;
    border-color: var(--cr-accent);
}

.history-content-tab {
    display: none;
}

.history-content-tab.active {
    display: block;
}

.table-responsive {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.history-table th {
    text-align: left;
    background: #0d0d0d;
    color: #666;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.history-table td {
    padding: 15px;
    color: #aaa;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.history-table tr:hover td {
    background: rgba(255,255,255,0.01);
}

.dash-section {
    display: none;
}

.dash-section.active {
    display: block;
}

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

.content-header h2 {
    font-size: 1.8rem;
    color: white;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #181818;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-5px); }

.stat-label { color: #666; font-size: 0.8rem; text-transform: uppercase; font-weight: 700; }
.stat-value { color: var(--cr-accent); font-size: 1.8rem; font-weight: 800; }

.admin-table-card {
    background: #181818;
    border-radius: 15px;
    overflow-x: auto;
    border: 1px solid #222;
}

.admin-table-card table {
    width: 100%;
}

.admin-table-card th {
    background: #111;
    padding: 15px 20px;
    color: #444;
}

.admin-table-card td {
    padding: 15px 20px;
    color: #ccc;
    border-bottom: 1px solid #222;
}

.btn-primary-admin {
    background: var(--cr-accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary-admin {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* Modal Expansion */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.modal-body {
    background: #181818;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    border: 1px solid #222;
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; color: #555; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    color: white;
}

.modal-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; }

/* Status Badges */
.badge-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}
.status-success { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.status-pending { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.status-danger { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }

@media (max-width: 900px) {
    .admin-sidebar { width: 80px; }
    .side-link { font-size: 0; padding: 15px; text-align: center; }
    .admin-content { margin-left: 80px; }
    .sidebar-header .logo { display: none; }
}

/* Dark Mode Adjustments */
.news-section { background-color: var(--cr-bg-gray); }
.news-card { background: var(--cr-bg-lighter); color: var(--cr-text-light); border: 1px solid rgba(255,255,255,0.05); }
.news-info h2 { color: var(--cr-text-light); }
.news-info p { color: var(--cr-text-dim); }

.market-sidebar { background: var(--cr-bg-gray); border: 1px solid rgba(255,255,255,0.05); }
.category-list li button { color: var(--cr-text-dim); }
.category-list li button:hover { color: white; background: rgba(255,255,255,0.05); }
.category-list li button.active { background: var(--cr-accent); color: white; }

.product-card { background: var(--cr-bg-gray); border: 1px solid rgba(255,255,255,0.05); }
.product-info h3 { color: var(--cr-text-light); }
.product-features li, .description { color: var(--cr-text-dim); }

.sidebar-card, .ticket-list-card, .rules-card { background: var(--cr-bg-gray); border: 1px solid rgba(255,255,255,0.05); color: var(--cr-text-light); }
.ticket-item { border-color: rgba(255,255,255,0.05); }
.ticket-item:hover { background: rgba(255,255,255,0.1); }
.ticket-info h4 { color: white; }
.ticket-form input, .ticket-form textarea, .ticket-form select { background: var(--cr-bg-lighter); color: white; border-color: rgba(255,255,255,0.1); }

.ranking-table-container { background: var(--cr-bg-gray); border-color: rgba(255,255,255,0.05); }
.ranking-table-container th { color: var(--cr-text-dim); background: var(--cr-bg-lighter); }
.ranking-table-container td { color: var(--cr-text-light); border-bottom-color: rgba(255,255,255,0.05) !important; }
.ranking-table-container tr:hover { background: rgba(255,255,255,0.02); }

.rules-content { background: var(--cr-bg-dark); }
.rules-list li { color: var(--cr-text-dim); }

.cr-footer { background: #0a0a0a; border-top-color: var(--cr-accent); }

/* Additional Dark Theme Utilities */
.shadow-dark { box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.ranking-tabs { display: flex; gap: 10px; margin-bottom: 30px; justify-content: center; }
.rank-tab-btn { padding: 12px 25px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: var(--cr-bg-gray); color: var(--cr-text-dim); font-weight: 700; cursor: pointer; transition: all 0.3s; }
.rank-tab-btn:hover { background: var(--cr-bg-lighter); color: white; }
.rank-tab-btn.active { background: var(--cr-accent); color: white; border-color: var(--cr-accent); }

.ranking-table-container table { width: 100%; border-collapse: collapse; text-align: left; }
.ranking-table-container th { padding: 20px; font-weight: 800; }

.rank-badge { display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; font-weight: 800; font-size: 0.8rem; }

/* Credits Page Styles */
.credits-container {
    max-width: 1000px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.credit-card {
    background: var(--cr-bg-gray);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.credit-card:hover {
    transform: translateY(-10px);
    border-color: var(--cr-accent);
}

.credit-card.popular::after {
    content: 'POPÜLER';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--cr-accent);
    color: white;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
}

.credit-card h2 { font-size: 2.5rem; color: var(--cr-accent); margin-bottom: 10px; font-weight: 800; }
.credit-card p { color: var(--cr-text-dim); margin-bottom: 25px; }
.credit-card .price-tag { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 25px; display: block; }

.credit-custom-card {
    grid-column: 1 / -1;
    background: var(--cr-bg-gray);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    margin-top: 20px;
}

.custom-input-group {
    display: flex;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 15px;
}

.custom-input-group input {
    flex-grow: 1;
    background: var(--cr-bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.btn-credits {
    background: var(--cr-accent);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-credits:hover { background: var(--cr-accent-dark); }
