/* ===== RESET ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* ===== بدنه اصلی با اسکرول فعال ===== */
        html, body {
            width: 100%;
            min-height: 100vh;
            background: #0a0a0a;
            overflow: auto;
            font-family: Arial, sans-serif;
        }

        /* ===== صفحه لودینگ ===== */
        #loader-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a0a;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        #loader-wrapper.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* ===== انیمیشن چیپ مدار ===== */
        .main-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            width: 100%;
        }

        .loader {
            width: 100%;
            max-width: 800px;
        }

        .trace-bg {
            stroke: #333;
            stroke-width: 1.8;
            fill: none;
        }

        .trace-flow {
            stroke-width: 1.8;
            fill: none;
            stroke-dasharray: 40 400;
            stroke-dashoffset: 438;
            filter: drop-shadow(0 0 6px currentColor);
            animation: flow 3s cubic-bezier(0.5, 0, 0.9, 1) infinite;
        }

        .yellow {
            stroke: #ffea00;
            color: #ffea00;
        }
        .blue {
            stroke: #00ccff;
            color: #00ccff;
        }
        .green {
            stroke: #00ff15;
            color: #00ff15;
        }
        .purple {
            stroke: #9900ff;
            color: #9900ff;
        }
        .red {
            stroke: #ff3300;
            color: #ff3300;
        }

        @keyframes flow {
            to {
                stroke-dashoffset: 0;
            }
        }

        /* ===== بار پیشرفت ===== */
        .progress-container {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            text-align: center;
        }

        .progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .progress-bar .progress {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #9900ff, #00ccff, #00ff15, #ffea00, #ff3300);
            border-radius: 10px;
            transition: width 0.3s ease;
        }

        .percentage {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            font-weight: 300;
            letter-spacing: 1px;
        }

        /* ===== دکمه Skip ===== */
        .skip-btn {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            padding: 10px 35px;
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.15);
            border-radius: 50px;
            color: rgba(255, 255, 255, 0.5);
            font-family: Arial, sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
        }

        .skip-btn:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.3);
            color: #fff;
        }

        /* ===== محتوای اصلی ===== */
        #main-content {
            display: none;
            width: 100%;
            min-height: 100vh;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            padding: 40px 20px;
            color: #fff;
            text-align: center;
        }

        #main-content.active {
            display: block;
        }

        #main-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #9900ff, #00ccff, #00ff15, #ffea00, #ff3300);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        #main-content p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 500px;
            line-height: 1.8;
            margin: 0 auto;
        }

        #main-content .emoji-big {
            font-size: 4rem;
            margin-bottom: 20px;
            display: block;
        }

        .long-content {
            max-width: 600px;
            margin: 50px auto 0;
            text-align: left;
            opacity: 0.6;
            line-height: 2;
        }