﻿
        :root {
            --bg-color: #0a0a0c;
            --panel-bg: #13131a;
            --accent-orange: #FF5A1F;
            --accent-orange-hover: #ff7a4d;
            --text-main: #f0f0f5;
            --text-muted: #9598a1;
            --border-color: rgba(255, 90, 31, 0.15);
            --border-active: rgba(255, 90, 31, 0.4);
            --transition-speed: 0.3s;
            --success-color: #2ecc71;
            --error-color: #e74c3c;
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            padding-bottom: 80px;
            position: relative;
            overflow-x: hidden;
            isolation: isolate;
        }

        /* Splash Screen Style */
        #initial-splash {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg-color);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        body::before,
        body::after {
            content: "";
            position: fixed;
            pointer-events: none;
            z-index: -1;
            width: 140vw;
            height: 220px;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 90, 31, 0.18) 20%, rgba(255, 90, 31, 0.06) 45%, transparent 70%);
            filter: blur(16px);
            opacity: 0.8;
            animation: orangeSweep 18s ease-in-out infinite alternate;
        }

        body::before {
            top: 8%;
            left: -20%;
            transform: rotate(-16deg);
        }

        body::after {
            bottom: 10%;
            right: -20%;
            transform: rotate(14deg);
            height: 180px;
            animation-duration: 24s;
            animation-delay: -7s;
            opacity: 0.45;
        }

        header {
            text-align: center;
            padding: 60px 20px 30px;
            background: linear-gradient(180deg, rgba(255, 90, 31, 0.05) 0%, rgba(10, 10, 12, 0) 100%);
            position: relative;
        }

        header img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin-bottom: 20px;
            border: 3px solid var(--accent-orange);
            box-shadow: 0 0 20px rgba(255, 90, 31, 0.2);
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        header h1 span {
            color: var(--accent-orange);
            display: block;
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            margin-top: 5px;
        }

        .logout-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: 1px solid transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 600;
            padding: 10px 24px;
            min-width: 150px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            box-sizing: border-box;
            border-radius: 0;
            clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
            transition: all var(--transition-speed);
        }

        .logout-button:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
        }

        .logout-button:active {
            transform: translateY(1px);
        }

        .logout-button.loading {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .last-updated {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 30px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .tabs-nav {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 40px;
            position: sticky;
            top: 0;
            background-color: rgba(10, 10, 12, 0.9);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            z-index: 100;
            border-bottom: 1px solid var(--border-color);
        }

        .tab-btn,
        .btn {
            background: transparent;
            border: 1px solid transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 600;
            padding: 10px 24px;
            min-width: 150px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            box-sizing: border-box;
            border-radius: 0;
            clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
            transition: all var(--transition-speed);
        }

        .tab-btn:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
        }

        .tab-btn.active {
            color: white;
            background: var(--accent-orange);
            box-shadow: 0 4px 15px rgba(255, 90, 31, 0.3);
        }

        .tab-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease-out;
        }

        .tab-content.active {
            display: block;
        }

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

        @keyframes orangeSweep {
            0% {
                transform: translateX(-6%) rotate(-16deg);
                opacity: 0.3;
            }
            50% {
                transform: translateX(8%) rotate(-12deg);
                opacity: 0.75;
            }
            100% {
                transform: translateX(16%) rotate(-16deg);
                opacity: 0.3;
            }
        }

        .accordion-item {
            background: var(--panel-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin-bottom: 15px;
            overflow: hidden;
            transition: border-color var(--transition-speed);
        }

        .accordion-item:hover {
            border-color: var(--border-active);
        }

        .accordion-header {
            width: 100%;
            background: none;
            border: none;
            padding: 20px;
            color: white;
            text-align: left;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .accordion-header span {
            font-size: 1.5rem;
            color: var(--accent-orange);
            transition: transform var(--transition-speed);
        }

        .accordion-item.active .accordion-header span {
            transform: rotate(45deg);
        }

        .accordion-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-speed) ease-out;
            background: rgba(255, 255, 255, 0.02);
        }

        .accordion-content {
            padding: 0 20px 20px;
            color: var(--text-muted);
        }

        .accordion-content p {
            margin-bottom: 12px;
        }

        .accordion-content ul {
            list-style: none;
            padding-left: 0;
        }

        .accordion-content li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
        }

        .accordion-content li::before {
            content: "â€¢";
            color: var(--accent-orange);
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        .highlight-box {
            background: rgba(255, 90, 31, 0.08);
            border-left: 4px solid var(--accent-orange);
            padding: 25px;
            border-radius: 4px 12px 12px 4px;
            margin: 20px 0;
        }

        .highlight-box h3 {
            color: var(--accent-orange);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .punishment-step {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .punishment-step span:first-child {
            font-weight: 600;
            color: var(--text-main);
        }

        .punishment-step span:last-child {
            color: var(--accent-orange);
        }

        .example-box {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            border: 1px dashed var(--border-color);
        }

        .example-label {
            font-weight: bold;
            color: var(--accent-orange);
            margin-bottom: 5px;
            display: block;
        }

        /* QUIZ STYLES */
        .quiz-container {
            background: var(--panel-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 30px;
            margin-top: 20px;
        }

        .quiz-intro {
            margin-bottom: 30px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--text-main);
        }

        .form-group input[type="text"] {
            width: 100%;
            padding: 12px 15px;
            background: #1a1a23;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-group input[type="text"]:focus {
            border-color: var(--accent-orange);
        }

        .question-card {
            display: none;
            margin-bottom: 30px;
        }

        .question-card.active {
            display: block;
        }

        .question-text {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: white;
        }

        .options-list {
            list-style: none;
        }

        .option-item {
            margin-bottom: 12px;
        }

        .option-item label {
            display: flex;
            align-items: center;
            padding: 15px;
            background: #1a1a23;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .option-item label:hover {
            background: #23232e;
            border-color: var(--border-active);
        }

        .option-item input[type="radio"] {
            margin-right: 15px;
            accent-color: var(--accent-orange);
            width: 18px;
            height: 18px;
        }

        .answer-textarea {
            width: 100%;
            min-height: 120px;
            padding: 15px;
            background: #1a1a23;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            color: white;
            font-size: 1rem;
            font-family: inherit;
            resize: vertical;
            outline: none;
            transition: border-color 0.2s;
        }

        .answer-textarea:focus {
            border-color: var(--accent-orange);
        }

        .quiz-controls {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .btn {
            padding: 10px 24px;
            min-width: 150px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            box-sizing: border-box;
            border-radius: 0;
            clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }

        .btn-primary {
            background: var(--accent-orange);
            color: white;
        }

        .btn-primary:hover {
            background: var(--accent-orange-hover);
            transform: translateY(-2px);
        }

        .btn-primary:disabled {
            background: #444;
            cursor: not-allowed;
            transform: none;
        }

        .progress-bar {
            height: 6px;
            background: #1a1a23;
            border-radius: 3px;
            margin-bottom: 30px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: var(--accent-orange);
            width: 0%;
            transition: width 0.3s;
        }

        #quiz-result {
            text-align: center;
            display: none;
        }

        #quiz-disabled {
            display: none;
            text-align: center;
            padding: 20px 0;
        }

        .result-status {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .status-success { color: var(--success-color); }
        .status-error { color: var(--error-color); }

        footer {
            text-align: center;
            padding: 40px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        @media (max-width: 600px) {
            header h1 { font-size: 1.8rem; }
            .tabs-nav { flex-wrap: wrap; }
            .tab-btn {
                flex: 1 1 auto;
                min-width: 120px;
                padding: 8px 16px;
                font-size: 0.85rem;
            }
            .logout-button {
                flex: 1 1 auto;
                min-width: 120px;
                padding: 8px 16px;
                font-size: 0.85rem;
            }
        }
    