  /* Modal Styles */
        .terms-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(3px);
        }

        .terms-modal.hidden {
            display: none;
        }

        .modal-content {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            border-radius: 15px;
            width: 90%;
            max-width: 700px;
            max-height: 90vh;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            border: 1px solid #333;
            overflow: hidden;
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-header {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            padding: 20px;
            text-align: center;
            border-bottom: 2px solid #333;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 24px;
            font-weight: bold;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .modal-header .warning {
            font-size: 14px;
            margin-top: 8px;
            opacity: 0.9;
            font-weight: normal;
        }

        .modal-body {
            padding: 0;
            height: 400px;
            overflow-y: auto;
            overflow-x: hidden;
            color: #e0e0e0;
            background: #1a1a2e;
        }

        .terms-content {
            padding: 25px;
            line-height: 1.6;
            font-size: 14px;
        }

        .terms-content h3 {
            color: #e74c3c;
            margin-top: 25px;
            margin-bottom: 10px;
            font-size: 16px;
            border-bottom: 1px solid #333;
            padding-bottom: 5px;
        }

        .terms-content p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .highlight {
            background: rgba(231, 76, 60, 0.2);
            padding: 2px 4px;
            border-radius: 3px;
            color: #ff6b6b;
            font-weight: bold;
        }

        .scroll-indicator {
            position: sticky;
            bottom: 0;
            background: linear-gradient(transparent, #1a1a2e 70%);
            text-align: center;
            padding: 15px;
            color: #e74c3c;
            font-weight: bold;
            font-size: 12px;
            animation: pulse 2s infinite;
            white-space: nowrap;
            overflow: hidden;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.7; }
            50% { opacity: 1; }
        }

        .modal-footer {
            background: #0f0f23;
            padding: 20px;
            border-top: 2px solid #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 15px;
        }

        .read-status {
            font-size: 12px;
            color: #666;
            font-style: italic;
        }

        .read-status.completed {
            color: #27ae60;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        .btn-accept {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
        }

        .btn-accept:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
        }

        .btn-deny {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .btn-deny:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        }

        /* Custom Scrollbar */
        .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: #0f0f23;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: #e74c3c;
            border-radius: 4px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: #c0392b;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
                max-height: 95vh;
            }

            .modal-footer {
                flex-direction: column;
                gap: 10px;
            }

            .btn {
                width: 100%;
            }
        }