//
//  MagicCounterApp.swift
//  MagicCounter
//
//  Created by Atridad Lahiji on 2025-12-06.
//

import SwiftUI

@main
struct MagicCounterApp: App {
    @StateObject private var gameManager = GameManager()
    
    init() {
        UserDefaults.standard.register(defaults: [
            "hapticFeedbackEnabled": true
        ])
    }

    var body: some Scene {
        WindowGroup {
            ContentView()
                .environmentObject(gameManager)
                .preferredColorScheme(.dark) // Force dark mode for that "Liquid Glass" feel usually looks better, or let it adapt.
        }
    }
}
