﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #fff;
            padding: 10px;
        }

        .container {
            text-align: center;
            max-width: 800px;
            width: 100%;
        }

        h1 {
            font-size: 2rem;
            margin-bottom: 8px;
            text-shadow: 0 0 12px rgba(78, 205, 196, 0.4),
                         2px 2px 4px rgba(0, 0, 0, 0.7),
                         0 1px 0 rgba(255, 255, 255, 0.1);
            color: #4ecdc4;
            font-weight: 600;
            letter-spacing: 1px;
            transform: rotate(-0.3deg);
        }


        /* Settings Button */
        .settings-button {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
            border: 2px solid rgba(78, 205, 196, 0.3);
            border-radius: 50%;
            color: #4ecdc4;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .settings-button:hover {
            background: linear-gradient(145deg, #3a3a4e, #2a2a2e);
            border-color: #4ecdc4;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
        }

        .settings-button:active {
            transform: scale(0.95);
        }

        .settings-button svg {
            transition: transform 0.3s ease;
        }

        .settings-button:hover svg {
            transform: rotate(90deg);
        }

        /* Settings Overlay */
        .settings-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
            z-index: 1998;
            will-change: opacity;
        }

        .settings-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Settings Menu */
        .settings-menu {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            width: 90%;
            max-width: 500px;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border-radius: 12px 18px 15px 16px;
            border: 3px solid #3a3a4e;
            border-top: 2px solid #4a4a5e;
            box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9),
                        0 4px 15px rgba(0, 0, 0, 0.6),
                        inset 0 1px 0 rgba(78, 205, 196, 0.1);
            padding: 35px 38px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
            z-index: 1999;
            overflow: hidden;
            will-change: transform, opacity;
        }

        .settings-menu::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.06) 0%, transparent 50%);
            border-radius: inherit;
            z-index: 0;
            pointer-events: none;
        }

        .settings-menu::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            border-radius: inherit;
            z-index: 0;
            pointer-events: none;
        }

        .settings-menu-header,
        .settings-menu-content {
            position: relative;
            z-index: 1;
        }


        .settings-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }


        .settings-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0 28px 0;
            margin-bottom: 32px;
            border-bottom: 1px solid rgba(78, 205, 196, 0.25);
            position: relative;
        }

        .settings-menu-header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 60px;
            height: 2px;
            background: rgba(78, 205, 196, 0.4);
        }

        .settings-menu-header h2 {
            font-size: 1.75rem;
            color: #4ecdc4;
            margin: 0;
            text-shadow: 0 0 8px rgba(78, 205, 196, 0.3),
                         1px 1px 2px rgba(0, 0, 0, 0.8);
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .settings-close {
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(78, 205, 196, 0.4);
            border-radius: 6px;
            color: #4ecdc4;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            position: relative;
        }

        .settings-close::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 6px;
            background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .settings-close:hover {
            background: rgba(78, 205, 196, 0.15);
            border-color: #4ecdc4;
            transform: rotate(45deg) scale(1.05);
        }

        .settings-close:hover::before {
            opacity: 1;
        }

        /* Settings Tabs */
        .settings-tabs {
            display: flex;
            gap: 6px;
            padding: 0 0 15px 0;
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(78, 205, 196, 0.2);
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: thin;
            scrollbar-color: rgba(78, 205, 196, 0.4) rgba(0, 0, 0, 0.2);
            -webkit-overflow-scrolling: touch;
            padding-bottom: 18px;
            margin-bottom: 12px;
        }

        .settings-tabs::-webkit-scrollbar {
            height: 6px;
        }

        .settings-tabs::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }

        .settings-tabs::-webkit-scrollbar-thumb {
            background: rgba(78, 205, 196, 0.4);
            border-radius: 3px;
        }

        .settings-tabs::-webkit-scrollbar-thumb:hover {
            background: rgba(78, 205, 196, 0.6);
        }

        .settings-tab {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 14px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(78, 205, 196, 0.15);
            border-radius: 8px;
            color: #888;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .settings-tab:hover {
            background: rgba(0, 0, 0, 0.4);
            color: #4ecdc4;
            border-color: rgba(78, 205, 196, 0.3);
        }

        .settings-tab.active {
            background: rgba(78, 205, 196, 0.15);
            color: #4ecdc4;
            border-color: rgba(78, 205, 196, 0.5);
        }

        .settings-tab svg {
            opacity: 0.7;
            flex-shrink: 0;
        }

        .settings-tab.active svg {
            opacity: 1;
        }

        /* Settings Pages */
        .settings-page {
            display: none;
            animation: fadeIn 0.2s ease;
        }

        .settings-page.active {
            display: block;
        }

        @keyframes settingsPageFade {
            from {
                opacity: 0;
                transform: translateX(10px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .settings-page.active {
            animation: settingsPageFade 0.2s ease;
        }

        /* Make settings pages scrollable */
        .settings-page {
            max-height: 380px;
            overflow-y: auto;
            padding-right: 8px;
        }

        .settings-page::-webkit-scrollbar {
            width: 6px;
        }

        .settings-page::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 3px;
        }

        .settings-page::-webkit-scrollbar-thumb {
            background: rgba(78, 205, 196, 0.3);
            border-radius: 3px;
        }

        .settings-page::-webkit-scrollbar-thumb:hover {
            background: rgba(78, 205, 196, 0.5);
        }

        .settings-menu-content {
            padding: 0;
        }

        .settings-item {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
            padding: 18px 22px;
            background: rgba(0, 0, 0, 0.35);
            border-radius: 8px;
            border: 1px solid rgba(78, 205, 196, 0.15);
            border-left: 3px solid rgba(78, 205, 196, 0.3);
            margin-bottom: 12px;
            transition: all 0.2s ease;
            position: relative;
        }

        .settings-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: rgba(78, 205, 196, 0.2);
            border-radius: 8px 0 0 8px;
            transition: width 0.2s;
        }

        .settings-item:hover {
            background: rgba(0, 0, 0, 0.45);
            border-color: rgba(78, 205, 196, 0.3);
            transform: translateX(3px);
            box-shadow: -2px 0 8px rgba(78, 205, 196, 0.15);
        }

        .settings-item:hover::before {
            width: 4px;
            background: rgba(78, 205, 196, 0.4);
        }

        .settings-item:last-child {
            margin-bottom: 0;
        }

        .settings-item-label {
            flex: 1;
        }

        .settings-item-label label {
            display: block;
            font-size: 1.05rem;
            color: #4ecdc4;
            font-weight: 500;
            margin-bottom: 6px;
            cursor: pointer;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .settings-item-description {
            display: block;
            font-size: 0.8rem;
            color: #888;
            line-height: 1.5;
            font-style: italic;
        }

        .settings-item input[type="checkbox"] {
            width: 48px;
            height: 24px;
            cursor: pointer;
            accent-color: #4ecdc4;
            flex-shrink: 0;
            filter: brightness(0.9);
        }

        /* Volume Control */
        .volume-setting {
            flex-direction: column;
            align-items: flex-start !important;
            gap: 12px !important;
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
        }

        .volume-icon {
            color: #4ecdc4;
            flex-shrink: 0;
            opacity: 0.8;
        }

        .volume-slider {
            flex: 1;
            height: 6px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(78, 205, 196, 0.2);
            border-radius: 3px;
            outline: none;
            cursor: pointer;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            background: #4ecdc4;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        }

        .volume-slider::-webkit-slider-thumb:hover {
            transform: scale(1.15);
            box-shadow: 0 2px 10px rgba(78, 205, 196, 0.5);
        }

        .volume-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: #4ecdc4;
            border-radius: 50%;
            cursor: pointer;
            border: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        }

        .volume-slider::-moz-range-thumb:hover {
            transform: scale(1.15);
            box-shadow: 0 2px 10px rgba(78, 205, 196, 0.5);
        }

        .volume-slider::-moz-range-track {
            background: rgba(78, 205, 196, 0.2);
            border-radius: 3px;
            height: 6px;
        }

        .volume-value {
            color: #4ecdc4;
            font-size: 0.85rem;
            font-weight: 600;
            min-width: 40px;
            text-align: right;
        }

        /* Update Log Styles */
        .update-log {
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-height: 380px;
            overflow-y: auto;
            padding-right: 8px;
        }

        .update-log::-webkit-scrollbar {
            width: 6px;
        }

        .update-log::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 3px;
        }

        .update-log::-webkit-scrollbar-thumb {
            background: rgba(78, 205, 196, 0.3);
            border-radius: 3px;
        }

        .update-log::-webkit-scrollbar-thumb:hover {
            background: rgba(78, 205, 196, 0.5);
        }

        /* Casino Mode Styles */
        .casino-ui {
            display: none;
            max-width: 800px;
            margin: 0 auto 20px;
            padding: 15px 20px;
            background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a1a6b 100%);
            border-radius: 15px;
            border: 3px solid #ffd700;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.5);
        }

        .casino-ui.show {
            display: block;
            animation: casinoSlideIn 0.5s ease;
        }

        @keyframes casinoSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .casino-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .coin-display {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%);
            padding: 10px 20px;
            border-radius: 25px;
            border: 2px solid #ffd700;
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
        }

        .coin-icon {
            font-size: 1.5rem;
            animation: coinSpin 3s linear infinite;
        }

        @keyframes coinSpin {
            0%, 100% { transform: rotateY(0deg); }
            50% { transform: rotateY(180deg); }
        }

        .coin-amount {
            font-size: 1.4rem;
            font-weight: bold;
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
            font-family: 'Courier New', monospace;
        }

        .jackpot-display {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
            padding: 8px 25px;
            border-radius: 10px;
            border: 3px solid #ffd700;
            animation: jackpotPulse 2s ease-in-out infinite;
        }

        @keyframes jackpotPulse {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
            50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
        }

        .jackpot-label {
            font-size: 0.7rem;
            color: #ffd700;
            font-weight: bold;
            letter-spacing: 2px;
        }

        .jackpot-amount {
            font-size: 1.3rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            font-family: 'Courier New', monospace;
        }

        .bet-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #2a2a3a 0%, #1a1a2a 100%);
            padding: 8px 15px;
            border-radius: 25px;
            border: 2px solid #4ecdc4;
        }

        .bet-btn {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px solid #4ecdc4;
            background: linear-gradient(135deg, #1a1a2a 0%, #2a2a3a 100%);
            color: #4ecdc4;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .bet-btn:hover {
            background: #4ecdc4;
            color: #1a1a2a;
            transform: scale(1.1);
        }

        .bet-btn:active {
            transform: scale(0.95);
        }

        .bet-amount {
            font-size: 1.2rem;
            font-weight: bold;
            color: #4ecdc4;
            min-width: 60px;
            text-align: center;
            font-family: 'Courier New', monospace;
        }

        .casino-message {
            text-align: center;
            margin-top: 12px;
            font-size: 1.1rem;
            font-weight: bold;
            min-height: 28px;
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .casino-message.win {
            color: #00ff00;
            text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
            animation: winFlash 0.5s ease infinite;
        }

        .casino-message.lose {
            color: #ff4444;
            text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
        }

        .casino-message.jackpot {
            color: #ffd700;
            font-size: 1.5rem;
            animation: jackpotWin 0.3s ease infinite;
        }

        @keyframes winFlash {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        @keyframes jackpotWin {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        /* Casino mode slot machine enhancements */
        .slot-machine.casino-mode {
            border-color: #ffd700;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 50px rgba(0, 0, 0, 0.5);
        }

        .slot-machine.casino-mode .lever-track {
            background: linear-gradient(135deg, #8b0000 0%, #dc143c 100%);
            border-color: #ffd700;
        }

        .slot-machine.casino-mode .lever-handle {
            background: linear-gradient(180deg, #ffd700 0%, #ffaa00 50%, #ffd700 100%);
        }

        /* Coin rain animation */
        .coin-rain {
            position: fixed;
            top: -50px;
            font-size: 2rem;
            animation: coinFall 2s ease-in forwards;
            z-index: 9999;
            pointer-events: none;
        }

        @keyframes coinFall {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        /* Casino Help Button */
        .casino-help-btn {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px solid #ffd700;
            background: linear-gradient(135deg, #4a1a6b 0%, #2d1b4e 100%);
            color: #ffd700;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .casino-help-btn:hover {
            background: #ffd700;
            color: #1a0a2e;
            transform: scale(1.1);
        }

        /* Casino Win Line */
        .casino-winline {
            text-align: center;
            padding: 8px;
            margin-top: 10px;
            border-radius: 8px;
            font-size: 0.9rem;
            min-height: 20px;
            display: none;
        }

        .casino-winline.show {
            display: block;
            animation: winlineFlash 0.5s ease;
        }

        .casino-winline.jackpot {
            background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700);
            color: #1a0a2e;
            font-weight: bold;
            font-size: 1.1rem;
            animation: jackpotLine 0.3s ease infinite;
        }

        .casino-winline.bigwin {
            background: linear-gradient(90deg, #00ff00, #00cc00, #00ff00);
            color: #1a0a2e;
            font-weight: bold;
        }

        .casino-winline.win {
            background: linear-gradient(90deg, #4ecdc4, #26a69a, #4ecdc4);
            color: #1a0a2e;
        }

        .casino-winline.even {
            background: rgba(255, 255, 255, 0.2);
            color: #aaa;
        }

        .casino-winline.lose {
            background: rgba(255, 68, 68, 0.3);
            color: #ff6666;
        }

        @keyframes winlineFlash {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        @keyframes jackpotLine {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        /* Casino Rules Modal */
        .casino-rules {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
            border: 3px solid #ffd700;
            border-radius: 15px;
            padding: 20px;
            max-width: 400px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        }

        .casino-rules.show {
            display: block;
            animation: rulesSlideIn 0.3s ease;
        }

        @keyframes rulesSlideIn {
            from {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        /* Overlay behind rules modal */
        .casino-rules-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 999;
        }

        .casino-rules-overlay.show {
            display: block;
        }

        .casino-rules-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(255, 215, 0, 0.3);
        }

        .casino-rules-header h3 {
            margin: 0;
            color: #ffd700;
            font-size: 1.3rem;
        }

        .casino-rules-close {
            background: none;
            border: none;
            color: #ffd700;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0 8px;
            transition: transform 0.2s;
        }

        .casino-rules-close:hover {
            transform: scale(1.2);
        }

        .casino-rules-content {
            color: #ddd;
        }

        .rules-section {
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
        }

        .rules-section h4 {
            margin: 0 0 8px 0;
            color: #4ecdc4;
            font-size: 1rem;
        }

        .rules-section p {
            margin: 0;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .odds-table {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .odds-row {
            display: grid;
            grid-template-columns: 1fr 50px 1fr;
            gap: 10px;
            padding: 6px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            align-items: center;
        }

        .odds-row.jackpot-row {
            background: linear-gradient(90deg, rgba(255, 215, 0, 0.3), rgba(255, 170, 0, 0.3));
            color: #ffd700;
        }

        .odds-row.win-row {
            background: rgba(0, 255, 0, 0.15);
            color: #00ff00;
        }

        .odds-row.even-row {
            background: rgba(255, 255, 255, 0.1);
            color: #aaa;
        }

        .odds-row.lose-row {
            background: rgba(255, 68, 68, 0.15);
            color: #ff6666;
        }

        .reset-section {
            text-align: center;
        }

        .reset-coins-btn {
            background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
            border: none;
            color: #1a0a2e;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 5px;
        }

        .reset-coins-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        }

        /* Casino UI needs relative positioning for rules modal */
        .casino-ui {
            position: relative;
        }

        .update-entry {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(78, 205, 196, 0.2);
            border-radius: 10px;
            padding: 18px;
            border-left: 3px solid #4ecdc4;
        }

        .update-date {
            color: #4ecdc4;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .update-version {
            color: #888;
            font-size: 0.8rem;
            margin-bottom: 12px;
            font-style: italic;
        }

        .update-changes {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .update-changes li {
            color: #ccc;
            font-size: 0.85rem;
            padding-left: 8px;
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .update-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            flex-shrink: 0;
        }

        .update-tag.new {
            background: rgba(78, 205, 196, 0.2);
            color: #4ecdc4;
        }

        .update-tag.improved {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
        }

        .update-tag.fixed {
            background: rgba(255, 107, 107, 0.2);
            color: #ff6b6b;
        }

        @media (max-width: 768px) {
            .update-entry {
                padding: 14px;
            }

            .update-changes li {
                font-size: 0.8rem;
            }

            .update-tag {
                font-size: 0.65rem;
                padding: 2px 6px;
            }
        }

        /* Settings Categories */
        .settings-category {
            margin-bottom: 20px;
        }

        .settings-category:last-child {
            margin-bottom: 0;
        }

        .settings-category-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(78, 205, 196, 0.2);
            color: #4ecdc4;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .settings-category-header svg {
            opacity: 0.8;
        }

        .settings-subsection {
            margin-top: 8px;
            margin-left: 0;
        }

        /* Settings Section for Map Pool */
        .settings-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(78, 205, 196, 0.2);
        }

        .settings-section-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(78, 205, 196, 0.25);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .settings-section-toggle:hover {
            background: rgba(0, 0, 0, 0.45);
            border-color: rgba(78, 205, 196, 0.4);
        }

        .settings-section-title {
            font-size: 1rem;
            color: #4ecdc4;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .settings-section-arrow {
            color: #4ecdc4;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
        }

        .settings-section-toggle[aria-expanded="true"] .settings-section-arrow {
            transform: rotate(180deg);
        }

        .map-toggles-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 12px;
            max-height: 500px;
            overflow: hidden;
            transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
            opacity: 1;
        }

        .map-toggles-container.collapsed {
            max-height: 0;
            margin-top: 0;
            opacity: 0;
        }

        .map-toggle-item {
            padding: 12px 18px;
            margin-bottom: 0;
        }

        .map-toggle-item .settings-item-label label {
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        @media (max-width: 768px) {
            .settings-button {
                top: 15px;
                right: 15px;
                width: 45px;
                height: 45px;
            }

            .settings-menu {
                width: 95%;
                max-width: none;
                padding: 30px 20px;
            }

            .settings-menu-header {
                padding: 0 0 20px 0;
                margin-bottom: 20px;
            }

            .settings-menu-header h2 {
                font-size: 1.5rem;
            }

            .settings-item {
                flex-direction: column;
                gap: 15px;
            }
        }

        .attachment-reels-container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto 20px;
            opacity: 0;
            visibility: hidden;
            max-height: 0;
            overflow: hidden;
            transition: opacity 0.5s ease, visibility 0.5s ease, max-height 0.5s ease, margin 0.5s ease;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border-radius: 18px 22px 20px 19px;
            padding: 0;
            border: 3px solid #3a3a4e;
            border-top: 2px solid #4a4a5e;
            box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9),
                        0 4px 15px rgba(0, 0, 0, 0.6),
                        inset 0 1px 0 rgba(78, 205, 196, 0.08);
        }

        .attachment-reels-container.show {
            opacity: 1;
            visibility: visible;
            max-height: 400px;
            margin-bottom: 20px;
            padding: 15px;
        }

        .attachment-reels-title {
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
            color: #4ecdc4;
            margin-bottom: 10px;
            text-shadow: 0 0 8px rgba(78, 205, 196, 0.3),
                         1px 1px 2px rgba(0, 0, 0, 0.9);
            letter-spacing: 0.5px;
        }

        .attachment-reels-wrapper {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 0;
            flex-wrap: wrap;
        }

        .attachment-reels-container.show .attachment-reels-wrapper {
            margin-top: 10px;
        }

        .attachment-reel-small {
            width: 100px;
            height: 120px;
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            border: 2px solid #4a4a5e;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8),
                        0 0 10px rgba(0, 0, 0, 0.5);
        }

        .attachment-reel-small-label {
            position: absolute;
            top: 5px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 0.65rem;
            font-weight: bold;
            color: #4ecdc4;
            z-index: 20;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            background: rgba(0, 0, 0, 0.5);
            padding: 2px;
        }

        .attachment-reel-small-strip {
            position: absolute;
            width: 100%;
            display: flex;
            flex-direction: column;
            transition: transform 0.1s linear;
            will-change: transform;
            z-index: 1;
        }

        .attachment-reel-small-item {
            width: 100%;
            height: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: #1a1a2e;
            border-bottom: 1px solid #2a2a3e;
            position: relative;
            flex-shrink: 0;
            min-height: 120px;
        }

        .attachment-reel-small-item img {
            max-width: 100%;
            max-height: 90px;
            width: auto;
            height: auto;
            object-fit: contain;
            padding: 4px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 5px;
            display: block;
            opacity: 1;
            background-color: rgba(30, 30, 50, 0.8);
        }

        .attachment-reel-small-item .attachment-name-small {
            position: absolute;
            bottom: 2px;
            left: 0;
            right: 0;
            font-size: 0.5rem;
            font-weight: bold;
            text-align: center;
            padding: 2px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        }

        .suppressor-info {
            font-size: 1.2rem;
            color: #ffd700;
            margin-top: 10px;
            font-weight: normal;
        }

        .attachments-info {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .attachment-item {
            font-size: 1rem;
            color: #b0b0b0;
            margin-top: 5px;
            padding: 5px 0;
        }

        .attachments-info {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .attachment-item {
            font-size: 1rem;
            color: #b0b0b0;
            margin-top: 5px;
            padding: 5px 0;
        }

        .slot-machine {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border-radius: 18px 22px 20px 19px;
            padding: 20px 24px;
            box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9),
                        0 4px 15px rgba(0, 0, 0, 0.6),
                        inset 0 1px 0 rgba(78, 205, 196, 0.08);
            border: 3px solid #3a3a4e;
            border-top: 2px solid #4a4a5e;
            margin: 0 auto 20px;
            max-width: 700px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            transform: rotate(0.1deg);
        }

        .slot-machine::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 15% 25%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 85% 75%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
            border-radius: inherit;
            z-index: 0;
            pointer-events: none;
        }

        .slot-machine::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
            border-radius: inherit;
            z-index: 0;
            pointer-events: none;
        }


        .reels-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            perspective: 1000px;
            flex-wrap: wrap;
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .reel {
            width: 220px;
            height: 220px;
            background: #000;
            border-radius: 12px 14px 13px 15px;
            overflow: hidden;
            position: relative;
            border: 3px solid #4a4a5e;
            border-top: 2px solid #5a5a6e;
            box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.9),
                        0 3px 12px rgba(0, 0, 0, 0.5),
                        inset 0 1px 0 rgba(78, 205, 196, 0.05);
        }

        .reel-label {
            position: absolute;
            top: 6px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: #4ecdc4;
            z-index: 20;
            text-shadow: 0 0 8px rgba(78, 205, 196, 0.3),
                         1px 1px 2px rgba(0, 0, 0, 0.9);
            letter-spacing: 0.5px;
        }

        .reel::before,
        .reel::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 40px;
            background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
            z-index: 5;
            pointer-events: none;
        }

        .reel::after {
            top: auto;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .reel-strip {
            position: absolute;
            width: 100%;
            display: flex;
            flex-direction: column;
            transition: transform 0.1s linear;
            will-change: transform;
            z-index: 1;
        }

        .reel-strip.spinning {
            transition: transform 0.1s linear;
        }

        .reel-item {
            width: 100%;
            height: 220px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 15px;
            background: #1a1a2e;
            border-bottom: 1px solid #2a2a3e;
            position: relative;
            flex-shrink: 0;
            min-height: 220px;
        }

        .reel-item img {
            max-width: 100%;
            max-height: 140px;
            width: auto;
            height: auto;
            object-fit: contain;
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            display: block;
            opacity: 1;
            background-color: rgba(30, 30, 50, 0.8);
            margin-top: 5px;
        }
        
        .reel-item img[src=""],
        .reel-item img:not([src]) {
            display: none;
        }

        .reel-item .gun-name {
            position: absolute;
            bottom: 6px;
            left: 0;
            right: 0;
            font-size: 0.6rem;
            font-weight: 500;
            text-align: center;
            padding: 4px 5px;
            background: rgba(0, 0, 0, 0.75);
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.9);
            letter-spacing: 0.3px;
        }

        .lever {
            width: 60px;
            height: 150px;
            background: linear-gradient(145deg, #3a3a4e, #2a2a2e);
            border-radius: 38px 42px 40px 39px;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%) rotate(0.5deg);
            cursor: pointer;
            border: 3px solid #2a2a3e;
            border-top: 2px solid #3a3a4e;
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6),
                        inset 0 1px 0 rgba(78, 205, 196, 0.05);
            transition: transform 0.1s;
            flex-shrink: 0;
            z-index: 10;
        }

        .lever::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 44px;
            height: 44px;
            background: linear-gradient(145deg, #ff6b6b, #e74c3c);
            border-radius: 50% 48% 52% 49%;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.4),
                        0 2px 4px rgba(0,0,0,0.3);
            transition: transform 0.2s ease;
        }

        .lever.pull::before {
            transform: translateX(-50%) translateY(75px);
        }


        .result {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            display: none;
        }

        .result.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .result-gun {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            color: #4ecdc4;
        }

        .result-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .result-item {
            background: rgba(0, 0, 0, 0.3);
            padding: 15px;
            border-radius: 10px;
        }

        .result-item-label {
            font-size: 0.9rem;
            color: #b0b0b0;
            margin-bottom: 5px;
        }

        .result-item-value {
            font-size: 1.2rem;
            font-weight: bold;
        }

        .gun-image {
            max-width: 300px;
            max-height: 200px;
            margin: 20px auto;
            border-radius: 10px;
            display: block;
        }

        .loading {
            text-align: center;
            padding: 20px;
            color: #b0b0b0;
            display: none;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0d1117;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .loading-content {
            text-align: center;
            padding: 40px;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #58a6ff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 24px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .loading-title {
            font-size: 1.5rem;
            color: #e6edf3;
            margin: 0 0 6px 0;
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .loading-subtitle {
            font-size: 0.875rem;
            color: #7d8590;
            margin: 0 0 28px 0;
            font-weight: 400;
        }

        .loading-progress-container {
            width: 280px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            margin: 0 auto 16px;
            overflow: hidden;
        }

        .loading-progress-bar {
            height: 100%;
            width: 0%;
            background: #58a6ff;
            border-radius: 2px;
            transition: width 0.2s ease;
        }

        .loading-text {
            font-size: 0.75rem;
            color: #7d8590;
            margin: 0;
            min-height: 18px;
            font-weight: 400;
        }

        @media (max-width: 768px) {
            .loading-title {
                font-size: 1.25rem;
            }

            .loading-subtitle {
                font-size: 0.8rem;
            }

            .loading-progress-container {
                width: 220px;
            }

            .loading-spinner {
                width: 36px;
                height: 36px;
            }
        }

        .winning-flash {
            animation: flash 0.3s ease-in-out 3;
        }

        @keyframes flash {
            0%, 100% { background: linear-gradient(145deg, #2a2a3e, #1a1a2e); }
            50% { background: linear-gradient(145deg, #4ecdc4, #45b7d1); }
        }

        /* TikTok Link */
        .tiktok-link {
            position: fixed;
            bottom: 20px;
            left: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 8px;
            border: 2px solid rgba(78, 205, 196, 0.3);
            transition: all 0.3s ease;
            z-index: 100;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .tiktok-link:hover {
            background: rgba(0, 0, 0, 0.6);
            border-color: #4ecdc4;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
        }

        .tiktok-link:active {
            transform: translateY(0);
        }

        .tiktok-link svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .tiktok-link:hover svg {
            transform: scale(1.1);
        }

        .tiktok-text {
            color: #4ecdc4;
            font-size: 0.85rem;
            font-weight: 500;
            white-space: nowrap;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Share Kit Container */
        .share-kit-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .share-button {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
            border: 2px solid rgba(78, 205, 196, 0.3);
            border-radius: 8px;
            color: #4ecdc4;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .share-button:hover {
            background: linear-gradient(145deg, #3a3a4e, #2a2a2e);
            border-color: #4ecdc4;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
        }

        .share-button:active {
            transform: translateY(0);
        }

        .share-button svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* Share Modal */
        .share-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            padding: 20px;
        }

        .share-modal-content {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border-radius: 12px;
            padding: 30px;
            max-width: 900px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            border: 3px solid #3a3a4e;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        }

        .share-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid rgba(78, 205, 196, 0.3);
            border-radius: 50%;
            width: 35px;
            height: 35px;
            color: #4ecdc4;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            line-height: 1;
        }

        .share-modal-close:hover {
            background: rgba(78, 205, 196, 0.2);
            border-color: #4ecdc4;
            transform: rotate(90deg);
        }

        .share-modal-content h3 {
            color: #4ecdc4;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.5rem;
        }

        .share-image-container {
            background: #1a1a2e;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid #3a3a4e;
        }

        .share-image-container img {
            max-width: 60%;
            max-height: 400px;
            height: auto;
            border-radius: 8px;
            cursor: pointer;
        }

        .share-buttons-container {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .share-action-button {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
            border: 2px solid rgba(78, 205, 196, 0.3);
            border-radius: 8px;
            color: #4ecdc4;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .share-action-button:hover {
            background: linear-gradient(145deg, #3a3a4e, #2a2a3e);
            border-color: #4ecdc4;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
        }

        .share-action-button:active {
            transform: translateY(0);
        }

        .share-action-button svg {
            flex-shrink: 0;
        }

        /* Share Notification */
        .share-notification {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: #4ecdc4;
            padding: 15px 25px;
            border-radius: 8px;
            border: 2px solid rgba(78, 205, 196, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            z-index: 10000;
            opacity: 0;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .share-notification.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* Mobile Spin Button */
        .mobile-spin-button {
            display: none;
        }

        @media (max-width: 768px) {
            .lever {
                width: 50px;
                height: 120px;
                right: 10px;
            }

            .lever::before {
                width: 36px;
                height: 36px;
                top: 6px;
            }

            .lever.pull::before {
                transform: translateX(-50%) translateY(60px);
            }

            .reels-container {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 1fr);
                gap: 10px;
                justify-items: center;
                align-items: center;
            }

            .reel {
                width: calc(50vw - 30px);
                max-width: 180px;
                height: calc(50vw - 30px);
                max-height: 180px;
            }

            .reel-item {
                height: 180px;
                min-height: 180px;
                padding-top: 10px;
            }

            .reel-item img {
                max-height: 100px;
                max-width: 90%;
            }

            .reel-item .gun-name {
                font-size: 0.55rem;
                padding: 3px 4px;
                bottom: 4px;
                line-height: 1.2;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .reel-label {
                font-size: 0.65rem;
                top: 4px;
            }

            h1 {
                font-size: 2rem;
            }

            .result-gun {
                font-size: 1.8rem;
            }

            .tiktok-link {
                padding: 8px 12px;
                bottom: 15px;
                left: 15px;
            }

            .tiktok-link svg {
                width: 18px;
                height: 18px;
            }

            .tiktok-text {
                font-size: 0.75rem;
            }

            .share-button {
                padding: 10px 16px;
                font-size: 0.85rem;
            }

            .share-button svg {
                width: 18px;
                height: 18px;
            }

        }

        /* Map Reel Container */
        .map-reel-container {
            width: 100%;
            max-width: 350px;
            margin: 0 auto 20px;
            opacity: 0;
            visibility: hidden;
            max-height: 0;
            overflow: hidden;
            transition: opacity 0.5s ease, visibility 0.5s ease, max-height 0.5s ease, margin 0.5s ease;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border-radius: 18px 22px 20px 19px;
            padding: 0;
            border: 3px solid #3a3a4e;
            border-top: 2px solid #4a4a5e;
            box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9),
                        0 4px 15px rgba(0, 0, 0, 0.6),
                        inset 0 1px 0 rgba(78, 205, 196, 0.08);
        }

        .map-reel-container.show {
            opacity: 1;
            visibility: visible;
            max-height: 280px;
            margin-bottom: 20px;
            padding: 15px;
        }

        .map-reel-title {
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
            color: #4ecdc4;
            margin-bottom: 10px;
            text-shadow: 0 0 8px rgba(78, 205, 196, 0.3),
                         1px 1px 2px rgba(0, 0, 0, 0.9);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .map-reel {
            width: 100%;
            height: 200px;
            background: #000;
            border-radius: 12px 14px 13px 15px;
            overflow: hidden;
            position: relative;
            border: 3px solid #4a4a5e;
            border-top: 2px solid #5a5a6e;
            box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.9),
                        0 3px 12px rgba(0, 0, 0, 0.5),
                        inset 0 1px 0 rgba(78, 205, 196, 0.05);
        }

        .map-reel::before,
        .map-reel::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 30px;
            background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
            z-index: 5;
            pointer-events: none;
        }

        .map-reel::after {
            top: auto;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .map-reel-strip {
            position: absolute;
            width: 100%;
            display: flex;
            flex-direction: column;
            transition: transform 0.1s linear;
            will-change: transform;
            z-index: 1;
        }

        .map-reel-strip.spinning {
            transition: transform 0.1s linear;
        }

        .map-reel-item {
            width: 100%;
            height: 200px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: #1a1a2e;
            border-bottom: 1px solid #2a2a3e;
            position: relative;
            flex-shrink: 0;
            min-height: 200px;
            padding: 10px;
        }

        .map-reel-item img {
            max-width: 90%;
            max-height: 130px;
            width: auto;
            height: auto;
            object-fit: contain;
            padding: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            display: block;
            opacity: 1;
            background-color: rgba(30, 30, 50, 0.8);
        }

        .map-reel-item .map-name {
            position: absolute;
            bottom: 8px;
            left: 0;
            right: 0;
            font-size: 0.75rem;
            font-weight: 600;
            text-align: center;
            padding: 6px 10px;
            background: rgba(0, 0, 0, 0.8);
            color: #4ecdc4;
            text-shadow: 0 1px 2px rgba(0,0,0,0.9);
            letter-spacing: 0.3px;
        }

        @media (max-width: 768px) {
            .map-reel-container {
                max-width: 90%;
            }
            
            .map-reel-container.show {
                max-height: 250px;
            }
            
            .map-reel {
                height: 180px;
            }
            
            .map-reel-item {
                height: 180px;
                min-height: 180px;
            }
            
            .map-reel-item img {
                max-height: 110px;
            }
        }

        /* Site Footer */
        .site-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            text-align: center;
            padding: 12px 20px;
            background: linear-gradient(to top, rgba(15, 15, 25, 0.95), rgba(15, 15, 25, 0));
            pointer-events: none;
        }

        .site-footer p {
            color: #666;
            font-size: 0.8rem;
            margin: 0;
            pointer-events: auto;
        }

        .site-footer a {
            color: #4ecdc4;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .site-footer a:hover {
            color: #6ee7df;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .site-footer {
                padding: 10px 15px;
            }

            .site-footer p {
                font-size: 0.7rem;
            }
        }
    
