/* Base Styles - matching SmartLaunch */
@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-Light.eot');
    src: local('Vox Light'), local('Vox-Light'),
        url('vox/Vox-Light.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-Light.woff2') format('woff2'),
        url('vox/Vox-Light.woff') format('woff'),
        url('vox/Vox-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-LightItalic.eot');
    src: local('Vox Light Italic'), local('Vox-LightItalic'),
        url('vox/Vox-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-LightItalic.woff2') format('woff2'),
        url('vox/Vox-LightItalic.woff') format('woff'),
        url('vox/Vox-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-Regular.eot');
    src: local('Vox Regular'), local('Vox-Regular'),
        url('vox/Vox-Regular.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-Regular.woff2') format('woff2'),
        url('vox/Vox-Regular.woff') format('woff'),
        url('vox/Vox-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-Italic.eot');
    src: local('Vox Italic'), local('Vox-Italic'),
        url('vox/Vox-Italic.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-Italic.woff2') format('woff2'),
        url('vox/Vox-Italic.woff') format('woff'),
        url('vox/Vox-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-Medium.eot');
    src: local('Vox Medium'), local('Vox-Medium'),
        url('vox/Vox-Medium.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-Medium.woff2') format('woff2'),
        url('vox/Vox-Medium.woff') format('woff'),
        url('vox/Vox-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-MediumItalic.eot');
    src: local('Vox Medium Italic'), local('Vox-MediumItalic'),
        url('vox/Vox-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-MediumItalic.woff2') format('woff2'),
        url('vox/Vox-MediumItalic.woff') format('woff'),
        url('vox/Vox-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-Bold.eot');
    src: local('Vox Bold'), local('Vox-Bold'),
        url('vox/Vox-Bold.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-Bold.woff2') format('woff2'),
        url('vox/Vox-Bold.woff') format('woff'),
        url('vox/Vox-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vox';
    src: url('vox/Vox-BoldItalic.eot');
    src: local('Vox Bold Italic'), local('Vox-BoldItalic'),
        url('vox/Vox-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('vox/Vox-BoldItalic.woff2') format('woff2'),
        url('vox/Vox-BoldItalic.woff') format('woff'),
        url('vox/Vox-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    font-family: 'Vox', Arial, sans-serif;
}

body {
    background-color: #1f364f;
    margin: 0;
    overflow: hidden;
}

a {
    color: #0071c1;
    text-decoration: none;
}

/* Copyright / Logo */
#sl-copyright p {
    font-family: 'Arial';
    color: #ffffff;
    position: fixed;
    left: 1%;
    bottom: 1%;
    font-size: .65rem;
    z-index: 10;
}

#sl-copyright img {
    position: fixed;
    right: 4rem;
    bottom: 3rem;
    height: 4em;
    z-index: 9;
}

/* App Container */
#app {
    border-radius: 1.5rem;
    margin: auto;
    max-width: 95vw;
    max-height: 90vh;
    min-width: 95vw;
    min-height: 90vh;
    overflow: scroll;
    position: relative;
    top: 5vh;
}

#app::-webkit-scrollbar {
    display: none;
}

#app {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Page */
#page {
    background-color: #212529;
    min-height: 90vh;
    width: 100%;
    display: flex;
}

/* Sidebar */
.sidebar {
    background-image: linear-gradient(180deg, rgb(0,0,0) 0%, #000000 95%);
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    width: 3.5rem;
    min-width: 3.5rem;
    height: 90vh;
    position: sticky;
    top: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    gap: 0.25rem;
    width: 100%;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3rem;
    color: #d7d7d7;
    transition: all 0.2s;
    position: relative;
}

.sidebar-link:hover {
    color: #ffffff;
    border-right: 0.4rem #009cff solid;
    background: linear-gradient(90deg, rgba(10,119,215,0) 0%, rgba(10,119,215,1) 100%);
}

.sidebar-link.active {
    color: #ffffff;
    border-bottom: none;
    border-right: 0.4rem #009cff solid;
    background: linear-gradient(90deg, rgba(10,119,215,0) 0%, rgba(10,119,215,1) 100%);
}

.blue-hr {
    position: relative;
    width: 70%;
    height: 1px;
    border: none;
    margin: 0.5rem 0;
}

.blue-hr::after {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #0078e0;
    border-radius: 100%;
    content: "";
    top: 0;
    left: 0;
}

/* Content Area */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
    min-height: 90vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content-area::-webkit-scrollbar {
    display: none;
}

/* Top Row */
#top-row {
    align-items: center;
    background-color: #212529;
    display: flex;
    padding: 1rem 0;
    padding-left: 1rem;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#top-row a {
    margin-left: 1.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.top-logo {
    display: flex;
    align-items: center;
}

.top-logo img {
    height: 2.5rem;
    width: auto;
}

#top-row .nav-link {
    color: #d7d7d7;
    font-size: 1.35rem;
    font-weight: 300;
    padding: 0.5rem 0.25rem;
    border-bottom: 0.4rem transparent solid;
    transition: all 0.2s;
}

#top-row .nav-link:hover {
    border-bottom: 0.4rem #009cff solid;
    color: #ffffff;
    background: none;
    border-right: none !important;
}

#top-row .nav-link.active {
    border-bottom: 0.4rem #009cff solid;
    color: #ffffff;
}

.top-row-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 1.5rem;
}

.lang-link {
    margin-left: 0 !important;
}

.img-20 {
    max-height: 1.5rem;
    width: auto;
    border-radius: 2px;
    transition: transform 0.3s;
}

.img-20:hover {
    transform: scale(1.3);
}

.login-link {
    color: #ffffff !important;
    font-size: 0.85rem;
    margin-left: 0.5rem !important;
    background-color: #0078e0;
    border: 1px solid #C0C0C0;
    padding: 0.5rem 3.5rem;
    border-radius: 0.3rem;
    display: inline-block;
    transition: background-color 0.2s;
}

.login-link:hover {
    color: #ffffff !important;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Games Container */
.games-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    padding-top: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.games-container::-webkit-scrollbar {
    display: none;
}

/* Cafe Container */
.cafe-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    padding-top: 1rem;
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cafe-container::-webkit-scrollbar {
    display: none;
}

/* Offers Container */
.offers-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    padding-top: 1rem;
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.offers-container::-webkit-scrollbar {
    display: none;
}

/* Events Container */
.events-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    padding-top: 1rem;
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.events-container::-webkit-scrollbar {
    display: none;
}

/* Booking Container */
.booking-container {
    flex: 1;
    padding: 1.5rem;
    padding-top: 1rem;
}

.booking-container::-webkit-scrollbar {
    display: none;
}

/* Booking Form */
.booking-form {
    background-color: #1a1e22;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-form-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.booking-label {
    color: #d7d7d7;
    font-size: 0.9rem;
    white-space: nowrap;
    padding-bottom: 0.3rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.booking-field label {
    color: #888;
    font-size: 0.75rem;
    white-space: nowrap;
}

.booking-field input {
    background-color: #2a2e33;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.25rem;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-family: 'Vox', Arial, sans-serif;
    outline: none;
}

.booking-field input:focus {
    border-color: #0078e0;
}

.booking-check-btn {
    background-color: #0078e0;
    color: #ffffff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.booking-check-btn:hover {
    background-color: #0b5ed7;
}

.booking-summary-info {
    color: #d7d7d7;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: nowrap;
}

.booking-terms {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #888;
    font-size: 1rem;
    white-space: nowrap;
}

.booking-terms a {
    color: #0078e0;
}

/* Floor Plan */
.floor-plan {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.pc-grid {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.pc-row {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
}

.pc-row-spacer {
    height: 1.5rem;
}

.pc-slot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    transition: transform 0.1s, background-color 0.1s;
}

.pc-available {
    background-color: #4a5568;
    cursor: pointer;
}

.pc-available:hover {
    background-color: #5a6a7e;
    transform: scale(1.1);
}

.pc-occupied {
    background-color: #c0392b;
    cursor: not-allowed;
}

.pc-selected {
    background-color: #0078e0;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 120, 224, 0.6);
}

.pc-selected:hover {
    background-color: #0b5ed7;
    transform: scale(1.1);
}

.pc-empty {
    background: transparent;
}

/* Booking Summary Box */
.booking-summary-box {
    background-color: #1a1e22;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
}

.booking-summary-box h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.booking-summary-box p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.booking-summary-box .booking-total {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.booking-summary-box .booking-pc-list {
    color: #d7d7d7;
}

/* Events List */
.events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Event Card */
.event-card {
    display: flex;
    flex-direction: column;
    background-color: #2a2e33;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.event-card-image {
    position: relative;
    width: 100%;
    height: 16rem;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.event-badge-upcoming {
    background-color: #0078e0;
    color: #ffffff;
}

.event-badge-active {
    background-color: #00b894;
    color: #ffffff;
}

.event-badge-past {
    background-color: rgba(255,255,255,0.15);
    color: #aaaaaa;
}

.event-card-body {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.event-card-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.event-card-desc {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
}

/* Offers Grid */
.offers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Offer Card Initials */
.offer-initials {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.offer-initials span {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.offer-card .product-card-name {
    z-index: 1;
    position: absolute;
    top: 0;
    width: 100%;
    padding: 0.75rem 0.5rem 2rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%);
}

.offer-card .product-card-price {
    z-index: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem 0.5rem 0.75rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%);
}

/* Cafe Tabs */
.cafe-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.cafe-tab {
    color: #d7d7d7;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.35rem 0.6rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.cafe-tab:hover {
    color: #ffffff;
    border-bottom-color: #009cff;
}

.cafe-tab.active {
    color: #ffffff;
    border-bottom-color: #009cff;
}

/* Cafe Grid */
.cafe-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Product Card */
.product-card {
    flex: 1 0 auto;
    height: 17rem;
    min-height: 17rem;
    max-height: 17rem;
    width: 12rem;
    min-width: 12rem;
    max-width: 12rem;
    border: 1px solid grey;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #1a1a1a;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.product-card-name {
    position: absolute;
    top: 0;
    width: 100%;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem 0.4rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    z-index: 1;
}

.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-price {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    padding: 0.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

/* Games Grid */
.games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Game Card */
.card-img {
    flex: 1 0 auto;
    height: 17rem;
    min-height: 17rem;
    max-height: 17rem;
    width: 12rem;
    min-width: 12rem;
    max-width: 12rem;
    border: 1px solid grey;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.card-img:hover .overlay {
    height: 3rem;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-header {
    position: absolute;
    bottom: 0;
    color: #ffffff;
    width: 100%;
    padding: 1rem 0.5rem 0.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    transition: opacity 0.3s;
}

.card-img:hover .card-header {
    opacity: 0;
}

.card-header-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.card-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(0, 120, 224, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.3s;
}

.overlay span {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    #app {
        max-width: 100vw;
        min-width: 100vw;
        max-height: 100vh;
        min-height: 100vh;
        top: 0;
        border-radius: 0;
    }

    #page {
        min-height: 100vh;
    }

    .card-img {
        width: 10rem;
        min-width: 10rem;
        max-width: 10rem;
        height: 14rem;
        min-height: 14rem;
        max-height: 14rem;
    }

    .games-grid {
        justify-content: center;
    }

    .cafe-grid {
        justify-content: center;
    }

    .product-card {
        width: 10rem;
        min-width: 10rem;
        max-width: 10rem;
        height: 14rem;
        min-height: 14rem;
        max-height: 14rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card-image {
        width: 100%;
        min-width: 100%;
        height: 10rem;
    }

    .events-list {
        grid-template-columns: 1fr;
    }

    #sl-copyright img {
        height: 4em;
    }
}

@media (max-width: 480px) {
    .card-img {
        width: 9rem;
        min-width: 9rem;
        max-width: 9rem;
        height: 13rem;
        min-height: 13rem;
        max-height: 13rem;
    }

    #top-row {
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    #top-row a {
        margin-left: 0.75rem;
        font-size: 0.8rem;
    }

    .top-row-right {
        padding-right: 0.75rem;
    }
}
