  
        /* Base Styles & Mobile First Reset derived from File 1 */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #111;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            overflow: hidden;

            background-image: url('images/dealornodeal4.jpg');
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: left;
            background-size: 100% 100%;
        }

        #big {
            height: fit-content;
            width: fit-content;
            background-color: transparent;
            font-size: 2.5rem;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            color: rgb(33, 150, 243);
            text-align: center;
            letter-spacing: 2px;
            margin-bottom: 15px;
        }

        /* Game Arena Canvas Container matched with File 1 dimensions */
        .game-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        canvas {
            background-color: #000;
            border: 4px solid #fff;
            display: block;
            max-width: 95vw;
            max-height: 65vh;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
            border-radius: 4px;
        }

        /* Action Panel Console */
        #buttonsdiv {
            display: flex;
            gap: 15px;
            height: fit-content;
            width: fit-content;
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* Classes to control smooth UI removal when spinning */
        .hidden-controls {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none;
        }

        #button {
            background-color: rgb(33, 150, 243);
            color: black;
            height: 45px;
            width: 120px;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 20px;
            border: 2px solid black;
            cursor: pointer;
        }

        #button2 {
            background-color: rgb(187, 0, 0);
            color: black;
            height: 45px;
            width: 120px;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 20px;
            border: 2px solid black;
            cursor: pointer;
        }

        #button:hover, #button2:hover {
            opacity: 0.8;
        }

        /* ==========================================================================
           Responsive Media Breakpoints derived from File 1
           ========================================================================== */

        /* 1. Micro Phones / Small Viewports (0px - 320px) */
        @media screen and (max-width: 320px) {
            body { justify-content: flex-start; padding-top: 10px; }
            #big { font-size: 1.5rem; }
            canvas { border-width: 2px; }
            #button, #button2 { height: 35px; width: 90px; font-size: 0.9rem; border-radius: 12px; }
        }

        /* 2. Compact Smartphones (321px - 365px) */
        @media screen and (min-width: 321px) and (max-width: 365px) {
            body { justify-content: flex-start; padding-top: 15px; }
            #big { font-size: 1.8rem; }
            canvas { border-width: 2.5px; }
            #button, #button2 { height: 38px; width: 100px; font-size: 0.95rem; }
        }

        /* 3. Medium Smartphones (366px - 375px) */
        @media screen and (min-width: 366px) and (max-width: 375px) {
            body { justify-content: flex-start; padding-top: 20px; }
            #big { font-size: 2rem; }
        }

        /* 4. Large Smartphones (376px - 400px) */
        @media screen and (min-width: 376px) and (max-width: 400px) {
            body { justify-content: flex-start; padding-top: 25px; }
            #big { font-size: 2.2rem; }
        }

        /* 5. Phablets / Small Tablets (401px - 600px) */
        @media screen and (min-width: 401px) and (max-width: 600px) {
            body { justify-content: flex-start; padding-top: 30px; }
        }

        /* 6. Tablets / Laptops (601px - 1200px) */
        @media screen and (min-width: 601px) and (max-width: 1200px) {
            #big { font-size: 2.8rem; }
        }

        /* 7. Desktop Monitors (1201px - 1500px) */
        @media screen and (min-width: 1201px) and (max-width: 1500px) {
            #big { font-size: 3.5rem; }
        }
    