/* ===================================
   LECTURES SECTION - HOME PAGE
   =================================== */

.lectures-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.lectures-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%231e3a8a" opacity="0.05"/></svg>') repeat;
    background-size: 30px 30px;
    pointer-events: none;
}

.lectures-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.lectures-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.lectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.lecture-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.lecture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.lecture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.15);
}

.lecture-card:hover::before {
    transform: scaleX(1);
}

.lecture-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.lecture-icon i {
    font-size: 1.75rem;
    color: white;
}

.lecture-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.lecture-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 40px 40px;
}

.lecture-image-placeholder i {
    font-size: 3.5rem;
    opacity: 0.6;
    z-index: 1;
}

.lecture-content {
    padding: 2rem;
}

.lecture-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lecture-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-lecture {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-lecture:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

/* ===================================
   LECTURE PAGES - LIST VIEW
   =================================== */

.lectures-main {
    min-height: calc(100vh - 80px);
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lectures-hero {
    margin-bottom: 4rem;
}

.breadcrumb-nav {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-nav a:hover {
    color: #1e40af;
}

.breadcrumb-nav span {
    color: #cbd5e1;
}

.breadcrumb-nav span:last-child {
    color: #1e3a8a;
    font-weight: 600;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

.lectures-list-section {
    padding: 2rem 0;
}

.lectures-list {
    display: grid;
    gap: 2rem;
}

.lecture-item {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.lecture-item:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.lecture-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.lecture-item-title {
    flex: 1;
    min-width: 250px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.lecture-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.lecture-item-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lecture-access-form {
    margin-top: 1.5rem;
}

.password-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.password-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.password-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-hint {
    display: block;
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
}

.btn-access {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-access i {
    font-size: 1.1rem;
}

/* ===================================
   CONFERENCE LOGIN PAGE
   =================================== */

.conference-login-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.conference-login-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.lock-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lock-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-card h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.login-card > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.login-form input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.login-form input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    margin-top: 1.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.help-text {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.help-text i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

/* ===================================
   CONFERENCE VIEWER PAGE
   =================================== */

.conference-viewer-main {
    min-height: calc(100vh - 80px);
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.conference-header {
    text-align: center;
    margin-bottom: 3rem;
}

.conference-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.conference-header p {
    font-size: 1.15rem;
    color: #64748b;
}

.conference-content {
    display: grid;
    gap: 2.5rem;
}

.video-placeholder {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 40px 40px;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.video-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.video-placeholder small {
    opacity: 0.8;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.materials-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #f59e0b;
}

.materials-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.materials-section h3 i {
    color: #f59e0b;
    font-size: 1.5rem;
}

.materials-section p {
    color: #64748b;
    line-height: 1.7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .lectures-section {
        padding: 60px 0;
    }

    .lectures-section .section-title {
        font-size: 2rem;
    }

    .lectures-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .lecture-item-header {
        flex-direction: column;
    }

    .lecture-duration {
        align-self: flex-start;
    }

    .password-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .password-input {
        min-width: 100%;
    }

    .btn-access {
        width: 100%;
        justify-content: center;
    }

    .login-card {
        padding: 2rem;
    }

    .conference-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .lectures-section .section-title {
        font-size: 1.75rem;
    }

    .lecture-content {
        padding: 1.5rem;
    }

    .lecture-icon {
        width: 50px;
        height: 50px;
        top: 1rem;
        right: 1rem;
    }

    .lecture-icon i {
        font-size: 1.5rem;
    }

    .lecture-image-placeholder {
        height: 160px;
    }

    .lecture-title {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .lecture-item {
        padding: 1.5rem;
    }

    .lecture-item-title {
        font-size: 1.25rem;
    }

    .login-card h2 {
        font-size: 1.5rem;
    }
}
