/* Gameshow CSS Styles - 80s Inspired Theme */

/* Body and overall page styling */
body {
    background: linear-gradient(25deg, #ff00ff, #00ffff, #ffff00, #ff0000); /* Vibrant rainbow gradient */
    color: white; /* White text for contrast */
    font-family: 'Mouse Memoirs', cursive; /* Fun, playful font for body text */
    min-height: 100vh; /* Full height background */
    margin: 0; /* Remove default margins */
    text-align: center; /* Center align text */
}

/* Headings */
h1 {
    font-size: 4em; /* Large, bold headings */
    text-shadow: 2px 2px #000; /* Black shadow for 3D effect */
    margin-bottom: 20px; /* Space below */
    font-family: 'Mystery Quest', cursive; /* Mystical font for names and questions */
}

h2 {
    font-size: 2em; /* Medium headings */
    background: #000; /* Black background */
    padding: 10px; /* Padding */
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 20px; /* Space below */
    font-family: 'Mystery Quest', cursive; /* Mystical font for questions */
}

h3 {
    font-family: 'Mystery Quest', cursive; /* For panelist names */
}

/* Buttons */
button {
    /* background: linear-gradient(45deg, #ff1493, #00bfff); /* Pink to blue gradient */
    color: #c500a2;; /* White text */
    border: none; /* No border */
    padding: 10px 20px; /* Padding */
    font-size: 1.2em; /* Larger font */
    border-radius: 10px; /* Rounded */
    cursor: pointer; /* Pointer on hover */
    margin: 5px; /* Margin between buttons */
    transition: transform 0.2s; /* Smooth hover effect */
}

button:hover {
    transform: scale(1.05); /* Slight scale on hover */
}

/* Forms and inputs */
input, select {
    padding: 10px; /* Padding */
    font-size: 1.2em; /* Larger font */
    border-radius: 10px; /* Rounded */
    border: 2px solid #fff; /* White border */
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    color: #000; /* Black text */
    margin: 5px; /* Margin */
}

/* Links */
a {
    color: #ffff00; /* Yellow links */
    text-decoration: none; /* No underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

.gameshow {
    background: transparent; 
    min-height: 100vh; 
    color: white; 
    text-align: center; 
    padding: 20px; 
    position: relative; 
    overflow: hidden;
}

/* Container for content */
.container {
    max-width: 1200px; /* Limit width */
    margin: 0 auto !important; /* Center */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 0px; /* Padding */
    
}

.bg-triangle {
    position: absolute;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* Specific to panelist drawing area */
#drawing-area {
    margin-top: 20px; /* Space above */
}

#signature-pad {
    border: 5px solid #fff; /* White border to see edges */
    border-radius: 10px; /* Rounded */
    background: #fff; /* White background for canvas */
    display: block; /* Block display */
    margin: 0 auto; /* Center */
}

/* Pen controls */
.pen-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pen-controls button.selected {
    transform: scale(1.1);
    border: 2px solid #d7e125;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Color palette */
.color-palette {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin: 15px auto;
    max-width: 450px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    cursor: pointer;
    border-radius: 5px;
}

.color-swatch:hover,
.color-swatch.selected {
    transform: scale(1.1);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Clear and submit */
.clear-submit {
    text-align: center;
    margin-top: 20px;
}

.clear-submit button {
    margin: 10px;
}

/* Tips for tweaking:
- Change the background gradient colors in body for different themes (e.g., more purple: #800080, #ff00ff).
- Adjust font-size in h1/h2 for bigger/smaller text.
- Modify button gradients for different colors (e.g., #ff4500 for orange).
- Increase padding in .container for more space.
- For the drawing pad, change border color or width to make edges more visible.
- Add more shadows or effects by increasing text-shadow values.
- To make it less 80s, change font-family to 'Arial' or 'Helvetica'.
*/

/* Login fullscreen helper (moved from inline styles) */
.login-fullscreen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 999;
}

.login-fullscreen .w-100 {
    width: 100%;
    max-width: 480px;
}

.login-fullscreen .card,
.login-fullscreen .card-body {
    border-radius: 14px;
}

.login-fullscreen .card {
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.06);
}

.login-fullscreen .card-body {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
}

.login-fullscreen h2 { margin-bottom: 1rem; }

.login-fullscreen input.form-control { border-radius: 8px; }

.login-fullscreen .btn { border-radius: 10px; }