
:root {
    --bg-color: #151a26;
    --card-bg: #111620;
    --input-bg: rgba(14, 18, 25, 0.75);
    --brand-orange: #FF7A1A;
    --brand-orange-hover: #e0650f;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.1);
    --site-width: 1440px;
}

html body *, html body ::before, html body ::after {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.site-container {
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 16px;
}

.top-bar {
    background-color: #0b0e14;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 10px 0;
    font-size: 12px;
}

.top-bar .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-link:hover {
    color: var(--text-primary);
}

.discord-link:hover {
    color: #5865F2;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.1);
}

.simulator-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color) !important;
    padding: 2px;
    border-radius: 999px;
}

.simulator-btn {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.simulator-btn:hover {
    color: var(--text-primary);
}

.simulator-btn.active {
    background-color: var(--brand-orange);
    color: var(--text-primary);
}

.main-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-header .site-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    user-select: none;
}

.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#userPanelLoggedOut, #userPanelLoggedIn {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 640px) {
    #userPanelLoggedOut, #userPanelLoggedIn {
        gap: 16px;
    }
}

#userPanelLoggedOut.hidden, #userPanelLoggedIn.hidden {
    display: none;
}

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

.logged-out-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 12px;
}

.logged-out-links {
    font-weight: 700;
    color: var(--text-primary);
}

.logged-out-links a:hover {
    color: var(--brand-orange);
}

.logged-out-subtext {
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 2px;
    font-weight: 500;
}

.balance-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    color: #10b981;
}

.icon-btn-header {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.icon-btn-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--brand-blue);
    color: white;
    font-size: 9px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg) !important;
}

.avatar-btn {
    position: relative;
    cursor: pointer;
}

.avatar-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.2s ease;
}

.avatar-btn:hover img {
    border-color: var(--brand-orange) !important;
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border: 2px solid var(--card-bg) !important;
    border-radius: 50%;
}

.nav-bar {
    background-color: rgba(17, 22, 32, 0.6);
    border-bottom: 1px solid var(--border-color) !important;
    padding: 12px 0;
}

.nav-bar .site-container {
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 24px;
}

.nav-bar .site-container::-webkit-scrollbar {
    display: none;
}
.nav-bar .site-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color) !important;
    padding: 32px 0;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: auto;
}

.footer .site-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer .site-container {
        flex-direction: row;
    }
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

body {
    background-color: #151a26;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #151a26;
}

::-webkit-scrollbar-thumb {
    background: #2d3748;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a5568;
}

.bg-glow-orange {
    background: radial-gradient(circle at 50% 50%, rgba(255, 122, 26, 0.15) 0%, transparent 70%);
}

.bg-glow-purple {
    background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
}

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

.animate-fade-in {
    animation: fadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Input Styles */
.premium-input {
    background: rgba(14, 18, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-input:focus {
    border-color: rgba(255, 122, 26, 0.4) !important;
    box-shadow: 0 0 15px rgba(255, 122, 26, 0.08);
    background: rgba(14, 18, 25, 0.85);
    outline: none;
}

/* Premium Table Styles */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.premium-table th {
    background-color: #111620;
    color: #9ca3af;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.premium-table td {
    padding: 16px 20px;
    color: #d1d5db;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(17, 22, 32, 0.2);
    transition: background-color 0.2s ease;
}

.premium-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.premium-table tr:last-child td {
    border-bottom: none !important;
}

.premium-table tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.premium-table tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.premium-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.premium-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}
