:root {
    --bg-primary: #050509;
    --bg-secondary: #0e0e1a;
    --surface: rgba(26, 26, 46, 0.6);
    --surface-solid: #1a1a2e;
    --accent: #fec231;
    --accent-hover: #ffd700;
    --accent-rgb: 254, 194, 49;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-subtle: rgba(254, 194, 49, 0.1);
    --success: #00c853;
    --danger: #ff3d00;
}

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

body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Glassmorphism */
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.8), rgba(20, 20, 35, 0.6));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(var(--accent-rgb), 0.1);
}

/* VIP Glow Effect */
.vip-glow {
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6),
                0 0 30px rgba(var(--accent-rgb), 0.3),
                0 0 45px rgba(var(--accent-rgb), 0.1);
    border: 2px solid var(--accent);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.6), 0 0 30px rgba(var(--accent-rgb), 0.3); }
    50% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.8), 0 0 40px rgba(var(--accent-rgb), 0.4); }
}

/* Neumorphic Bubbles */
.neumorphic-bubble {
    background: linear-gradient(135deg, rgba(35, 35, 50, 0.9), rgba(25, 25, 40, 0.8));
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3), -5px -5px 10px rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bento-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item-wide {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item-large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; gap: 1rem; }
    .bento-item-large, .bento-item-wide { grid-column: span 1; }
}

/* Progress Line with Shimmer */
.progress-line {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, rgba(var(--accent-rgb), 0.2) 60%);
    height: 4px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Sidebar */
.sidebar-item {
    transition: all 0.3s;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(var(--accent-rgb), 0.1);
    border-left-color: var(--accent);
    color: var(--text-primary);
}

/* Rolling Cards */
.rolling-card {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.8));
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rolling-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 20px 60px rgba(var(--accent-rgb), 0.15);
}

/* VIP Lock Overlay */
.vip-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    z-index: 10;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-1px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .mobile-nav { display: none; }
}

/* Chat Sidebar */
.chat-sidebar {
    position: fixed;
    right: 16px;
    top: 96px;
    width: 320px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
}

@media (max-width: 1280px) {
    .chat-sidebar { display: none !important; }
}

/* Text Utilities */
.gold-gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }
.border-accent { border-color: rgba(var(--accent-rgb), 0.3); }

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

/* Form Elements */
input, textarea {
    font-family: 'Inter', sans-serif;
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Timeline */
.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: rgba(var(--surface-solid), 0.5);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .glass-card { border-radius: 20px; padding: 20px; }
    .rolling-card { padding: 20px; }
    .timeline-dot { width: 32px; height: 32px; font-size: 14px; }
}