        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            user-select: none;
        }

        body {
            background: #000;
            color: #fff;
            font-family: system-ui, sans-serif;
            height: 100vh;
            overflow: hidden;
        }

        #game-area {
            position: fixed;
            width: 100vw;
            height: 100vh;
            background: #000;
            overflow: hidden;
        }
        #viewpoint-indicator {
            position: absolute;
            width: var(--reticle-size);
            height: var(--reticle-size);
            border: var(--reticle-border-width) solid var(--reticle-color);
            border-radius: 50%;
            transform: translate(calc(-0.5 * var(--reticle-size)), calc(-0.5 * var(--reticle-size))); 
        }
        
        #viewpoint-indicator::before,
        #viewpoint-indicator::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: var(--reticle-line-width);
            height: var(--reticle-line-length);
            background-color: var(--reticle-color);
        }
        
        #viewpoint-indicator::before {
            transform: translate(-50%, -50%) rotate(45deg); 
        }
        
        #viewpoint-indicator::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }
        
        :root {
            --reticle-size: 15px;
            --reticle-border-width: 1px;
            --reticle-color: #3b82f6;
            --reticle-line-width: 2px;
            --reticle-line-length: 10px;
        }

        .target {
            position: absolute;
            width: 60px;
            height: 60px;
            transform: translate(-50%, -50%);
            pointer-events: none;
            transition: all 0.1s ease-out;
        }

        .target-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid red;
            border-radius: 50%;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.5; }
            100% { transform: scale(1); opacity: 1; }
        }


        .difficulty-dropdown {
            width: 200px;
            padding: 0.5rem;
            margin: 0.5rem auto;
            background: #111;
            color: white;
            border: 1px solid #3b82f6;
            border-radius: 4px;
            font-size: 1rem;
            text-align: center;
            -webkit-appearance: none;
            appearance: none;
        }
        
        .difficulty-dropdown:focus {
            outline: none;
            border-color: #2563eb;
        }
        
        
        #hud {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem;
            background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
            z-index: 200;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            margin-top: 30px;
        }

        #feedback {
            text-align: center;
            color: #3b82f6;
            font-weight: bold;
            text-shadow: 0 0 10px rgba(59,130,246,0.5);
        }

        #stability-indicator {
            position: fixed;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            color: #3b82f6;
        }

        #menu {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.9);
            padding: 2rem;
            border-radius: 8px;
            z-index: 300;
            text-align: center;
        }

        .menu-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #3b82f6;
        }

        .start-button {
            display: block;
            width: 200px;
            padding: 1rem;
            margin: 0.5rem auto;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s ease;
        }

        .start-button:hover {
            background: #2563eb;
        }

        .hidden {
            display: none !important;
        }

        #countdown {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: #3b82f6;
            z-index: 400;
        }

        .hit-flash {
            animation: hit-flash 0.2s ease-out;
        }

        @keyframes hit-flash {
            0% { transform: scale(1) translate(-50%, -50%); }
            50% { transform: scale(1.2) translate(-50%, -50%); }
            100% { transform: scale(1) translate(-50%, -50%); }
        }
        .icon-container {
            position: fixed;
            top: 20px;
            left: 20px;
            display: flex;
            gap: 15px;
            z-index: 1000;
        }
        .icon-button {
            cursor: pointer;
            padding: 12px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
            background: rgba(0, 0, 0, 0.8);
            color: white;
        }
        .icon-button:hover {
            transform: scale(1.05);
        }
        .share-icon {
            width: 24px;
            height: 24px;
        }
        .share-options {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 8px;
            margin-top: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            min-width: 200px;
        }
        .share-options.active {
            display: block;
        }
        .share-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            cursor: pointer;
            transition: background-color 0.3s;
            border-radius: 6px;
            color: black;
            text-decoration: none;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }
        .share-option:hover {
            background: #f5f5f5;
        }
        .icon-container {
        position: fixed;
        top: 10px;
        left: 10px;
        display: flex;
        gap: 8px;
        z-index: 1000;
        }
        .icon-button {
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        }
        .share-icon {
        width: 20px;
        height: 20px;
        }
        .share-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border-radius: 8px;
        padding: 8px;
        margin-top: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        min-width: 160px;
        }
        .share-options.active {
        display: block;
        }
        .share-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        cursor: pointer;
        border-radius: 6px;
        color: black;
        text-decoration: none;
        background: none;
        border: none;
        width: 100%;
        text-align: left;
        }
        .share-option:hover {
        background: #f5f5f5;
        }
        
        @media (max-width: 768px) {
        .icon-container {
        top: 10px;
        left: 10px;
        gap: 8px;
        }
        .icon-button {
        padding: 8px;
        }
        .share-icon {
        width: 20px;
        height: 20px;
        }
        .share-options {
        min-width: 160px;
        }}