:root {
    --primary: #FF5252;     /* Comic Red */
    --secondary: #448AFF;   /* Comic Blue */
    --accent: #FFD740;      /* Comic Yellow */
    --bg: #FAFAFA;
    --text: #212121;
    --text-muted: #546E7A;
    --card: #FFFFFF;
    --border: #000000;
    --shadow-hard: 6px 6px 0px 0px rgba(0,0,0,0.9);
    --shadow-hover: 12px 12px 0px 0px rgba(0,0,0,0.9);
    --shadow-active: 3px 3px 0px 0px rgba(0,0,0,0.9);
    --depth-color: rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    background-color: #E3F2FD;
    background-image: radial-gradient(#90CAF9 2px, transparent 2.5px);
    background-size: 20px 20px;
    color: var(--text);
    padding: 60px 20px;
    line-height: 1.6;
    min-height: 100vh;
    perspective: 1200px; /* overall scene perspective */
    transform-style: preserve-3d;
    background-attachment: fixed;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform;
}

@media (max-width: 600px) {
    .instructions-header { font-size: 2.2rem; transform: translateZ(20px) rotateX(4deg); }
    .players-grid { grid-template-columns: repeat(2, 1fr); }
}

