:root {
    --bg-color: #121214;
    /* Anthracite deep */
    --text-color: #ffffff;
    --accent-color: #3b82f6;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.15);
    --modal-bg: rgba(20, 20, 22, 0.95);
}

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

body {
    background: radial-gradient(circle at center, #1e1e22 0%, var(--bg-color) 80%);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

#app {
    position: relative;
    width: 100%;
    height: 100%;
}

canvas {
    display: block;
}

#overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#intro-text {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 1.5s ease;
    text-align: center;
}

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

#modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--card-border);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    position: relative;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

#close-modal:hover {
    opacity: 1;
}

#modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#modal-title {
    grid-column: 1 / -1;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 0;
    margin-bottom: 5px;
}

#modal-image-container {
    width: 100%;
    height: 250px;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

#modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#modal-details {
    display: flex;
    flex-direction: column;
}

#modal-details h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 15px;
}

#modal-items {
    list-style: none;
    margin-bottom: 20px;
}

#modal-items li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

#modal-items li::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 10px;
}

#modal-argument {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
}

#modal-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: auto;
    margin-bottom: 20px;
    color: #fff;
}

#reserve-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--accent-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.2s;
}

#reserve-btn:hover {
    transform: scale(1.02);
    background: #2563eb;
}

.hidden {
    display: none !important;
}

#link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.html-link {
    position: absolute;
    display: block;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    color: transparent;
    border: none;
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #modal-body {
        grid-template-columns: 1fr;
        max-height: 80vh;
        overflow-y: auto;
    }

    #modal-title {
        font-size: 1.8rem;
    }

    #modal-image-container {
        height: 150px;
    }

    #intro-text {
        font-size: 2rem;
    }
}