



.academy-container {
    padding: 0;
    padding-bottom: 140px;
    min-height: 100vh;
}



.academy-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(30, 41, 59, 0.95));
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.academy-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.academy-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.academy-title h2 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.academy-title h2 svg {
    color: #8b5cf6;
}

.academy-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #8b5cf6;
}

.academy-back:hover {
    background: rgba(139, 92, 246, 0.2);
}

.academy-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #c9d1d9;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    color: #8b5cf6;
}

.stat-value {
    font-weight: 600;
    color: #8b5cf6;
}



.academy-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #8b949e;
}

.academy-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.academy-loading p {
    margin: 0;
    font-size: 14px;
}



.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
}


.course-card {
    background: linear-gradient(180deg, rgba(33, 38, 45, 0.6) 0%, rgba(13, 17, 23, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.course-card-thumb {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    overflow: hidden;
}

.course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.course-badge.beginner {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.course-badge.intermediate {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.course-badge.advanced {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.course-card-body {
    padding: 16px;
}

.course-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.course-card-desc {
    margin: 0 0 12px;
    font-size: 12px;
    color: #8b949e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #6e7681;
}

.course-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-card-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-percent {
    font-size: 11px;
    font-weight: 600;
    color: #8b5cf6;
    min-width: 35px;
    text-align: right;
}


.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8b949e;
}

.empty-icon {
    margin-bottom: 16px;
    opacity: 0.5;
    display: flex;
    justify-content: center;
}

.empty-icon svg {
    color: #8b5cf6;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #c9d1d9;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}



.course-detail {
    padding: 20px;
}

.course-detail-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.course-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    flex-shrink: 0;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    flex: 1;
}

.course-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.course-info p {
    margin: 0 0 12px;
    font-size: 12px;
    color: #8b949e;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6e7681;
}

.meta-icon {
    display: flex;
    align-items: center;
}

.meta-icon svg {
    color: #8b949e;
}


.course-progress-bar {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
}

#progress-text {
    color: #8b5cf6;
    font-weight: 600;
}

#progress-lessons {
    color: #8b949e;
}

.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    border-radius: 4px;
    transition: width 0.5s ease;
}



.modules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.module-item.completed {
    border-color: rgba(34, 197, 94, 0.3);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.module-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.module-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.module-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6e7681;
    flex-shrink: 0;
}

.module-item.completed .module-status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.module-item.completed .module-status::after {
    content: '';
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.module-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.module-lessons-count {
    font-size: 11px;
    color: #6e7681;
    margin-left: auto;
    margin-right: 8px;
}

.module-toggle {
    color: #6e7681;
    transition: transform 0.3s;
}

.module-item.expanded .module-toggle {
    transform: rotate(180deg);
}

.module-content {
    display: none;
    padding: 0 16px 16px;
}

.module-item.expanded .module-content {
    display: block;
}


.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.lesson-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

.lesson-item.completed {
    opacity: 0.7;
}

.lesson-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.lesson-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.lesson-item.completed .lesson-status {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.lesson-item.completed .lesson-status::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.lesson-item.locked .lesson-status {
    background: rgba(255, 255, 255, 0.05);
}

.lesson-item.locked .lesson-status::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236e7681' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0110 0v4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.lesson-type-icon {
    display: flex;
    align-items: center;
}

.lesson-type-icon svg {
    color: #8b5cf6;
}

.lesson-name {
    font-size: 13px;
    color: #c9d1d9;
}

.lesson-reward {
    font-size: 11px;
    color: #8b5cf6;
    font-weight: 600;
}



.lesson-detail {
    padding: 20px;
}

.lesson-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #6e7681;
    margin-bottom: 16px;
}

.breadcrumb-sep {
    color: #484f58;
}

.lesson-content-wrapper {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.lesson-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.lesson-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lesson-meta span {
    font-size: 12px;
    color: #8b949e;
    display: flex;
    align-items: center;
}

.lesson-meta span svg {
    flex-shrink: 0;
}

.lesson-meta .meta-type {
    color: #8b5cf6;
}

.lesson-meta .meta-xp {
    color: #22c55e;
}


.lesson-content {
    color: #c9d1d9;
    font-size: 14px;
    line-height: 1.7;
}

.lesson-content h1,
.lesson-content h2,
.lesson-content h3,
.lesson-content h4 {
    color: #fff;
    margin: 24px 0 12px;
}

.lesson-content h1 { font-size: 24px; }
.lesson-content h2 { font-size: 20px; }
.lesson-content h3 { font-size: 18px; }
.lesson-content h4 { font-size: 16px; }

.lesson-content p {
    margin: 0 0 16px;
}

.lesson-content ul,
.lesson-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.lesson-content li {
    margin-bottom: 8px;
}

.lesson-content code {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.lesson-content pre {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}

.lesson-content pre code {
    background: none;
    padding: 0;
}

.lesson-content blockquote {
    border-left: 3px solid #8b5cf6;
    margin: 16px 0;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0 8px 8px 0;
}

.lesson-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}


.lesson-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.lesson-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.lesson-quiz {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-header {
    margin-bottom: 20px;
}

.quiz-header h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-header h4 svg {
    color: #8b5cf6;
}

.quiz-header p {
    margin: 0;
    font-size: 13px;
    color: #8b949e;
}

.quiz-questions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quiz-question {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.question-text {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.question-option:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.question-option.selected {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8b5cf6;
}

.question-option.correct {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.question-option.incorrect {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

.option-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.question-option.selected .option-marker {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
}

.question-option.correct .option-marker {
    background: #22c55e;
    border-color: #22c55e;
}

.question-option.correct .option-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.question-option.incorrect .option-marker {
    background: #ef4444;
    border-color: #ef4444;
}

.question-option.incorrect .option-marker::after {
    content: '';
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.option-text {
    font-size: 13px;
    color: #c9d1d9;
}


.question-feedback {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
}

.question-feedback.correct {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.question-feedback.incorrect {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feedback-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.feedback-text {
    margin: 0;
    line-height: 1.4;
}


.btn-quiz-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

.btn-quiz-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.btn-quiz-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


.quiz-result {
    text-align: center;
    padding: 30px 20px;
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(34, 197, 94, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.result-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.quiz-result h4 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.quiz-result p {
    margin: 0 0 16px;
    font-size: 14px;
    color: #8b949e;
}

.result-xp {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
}



.lesson-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    min-height: 44px; 
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #c9d1d9;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav span {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-complete {
    flex: 1;
    max-width: 220px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.btn-complete:disabled {
    background: rgba(34, 197, 94, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-complete.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}



.academy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.certificate-header {
    margin-bottom: 20px;
}

.certificate-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.certificate-header h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.certificate-body p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #8b949e;
}

.certificate-body h4 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #8b5cf6;
}

.certificate-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.cert-stat {
    text-align: center;
}

.cert-value {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #22c55e;
}

.cert-label {
    font-size: 11px;
    color: #6e7681;
    text-transform: uppercase;
}

.certificate-hash {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.certificate-hash small {
    display: block;
    font-size: 10px;
    color: #6e7681;
    margin-bottom: 4px;
}

.certificate-hash code {
    font-size: 10px;
    color: #8b949e;
    word-break: break-all;
}

.btn-certificate-close {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-certificate-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}




.vivat-lesson {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #e6edf3;
    line-height: 1.7;
}


.vivat-lesson h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #00FF94;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #00FF94;
    padding-bottom: 12px;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(0, 255, 148, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.vivat-lesson h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.vivat-lesson h4 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #00FF94;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    font-size: 14px;
}

.vivat-lesson p {
    color: #8b949e;
    margin-bottom: 12px;
}

.vivat-lesson strong {
    color: #e6edf3;
}


.cyber-card {
    background: rgba(22, 27, 34, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #00FF94;
    padding: 20px;
    margin: 20px 0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cyber-card.blue { border-left-color: #58a6ff; }
.cyber-card.gold { border-left-color: #ffd700; }
.cyber-card.purple { border-left-color: #a855f7; }
.cyber-card.cyan { border-left-color: #22d3ee; }
.cyber-card.red { border-left-color: #ff6b6b; }
.cyber-card strong { color: #00FF94; }


.feature-list {
    padding: 0;
    margin: 12px 0;
}

.feature-list li {
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 24px;
    color: #8b949e;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #00FF94;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 255, 148, 0.5);
}

.feature-list li strong {
    color: #e6edf3;
}


.screen-single {
    margin: 20px auto;
    text-align: center;
}

.screen-single img {
    max-width: 320px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screen-single img:hover {
    transform: scale(1.03);
    border-color: #00FF94;
    box-shadow: 0 0 32px rgba(0, 255, 148, 0.3);
}

.screen-single .caption {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    color: #8b949e;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.mission-box {
    background: linear-gradient(135deg, rgba(0, 255, 148, 0.08), transparent);
    border: 1px dashed #00FF94;
    padding: 24px;
    text-align: center;
    margin-top: 32px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 148, 0.05), transparent 70%);
    pointer-events: none;
}

.mission-box p {
    color: #e6edf3;
    position: relative;
    z-index: 1;
}


.highlight {
    color: #ffd700;
    font-weight: 600;
}

.highlight-green {
    color: #00FF94;
    font-weight: 600;
}

.highlight-blue {
    color: #58a6ff;
    font-weight: 600;
}


.vivat-lesson .icon {
    flex-shrink: 0;
}

.vivat-lesson .icon-glow {
    filter: drop-shadow(0 0 6px rgba(0, 255, 148, 0.6));
}


.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 148, 0.3), transparent);
    margin: 32px 0;
}


.info-box {
    background: rgba(0, 255, 148, 0.1);
    border: 1px solid rgba(0, 255, 148, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.info-box p {
    margin: 0;
    color: #00FF94;
}


.warning-box {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.warning-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box p {
    margin: 0;
    color: #ff6b6b;
}


.success-box {
    background: rgba(0, 255, 148, 0.1);
    border: 1px solid rgba(0, 255, 148, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.success-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.success-box p {
    margin: 0;
    color: #00FF94;
}


.concept-box {
    background: linear-gradient(135deg, rgba(0, 255, 148, 0.1), rgba(88, 166, 255, 0.05));
    border: 1px solid rgba(0, 255, 148, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
}

.concept-box h3 {
    justify-content: center;
    color: #00FF94;
    margin-bottom: 16px;
}

.concept-box p {
    color: #e6edf3;
    font-size: 16px;
}


.type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.type-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.type-card svg {
    margin-bottom: 8px;
}

.type-card .type-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: #e6edf3;
    font-size: 14px;
    display: block;
}

.type-card .type-desc {
    color: #8b949e;
    font-size: 11px;
    margin-top: 4px;
}


.reward-highlight {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.reward-item {
    text-align: center;
}

.reward-item .value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.reward-item .value.energy { color: #00FF94; }
.reward-item .value.xp { color: #58a6ff; }

.reward-item .label {
    color: #8b949e;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.status-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.available { background: rgba(0, 255, 148, 0.2); color: #00FF94; }
.status-badge.cooldown { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-badge.done { background: rgba(88, 166, 255, 0.2); color: #58a6ff; }
.status-badge.locked { background: rgba(255, 107, 107, 0.2); color: #ff6b6b; }
.status-badge.global { background: rgba(168, 85, 247, 0.2); color: #a855f7; }

.status-desc {
    color: #8b949e;
    font-size: 12px;
}


.step-list {
    margin: 20px 0;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00FF94, #00cc76);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: #e6edf3;
    display: block;
    margin-bottom: 4px;
}

.step-content p {
    margin: 0;
    font-size: 14px;
}


.big-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.big-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00FF94, #00cc76);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000;
    margin-bottom: 12px;
}

.big-step h4 {
    color: #e6edf3;
    margin-bottom: 8px;
}

.big-step p {
    margin: 0;
    font-size: 14px;
}


.proximity-demo {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.proximity-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proximity-row:last-child {
    border-bottom: none;
}

.proximity-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.proximity-dot.far { background: #8b949e; }
.proximity-dot.medium { background: #58a6ff; }
.proximity-dot.close { background: #ffd700; }
.proximity-dot.very-close { background: #f97316; }
.proximity-dot.in-range { background: #00FF94; box-shadow: 0 0 8px rgba(0, 255, 148, 0.6); }

.proximity-text {
    flex: 1;
    color: #8b949e;
    font-size: 13px;
}

.proximity-text strong {
    color: #e6edf3;
}


.checkin-demo {
    text-align: center;
    margin: 20px 0;
}

.checkin-btn {
    background: linear-gradient(135deg, #00FF94, #00cc76);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(0, 255, 148, 0.3);
}

.checkin-btn.disabled {
    background: rgba(139, 148, 158, 0.3);
    color: #8b949e;
    box-shadow: none;
}


.success-demo {
    background: linear-gradient(135deg, rgba(0, 255, 148, 0.15), rgba(0, 255, 148, 0.05));
    border: 1px solid rgba(0, 255, 148, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #00FF94;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-demo h4 {
    color: #00FF94;
    margin-bottom: 8px;
}

.success-rewards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.reward-badge {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.reward-badge.energy { color: #00FF94; }
.reward-badge.xp { color: #58a6ff; }


.multiplier-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.multiplier-table th,
.multiplier-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.multiplier-table th {
    font-family: 'Rajdhani', sans-serif;
    color: #8b949e;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.multiplier-table td {
    color: #e6edf3;
}

.multiplier-table .mult {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.multiplier-table .mult.green { color: #3fb950; }
.multiplier-table .mult.gold { color: #ffd700; }
.multiplier-table .mult.red { color: #f85149; }


.strategy-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.strategy-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 148, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strategy-content h4 {
    color: #e6edf3;
    margin-bottom: 4px;
}

.strategy-content p {
    margin: 0;
    font-size: 13px;
}


.pro-tip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pro-tip svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pro-tip p {
    margin: 0;
    color: #ffd700;
}


.route-example {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.route-dot {
    width: 24px;
    height: 24px;
    background: #00FF94;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #000;
}

.route-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, #00FF94, rgba(0, 255, 148, 0.3));
    margin-left: 11px;
}

.route-info {
    flex: 1;
}

.route-info strong {
    display: block;
    color: #e6edf3;
    font-size: 14px;
}

.route-info span {
    color: #8b949e;
    font-size: 12px;
}

.route-reward {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #00FF94;
}


.menu-visual {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(0, 255, 148, 0.1);
}

.menu-item.active {
    background: rgba(0, 255, 148, 0.15);
}

.menu-item.active svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 148, 0.6));
}

.menu-item .menu-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item.active .menu-label {
    color: #00FF94;
}


.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.module-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.module-card:hover {
    border-color: rgba(0, 255, 148, 0.3);
    background: rgba(0, 255, 148, 0.05);
}

.module-card svg {
    margin-bottom: 8px;
}

.module-card .module-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: #e6edf3;
    font-size: 14px;
}

.module-card .module-desc {
    color: #8b949e;
    font-size: 11px;
    margin-top: 4px;
}


.card-anatomy {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    margin: 20px 0;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    color: #8b949e;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-value {
    font-family: 'Rajdhani', sans-serif;
    color: #e6edf3;
    font-weight: 500;
}

.card-value.green { color: #00FF94; }
.card-value.blue { color: #58a6ff; }
.card-value.gold { color: #ffd700; }


.filter-demo {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-demo svg {
    flex-shrink: 0;
}

.filter-demo span {
    color: #e6edf3;
    font-size: 14px;
}

.filter-demo .arrow {
    margin-left: auto;
    color: #8b949e;
}


@media (max-width: 480px) {
    .vivat-lesson h2 {
        font-size: 16px;
    }

    .screen-single img {
        max-width: 280px;
    }

    .type-grid,
    .status-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .reward-highlight {
        gap: 24px;
    }

    .menu-visual {
        gap: 8px;
        padding: 12px;
    }

    .menu-item {
        padding: 8px;
    }

    
    .lesson-navigation {
        flex-wrap: wrap;
    }

    .btn-complete {
        order: -1;
        flex: 1 1 100%;
        max-width: none;
    }

    .btn-nav {
        flex: 1 1 0;
        justify-content: center;
    }
}



@media (min-width: 480px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .course-detail-header {
        gap: 24px;
    }
    
    .course-thumbnail {
        width: 140px;
        height: 140px;
    }
}
