/* ============================================================
   REGROOVE STYLES
   ============================================================ */

:root {
    --accent: #CF1A37;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --border: #333333;
}

body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Top Banner */
.top-banner {
    background: var(--accent);
    padding: 0 20px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.hamburger-button {
    background: none;
    border: none;
    color: white !important;
    font-size: 1.8em;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.2s;
    line-height: 1;
    width: auto !important;
}

.hamburger-button:hover {
    opacity: 0.8;
}

.banner-title {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* Hamburger Menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

.menu-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 20px;
}

.menu-panel.active {
    left: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2em;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
    padding: 5px 10px;
    border-radius: 4px;
}

.menu-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.menu-items {
    margin-top: 60px;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1em;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #3a3a3a;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
}

.modal-overlay.active {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1002;
}

.modal.active {
    display: block;
}

.modal-header {
    background: var(--accent);
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3em;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2em;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h3 {
    margin: 0 0 5px 0;
    color: var(--accent);
    font-size: 1.5em;
}

.modal-body p {
    margin: 10px 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Hidden file input */
#fileInput {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
