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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.3);
    --secondary: #ff00aa;
    --accent: #7b2dff;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff3366;
    --text: #ffffff;
    --text-muted: #8888aa;
    --border: #2a2a3a;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Media Slideshow Background */
.media-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.media-item.active {
    opacity: 1;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.2) saturate(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 10, 15, 0.6) 0%, 
        rgba(10, 10, 15, 0.4) 30%, 
        rgba(10, 10, 15, 0.5) 70%, 
        rgba(10, 10, 15, 0.7) 100%);
    z-index: 1;
}

.app {
    max-width: 100%;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loader {
    text-align: center;
}

.logo-glow {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
    letter-spacing: 8px;
}

.logo-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 12px;
    margin-top: 5px;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin-top: 30px;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: loading 2s ease-out forwards;
}

@keyframes loading {
    to { width: 100%; }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    font-size: 0.85rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}

/* Profile Card */
.profile-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 15px;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.5) 0%, rgba(123, 45, 255, 0.1) 100%);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    object-fit: cover;
}

.level-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
}

.level-badge.silver { background: linear-gradient(135deg, #c0c0c0, #808080); }
.level-badge.gold { background: linear-gradient(135deg, #ffd700, #daa520); }
.level-badge.vip { background: linear-gradient(135deg, var(--primary), var(--accent)); }

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.profile-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Navigation */
.nav-tabs {
    display: flex;
    padding: 0 15px;
    gap: 5px;
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(5px);
    margin: 0 15px;
    border-radius: 15px;
    padding: 5px;
}

.nav-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-tab svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

/* Tab Content */
.tab-content {
    padding: 15px;
}

.tab-pane {
    animation: fadeIn 0.3s ease;
}

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

.hidden {
    display: none !important;
}

/* Zone Filter */
.zone-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.zone-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.zone-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    font-weight: 600;
}

/* Date Picker */
.date-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
}

.date-nav {
    width: 40px;
    height: 40px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.date-nav:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.date-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    min-width: 150px;
    text-align: center;
}

/* PC Grid */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pc-card {
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.pc-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.pc-card:hover::before {
    opacity: 1;
}

.pc-card.occupied {
    opacity: 0.5;
    pointer-events: none;
}

.pc-card.occupied::before {
    background: var(--danger);
    opacity: 1;
}

.pc-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.pc-zone {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pc-zone.standard { background: rgba(0, 240, 255, 0.2); color: var(--primary); }
.pc-zone.vip { background: rgba(255, 0, 170, 0.2); color: var(--secondary); }
.pc-zone.streaming { background: rgba(123, 45, 255, 0.2); color: var(--accent); }

.pc-price {
    font-size: 0.85rem;
    color: var(--success);
}

.pc-status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
}

.pc-card.occupied .pc-status {
    background: var(--danger);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 200;
}

.modal-content {
    width: 100%;
    max-height: 85vh;
    background: var(--bg-card);
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
}

.modal-close {
    width: 35px;
    height: 35px;
    background: var(--bg-card-hover);
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.pc-specs {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.time-selector h4 {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 12px 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover:not(.booked):not(.selected) {
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    font-weight: 600;
}

.time-slot.booked {
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger);
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-summary {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 600;
}

.summary-row.total span:last-child {
    color: var(--success);
    font-family: 'Orbitron', sans-serif;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.btn-book {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 15px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-book:disabled {
    background: var(--border);
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-book:not(:disabled):hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

/* Bookings List */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-item {
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px;
    position: relative;
}

.booking-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 15px 0 0 15px;
}

.booking-item.confirmed::before { background: var(--success); }
.booking-item.pending::before { background: var(--warning); }
.booking-item.cancelled::before { background: var(--danger); }
.booking-item.completed::before { background: var(--text-muted); }

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

.booking-pc {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.booking-status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.booking-status.confirmed { background: rgba(0, 255, 136, 0.2); color: var(--success); }
.booking-status.pending { background: rgba(255, 170, 0, 0.2); color: var(--warning); }
.booking-status.cancelled { background: rgba(255, 51, 102, 0.2); color: var(--danger); }
.booking-status.completed { background: rgba(136, 136, 170, 0.2); color: var(--text-muted); }

.booking-details {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booking-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.booking-price {
    margin-top: 10px;
    text-align: right;
    color: var(--success);
    font-weight: 600;
}

.booking-cancel {
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(255, 51, 102, 0.2);
    border: 1px solid var(--danger);
    border-radius: 8px;
    color: var(--danger);
    font-size: 0.8rem;
    cursor: pointer;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 60px;
    height: 60px;
    fill: var(--border);
    margin-bottom: 15px;
}

/* Info Section */
.info-section {
    padding: 10px;
}

.info-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.info-section > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.info-card {
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.info-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-card ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.price-item .price {
    color: var(--success);
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}
