/**
 * Main Game Data
 * Standard task mode data - regular tasks and challenges
 */

const mainGameData = {
    // Standard tasks for the main game mode
    mainTasks: [
        {
            id: 1,
            text: "Watch porn and stroke slowly, no cumming",
            baseDuration: 5,
            tags: []
        },
        {
            id: 2,
            text: "Edge while watching BBC content sitting in chair",
            baseDuration: 6,
            tags: ["bbc"]
        },
        {
            id: 3,
            text: "Change your panties and get on your knees",
            baseDuration: 5,
            tags: ["sissy"]
        },
        {
            id: 4,
            text: "Watch cuckold videos standing up and edge without release",
            baseDuration: 8,
            tags: ["cuckold"]
        },
        {
            id: 5,
            text: "Goon to compilation videos sitting, multiple edges",
            baseDuration: 10,
            tags: ["compilation"]
        },
        {
            id: 6,
            text: "Watch interracial in the captain morgan pose, stroke",
            baseDuration: 10,
            tags: ["interracial"]
        },
        {
            id: 7,
            text: "Edge to humiliation content while kneeling down",
            baseDuration: 8,
            tags: ["humiliation"]
        },
        {
            id: 8,
            text: "Watch sissy hypno standing while stroking with your non-dominant hand",
            baseDuration: 6,
            tags: ["sissy", "hypno"]
        },
        {
            id: 9,
            text: "Goon to gangbang videos sitting in chair",
            baseDuration: 9,
            tags: ["gangbang"]
        },
        {
            id: 10,
            text: "Watch MILF porn while standing, stroke",
            baseDuration: 5,
            tags: ["milf"]
        },
        {
            id: 11,
            text: "Edge to cuckold captions standing with multiple stops",
            baseDuration: 9,
            tags: ["cuckold", "captions"]
        },
        {
            id: 12,
            text: "Squeeze your balls while watching sissy porn",
            baseDuration: 5,
            tags: ["cbt", "sissy"]
        },
        {
            id: 13,
            text: "Slap your cock 10 times while watching humiliation content",
            baseDuration: 5,
            tags: ["cbt", "humiliation"]
        },
        {
            id: 14,
            text: "Call yourself a pathetic gooner while stroking",
            baseDuration: 8,
            tags: ["humiliation", "verbal"]
        },
        {
            id: 15,
            text: "Pinch your nipples and balls while edging to BBC content",
            baseDuration: 5,
            tags: ["cbt", "bbc"]
        },
        {
            id: 16,
            text: "Admit you're addicted to porn out loud while edging",
            baseDuration: 6,
            tags: ["humiliation", "verbal"]
        },
        {
            id: 17,
            text: "Flick your cock head 15 times then edge without cumming",
            baseDuration: 8,
            tags: ["cbt"]
        },
        {
            id: 18,
            text: "Watch trans porn while stroking sitting and standing alternately",
            baseDuration: 10,
            tags: ["trans"]
        },
        {
            id: 19,
            text: "Continuous stroking sitting to random videos",
            baseDuration: 9,
            tags: []
        },
        {
            id: 20,
            text: "Watch hotwife content while edging on knees",
            baseDuration: 5,
            tags: ["cuckold"]
        },
        {
            id: 21,
            text: "Get naked and edge standing to BBC compilations",
            baseDuration: 9,
            tags: ["bbc", "compilation"]
        },
        {
            id: 22,
            text: "Change your panties and then stand while watching porn",
            baseDuration: 9,
            tags: ["sissy"]
        },
        {
            id: 23,
            text: "Put panties and a bra on and edge in doggy position to humiliation content",
            baseDuration: 9,
            tags: ["sissy", "humiliation"]
        },
        {
            id: 24,
            text: "Stroke with your left hand only while watching BBC",
            baseDuration: 6,
            tags: ["bbc"]
        },
        {
            id: 25,
            text: "Edge to sissy captions while on your knees",
            baseDuration: 8,
            tags: ["sissy", "captions"]
        },
        {
            id: 26,
            text: "Slap your balls 5 times then edge to interracial porn",
            baseDuration: 9,
            tags: ["cbt", "interracial"]
        },
        {
            id: 27,
            text: "Watch gangbang videos while alternating hands every 30 seconds",
            baseDuration: 8,
            tags: ["gangbang"]
        },
        {
            id: 28,
            text: "Edge to femdom content while lying on your back",
            baseDuration: 10,
            tags: ["femdom"]
        },
        {
            id: 29,
            text: "Stroke while looking at yourself in the mirror and calling yourself a slut",
            baseDuration: 5,
            tags: ["humiliation", "verbal"]
        },
        {
            id: 30,
            text: "Slap your cock 10 times while watching humiliation videos",
            baseDuration: 5,
            tags: ["cbt", "humiliation"]
        },
        {
            id: 31,
            text: "Practice moaning like a girl while edging to sissy content",
            baseDuration: 8,
            tags: ["sissy", "vocal", "feminization"]
        },
        {
            id: 32,
            text: "Edge to sissy hypno while wearing your wife's panties",
            baseDuration: 8,
            tags: ["sissy", "hypno"]
        },
        {
            id: 33,
            text: "Slap your thighs 20 times then stroke to BBC content",
            baseDuration: 6,
            tags: ["cbt", "bbc"]
        },
        {
            id: 34,
            text: "Stroke while reciting \"I'm a pathetic cuckold\" 10 times to humiliation content",
            baseDuration: 6,
            tags: ["humiliation", "verbal", "cuckold"]
        },
        {
            id: 35,
            text: "Edge to cuckold videos while doing squats",
            baseDuration: 6,
            tags: ["cuckold"]
        },
        {
            id: 36,
            text: "Watch BBC content while crawling on all fours and stroking",
            baseDuration: 5,
            tags: ["bbc", "pet-play"]
        },
        {
            id: 37,
            text: "Slap your ass 15 times then edge to sissy content",
            baseDuration: 8,
            tags: ["cbt", "sissy"]
        },
        {
            id: 38,
            text: "Stroke to gangbang videos while switching hands every minute",
            baseDuration: 9,
            tags: ["gangbang"]
        },
        {
            id: 39,
            text: "Edge to humiliation content while wearing your wife's bra",
            baseDuration: 8,
            tags: ["humiliation", "sissy"]
        },
        {
            id: 40,
            text: "Stroke to BBC while chanting \"bigger is better\"",
            baseDuration: 5,
            tags: ["bbc", "verbal", "humiliation"]
        },
        {
            id: 41,
            text: "Stroke to compilation videos while on your knees",
            baseDuration: 9,
            tags: ["compilation"]
        },
        {
            id: 42,
            text: "Edge to sissy captions while touching your nipples",
            baseDuration: 6,
            tags: ["sissy", "captions", "nipple-play"]
        },
        {
            id: 43,
            text: "Watch interracial while alternating fast and slow strokes every 30 seconds",
            baseDuration: 8,
            tags: ["interracial"]
        },
        {
            id: 44,
            text: "Watch humiliation content while stroking with just your fingertips",
            baseDuration: 8,
            tags: ["humiliation"]
        },
        {
            id: 45,
            text: "Edge to sissy hypno while practicing feminine poses",
            baseDuration: 9,
            tags: ["sissy", "hypno", "feminization"]
        }
    ],

    // Consequence tasks for when main tasks are skipped
    consequenceTasks: [
        {
            id: 101,
            text: "Eat your own precum while watching your wife's photos and imagining her with better men",
            baseDuration: 8,
            tags: ["humiliation", "cuckold"]
        },
        {
            id: 102,
            text: "Do 20 push-ups while wearing your wife's panties",
            baseDuration: 5,
            tags: ["exercise", "sissy", "humiliation"]
        },
        {
            id: 103,
            text: "Practice begging on your knees: 'Please let other men have my wife, I'm not worthy of her'",
            baseDuration: 10,
            tags: ["begging", "cuckold", "humiliation"]
        },
        {
            id: 104,
            text: "Gently push a finger inside your ass and hold it there",
            baseDuration: 5,
            tags: ["anal", "humiliation"]
        },
        {
            id: 105,
            text: "Slap your cock 10 times while looking at your wife's photos and saying 'I don't deserve her' after each slap",
            baseDuration: 5,
            tags: ["cbt", "cuckold", "humiliation"]
        },
        {
            id: 106,
            text: "Look at your wife's sexiest pictures while imagining her showing them to alpha males and chanting 'I'm a pathetic cuckold'",
            baseDuration: 10,
            tags: ["cuckold", "humiliation", "mental"]
        },
        {
            id: 107,
            text: "Find your wife's dirtiest panties and sniff them while stroking",
            baseDuration: 5,
            tags: ["panty-worship", "humiliation", "scent"]
        },
        {
            id: 108,
            text: "Find your wife's sexiest lingerie, put it on, and practice crawling on all fours like a submissive pet",
            baseDuration: 8,
            tags: ["sissy", "pet-play", "humiliation"]
        },
        {
            id: 109,
            text: "Put on your wife's dress or skirt and pose femininely in the mirror",
            baseDuration: 10,
            tags: ["sissy", "posing"]
        },
        {
            id: 110,
            text: "Find your wife's dirtiest panties and sniff them while stroking",
            baseDuration: 5,
            tags: ["panty-worship", "humiliation", "scent"]
        },
        {
            id: 111,
            text: "Find your wife's dirtiest panties and sniff them while stroking",
            baseDuration: 5,
            tags: ["panty-worship", "humiliation", "scent"]
        },
        {
            id: 112,
            text: "Jerk off while imagining you're a cum dump for your bull, begging for him to fill you up",
            baseDuration: 5,
            tags: ["fantasy", "humiliation", "cuckold"]
        },
        {
            id: 113,
            text: "Lick your wife's dirty panties while edging and repeating 'I'm not man enough for her'",
            baseDuration: 6,
            tags: ["panty-worship", "humiliation"]
        },
        {
            id: 114,
            text: "Push two fingers in your ass and fuck yourself while begging to be used like a sissy",
            baseDuration: 5,
            tags: ["anal", "sissy", "humiliation"]
        },
        {
            id: 115,
            text: "Find your wife's sexiest outfit and wear it while practicing sucking motions on a dildo",
            baseDuration: 10,
            tags: ["sissy", "oral-training", "toy"]
        },
        {
            id: 116,
            text: "Sniff your wife's worn shoes while jerking off and imagining her walking to meet her lover",
            baseDuration: 8,
            tags: ["foot-worship", "scent", "cuckold", "fantasy"]
        },
        {
            id: 117,
            text: "Finger your ass with one hand while slapping your cock with the other",
            baseDuration: 6,
            tags: ["anal", "cbt", "dual-stimulation"]
        },
        {
            id: 118,
            text: "Wear your wife's bra and panties while doing jumping jacks",
            baseDuration: 5,
            tags: ["exercise", "sissy", "humiliation"]
        },
        {
            id: 119,
            text: "Lick the inside of your wife's high heels while edging and saying 'She walks to better men'",
            baseDuration: 5,
            tags: ["foot-worship", "humiliation"]
        },
        {
            id: 120,
            text: "Push three fingers in your ass and stretch yourself while begging to be filled by a real man",
            baseDuration: 5,
            tags: ["anal", "humiliation"]
        },
        {
            id: 121,
            text: "Do 30 squats while wearing your wife's thong and chanting 'I'm a sissy cuck' with each squat",
            baseDuration: 5,
            tags: ["exercise", "sissy", "humiliation"]
        },
        {
            id: 122,
            text: "Lick your wife's dirty socks while edging and repeating 'Real men deserve her pussy I deserve her feet'",
            baseDuration: 8,
            tags: ["foot-worship", "humiliation"]
        },
        {
            id: 123,
            text: "Wear your wife's shortest dress and practice walking slutty while stroking",
            baseDuration: 10,
            tags: ["sissy"]
        },
        {
            id: 124,
            text: "Do planks while wearing your wife's sports bra and saying 'She's stronger than me'",
            baseDuration: 5,
            tags: ["exercise", "sissy", "humiliation"]
        }
    ],

    // Configuration for main game mode
    config: {
        // Duration scaling system
        durationSettings: {
            short: {
                name: "Short",
                description: "1-5 minute sessions",
                multiplier: 0.5,
                minDuration: 1,
                maxDuration: 5
            },
            medium: {
                name: "Medium", 
                description: "5-10 minute sessions",
                multiplier: 1.0,
                minDuration: 5,
                maxDuration: 10
            },
            long: {
                name: "Long",
                description: "15-20 minute sessions", 
                multiplier: 2.5,
                minDuration: 15,
                maxDuration: 20
            }
        },
        
        // Function to calculate actual duration based on setting
        calculateDuration: function(baseDuration, setting = 'medium') {
            const config = this.durationSettings[setting];
            if (!config) return baseDuration;
            
            let calculatedDuration = Math.round(baseDuration * config.multiplier);
            
            // Enforce min/max bounds
            if (calculatedDuration < config.minDuration) {
                calculatedDuration = config.minDuration;
            } else if (calculatedDuration > config.maxDuration) {
                calculatedDuration = config.maxDuration;
            }
            
            return calculatedDuration;
        },

        difficultySystem: {
            easy: { points: 10, timeBonus: 5 },
            medium: { points: 20, timeBonus: 10 },
            hard: { points: 30, timeBonus: 15 }
        },
        streakBonuses: {
            5: 50,   // 5 task streak bonus
            10: 100, // 10 task streak bonus
            20: 250  // 20 task streak bonus
        }
    }
};

// Make main game data available globally
window.mainGameData = mainGameData;