body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, sans-serif;
            background: #f6f5f8;
        }

        /* Header */
        .header {
            background: #5a2d82;
            text-align: center;
            padding: 30px 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .logo {
            width: 85px;
            border-radius: 50%;
            margin-bottom: 10px;
        }

        .main-title {
            font-size: 26px;
            font-weight: bold;
            color: #fff;
        }

        .sub-title {
            font-size: 14px;
            color: #efeded;
            margin-top: 5px;
        }

        /* Text Area */
        .note-box {
            max-width: 800px;
            margin: 25px auto 0;
            padding: 0 20px;
        }

        .note-box textarea {
            width: 100%;
            min-height: 120px;
            border-radius: 14px;
            border: 1px solid #ddd;
            padding: 15px;
            font-size: 14px;
            resize: vertical;
            outline: none;
        }

        .note-box textarea:focus {
            border-color: #7b3fe4;
        }

        /* Cards */
        .container {
            max-width: 900px;
            margin: 40px auto;
            padding: 20px;
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
        }

        .card-link {
            text-decoration: none;
        }

        .card {
            background: #fff;
            border-radius: 18px;
            padding: 30px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-top: 5px solid #7b3fe4;
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-6px);
        }

        /* الكروت المطفية (بدون رابط) */
        .card-disabled {
            background: #f5f5f5;
            border-top: 5px solid #ccc;
            opacity: 0.6;
            cursor: not-allowed;
            position: relative;
        }

        .card-disabled:hover {
            transform: none;
        }

        .card-disabled .icon {
            color: #999;
        }

        .card-disabled h2 {
            color: #999;
        }

        .card-disabled p {
            color: #aaa;
        }

        .card-disabled .btn {
            background: #ccc;
            color: #888;
        }

        .card-disabled::after {
            content: "قريباً";
            position: absolute;
            top: 10px;
            left: 10px;
            background: #ff9800;
            color: white;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: bold;
        }

        .icon {
            font-size: 42px;
            color: #7b3fe4;
            margin-bottom: 15px;
            transition: transform 0.3s ease, color 0.3s ease;
            width: fit-content;
        }

        .card:hover .icon {
            transform: scale(1.2);
            color: #5a2d82;
        }

        .card h2 {
            color: #5a2d82;
            margin-bottom: 10px;
        }

        .card p {
            color: #555;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .btn {
            display: block;
            text-align: center;
            padding: 12px;
            border-radius: 10px;
            background: #7b3fe4;
            color: #fff;
            font-weight: 500;
        }

        /* Modal للرسالة */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            animation: fadeIn 0.3s;
        }

        .modal-content {
            background-color: #fff;
            margin: 15% auto;
            padding: 30px;
            border-radius: 15px;
            width: 90%;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            animation: slideDown 0.3s;
        }

        .modal-content i {
            font-size: 60px;
            color: #ff9800;
            margin-bottom: 20px;
        }

        .modal-content h3 {
            color: #5a2d82;
            margin-bottom: 15px;
            font-size: 22px;
        }

        .modal-content p {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .modal-close {
            background: #7b3fe4;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background 0.3s;
        }

        .modal-close:hover {
            background: #5a2d82;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideDown {
            from { 
                transform: translateY(-50px);
                opacity: 0;
            }
            to { 
                transform: translateY(0);
                opacity: 1;
            }
        }

        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            color: #777;
            font-size: 14px;
        }

        footer span {
            color: #5a2d82;
            font-weight: 600;
        }

        .footer-logo {
            width: 50px;
            border-radius: 50%;
            margin-bottom: 10px;
        }