/* Layout & Typography */
body {
    margin: 0;
    overflow: hidden;
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Loading Screen */
#loading {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    z-index: 999;
}

#loading-text {
    margin-top: 30px;
    font-weight: 500;
}

.pulse-logo {
    width: 250px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Logo */
#logo {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#logo img {
    width: 230px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#logo img:hover {
    opacity: 1;
}

/* Price display */
#price-display {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1.5px solid #e8ecef;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.price-label {
    font-size: 11px;
    font-weight: 500;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* Language Switcher */
#lang-switcher {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    gap: 2px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1.5px solid #e8ecef;
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.lang-btn {
    background: none;
    border: none;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #95a5a6;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
    background: #f5f5f5;
    color: #2c3e50;
}

.lang-btn.active {
    background: #c21f26;
    color: #fff;
}

@media (max-width: 768px) {
    body.panel-open #lang-switcher {
        display: none;
    }
}

/* Action Buttons */
#action-buttons {
    position: fixed;
    right: 45px;
    bottom: 24px;
    width: 232px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.btn {
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-height: 48px;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: #c21f26;
    color: #fff;
    box-shadow: 0 4px 12px rgba(194,31,38,0.3);
}

.btn-primary:hover {
    background: #a11920;
    box-shadow: 0 6px 20px rgba(194,31,38,0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #2c3e50;
    border: 2px solid #e8ecef;
}

.btn-secondary:hover {
    border-color: #c21f26;
    color: #c21f26;
    transform: translateY(-2px);
}
