/* --- General Page Styles (no change) --- */
        body {
            font-family: Arial, sans-serif;
            line-height: 1.7;
            background-color: #f0f0f0;
            color: #333;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 900px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        /* --- Player-Facing Section (no change) --- */
        .header {
            text-align: center;
            padding: 30px;
            background-color: #f4e4bc;
            border-radius: 8px;
            border: 3px solid #D2691E;
        }
        .header h1 {
            font-family: 'Press Start 2P', cursive;
            color: #8B4513;
            font-size: 28px;
            margin-bottom: 15px;
        }
        .header h2 {
            font-family: 'Press Start 2P', cursive;
            color: #333;
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 25px;
        }
        .play-button {
            display: inline-block;
            padding: 20px 40px;
            font-family: 'Press Start 2P', cursive;
            font-size: 20px;
            color: white;
            background: linear-gradient(45deg, #8B4513, #D2691E);
            text-decoration: none;
            border: 2px solid #DAA520;
            border-radius: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-top: 20px;
        }
        .play-button:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
            color: white;
        }

        /* --- AdSense Content Section (no change) --- */
        .content-section {
            padding: 30px 20px;
            margin-top: 30px;
            border-top: 2px solid #ddd;
        }
        .content-section h2, .content-section h3 {
            font-family: 'Press Start 2P', cursive;
            color: #8B4513;
        }
        .content-section p { font-size: 16px; margin-bottom: 15px; }
        .content-section ul { list-style-type: '🏴‍☠️ '; padding-left: 30px; }
        .content-section li { padding-left: 10px; margin-bottom: 10px; }
        .content-section li strong { color: #333; }

        /* === CSS FOR ITEM LIST ADJUSTMENT === */
        .item-guide {
            list-style-type: none;
            padding-left: 0; /* Moved more to the left */
        }
        .item-guide li {
            display: flex;
            align-items: flex-start; /* Aligns description to the top */
            margin-bottom: 25px; /* More space between items */
        }
        .item-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100px; /* Width for icon and name */
            margin-right: 15px;
            flex-shrink: 0;
            text-align: center;
        }
        .item-label strong {
            font-size: 12px;
            color: #333;
        }
        .item-guide .item-icon {
            width: 35px;
            height: 35px;
            margin-right: 0; /* Removed right margin */
            margin-bottom: 8px; /* Added margin below icon */
            object-fit: contain;
            background-color: #444; 
            border: 2px solid #DAA520;
            border-radius: 5px;
            padding: 5px;
            flex-shrink: 0;
        }
        .item-description {
            flex-grow: 1; /* Description takes remaining space */
        }
        /* === END OF NEW CSS === */

        /* --- Footer (no change) --- */
        footer {
            text-align: center;
            margin-top: 30px;
            font-size: 14px;
            color: #777;
        }
        footer a { color: #8B4513; text-decoration: none; }
        footer a:hover { text-decoration: underline; }

        /* ============================================
        === CSS FOR INTERACTIVE CHEST (no change) ===
        ============================================
        */
        #chest-container {
            position: relative;
            max-width: 200px;
            margin: 20px auto;
        }
        
        #clickable-chest {
            width: 100%;
            cursor: pointer;
            transition: transform 0.2s ease-out;
            animation: pulse 2s infinite ease-in-out;
        }
        
        #clickable-chest.is-shaking {
            animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
        }

        #reward-display {
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            display: none;
            gap: 10px;
            justify-content: center;
            align-items: center;
            width: 150%;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.5s ease-in;
        }
        
        #reward-display.is-visible {
            opacity: 1;
        }

        .reward-item {
            background-color: #444;
            border: 2px solid #DAA520;
            border-radius: 5px;
            padding: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }
        .reward-item img {
            width: 30px;
            height: 30px;
            object-fit: contain;
        }
        .reward-item .reward-text {
            font-family: 'Press Start 2P', cursive;
            font-size: 10px;
            color: white;
            margin-top: 5px;
        }

        #chest-message {
            font-family: 'Press Start 2P', cursive;
            font-size: 12px;
            color: #8B4513;
            margin-top: 20px;
            font-weight: bold;
            display: none;
            opacity: 0;
            transition: opacity 0.5s ease-in;
        }
        #chest-message.is-visible {
            display: block;
            opacity: 1;
        }
        
        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.08); }
            100% { transform: scale(1); }
        }
        @keyframes shake {
          10%, 90% { transform: translate3d(-1px, 0, 0); }
          20%, 80% { transform: translate3d(2px, 0, 0); }
          30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
          40%, 60% { transform: translate3d(4px, 0, 0); }
        }
        
        /* Responsive */
        @media (max-width: 600px) {
            .header h1 { font-size: 22px; }
            .header h2 { font-size: 14px; }
            .play-button { font-size: 16px; padding: 15px 30px; }
            .container { padding: 10px; }
            .content-section { padding: 20px 10px; }
            
            /* --- MOBILE ADJUSTMENT --- */
            .item-guide {
                padding-left: 0; 
            }
            .item-label {
                 width: 100px; 
                 margin-right: 10px; 
                 align-items: flex-start; 
            }
            .item-guide li {
                align-items: center; 
            }
        }