:root {
    /* Colors */
    --bg-dark: #0f0f13;
    --bg-gradient: radial-gradient(circle at 50% -20%, #2a2a35 0%, #0f0f13 100%);

    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 215, 0, 0.1);
    /* Subtle Gold Border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    --primary: #ffd700;
    /* Gold */
    --primary-hover: #ffed4a;
    --text-main: #ffffff;
    --text-muted: #rgba(255, 255, 255, 0.6);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    background: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 215, 0, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(100, 100, 255, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
}

/* Add a subtle texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Elegant Headings */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ffd700, #ffecb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
    margin-bottom: 0.5rem;
}

/* Glass Card Polish */
.game-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Primary Button Upgrade */
.primary-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #daa520 100%);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.primary-btn:hover {
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
    background: linear-gradient(135deg, #ffe033 0%, #e6b800 100%);
}

/* Play Hint Text */
.play-hint {
    position: absolute;
    bottom: 25px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.playing .play-hint {
    opacity: 0;
}

.visualizer-circle.playing .play-icon {
    /* Hide play icon using CSS when class 'playing' is added to circle */
    opacity: 0;
    transform: scale(0.5);
}

.visualizer-circle.playing {
    /* Optional: Pulse effect when playing if desired, or just border color */
    border-color: var(--primary);
}