    /* أنماط CSS محسنة مع تأثيرات إضافية */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --color-primary: #a5b7ff;
        --color-secondary: #b8c0df;
        --color-light: #dce0ef;
        --color-accent: #cdd3e9;
        --color-dark: #080c2b;
        --color-darker: #000000;
        --color-bg: linear-gradient(135deg, #000000, #080c2b, #2e377b);
        --color-success: #4CAF50;
        --color-danger: #F44336;
        --color-warning: #FF9800;
        --transition: all 0.3s ease;
    }

    body {
        background: var(--color-bg);
        color: var(--color-light);
        min-height: 100vh;
        padding: 20px;
        font-family: 'Garet', sans-serif;
        position: relative;
        overflow-x: hidden;
        line-height: 1.6;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(46, 55, 123, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(168, 183, 255, 0.2) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
    }

    /* شاشة التحميل */
    .loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-darker);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.5s ease;
    }

    .loader-content {
        text-align: center;
    }

    .hacker-animation {
        background: rgba(0, 0, 0, 0.8);
        border: 1px solid var(--color-primary);
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 0 25px rgba(165, 183, 255, 0.4);
    }

    .terminal-screen {
        font-family: 'Courier New', monospace;
        color: var(--color-primary);
        text-align: right;
    }

    .terminal-text {
        margin-bottom: 25px;
        font-size: 1.3rem;
    }

    .progress-bar {
        width: 320px;
        height: 12px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 6px;
        overflow: hidden;
        margin: 0 auto;
    }

    .progress {
        height: 100%;
        width: 0%;
        background: var(--color-primary);
        animation: loading 2s ease-in-out forwards;
    }

    @keyframes loading {
        0% { width: 0%; }
        100% { width: 100%; }
    }

    /* الشاشات العامة */
    .screen {
        display: none;
        max-width: 1200px;
        margin: 30px auto;
        padding: 35px 30px;
        border-radius: 16px;
        background-color: rgba(8, 12, 43, 0.85);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        position: relative;
        backdrop-filter: blur(12px);
        border: 1px solid rgba(165, 183, 255, 0.15);
        animation: fadeIn 0.5s ease;
        min-height: 75vh;
        padding-top: 160px;
    }

    .screen.active {
        display: block;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(25px); }
        to { opacity: 1; transform: translateY(0); }
    }
    /* ====== شاشة البداية ====== */
    #start-screen .logos .left img{
        height: 30px;   /* حجم كبير */
        width: auto;
    }
    #start-screen .logos .right img{
        height: 70px;   /* حجم كبير */
        width: auto;
    }

    /* ====== باقي الشاشات ====== */
    .screen:not(#start-screen) .logos .left img {
        height: 30px;   /* حجم أصغر */
        width: auto;
            filter: drop-shadow(0 0 8px rgba(165, 183, 255, 0.6));

    }

    .screen:not(#start-screen) .logos .right img {
        height: 70px;   /* حجم أصغر */
        width: auto;
            filter: drop-shadow(0 0 8px rgba(165, 183, 255, 0.6));

    }

    .logos {
        position: absolute;
        top: 10px;
        left: 25px;
        right: 25px;
        display: flex;
        justify-content: space-between; /* يسار ويمين */
        align-items: center;
        z-index: 10;
    }






    /* تأثير الجليتش للعنوان */
    .cyber-glitch {
        position: relative;
        text-align: center;
        margin: 50px 0 40px 0;
        margin-top: 160px;

    }

    .glitch {
        position: relative;
        font-family: 'Garet', sans-serif;
        font-size: 4.5rem;
        font-weight: 700;
        color: var(--color-primary);
        text-transform: uppercase;
        letter-spacing: 2px;
        line-height: 1.1;
        text-shadow: 1px 1px 0px var(--color-secondary), -1px -1px 0px var(--color-accent); /* خفف الظل */
        animation: glitch-effect 4s infinite;
        margin: 0 0 30px 0;
    }

    .glitch::before,
    .glitch::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .glitch::before {
        animation: glitch-animation 2.5s infinite linear alternate-reverse;
        color: var(--color-secondary);
        z-index: -1;
    }

    .glitch::after {
        animation: glitch-animation 3.2s infinite linear alternate-reverse;
        color: var(--color-accent);
        z-index: -2;
    }

    @keyframes glitch-effect {
        0%, 100% { transform: translate(0); }
        20% { transform: translate(-4px, 4px); }
        40% { transform: translate(-4px, -4px); }
        60% { transform: translate(4px, 4px); }
        80% { transform: translate(4px, -4px); }
    }

    @keyframes glitch-animation {
        0% { clip-path: inset(38% 0 60% 0); }
        20% { clip-path: inset(90% 0 2% 0); }
        40% { clip-path: inset(42% 0 2% 0); }
        60% { clip-path: inset(24% 0 56% 0); }
        80% { clip-path: inset(52% 0 8% 0); }
        100% { clip-path: inset(56% 0 42% 0); }
    }

    .subtitle {
        text-align: center;
        font-size: 1.4rem;
        margin: 0 0 50px 0;
        color: var(--color-light);
        line-height: 1.5;
        font-weight: 300;
    }

    /* الأزرار المحسنة */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 25px 15px;
        padding: 16px 32px;
        background: transparent;
        color: var(--color-light);
        border: 1px solid var(--color-primary);
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        min-width: 200px;
    }

    .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(165, 183, 255, 0.25), transparent);
        transition: all 0.6s ease;
    }

    .btn:hover::before {
        left: 100%;
    }

    .cyber-btn {
        background: rgba(165, 183, 255, 0.12);
        color: var(--color-primary);
        box-shadow: 0 0 15px rgba(165, 183, 255, 0.35);
    }

    .cyber-btn:hover {
        background: rgba(165, 183, 255, 0.22);
        box-shadow: 0 0 20px rgba(165, 183, 255, 0.6);
        transform: translateY(-3px);
    }

    .cyber-btn-secondary {
        background: transparent;
        color: var(--color-light);
        border: 1px solid var(--color-light);
        box-shadow: 0 0 10px rgba(220, 224, 239, 0.2);
    }

    .cyber-btn-secondary:hover {
        background: rgba(220, 224, 239, 0.12);
        box-shadow: 0 0 15px rgba(220, 224, 239, 0.35);
        transform: translateY(-2px);
    }

    .btn i {
        margin-right: 12px;
        font-size: 1.2em;
    }

    /* زر الرجوع */
    .back-btn {
        position: absolute;
        top: 10px;
        right: 25px;
        display: flex;
        align-items: center;
        background: rgba(165, 183, 255, 0.12);
        color: var(--color-light);
        border: 1px solid var(--color-primary);
        border-radius: 8px;
        padding: 12px 20px;
        cursor: pointer;
        transition: var(--transition);
        font-size: 1rem;
        box-shadow: 0 0 10px rgba(165, 183, 255, 0.2);
        z-index: 11;
        margin-top: 105px;
    }

    .back-btn:hover {
        background: rgba(165, 183, 255, 0.22);
        box-shadow: 0 0 15px rgba(165, 183, 255, 0.4);
        transform: translateY(-2px);
    }

    .back-btn i {
        margin-right: 8px;
    }


    /* شاشة التعليمات */
    .help-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin: 40px 0;
    }

    .help-card {
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        padding: 30px 25px;
        text-align: center;
        transition: var(--transition);
        border: 1px solid transparent;
        margin: 15px 0;
    }

    .help-card:hover {
        background: rgba(205, 211, 233, 0.18);
        border-color: var(--color-primary);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .help-icon {
        font-size: 3rem;
        color: var(--color-primary);
        margin-bottom: 20px;
    }

    .help-card h3 {
        color: var(--color-secondary);
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    .help-card p {
        line-height: 1.6;
        color: var(--color-light);
        font-size: 1.05rem;
    }

    .help-tips {
        grid-column: 1 / -1;
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        padding: 30px;
        margin: 35px 0 25px 0;
    }

    .help-tips h4 {
        color: var(--color-primary);
        margin-bottom: 20px;
        font-size: 1.4rem;
        text-align: center;
    }

    .help-tips ul {
        list-style: none;
        padding: 0;
    }

    .help-tips li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(205, 211, 233, 0.25);
        position: relative;
        padding-right: 30px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .help-tips li:last-child {
        border-bottom: none;
    }

    .help-tips li::before {
        content: "•";
        color: var(--color-primary);
        font-weight: bold;
        position: absolute;
        right: 0;
        font-size: 1.8rem;
        top: 8px;
    }
    h2 {
        margin-top: 30px;
    }

    /* شاشة القصة */
    .story-content {
        background: rgba(205, 211, 233, 0.08);
        padding: 30px;
        border-radius: 12px;
        margin: 30px 0;
        border-left: 4px solid var(--color-primary);
    }
    .story-content h2 {
        margin-top: -10px;
    }

    .story-text p {
        margin-bottom: 20px;
        line-height: 1.7;
        font-size: 1.1rem;
        text-align: justify;
    }

    .case-file {
        background: rgba(8, 12, 43, 0.6);
        border: 1px solid var(--color-primary);
        border-radius: 12px;
        padding: 25px;
        margin: 35px 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .case-file-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        color: var(--color-primary);
        border-bottom: 1px solid rgba(165, 183, 255, 0.35);
        padding-bottom: 15px;
        font-size: 1.3rem;
    }

    .case-file-header i {
        margin-left: 15px;
    }

    .case-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(205, 211, 233, 0.15);
    }

    .case-info:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .case-label {
        color: var(--color-light);
        font-weight: 500;
        font-size: 1.05rem;
    }

    .case-value {
        color: var(--color-secondary);
        font-weight: 500;
        font-size: 1.05rem;
    }

    .under-investigation {
        color: var(--color-warning);
        font-weight: bold;
    }

    /* شاشة المشتبه بهم */
    .tab-navigation {
        display: flex;
        justify-content: center;
        margin: 0 0 30px 0;
        gap: 15px;
    }

    .tab-navigation .tab-btn {
        background: rgba(205, 211, 233, 0.12);
        color: var(--color-light);
        border: none;
        border-radius: 8px;
        padding: 14px 25px;
        cursor: pointer;
        transition: var(--transition);
        font-size: 1.1rem;
        font-weight: 500;
    }

    .tab-navigation .tab-btn.active,
    .tab-navigation .tab-btn:hover {
        background: var(--color-primary);
        color: var(--color-dark);
        box-shadow: 0 0 15px rgba(165, 183, 255, 0.4);
    }

    .suspects-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin: 45px 0;
    }

    .suspect-card {
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        cursor: pointer;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        border: 1px solid transparent;
        margin: 15px 0;
    }

    .suspect-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--color-primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .suspect-card:hover::before {
        transform: scaleX(1);
    }

    .suspect-card:hover {
        background: rgba(205, 211, 233, 0.18);
        border-color: var(--color-primary);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .suspect-card img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 25px auto;
        border: 4px solid var(--color-accent);
        box-shadow: 0 0 25px rgba(165, 183, 255, 0.4);
        display: block;
        
    }

    .suspect-card h3 {
        color: var(--color-secondary);
        margin: 0 0 20px 0;
        font-size: 1.5rem;
    }

    .suspect-details {
        display: none;
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid rgba(205, 211, 233, 0.35);
    }

    .suspect-card.active .suspect-details {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    .suspect-details p {
        margin: 0 0 12px 0;
        line-height: 1.6;
        text-align: right;
        font-size: 1.05rem;
    }

    .suspect-details p:last-child {
        margin-bottom: 0;
    }

    .suspect-details strong {
        color: var(--color-primary);
    }

    .case-progress {
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        padding: 25px;
        margin: 35px 0;
    }

    .progress-text {
        color: var(--color-light);
        margin: 0 0 20px 0;
        text-align: center;
        font-size: 1.2rem;
    }

    .progress-bar {
        width: 100%;
        height: 14px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 7px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: var(--color-primary);
        border-radius: 7px;
        transition: width 1.2s ease;
        box-shadow: 0 0 12px rgba(165, 183, 255, 0.4);
    }

    /* شاشة الأدلة */
    .evidence-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 0 30px 0;
        background: rgba(205, 211, 233, 0.12);
        padding: 20px;
        border-radius: 12px;
    }

    .evidence-counter {
        display: flex;
        align-items: center;
        color: var(--color-light);
        font-size: 1.1rem;
    }

    .evidence-counter i {
        margin-left: 15px;
        color: var(--color-primary);
        font-size: 1.3rem;
    }

    .evidence-counter strong {
        color: var(--color-primary);
        margin: 0 5px;
        font-size: 1.2rem;
    }



    .evidence-tabs {
        display: flex;
        justify-content: center;
        margin: 35px 0 30px 0;
        gap: 20px;
    }

    .evidence-tabs .tab-btn {
        display: flex;
        align-items: center;
        background: rgba(205, 211, 233, 0.12);
        color: var(--color-light);
        border: none;
        border-radius: 8px;
        padding: 16px 25px;
        cursor: pointer;
        transition: var(--transition);
        font-size: 1.1rem;
        font-weight: 500;
    }

    .evidence-tabs .tab-btn.active,
    .evidence-tabs .tab-btn:hover {
        background: var(--color-primary);
        color: var(--color-dark);
        box-shadow: 0 0 15px rgba(165, 183, 255, 0.4);
    }

    .evidence-tabs .tab-btn i {
        margin-left: 12px;
        font-size: 1.2rem;
    }

    .evidence-content {
        background: rgba(205, 211, 233, 0.08);
        padding: 30px;
        border-radius: 12px;
        min-height: 380px;
        border: 1px solid rgba(205, 211, 233, 0.15);
        margin: 20px 0;
    }

    .evidence-table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        border-radius: 10px;
        overflow: hidden;
    }

    .evidence-table th, .evidence-table td {
        padding: 16px 18px;
        text-align: right;
        border-bottom: 1px solid rgba(205, 211, 233, 0.25);
    }

    .evidence-table th {
        background: rgba(168, 183, 255, 0.15);
        color: var(--color-primary);
        font-weight: bold;
        font-size: 1.1rem;
    }

    .evidence-table tr:hover {
        background: rgba(205, 211, 233, 0.08);
    }

    .performance-review {
        padding: 20px;
        background: rgba(205, 211, 233, 0.08);
        border-radius: 12px;
        margin: 0 0 20px 0;
        border-left: 4px solid var(--color-primary);
    }

    .performance-review:last-child {
        margin-bottom: 0;
    }

    .performance-review h4 {
        color: var(--color-primary);
        margin: 0 0 15px 0;
        font-size: 1.2rem;
    }

    .performance-review p {
        line-height: 1.6;
        margin: 0;
        font-size: 1.05rem;
    }

    .notes-section {
        margin: 35px 0;
    }

    .notes-section h3 {
        color: var(--color-primary);
        margin: 0 0 20px 0;
        font-size: 1.4rem;
    }

    #investigator-notes {
        width: 100%;
        min-height: 140px;
        background: rgba(8, 12, 43, 0.6);
        border: 1px solid var(--color-primary);
        border-radius: 10px;
        padding: 20px;
        color: var(--color-light);
        resize: vertical;
        font-size: 1.05rem;
        line-height: 1.6;
        transition: var(--transition);
        font-family: 'Garet', sans-serif;
    }

    #investigator-notes:focus {
        outline: none;
        border-color: var(--color-secondary);
        box-shadow: 0 0 15px rgba(165, 183, 255, 0.3);
    }

    /* شاشة الحل */
    .solve-instruction {
        text-align: center;
        margin: 0 0 40px 0;
        color: var(--color-light);
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .suspects-choice {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin: 45px 0;
    }

    .suspect-choice {
        text-align: center;
        padding: 30px;
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid transparent;
        margin: 15px 0;
    }

    .suspect-choice:hover {
        background: rgba(205, 211, 233, 0.18);
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .suspect-choice img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 20px auto;
        border: 4px solid var(--color-accent);
        box-shadow: 0 0 20px rgba(165, 183, 255, 0.3);
        display: block;
    }

    .suspect-choice h3 {
        color: var(--color-secondary);
        margin: 0;
        font-size: 1.4rem;
    }

    .solution-explanation {
        margin: 45px 0 35px 0;
        padding: 35px;
        background: rgba(205, 211, 233, 0.12);
        border-radius: 12px;
        border-left: 4px solid var(--color-primary);
    }

    .solution-section {
        margin: 0 0 30px 0;
    }

    .solution-section:last-child {
        margin-bottom: 0;
    }

    .solution-section h4 {
        color: var(--color-primary);
        margin: 0 0 20px 0;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .solution-section p {
        line-height: 1.6;
        margin: 0 0 15px 0;
        font-size: 1.1rem;
    }

    .solution-section p:last-child {
        margin-bottom: 0;
    }

    .solution-section strong {
        color: var(--color-secondary);
    }

    .hidden {
        display: none;
    }

    .correct {
        border-color: var(--color-success);
        box-shadow: 0 0 25px rgba(76, 175, 80, 0.4);
    }

    .incorrect {
        border-color: var(--color-danger);
        box-shadow: 0 0 25px rgba(244, 67, 54, 0.4);
    }

    .case-actions {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin: 35px 0 0 0;
    }

    /* تأثيرات الشبكة السيبرانية */
    .cyber-decoration {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
    }

    .cyber-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
        animation: cyber-line 3s linear infinite;
    }

    @keyframes cyber-line {
        0% { top: 0; }
        100% { top: 100%; }
    }

    .cyber-grid {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            linear-gradient(rgba(165, 183, 255, 0.06) 1px, transparent 1px),
            linear-gradient(90deg, rgba(165, 183, 255, 0.06) 1px, transparent 1px);
        background-size: 25px 25px;
        opacity: 0.3;
    }

    /* أنماط إضافية للجداول والعناصر التفاعلية */
    .action-badge {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: bold;
    }

    .action-export {
        background-color: rgba(244, 67, 54, 0.25);
        color: #ff8a80;
    }

    .action-copy {
        background-color: rgba(255, 152, 0, 0.25);
        color: #ffd54f;
    }

    .action-access {
        background-color: rgba(76, 175, 80, 0.25);
        color: #a5d6a7;
    }




    .table-container {
        overflow-x: auto;
        margin: 25px 0;
        border-radius: 12px;
        border: 1px solid rgba(205, 211, 233, 0.15);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .table-description {
        color: var(--color-secondary);
        margin: 0 0 20px 0;
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }


    /* تأثيرات النص والظلال */
    .text-glitch {
        text-shadow: 2px 2px 0px var(--color-secondary), 
                    -2px -2px 0px var(--color-accent),
                    0px 0px 15px rgba(165, 183, 255, 0.6);
        animation: text-flicker 3s linear infinite;
    }

    @keyframes text-flicker {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.85; }
    }

    /* تحسينات للوضع الداكن */
    @media (prefers-color-scheme: dark) {
        .evidence-table {
            color: var(--color-light);
        }
        
        .evidence-table th {
            background: rgba(8, 12, 43, 0.6);
        }
    }

    /* شريط التمرير المخصص */
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(8, 12, 43, 0.6);
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 10px;
        border: 2px solid rgba(8, 12, 43, 0.8);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-secondary);
    }

    /* تحسينات لوضعية الهاتف الأفقي */
    @media (max-height: 500px) and (orientation: landscape) {
        .screen {
            min-height: 140vh;
            padding: 25px 20px;
        }
        
        .glitch {
            font-size: 2.5rem;
            margin: 25px 0 20px 0;
        }
        
        .subtitle {
            margin-bottom: 35px;
            font-size: 1.2rem;
        }
        
        .suspects-container {
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        
        .suspect-card {
            padding: 20px;
        }
        
        .suspect-card img {
            width: 90px;
            height: 90px;
            margin-bottom: 15px;
        }
        
        .suspect-card h3 {
            font-size: 1.3rem;
        }
    }

    /* تحسينات للطباعة */
    @media print {
        .screen {
            display: block !important;
            background: white;
            color: black;
            box-shadow: none;
            border: 1px solid #ccc;
            padding: 25px;
        }
        
        .btn, .back-btn, .evidence-tabs, .notes-section, .case-actions {
            display: none !important;
        }
        
        .logos {
            position: relative;
            margin-bottom: 25px;
        }
        
        .evidence-table {
            page-break-inside: avoid;
        }
        
        .cyber-decoration {
            display: none;
        }
    }

    /* التكيف مع الشاشات المتوسطة */
    @media (max-width: 1024px) {
        .screen {
            padding: 30px 25px;
            margin: 25px auto;
        }
        
        .glitch {
            font-size: 3.2rem;
        }
        
        .subtitle {
            font-size: 1.3rem;
            margin-bottom: 45px;
        }
        
        .suspects-container {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .btn {
            padding: 15px 28px;
            font-size: 1.1rem;
            min-width: 180px;
            margin: 20px 12px;
        }
    }

    /* تحسين التكيف مع الشاشات الصغيرة */
    @media (max-width: 768px) {
        body {
            padding: 15px;
        }
        
        .screen {
            padding: 25px 20px;
            margin: 20px auto;
            border-radius: 14px;
        }
        
        .glitch {
            font-size: 2.8rem;
            margin: 35px 0 20px 0;
        }
        
        .subtitle {
            font-size: 1.2rem;
            margin-bottom: 40px;
        }
        
        h1, h2 {
            margin-bottom: 25px;
        }
        
        h1 {
            font-size: 2.8rem;
        }
        
        h2 {
            font-size: 2.2rem;
        }
        
        .btn {
            margin: 18px 10px;
            padding: 14px 24px;
            font-size: 1.05rem;
            min-width: 170px;
        }
        
        .suspects-container, .suspects-choice, .help-content {
            grid-template-columns: 1fr;
            gap: 25px;
            margin: 35px 0;
        }
        
        .suspect-card, .suspect-choice {
            padding: 25px;
        }
        
        .suspect-card img {
            width: 120px;
            height: 120px;
        }
        
        .evidence-tabs {
            flex-direction: column;
            gap: 12px;
        }
        
        .evidence-header {
            flex-direction: column;
            gap: 20px;
            text-align: center;
        }
        
        .case-actions {
            flex-direction: column;
            gap: 20px;
        }
        
        .back-btn {
            position: relative;
            top: unset;
            right: unset;
            margin: 0 0 25px 0;
            align-self: flex-end;
        }
        
        .logos {
            position: relative;
            top: unset;
            left: unset;
            justify-content: center;
            margin: 0 0 30px 0;
        }
        
        .evidence-table {
            display: block;
            overflow-x: auto;
            font-size: 0.95rem;
        }
        
        .tab-navigation {
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .solution-explanation {
            margin: 35px 0;
            padding: 28px;
        }
        
        .logos img {
            height: 45px;
        }
    }

    /* تحسين التكيف مع الشاشات الصغيرة جداً */
    @media (max-width: 480px) {
        body {
            padding: 12px;
        }
        
        .screen {
            padding: 20px 15px;
            margin: 15px auto;
            border-radius: 12px;
        }
        
        .glitch {
            font-size: 2.2rem;
            margin: 30px 0 15px 0;
            letter-spacing: 2px;
        }
        
        .subtitle {
            font-size: 1.1rem;
            margin-bottom: 35px;
        }
        
        .btn {
            margin: 15px 8px;
            padding: 12px 20px;
            font-size: 1rem;
            min-width: 150px;
        }
        
        .suspects-container, .suspects-choice {
            gap: 20px;
            margin: 30px 0;
        }
        
        .suspect-card, .suspect-choice {
            padding: 20px;
        }
        
        .suspect-card img {
            width: 100px;
            height: 100px;
            margin-bottom: 15px;
        }
        
        .solution-explanation {
            margin: 30px 0;
            padding: 22px;
        }
        
        .evidence-table th, 
        .evidence-table td {
            padding: 12px 14px;
        }
        
        .help-card, .performance-review {
            padding: 18px;
        }
        
        .case-file {
            padding: 18px;
        }
        
        .evidence-content {
            padding: 20px;
        }
        
        .logos img {
            height: 40px;
        }
        
        .back-btn {
            padding: 10px 16px;
            font-size: 0.95rem;
        }
    }

    /* تحسين المسافات الداخلية للعناصر الصغيرة */
    .evidence-table th, 
    .evidence-table td,
    .help-card,
    .suspect-card,
    .suspect-choice,
    .performance-review,
    .case-file {
        transition: var(--transition);
    }

    /* تحسينات إضافية للوضوح والقراءة */
    p, li, .case-value, .case-label {
        line-height: 1.6;
        margin-bottom: 16px;
    }

    /* تحسين التباعد بين عناصر القوائم */
    .help-tips li:last-child,
    .case-info:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* تحسين مظهر أشرطة التقدم */
    .progress-bar {
        border-radius: 8px;
    }

    .progress-fill {
        border-radius: 8px;
    }

    /* تحسين مظهر علامات التبويب */
    .tab-navigation .tab-btn {
        border-radius: 8px;
    }

    .evidence-tabs .tab-btn {
        border-radius: 8px;
    }

    /* تحسين مظهر الأزرار */
    .btn, .back-btn {
        border-radius: 8px;
    }

    /* تحسين مظهر الحقول */
    #investigator-notes,
    .evidence-filter select {
        border-radius: 8px;
    }

    /* تحسين مظهر البطاقات */
    .help-card,
    .suspect-card,
    .suspect-choice,
    .performance-review,
    .case-file,
    .solution-explanation,
    .case-progress {
        border-radius: 12px;
    }

    /* ضبط المسافات للعناصر الداخلية */
    .start-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 30px 0;
    }

    .story-content, .help-content {
        margin: 25px 0;
    }

    .evidence-content > * {
        margin: 15px 0;
    }

    .evidence-content > *:first-child {
        margin-top: 0;
    }

    .evidence-content > *:last-child {
        margin-bottom: 0;
    }
    /* شاشة مقارنة المشتبه بهم */
    .comparison-content {
        margin: 30px 0;
    }

    .comparison-table-container {
        overflow-x: auto;
        margin-bottom: 30px;
        border-radius: 10px;
        border: 1px solid rgba(205, 211, 233, 0.15);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    .comparison-table {
        width: 100%;
        border-collapse: collapse;
        background: rgba(205, 211, 233, 0.08);
    }

    .comparison-table th, 
    .comparison-table td {
        padding: 15px;
        text-align: center;
        border: 1px solid rgba(205, 211, 233, 0.15);
    }

    .comparison-table th {
        background: rgba(168, 183, 255, 0.15);
        color: var(--color-primary);
        font-weight: bold;
        font-size: 1.1rem;
    }

    .comparison-table tr:nth-child(even) {
        background: rgba(205, 211, 233, 0.05);
    }

    .comparison-table tr:hover {
        background: rgba(205, 211, 233, 0.1);
    }

    .comparison-analysis {
        background: rgba(205, 211, 233, 0.08);
        border-radius: 10px;
        padding: 25px;
        border-left: 4px solid var(--color-primary);
    }

    .comparison-analysis h3 {
        color: var(--color-primary);
        margin: 0 0 20px 0;
        text-align: center;
        font-size: 1.3rem;
    }

    .analysis-points {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .analysis-point {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        background: rgba(8, 12, 43, 0.3);
        padding: 15px;
        border-radius: 8px;
        transition: var(--transition);
    }

    .analysis-point:hover {
        background: rgba(8, 12, 43, 0.4);
        transform: translateX(5px);
    }

    .analysis-point i {
        color: var(--color-primary);
        font-size: 1.5rem;
        margin-top: 3px;
    }

    .analysis-point p {
        margin: 0;
        line-height: 1.6;
    }

    .analysis-point strong {
        color: var(--color-secondary);
    }

    /* تأثيرات للخلايا المهمة في الجدول */
    .comparison-table tr td:nth-child(2) { /* خلايا Sami */
        background-color: rgba(244, 67, 54, 0.1);
        color: #ff8a80;
        font-weight: bold;
    }

    .comparison-table tr td:nth-child(3) { /* خلايا Layla */
        background-color: rgba(76, 175, 80, 0.1);
        color: #a5d6a7;
    }

    .comparison-table tr td:nth-child(4) { /* خلايا Majed */
        background-color: rgba(255, 152, 0, 0.1);
        color: #ffd54f;
    }

    /* التكيف مع الشاشات الصغيرة */
    @media (max-width: 768px) {
        .comparison-table th, 
        .comparison-table td {
            padding: 10px;
            font-size: 0.9rem;
        }
        
        .analysis-point {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }
        
        .analysis-point i {
            margin: 0 auto;
        }
    }
    /* تحسين التبويبات عند التصفية */
    .evidence-tabs .tab-btn {
        display: flex;
        transition: all 0.3s ease;
    }

    .evidence-tabs .tab-btn.hidden {
        display: none;
    }

