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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a1a;
    color: #ffffff;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    cursor: none;
}

#player-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
}

#left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    position: relative;
    min-width: 0;
}

#header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

#hotel-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    flex-shrink: 0;
}

#hotel-info h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ffffff, #b0b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#welcome-message {
    font-size: 14px;
    color: #a0a0c0;
    font-weight: 300;
    margin-top: 2px;
}

#room-number {
    font-size: 12px;
    color: #7070a0;
    margin-top: 1px;
}

#clock {
    font-size: 48px;
    font-weight: 200;
    color: #ffffff;
    letter-spacing: 6px;
    margin: 16px 0 24px 0;
}

#menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

#menu-list {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.menu-item .icon {
    font-size: 22px;
    width: 32px;
    text-align: center;
}

.menu-item.active {
    background: rgba(100, 100, 255, 0.15);
    border-color: rgba(100, 100, 255, 0.5);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(100, 100, 255, 0.2);
}

.menu-item.active .label {
    color: #ffffff;
}

.menu-item .label {
    color: #c0c0e0;
}

#submenu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

#submenu.hidden {
    display: none;
}

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

#submenu-title {
    font-size: 24px;
    font-weight: 600;
}

.back-hint {
    font-size: 12px;
    color: #7070a0;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 8px;
}

#submenu-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a0a0c0;
    text-align: center;
    line-height: 1.8;
}

#ad-panel {
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

#ad-container {
    flex: 1;
    aspect-ratio: 800 / 1280;
    min-height: 0;
    overflow: hidden;
}

.ad-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-media.hidden {
    display: none;
}

#ad-label {
    text-align: center;
    padding: 6px;
    font-size: 10px;
    color: #505070;
    text-transform: uppercase;
    letter-spacing: 3px;
    flex-shrink: 0;
}
