* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0d0d14; color: #e0e0e0; min-height: 100vh; }
.navbar { background: #13102a; border-bottom: 1px solid #2a1f5e; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 56px; position: sticky; top: 0; z-index: 100; }
.nav-brand { font-size: 1.1rem; font-weight: 700; color: #a78bfa; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: #b0b0c8; text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: #a78bfa; }
.nav-user { font-size: .8rem; color: #888; background: #1e1a3a; padding: .25rem .75rem; border-radius: 20px; }
.btn-logout { color: #f87171 !important; }
.container { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
.alert { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }
.alert-success { background: #14532d44; border: 1px solid #16a34a; color: #4ade80; }
.alert-danger { background: #7f1d1d44; border: 1px solid #dc2626; color: #f87171; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.2rem; border-radius: 8px; border: none; cursor: pointer; font-size: .9rem; font-weight: 500; text-decoration: none; transition: all .2s; }
.btn-primary { background: #7c3aed; color: #fff; }
.btn-primary:hover { background: #6d28d9; }
.btn-secondary { background: #1e1a3a; color: #c0c0e0; border: 1px solid #2a1f5e; }
.btn-secondary:hover { background: #2a1f5e; }
.btn-ghost { background: transparent; color: #888; border: 1px solid #333; }
.btn-ghost:hover { background: #13102a; }
.btn-sm { padding: .3rem .75rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: .9rem 2rem; font-size: 1.1rem; }
.hero { text-align: center; padding: 6rem 2rem; }
.hero h1 { font-size: 2.5rem; color: #e0e0f0; margin-bottom: 1rem; }
.hero p { color: #888; font-size: 1.1rem; margin-bottom: 2rem; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.6rem; color: #e0e0f0; }
.events-list { display: flex; flex-direction: column; gap: .75rem; }
.event-card { display: flex; align-items: center; justify-content: space-between; background: #13102a; border: 1px solid #2a1f5e; border-radius: 12px; padding: 1.25rem; text-decoration: none; color: inherit; transition: all .2s; }
.event-card:hover { border-color: #7c3aed; transform: translateX(3px); }
.event-card.full { border-color: #7f1d1d44; }
.event-card-left { display: flex; align-items: center; gap: 1.25rem; }
.event-date { background: #1e1a3a; border-radius: 8px; padding: .5rem .75rem; text-align: center; min-width: 50px; }
.event-date .day { display: block; font-size: 1.4rem; font-weight: 700; color: #a78bfa; line-height: 1; }
.event-date .month { display: block; font-size: .7rem; color: #888; text-transform: uppercase; }
.event-info { display: flex; flex-direction: column; gap: .2rem; }
.event-info strong { font-size: 1rem; color: #e0e0f0; }
.event-info span { font-size: .85rem; color: #888; }
.event-time { font-size: .8rem !important; color: #a78bfa !important; }
.event-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.places-badge { padding: .3rem .8rem; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.places-badge.blue { background: #1e3a5f44; color: #93c5fd; border: 1px solid #3b82f6; }
.places-badge.red { background: #7f1d1d44; color: #f87171; border: 1px solid #dc2626; }
.status-badge { padding: .2rem .6rem; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.status-badge.status-pending { background: #7c2d1244; color: #fb923c; border: 1px solid #ea580c; }
.status-badge.status-approved { background: #14532d44; color: #4ade80; border: 1px solid #16a34a; }
.status-badge.status-rejected { background: #7f1d1d44; color: #f87171; border: 1px solid #dc2626; }
.status-box { padding: 1rem; border-radius: 10px; text-align: center; font-weight: 600; }
.status-box.orange { background: #7c2d1244; color: #fb923c; border: 1px solid #ea580c; }
.status-box.green { background: #14532d44; color: #4ade80; border: 1px solid #16a34a; }
.status-box.red { background: #7f1d1d44; color: #f87171; border: 1px solid #dc2626; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media(max-width:768px){.detail-grid{grid-template-columns:1fr;}}
.detail-card { background: #13102a; border: 1px solid #2a1f5e; border-radius: 12px; padding: 1.5rem; }
.detail-card h2 { font-size: 1.1rem; color: #a78bfa; margin-bottom: 1rem; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid #1a1730; }
.info-table td:first-child { color: #888; width: 40%; }
.follower-row { display: flex; align-items: center; justify-content: space-between; padding: .5rem; background: #0d0d14; border-radius: 6px; font-size: .9rem; margin-bottom: .4rem; }
.follower-row strong { color: #a78bfa; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.game-toggle-card { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .75rem 1rem; background: #13102a; border: 1px solid #2a1f5e; border-radius: 10px; color: #c0c0e0; cursor: pointer; font-size: .9rem; transition: all .2s; }
.game-toggle-card:hover { border-color: #7c3aed; }
.game-toggle-card.active { border-color: #16a34a; background: #14532d22; color: #4ade80; }
.auth-container { display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.auth-box { background: #13102a; border: 1px solid #2a1f5e; border-radius: 14px; padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-box h2 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: .4rem; font-size: .9rem; color: #b0b0c8; }
.form-group input { width: 100%; background: #0d0d14; border: 1px solid #2a1f5e; color: #e0e0e0; padding: .6rem .75rem; border-radius: 8px; font-size: .9rem; }
.form-group input:focus { outline: none; border-color: #7c3aed; }
.text-muted { color: #888; font-size: .9rem; margin-bottom: 1rem; }
.empty-state { color: #555; text-align: center; padding: 3rem; }
.error-page { text-align: center; padding: 5rem; }
.error-page h1 { font-size: 4rem; color: #7c3aed; }
.error-page p { color: #888; margin: 1rem 0; }
