    .course-detail-page {
        position: relative;
        min-height: 100vh;
        padding: 0;
        background: var(--bg-primary);
        overflow: hidden;
        transition: background 0.3s ease;
    }

    .course-detail-page .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .course-detail-page::before,
    .course-detail-page::after {
        display: none;
    }

    /* New Hero Section */
    .course-hero {
        position: relative;
        padding: 0;
        margin-top: 3rem;
        margin-bottom: 4rem;
        overflow: visible;
    }

    .course-hero .container {
        position: relative;
        z-index: 1;
        background: linear-gradient(135deg, #ff9900 0%, #ff7700 50%, #ff6600 100%);
        border-radius: 32px;
        padding: 4rem 3rem;
        box-shadow: 0 20px 60px rgba(255, 153, 0, 0.25);
        overflow: hidden;
    }

    .hero-background-pattern {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #ff9900 0%, #ff7700 50%, #ff6600 100%);
        opacity: 1;
        z-index: 0;
        border-radius: 32px;
    }

    .hero-background-pattern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0, 0, 0, 0.03) 2px,
                rgba(0, 0, 0, 0.03) 4px
            ),
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 2px,
                rgba(0, 0, 0, 0.03) 2px,
                rgba(0, 0, 0, 0.03) 4px
            );
        background-size: 40px 40px;
        opacity: 0.4;
    }

    .hero-background-pattern::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(-30px, 30px) scale(1.1); }
    }

    .hero-content {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 4rem;
        align-items: start;
    }

    .hero-main {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }

    .course-badge-hero {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        color: #ffffff;
        font-size: 0.8125rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: fit-content;
    }

    .course-badge-hero i {
        font-size: 1rem;
    }

    .course-hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 800;
        color: #000000;
        margin: 0;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .course-hero-description {
        font-size: 1.125rem;
        line-height: 1.7;
        color: rgba(0, 0, 0, 0.85);
        margin: 0;
        max-width: 92%;
    }

    .course-meta-hero {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 1rem 0.875rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .meta-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .meta-icon {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff9900, #ff7700);
        border-radius: 12px;
        color: #ffffff;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .meta-content {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .meta-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.6);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .meta-value {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #000000;
    }

    .price-item .meta-value.price-value {
        color: #22c55e;
        font-size: 1.125rem;
    }

    /* Hero Actions Sidebar */
    .hero-actions {
        position: sticky;
        top: 100px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .enrollment-badge-hero {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 16px;
        color: #15803d;
        font-weight: 600;
        font-size: 0.9375rem;
    }

    .enrollment-status-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
        animation: statusPulse 2s ease-in-out infinite;
    }

    @keyframes statusPulse {
        0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
        50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.1); }
    }

    .action-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border-radius: 14px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .hero-action-btn i {
        font-size: 1.125rem;
    }

    .btn-chat {
        background: #000000;
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .btn-chat:hover:not(.locked) {
        background: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
        color: #ffffff;
    }

    .btn-chat.locked {
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.6);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-certificate {
        background: linear-gradient(135deg, #D4AF37, #B8941F);
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    }

    .btn-certificate:hover:not(.locked) {
        background: linear-gradient(135deg, #B8941F, #D4AF37);
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
        color: #ffffff;
    }

    .btn-certificate.locked {
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.6);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-interview {
        background: #000000;
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .btn-interview:hover:not(.locked) {
        background: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
        color: #ffffff;
    }

    .btn-interview.locked {
        background: rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.6);
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-enroll-primary {
        background: #000000;
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .btn-enroll-primary:hover {
        background: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
        color: #ffffff;
    }

    .action-hint {
        font-size: 0.875rem;
        color: rgba(0, 0, 0, 0.7);
        margin: 0;
        text-align: center;
    }

    .certificate-progress {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .progress-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
    }

    .progress-label {
        font-size: 0.8125rem;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.8);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .progress-count {
        font-size: 0.875rem;
        font-weight: 700;
        color: #000000;
    }

    .progress-bar-container {
        height: 10px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: linear-gradient(135deg, #D4AF37, #B8941F);
        border-radius: 10px;
        transition: width 0.3s ease;
    }

    .enrollment-prompt-hero {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .pending-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-radius: 12px;
        color: #000000;
        font-weight: 600;
        font-size: 0.9375rem;
        width: fit-content;
    }

    .enrollment-message-hero {
        font-size: 0.9375rem;
        color: rgba(0, 0, 0, 0.8);
        margin: 0;
        line-height: 1.6;
    }

    .enrollment-message-hero strong {
        color: #000000;
        font-weight: 700;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .hero-content {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .hero-actions {
            position: relative;
            top: 0;
        }

        .course-meta-hero {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .course-detail-page .container {
            padding: 0 1.5rem;
        }

        .course-hero {
            margin-top: 2rem;
        }

        .course-hero .container {
            padding: 3rem 2rem;
            border-radius: 24px;
        }

        .hero-content {
            gap: 2.5rem;
        }

        .course-meta-hero {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .course-hero-description {
            max-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .course-detail-page .container {
            padding: 0 1rem;
        }

        .course-meta-hero {
            grid-template-columns: 1fr;
        }
    }
    .modules-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 2rem 0;
    }
    .module-card {
        background: #ff9900;
        color: #000000;
        border: 1px solid var(--tile-border);
        border-radius: 20px;
        padding: 2rem;
        backdrop-filter: blur(16px);
        box-shadow: 0 15px 35px var(--shadow);
        transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .module-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #ff9900, #ff7700);
        opacity: 0;
        transition: opacity 0.35s ease;
        z-index: 0;
    }
    .module-card:not(.module-locked):hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 55px rgba(255, 153, 0, 0.3);
        border-color: rgba(255, 153, 0, 0.4);
    }
    .module-card:not(.module-locked):hover::after {
        opacity: 1;
    }
    .module-card > * {
        position: relative;
        z-index: 1;
    }
    .module-order {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: white;
        color: black;
        font-weight: 700;
        margin-bottom: 1rem;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }
    .module-card h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #000000;
        margin-bottom: 0.75rem;
        transition: color 0.3s ease;
    }
    .module-card p {
        color: #000000;
        line-height: 1.6;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }
    .module-topics {
        color: #000000;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }
    .module-topics span {
        display: block;
        line-height: 1.5;
    }
    .module-locked {
        opacity: 0.6;
        cursor: pointer !important;
        position: relative;
    }
    .module-locked:hover {
        transform: scale(1.02) !important;
    }
    .module-lock-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(239, 68, 68, 0.2);
        border: 1px solid rgba(239, 68, 68, 0.4);
        border-radius: 999px;
        color: #fca5a5;
        font-size: 0.85rem;
        font-weight: 600;
        margin: 0.75rem 0;
    }
    .module-lock-message {
        color: #000000 !important;
        font-size: 0.9rem;
        font-style: italic;
        margin-top: 0.5rem;
    }
    .module-actions {
        display: flex;
        gap: 0.75rem;
        margin-top: 1.25rem;
        flex-wrap: wrap;
    }
    .module-action-btn {
        display: inline-flex;
        align-items: center;
        padding: 0.7rem 1.5rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: none;
        cursor: pointer;
    }
    .btn-learn {
        background: #000000;
        color: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    .btn-learn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        color: white;
    }
    .btn-quiz {
        background: white;
        border: 1px solid #ff9900;
        color: #000000;
    }
    .btn-quiz:hover {
        background: #f0f0f0;
        border-color: rgba(255, 153, 0, 0.5);
        color: #000000;
        transform: translateY(-2px);
    }
    .enrollment-prompt {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid rgba(0, 0, 0, 0.1);
    }
    .btn-enroll-course {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: #000000;
        color: #ffffff;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1rem;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    .btn-enroll-course:hover {
        background: #1a1a1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        color: #ffffff;
    }
    .enrollment-message {
        color: rgba(0, 0, 0, 0.7);
        font-size: 0.95rem;
        margin-top: 0.75rem;
        font-weight: 500;
    }
    .pending-status {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: rgba(255, 193, 7, 0.2);
        border: 2px solid rgba(255, 193, 7, 0.4);
        border-radius: 12px;
        color: rgba(0, 0, 0, 0.8);
        font-weight: 600;
        font-size: 1rem;
    }
    .pending-status i {
        font-size: 1.2rem;
        animation: pending-spin 2s linear infinite;
    }
    @keyframes pending-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    @media (max-width: 768px) {
        .course-detail-page {
            padding: 4rem 0;
        }
        .course-header {
            padding: 2rem;
        }
        .btn-enroll-course {
            width: 100%;
            justify-content: center;
        }
    }

    /* Locked Module Modal Styles - Modern & Futuristic */
    .locked-module-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(20, 20, 30, 0.85) 100%);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        z-index: 10000;
        align-items: center;
        justify-content: center;
        padding: 5rem 1rem 2rem;
        animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    @keyframes fadeInModal {
        from {
            opacity: 0;
            backdrop-filter: blur(0px);
        }
        to {
            opacity: 1;
            backdrop-filter: blur(12px) saturate(180%);
        }
    }

    .locked-module-modal-content {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 255, 0.95) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 
            0 32px 64px -12px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 80px rgba(255, 153, 0, 0.15);
        max-width: 500px;
        width: 100%;
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        animation: slideUpModal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        margin: auto;
        overflow: hidden;
    }

    .locked-module-modal-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 153, 0, 0.8) 25%, 
            rgba(255, 119, 0, 1) 50%, 
            rgba(255, 153, 0, 0.8) 75%, 
            transparent 100%);
        animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer {
        0%, 100% {
            transform: translateX(-100%);
        }
        50% {
            transform: translateX(100%);
        }
    }

    @keyframes slideUpModal {
        from {
            transform: translateY(30px) scale(0.92) rotateX(5deg);
            opacity: 0;
            filter: blur(10px);
        }
        to {
            transform: translateY(0) scale(1) rotateX(0deg);
            opacity: 1;
            filter: blur(0);
        }
    }

    .locked-module-modal-header {
        background: linear-gradient(135deg, 
            #ff9900 0%, 
            #ff7700 50%, 
            #ff6600 100%);
        padding: 2rem 1.75rem 1.75rem;
        text-align: center;
        position: relative;
        color: #000000;
        border-radius: 24px 24px 0 0;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(255, 153, 0, 0.3);
    }

    .locked-module-modal-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        animation: rotateGradient 8s linear infinite;
    }

    @keyframes rotateGradient {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }

    .lock-icon-large {
        font-size: 3rem;
        margin-bottom: 0.75rem;
        color: #000000;
        display: inline-block;
        position: relative;
        z-index: 1;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
        animation: lockPulse 2.5s ease-in-out infinite;
    }

    @keyframes lockPulse {
        0%, 100% {
            transform: scale(1) rotate(0deg);
            filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
        }
        25% {
            transform: scale(1.08) rotate(-2deg);
            filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
        }
        50% {
            transform: scale(1.05) rotate(2deg);
            filter: drop-shadow(0 8px 20px rgba(255, 153, 0, 0.4));
        }
        75% {
            transform: scale(1.08) rotate(-2deg);
            filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
        }
    }

    .locked-module-modal-header h2 {
        font-size: 1.65rem;
        font-weight: 800;
        margin: 0;
        color: #000000;
        letter-spacing: -0.03em;
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .modal-close-btn {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        background: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        color: #000000;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .modal-close-btn:hover {
        background: rgba(0, 0, 0, 0.25);
        transform: rotate(90deg) scale(1.15);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    .locked-module-modal-body {
        padding: 2rem 1.75rem;
        color: #1a1a1a;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(250, 250, 255, 0.98));
    }

    .warning-message {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        color: #1f2937;
        font-weight: 600;
        letter-spacing: -0.01em;
    }

    .previous-module-details {
        background: linear-gradient(135deg, 
            rgba(255, 247, 237, 0.95) 0%, 
            rgba(255, 237, 213, 0.98) 50%,
            rgba(255, 229, 200, 0.95) 100%);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 153, 0, 0.3);
        border-left: 4px solid;
        border-image: linear-gradient(135deg, #ff9900, #ff7700) 1;
        padding: 1.25rem 1.5rem;
        border-radius: 16px;
        margin-top: 1.25rem;
        box-shadow: 
            0 8px 24px rgba(255, 153, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.5) inset,
            0 4px 12px rgba(255, 153, 0, 0.1);
        position: relative;
        overflow: hidden;
    }

    .previous-module-details::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, 
            rgba(255, 153, 0, 0.05) 0%, 
            transparent 50%);
        pointer-events: none;
    }

    .previous-module-details p {
        margin: 0.5rem 0;
        color: #1f2937;
        font-size: 0.95rem;
        position: relative;
        z-index: 1;
    }

    .previous-module-details p:first-child {
        margin-top: 0;
    }

    .previous-module-details strong {
        color: #000000;
        font-weight: 700;
        background: linear-gradient(135deg, #000000, #1a1a1a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .instruction-text {
        font-size: 0.9rem;
        color: #4b5563;
        margin-top: 0.75rem;
        line-height: 1.6;
        position: relative;
        z-index: 1;
        font-style: italic;
    }

    .locked-module-modal-footer {
        padding: 1.5rem 1.75rem;
        background: linear-gradient(to top, 
            rgba(250, 250, 250, 0.98) 0%, 
            rgba(255, 255, 255, 0.95) 100%);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: flex-end;
        border-top: 1px solid rgba(229, 231, 235, 0.5);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    }

    .modal-ok-btn {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
        background-size: 200% 200%;
        color: #ffffff;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 20px rgba(0, 0, 0, 0.2);
        letter-spacing: 0.02em;
        position: relative;
        overflow: hidden;
    }

    .modal-ok-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: left 0.5s ease;
    }

    .modal-ok-btn:hover {
        background-position: 100% 0;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset,
            0 0 30px rgba(255, 153, 0, 0.3);
    }

    .modal-ok-btn:hover::before {
        left: 100%;
    }

    .modal-ok-btn:active {
        transform: translateY(0) scale(1.02);
    }


    @media (max-width: 768px) {
        .locked-module-modal {
            padding: 4rem 1rem 1.5rem;
        }

        .locked-module-modal-content {
            max-width: 92%;
            max-height: calc(100vh - 6rem);
            border-radius: 20px;
        }

        .locked-module-modal-header {
            padding: 1.5rem 1.5rem 1.25rem;
            border-radius: 20px 20px 0 0;
        }

        .lock-icon-large {
            font-size: 2.5rem;
        }

        .locked-module-modal-header h2 {
            font-size: 1.4rem;
        }

        .locked-module-modal-body {
            padding: 1.75rem 1.5rem;
        }

        .warning-message {
            font-size: 1rem;
        }

        .previous-module-details {
            padding: 1rem 1.25rem;
            border-radius: 14px;
        }

        .locked-module-modal-footer {
            padding: 1.25rem 1.5rem;
            border-radius: 0 0 20px 20px;
        }

        .modal-ok-btn {
            width: 100%;
            padding: 0.85rem 1.5rem;
        }
    }


