/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: auto;
    margin: 0;
    padding: 0;
    background-color: #0b0e11; /* Ensure root is dark to prevent white flashes */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Allow specific pages to scroll */
html.scrollable, body.scrollable {
    overflow: auto;
}
.scrollable .container {
    height: auto;
    /* min-height removed here as body handles it */
}

/* Custom scrollbar styles (Global) */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #4A90E2 rgba(255, 255, 255, 0.08);
}

/* WebKit-based browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px; /* Slightly thinner for a sleeker look */
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2); /* Darker track for better contrast */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4A90E2; /* Solid color matching theme */
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd; /* Darker shade on hover */
}

/* Remove corner when both scrollbars are visible */
::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0b0e11; /* Fallback dark color */
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('/static/websitebackground.png') no-repeat center center;
    background-size: cover;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    flex: 1; /* Takes available space */
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 18px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4A90E2;
}

/* Active nav item underline */
.nav-link-active {
    color: #ffffff;
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    color: #0b1221;
    background: #4A90E2;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(11, 18, 33, 0.6);
}

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

.icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.icon-button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.cart-icon {
    width: 22px;
    height: 22px;
}

/* Map Vote */
.map-vote-form {
    margin-top: 16px;
}

.vote-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.vote-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.vote-card input[type="radio"] {
    display: none;
}

.vote-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vote-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.vote-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.vote-card.selected {
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}

/* Server selectable list */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 24px 0;
}

.server-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.server-item.selected {
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.18);
    background: rgba(74, 144, 226, 0.08);
}

.server-item input[type="radio"] {
    accent-color: #4A90E2;
}

.server-name {
    font-weight: 600;
}

/* List-style Map Votes */
.list-header {
    margin: 24px 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.list-header h2 {
    font-size: 18px;
    font-weight: 700;
}
.list-header.secondary { margin-top: 32px; }

.list-controls {
    display: flex;
    gap: 12px;
}
.list-controls input[type="text"],
.list-controls select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #e2e8f0;
    outline: none;
}

.vote-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.vote-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.vote-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.vote-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.server-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}
.vote-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.server-title { font-weight: 700; }
.server-status { color: #86efac; font-weight: 600; font-size: 12px; }
.server-status.ended { color: #f87171; }
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
}
.status-dot.red { background: #ef4444; }

.view-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
}
.view-link:hover { color: #ffffff; }

/* Empty state */
.empty-state {
    opacity: 0.75;
    font-size: 14px;
    padding: 12px 4px;
}

.user-menu-container {
    position: relative;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-icon {
    font-size: 16px;
}

.username {
    font-size: 14px;
    color: #e2e8f0;
}

/* Small avatar for header user menu */
.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.user-dropdown.open {
    display: block;
}

.user-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #1E3A8A 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #4A90E2 0%, #1E3A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coming Soon Sexy Styles */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.5));
}

.coming-soon-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.6;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #5865F2;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.discord-join-btn:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Accounts Section */
.accounts-section {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.accounts-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.accounts-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.accounts-subtitle {
    color: #94a3b8;
    text-align: center;
    margin-bottom: 32px;
}

.linked-accounts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.account-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 144, 226, 0.3);
}

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

.account-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.account-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

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

.account-name {
    font-weight: 600;
    font-size: 16px;
}

.account-username {
    color: #94a3b8;
    font-size: 14px;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-linked {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.account-action {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.account-action:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Community Section */
.community-section {
    text-align: center;
}

.community-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.community-subtitle {
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    margin: 10% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e2e8f0;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Login Options Styles */
.login-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.login-option-disabled {
    opacity: 0.4;
    filter: blur(1px);
    cursor: not-allowed;
    pointer-events: none;
}

.login-option-disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.steam-icon {
    background: linear-gradient(135deg, #1B2838 0%, #2A475E 100%);
}

.discord-icon {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
}

.login-text-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.login-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.login-requirement {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 400;
}

/* Empty State Styles */
.empty-state-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-state-icon svg {
    opacity: 0.7;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-actions {
        order: -1;
    }
    
    .logo-image {
        height: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .accounts-card {
        padding: 24px;
        margin: 0 16px;
    }
    
    .account-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .account-status {
        align-self: flex-end;
    }
    
    .community-title {
        font-size: 28px;
    }
    
    .community-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-brand {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}

/* ----------------------------- Toast Notifications ----------------------------- */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateX(120%);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.toast.success .toast-icon { color: #10b981; }
.toast.error .toast-icon { color: #ef4444; }
.toast.info .toast-icon { color: #3b82f6; }

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}
.dashboard {
    padding: 24px 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
}

.dashboard-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px;
}

.dashboard-tabs .tab-link {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dashboard-tabs .tab-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-tabs .tab-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.25) 0%, rgba(30, 58, 138, 0.35) 100%);
    border: 1px solid rgba(74, 144, 226, 0.35);
}

.tab-panel {
    margin-top: 12px;
}

.tab-panel.hidden { display: none; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card-grid.single {
    grid-template-columns: minmax(0, 1fr);
}

.card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(10px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.card-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.card-icon svg {
    width: 18px;
    height: 18px;
    color: #cbd5e1;
}

.muted {
    color: #94a3b8;
}

.settings-form .form-row {
    margin-bottom: 16px;
}

.settings-form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e2e8f0;
}

.settings-form .form-row input,
.settings-form .form-row select {
    width: 100%;
    padding: 12px;
    background: rgba(15, 23, 42, 0.7); /* darker slate to avoid white-on-white */
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.settings-form .form-row input:focus,
.settings-form .form-row select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.support-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ----------------------------- Footer Styles ----------------------------- */
/* ----------------------------- Sexy Footer ----------------------------- */
.site-footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 0 15px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 20px;
}

/* Brand Column */
.brand-col {
    padding-right: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 12px;
    font-weight: 700;
    color: #3b82f6; /* Blue accent color */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

/* Link Columns */
.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.social-btn:hover {
    color: #fff;
    transform: translateX(4px);
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: #64748b;
    font-size: 13px;
}

.back-to-top {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.back-to-top:hover {
    background: #334155;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .brand-col {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ----------------------------- Store Styles ----------------------------- */
.store {
    padding: 16px 0;
}

/* ----------------------------- Sexy Cart Styles ----------------------------- */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-subtitle {
    color: #94a3b8;
    font-size: 16px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

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

/* Cart Items List */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cart-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.cart-item-desc {
    color: #94a3b8;
    font-size: 14px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.btn-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 16px;
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

/* Cart Summary Sidebar */
.cart-summary {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 14px;
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Empty State */
.empty-cart-container {
    text-align: center;
    padding: 60px 20px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-text {
    color: #94a3b8;
    margin-bottom: 32px;
}

.btn-shop {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-header {
    margin-bottom: 16px;
    text-align: center;
}

.store-title {
    font-size: 24px;
    font-weight: 700;
}

.store-subtitle {
    color: #94a3b8;
}

.tier-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.tier-card {
    position: relative;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 320px;
}
.tier-vip {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.35) 0%, rgba(6, 95, 70, 0.45) 100%);
}
.tier-prime {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(30, 58, 138, 0.45) 100%);
}
.tier-mythic {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(107, 33, 168, 0.45) 100%);
}
.tier-vanguard {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(127, 29, 29, 0.45) 100%);
}
.tier-champion {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(180, 83, 9, 0.45) 100%);
}
.tier-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    justify-content: flex-end;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge-sale {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.7) 0%, rgba(180, 83, 9, 0.7) 100%);
    border-color: rgba(245, 158, 11, 0.8);
}
.badge-popular {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7) 0%, rgba(30, 64, 175, 0.7) 100%);
    border-color: rgba(59, 130, 246, 0.8);
}
.tier-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 32px;
}
.tier-title {
    font-size: 18px;
    font-weight: 800;
}
.tier-subtitle {
    color: #cbd5e1;
    font-size: 13px;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #e2e8f0;
    font-size: 14px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-list .check {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.5);
    position: relative;
}
.feature-list .check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #10b981;
    border-bottom: 2px solid #10b981;
    transform: rotate(45deg);
}
.tier-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price-amount {
    font-size: 20px;
    font-weight: 900;
}
.price-period {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.bundle-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
    margin-bottom: 20px;
}
@media (max-width: 900px) {
    .bundle-card {
        grid-template-columns: minmax(0, 1fr);
    }
}
.bundle-title {
    font-size: 18px;
    font-weight: 800;
}
.bundle-subtitle {
    color: #cbd5e1;
    margin-top: 4px;
}
.bundle-chips {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.chip-save { background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.35) 100%); }
.chip-off { background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(127, 29, 29, 0.35) 100%); }
.chip-gems { background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(30, 64, 175, 0.35) 100%); }
.chip-hour { background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(180, 83, 9, 0.35) 100%); }
.bundle-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.bundle-strike {
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 700;
}
.bundle-amount {
    font-size: 22px;
    font-weight: 900;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 900px) {
    .packs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .packs-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.pack-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.pack-media {
    height: 110px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.35) 0%, rgba(30, 58, 138, 0.35) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pack-body {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pack-title {
    font-size: 16px;
    font-weight: 800;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 20px;
    width: auto;
    opacity: 0.9;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
.content {
    flex: 1;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}
.admin-sidebar {
    align-self: start;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
    backdrop-filter: blur(10px);
}
.sidebar-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
}
.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-name {
    font-weight: 700;
    font-size: 14px;
}
.sidebar-role {
    font-size: 12px;
    color: #94a3b8;
}
.side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.side-nav-link {
    display: block;
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(30, 41, 59, 0.4);
    transition: all 0.2s ease;
}
.side-nav-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(30, 41, 59, 0.8);
}
.side-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.25) 0%, rgba(30, 58, 138, 0.35) 100%);
    border: 1px solid rgba(74, 144, 226, 0.35);
}
.admin-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-title {
    font-size: 24px;
    font-weight: 700;
}

.admin-hero {
    margin-top: 8px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.admin-hero-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}
.admin-hero-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #cbd5e1;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.stat-blue { border-color: rgba(74, 144, 226, 0.25); }
.stat-green { border-color: rgba(16, 185, 129, 0.25); }
.stat-purple { border-color: rgba(124, 58, 237, 0.25); }
.stat-red { border-color: rgba(239, 68, 68, 0.25); }
.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.stat-label {
    font-size: 12px;
    color: #94a3b8;
}
.user-search {
    width: 100%;
    padding: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        order: 0;
    }
    .admin-main {
        order: 1;
    }
}
.chart-card {
    overflow: hidden;
}
.chart {
    margin-top: 12px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    position: relative;
}
.chart svg {
    width: 100%;
    height: 160px;
    display: block;
}
.chart-crosshair {
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 1;
}

.metric { display: flex; flex-direction: column; align-items: flex-end; }
.metric-label { font-size: 10px; letter-spacing: 0.08em; color: #94a3b8; }
.metric-value { font-weight: 800; color: #e2e8f0; }
.value-good { color: #22c55e; }
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.chart-path {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.chart-path.linked {
    stroke: rgba(74, 144, 226, 0.9);
}
.chart-path.ban {
    stroke: rgba(239, 68, 68, 0.9);
}
.chart-path.report {
    stroke: rgba(168, 85, 247, 0.9);
}
.metric-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e5e7eb;
    font-size: 12px;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.legend-dot.linked {
    background: rgba(74, 144, 226, 0.9);
}
.legend-dot.ban {
    background: rgba(239, 68, 68, 0.9);
}
.legend-dot.report {
    background: rgba(168, 85, 247, 0.9);
}
.chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-top: 10px;
}
.chart-label {
    color: #94a3b8;
    font-size: 10px;
}
.chart-tooltip {
    position: absolute;
    min-width: 140px;
    max-width: 200px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    font-size: 12px;
    pointer-events: none;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.chart-tooltip .tt-day {
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}
.chart-tooltip .tt-row {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}
.lifetime-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.lifetime-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px;
}
.lifetime-value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.lifetime-label {
    font-size: 12px;
    color: #94a3b8;
}
.lifetime-range {
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
}

/* Sexy Shop Enhancements */

/* 1. Card Hover Effects */
.tier-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
    backdrop-filter: blur(20px);
    overflow: hidden; /* For shine effect */
}

.tier-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* 2. Tier-specific Glows on Hover */
.tier-vip:hover { border-color: #4ade80; box-shadow: 0 20px 40px rgba(22, 163, 74, 0.2); }
.tier-prime:hover { border-color: #60a5fa; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2); }
.tier-mythic:hover { border-color: #c084fc; box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2); }
.tier-vanguard:hover { border-color: #f87171; box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2); }
.tier-champion:hover { border-color: #fbbf24; box-shadow: 0 20px 40px rgba(217, 119, 6, 0.2); }

/* 3. Shine Effect */
.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
    pointer-events: none;
}

.tier-card:hover::before {
    left: 100%;
}

/* 4. Tier Icons (CSS Shapes/Gradients since we lack assets) */
.tier-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.tier-vip .tier-icon { background: linear-gradient(135deg, #22c55e, #166534); } 
.tier-prime .tier-icon { background: linear-gradient(135deg, #3b82f6, #1e40af); } 
.tier-mythic .tier-icon { background: linear-gradient(135deg, #a855f7, #6b21a8); } 
.tier-vanguard .tier-icon { background: linear-gradient(135deg, #ef4444, #991b1b); } 
.tier-champion .tier-icon { background: linear-gradient(135deg, #f59e0b, #b45309); } 

.tier-icon::after {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.tier-vip .tier-icon::after { content: "🛡️"; }
.tier-prime .tier-icon::after { content: "⚡"; }
.tier-mythic .tier-icon::after { content: "🔮"; }
.tier-vanguard .tier-icon::after { content: "⚔️"; }
.tier-champion .tier-icon::after { content: "👑"; }

/* 5. Button Improvements */
.btn-cta {
    width: auto;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-transform: uppercase;
}

.tier-vip .btn-cta:hover { background: #22c55e; border-color: #22c55e; box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); transform: translateY(-2px); }
.tier-prime .btn-cta:hover { background: #3b82f6; border-color: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); transform: translateY(-2px); }
.tier-mythic .btn-cta:hover { background: #a855f7; border-color: #a855f7; box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); transform: translateY(-2px); }
.tier-vanguard .btn-cta:hover { background: #ef4444; border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); transform: translateY(-2px); }
.tier-champion .btn-cta:hover { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); transform: translateY(-2px); }

/* 6. Price Styling */
.price-amount {
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Cart Animation */
@keyframes cart-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cart-animate {
    animation: cart-bounce 0.5s ease-in-out;
    background: rgba(74, 144, 226, 0.2) !important;
    border-color: #4A90E2 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}