        :root {
            --bg-base: #06070d;
            --bg-surface: rgba(18, 20, 32, 0.6);
            --bg-card: rgba(30, 32, 50, 0.4);
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --accent-neon: #00f2fe;
            --accent-purple: #bf5af2;
            --accent-green: #30d158;
            --accent-danger: #ff453a;
            --border: rgba(255, 255, 255, 0.04);
            --border-glow: rgba(0, 242, 254, 0.1);
            --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: var(--font);
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
            display: flex;
            background-image: radial-gradient(circle at 80% 20%, rgba(191, 90, 242, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(0, 242, 254, 0.06) 0%, transparent 50%);
        }

        /* Navigation Layout */
        nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 70px;
            background: rgba(10, 11, 20, 0.85);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 100;
        }

        nav button {
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.75rem;
            gap: 4px;
            width: 25%;
            height: 100%;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        nav button.active {
            color: var(--accent-neon);
            text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
        }

        nav button svg {
            width: 22px;
            height: 22px;
            fill: currentColor;
            transition: transform 0.3s;
        }

        nav button:hover svg {
            transform: translateY(-2px);
        }

        @media (min-width: 768px) {
            body {
                padding-left: 260px;
            }

            nav {
                top: 0;
                left: 0;
                width: 260px;
                height: 100vh;
                flex-direction: column;
                justify-content: flex-start;
                padding-top: 50px;
                border-top: none;
                border-right: 1px solid var(--border);
            }

            nav button {
                height: 60px;
                flex-direction: row;
                gap: 15px;
                justify-content: flex-start;
                padding-left: 35px;
                width: 100%;
                font-size: 0.95rem;
            }
        }

        /* Main Workspace Container */
        main {
            flex: 1;
            padding: 25px;
            padding-bottom: 100px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        @media (min-width: 768px) {
            main {
                padding: 50px;
            }
        }

        .view {
            display: none;
            animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .view.active {
            display: block;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Premium UI Structural Cards */
        h1 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            margin-bottom: 5px;
            background: linear-gradient(to right, #fff, var(--text-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .grid-dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .card {
            background: var(--bg-card);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 24px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: border-color 0.3s, transform 0.3s;
        }

        .card:hover {
            border-color: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
            pointer-events: none;
        }

        .card.neon {
            border-color: var(--border-glow);
            box-shadow: 0 10px 30px rgba(0, 242, 254, 0.02);
        }

        .clock-container {
            margin-bottom: 35px;
        }

        .clock-time {
            font-size: 3.2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.01em;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
        }

        .clock-date {
            color: var(--text-secondary);
            font-size: 0.95rem;
            font-weight: 500;
        }

        .card-val {
            font-size: 1.6rem;
            font-weight: 700;
            margin-top: 10px;
            color: #fff;
        }

        .card-label {
            color: var(--text-secondary);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
        }

        .countdown-sub {
            font-size: 0.85rem;
            color: var(--accent-neon);
            margin-top: 5px;
            font-weight: 500;
        }

        /* Timetable & Form Framework */
        .tt-controls {
            display: flex;
            gap: 12px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        button.btn {
            background: linear-gradient(135deg, var(--accent-purple), #8a2be2);
            color: #fff;
            border: none;
            padding: 14px 24px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 15px rgba(191, 90, 242, 0.2);
            font-size: 0.9rem;
        }

        button.btn.secondary {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            color: var(--text-primary);
            box-shadow: none;
        }

        button.btn:hover {
            opacity: 0.95;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(191, 90, 242, 0.3);
        }

        .slot-form {
            display: none;
            background: rgba(20, 22, 37, 0.6);
            backdrop-filter: blur(20px);
            padding: 25px;
            border-radius: 16px;
            margin-bottom: 30px;
            border: 1px solid var(--border);
            animation: slideUp 0.3s ease;
        }

        .form-group {
            margin-bottom: 18px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        input,
        select {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border);
            padding: 12px;
            border-radius: 8px;
            color: #fff;
            font-size: 0.95rem;
            transition: border-color 0.2s;
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: var(--accent-neon);
        }

        .slot-list {
            display: grid;
            gap: 14px;
            margin-top: 20px;
        }

        .slot-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            padding: 18px;
            border-radius: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .btn-del {
            background: none;
            border: none;
            color: var(--accent-danger);
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 5px;
        }

        /* Interactive Tracker Engine */
        .tracker-grid {
            display: grid;
            gap: 16px;
            margin-top: 25px;
        }

        .tracker-row {
            background: var(--bg-card);
            padding: 20px;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            border: 1px solid var(--border);
        }

        @media (min-width: 540px) {
            .tracker-row {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        .status-options {
            display: flex;
            gap: 8px;
            width: 100%;
            max-width: 340px;
        }

        .status-btn {
            flex: 1;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            padding: 10px 0;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.2s;
            text-align: center;
        }

        .status-btn.active[data-status="Offered"] {
            background: rgba(48, 209, 88, 0.12);
            color: var(--accent-green);
            border-color: var(--accent-green);
            box-shadow: 0 0 15px rgba(48, 209, 88, 0.1);
        }

        .status-btn.active[data-status="Jamat"] {
            background: rgba(0, 242, 254, 0.12);
            color: var(--accent-neon);
            border-color: var(--accent-neon);
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
        }

        .status-btn.active[data-status="Missed"] {
            background: rgba(255, 69, 58, 0.12);
            color: var(--accent-danger);
            border-color: var(--accent-danger);
            box-shadow: 0 0 15px rgba(255, 69, 58, 0.1);
        }

        /* Pomodoro Focus Layer */
        .pomodoro-box {
            margin-top: 30px;
            background: linear-gradient(135deg, rgba(30, 32, 50, 0.5), rgba(15, 16, 28, 0.5));
            border: 1px solid rgba(0, 242, 254, 0.15);
        }

        .pomo-timer {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--accent-neon);
            text-align: center;
            font-family: monospace;
            margin: 15px 0;
            text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
        }

        .pomo-btns {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        /* Modern GitHub-Style Metric Grid */
        .matrix-grid {
            display: flex;
            gap: 8px;
            justify-content: space-between;
            background: rgba(0, 0, 0, 0.15);
            padding: 20px;
            border-radius: 16px;
            border: 1px solid var(--border);
            margin-top: 20px;
        }

        .matrix-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            flex: 1;
        }

        .matrix-box {
            width: 100%;
            aspect-ratio: 1;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 6px;
            transition: all 0.3s;
            position: relative;
        }

        .matrix-box.level-0 {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
        }

        .matrix-box.level-1 {
            background: rgba(48, 209, 88, 0.2);
            border: 1px solid rgba(48, 209, 88, 0.3);
        }

        .matrix-box.level-2 {
            background: rgba(48, 209, 88, 0.5);
            border: 1px solid rgba(48, 209, 88, 0.6);
        }

        .matrix-box.level-3 {
            background: var(--accent-green);
            box-shadow: 0 0 12px var(--accent-green);
        }

        .matrix-label {
            font-size: 0.7rem;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            margin-top: 4px;
        }

        /* Particle Confetti Canvas overlay */
        #confetti-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 999;
        }