@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Stack+Sans+Text:wght@200..700&display=swap');

*{
    font-family: "Roboto", sans-serif;
    padding: 0px;
    margin: 0px;
    text-decoration: none;



}

body{
    background-color: #ffff;
}

.wrapper{
    max-width: 1100px;
    margin: 0 auto;
}

.top-bar-logo{
    width: 150px;
}

.hello-reg_top-bar-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    height:65px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}
.about-our{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.lengset{
    color: rgb(152, 152, 152);
    font-weight: 700;
}
.go-start{
    background-color: #58cc03;
    padding: 10px 22px;
    border-bottom:5px solid #4eaf08 ;
    border-radius: 15px;
    color: #ffff;
    cursor: pointer;
    transition: 0.3s ease; /* Плавность */
}

a{
    text-decoration: none;
}

a:hover { text-decoration: none; }

.aut-btn{
    background-color: rgb(255, 255, 255);
    padding: 10px 22px;

    border-radius: 15px;
    border:3px solid #787878 ;
    color: #0080ff;
    cursor: pointer;
    transition: 0.3s ease; /* Плавность */
}

.hello-reg_top-bar-block-left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-our{
    background-color: #cc035d;
    padding: 10px 22px;
    border-bottom: 5px solid #8d0657;
    border-radius: 15px;
    color: #ffff;
    cursor: pointer;
    transition: 0.3s ease;
}
.reg-block-btn{
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-weight: 600;
    max-width: 330px;
    width: 100%;

}
.hello-reg_top-bar-wrapper{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    background-color: #ffff;
    border-bottom: 1px solid #787878;
    
}

svg {
    width: 20px;
    height: 20px;
    align-items: center;
    display: flex;
}

/* .hello-info_m1.hello-reg {
    height: 700px;
} */
.aling-center{
    align-items: center;
    justify-content: center;
    display: flex;
}



.go-start:hover{
    background-color: #61e106;
    border-bottom:5px solid #57c10c;

}
.hello-info_m1text{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hello-info_m1text h2{
    color: #58cc03;
    font-size: 48px;
}

.hello-info_m1text span{
    color: rgb(152, 152, 152);
}


.hello-info_m1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    padding: 0px 40px;
    padding-top: 65px;
}

.limits-info {
    background: #f0f8ff;
    border: 2px solid #0080ff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #0066cc;
}

.limits-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.error-list {
    background: #ffe6e6;
    border: 2px solid #cc035d;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    color: #cc035d;
    list-style: none;
}

.success-message {
    background: #e6ffe6;
    border: 2px solid #58cc03;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    color: #58cc03;
}

/* Формы авторизации */
.auth-container {
    width: 440px;
    margin: 100px 20px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.auth-title {
    color: #3b3b3b;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #3b3b3b;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 3px solid #787878;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #58cc03;
    box-shadow: 0 0 0 3px rgba(88, 204, 3, 0.1);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #cc035d;
}

/* Weekly Limits Styles */
.weekly-limits-card {
    background: linear-gradient(135deg, #606060 0%, #f4036b 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.limits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.limits-header h3 {
    color: white;
    margin: 0;
}

.reset-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.limits-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.limits-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.limits-stats .stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.limits-stats .stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.limits-progress {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.limits-progress .progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.limits-warning-message {
    background: rgba(255, 193, 7, 0.2);

    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
}

.limits-warning-message strong {
    color: #ffc107;
}

/* Progress Bar Styles */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar.small {
    height: 6px;
}

.progress-fill {
    height: 100%;
    background: #58cc03;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-bar .progress-fill {
    background: linear-gradient(90deg, #58cc03, #4eaf08);
}

.weekly-limits-card .progress-fill {
    background: linear-gradient(90deg, #ffd700, #ffa000);
}

/* Lesson Limit Styles */
.limit-progress {
    margin-top: 10px;
}

.limit-progress .progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
}

.limit-warning {
    color: #ffc107;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .limits-stats {
        grid-template-columns: 1fr;
    }
    
    .limits-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.auth-btn {
    background-color: #58cc03;
    padding: 12px;
    border: none;
    border-bottom: 5px solid #4eaf08;
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.auth-btn:hover {
    background-color: #61e106;
    border-bottom-color: #57c10c;
    transform: translateY(-2px);
}

.auth-btn:active {
    transform: translateY(1px);
    border-bottom-width: 3px;
}

.auth-after {
    display: flex;
    /* padding: 10px; */
    gap: 10px;
    padding-bottom: 10px;
}

a.yandex.oauth-btn {
    background: linear-gradient(63deg, rgb(255 0 44) 0%, rgb(175 0 14) 100%);
}

a.telegram.oauth-btn {
    background: linear-gradient(63deg, rgb(0 133 255) 0%, rgb(0 246 255) 100%);
}

.info-time-and-go {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Level System Styles */
.level-progress-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.level-badge {
    background: #FFC107;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Quiz Styles */
.quiz-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.quiz-title h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

.quiz-info {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .label {
    font-size: 0.9em;
    opacity: 0.8;
}

.info-item .value {
    font-size: 1.1em;
    font-weight: bold;
}

.info-item.warning .value {
    color: #ffd700;
}

/* Question Cards */
.question-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.question-header h3 {
    margin: 0;
    color: #2c3e50;
}

/* Lesson Limit Message Styles */
.lesson-limit-message {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.limit-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.limit-content h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 1.5rem;
}

.limit-content p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.limit-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.limit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.limit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.limit-btn.secondary {
    background: transparent;
}

/* Weekly Limits Card when limit reached */


.limits-warning-message {
    background: rgba(255, 255, 255, 0.2);

    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
    color: white;
}

.limits-warning-message strong {
    color: white;
}

/* No Lessons Message */
.no-lessons-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 30px 0;
}

.no-lessons-message h3 {
    color: #787878;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .lesson-limit-message {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .limit-actions {
        justify-content: center;
    }
    
    .limit-icon {
        font-size: 2.5rem;
    }
}


/* Locked Categories and Lessons */
.category-locked {
    opacity: 0.7;
    position: relative;
}

.category-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
    text-align: center;
    padding: 20px;
}

/* VIP Status Card */
.vip-status-card {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.vip-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.vip-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.vip-content h3 {
    color: #000;
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.vip-content p {
    margin: 0;
    opacity: 0.8;
    font-weight: 500;
}

.vip-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 1.2rem;
}

/* Premium Tag Unlocked */
.premium-tag.unlocked {
    background: #FFD700;
    color: #000;
}

/* Small Unlock Button */
.unlock-btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 10px;
    width: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .vip-header {
        flex-direction: column;
        text-align: center;
    }
    
    .vip-benefits {
        grid-template-columns: 1fr;
    }
}

.lock-content .lock-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stop-block{
    width: 50px;
    height: 50px;
}

/* Blur only when limit is reached (not for premium locks) */
.category-locked:not(.premium-category-locked) .category-header,
.category-locked:not(.premium-category-locked) .category-progress,
.category-locked:not(.premium-category-locked) .category-actions {
    filter: blur(2px);
}

.lock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lock-content h4 {
    color: white;
    margin-bottom: 10px;
}

.lock-content p {
    margin: 5px 0;
    opacity: 0.9;
}

.lesson-locked {
    opacity: 0.7;
    position: relative;
}

.category-btn.disabled,
.start-lesson-btn.disabled {
    background: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Limit Notice */
.limit-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #856404;
}

.limit-notice .notice-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.limit-notice .notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Hover effects for locked items */
.category-locked:hover {
    transform: none;
    cursor: not-allowed;
}

.lesson-locked:hover {
    transform: none;
    cursor: not-allowed;
}

.points {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

.question-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Answers */
.answers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.answer-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

.answer-text {
    font-size: 1em;
    line-height: 1.4;
}

/* Quiz Actions */
.quiz-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.submit-quiz-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.cancel-quiz-btn {
    background: #95a5a6;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.cancel-quiz-btn:hover {
    background: #7f8c8d;
}

/* Quiz Results */
.quiz-result-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-result-container {
    text-align: center;
}

.result-success, .result-failure {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.result-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.result-success h1 {
    color: #27ae60;
    margin-bottom: 15px;
}

.result-failure h1 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.result-message {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #7f8c8d;
}

/* Score Display */
.score-display {
    margin: 30px 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.score-circle.failure {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.score-value {
    color: white;
    font-size: 2em;
    font-weight: bold;
}

.score-label {
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Course Completed Info */
.course-completed-info, .retry-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.course-completed-info h3, .retry-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Result Actions */
.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* Limits Info */
.limits-info {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vip-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #27ae60;
    font-weight: bold;
}

.vip-badge {
    background: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

.weekly-limits h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.limits-progress {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.limits-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #7f8c8d;
}

.limits-warning {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 10px;
}

.limits-warning a {
    color: #e74c3c;
    font-weight: bold;
}

/* Limits Exceeded Page */
.limits-exceeded-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.limits-exceeded-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.limits-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.limits-message {
    font-size: 1.3em;
    color: #e74c3c;
    margin-bottom: 30px;
}

.limits-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.premium-offer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.premium-benefits {
    text-align: left;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.premium-benefits li {
    padding: 8px 0;
    font-size: 1.1em;
}

.btn-premium {
    background: #f39c12;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .quiz-actions, .result-actions {
        flex-direction: column;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

.level-stats {
    text-align: right;
}

.exp-text {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.rank-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.level-progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.level-progress-fill {
    height: 100%;
    background: #58cc03;
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.level-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.level-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
    .level-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .level-stats {
        text-align: left;
    }
    
    .level-progress-section {
        padding: 15px;
    }
}

span.duration1 {
    display: flex;
    gap: 5px;
    align-items: center;
}

.categories-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 3px solid #00d4ff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Основные колонки */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-title {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-title::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: -15px;
    color: #00d4ff;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Социальные сети и язык */
.footer-social-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid #2d3748;
    border-bottom: 1px solid #2d3748;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #b0b0b0;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #2d3748;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

/* Нижняя часть */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.security-badge,
.ssl-badge {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
    }
    
    .footer-social-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.oauth-btn {
    /* padding: 10px; */
    background: #e8f0fe;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #787878;
}

.auth-link a {
    color: #0080ff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}


.go-start.burger-trigger:hover {
    background: #555;
}

/* Само меню */
.burger-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #2c3e50;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.burger-menu.active {
    left: 0;
}

/* Контент меню */
.burger-menu-content {
    padding: 20px;
    position: relative;
    height: 100%;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: -6px;
    right: 7px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.close-btn:hover {
    color: #e74c3c;
}

/* Навигация в меню */
.burger-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.burger-nav a {
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 18px;
}

.burger-nav a:hover {
    background: #34495e;
}
.menu-01d1 {
    /* display: none; */
    display: flex;
    gap: 10px;
}

/* Затемнение фона */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0,0,0,0.5); */
    display: none;
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

.error-list {
    background-color: #ffe6e6;
    border: 2px solid #cc035d;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    list-style: none;
}

img.grand-img {
    width: 400px;
}

.hello-main-txt{
    color: #3b3b3b;
    text-align: center;
     font-size: 32px;
}



.reg-main-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


.error-list li {
    color: #cc035d;
    font-weight: 600;
    padding: 5px 0;
}

.success-message {
    background-color: #e6ffe6;
    border: 2px solid #58cc03;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    color: #2d6600;
    font-weight: 600;
    text-align: center;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .auth-container {

        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}



/* Дашборд */
.dashboard-wrapper {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 65px);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок дашборда */
.dashboard-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-greeting h1 {
    color: #3b3b3b;
    margin-bottom: 10px;
    font-size: 32px;
}



.user-greeting p {
    color: #787878;
    font-size: 16px;
}

.user-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    min-width: 100px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #58cc03;
    margin-bottom: 5px;
}

.stat-label {
    color: #787878;
    font-size: 14px;
    font-weight: 600;
}

/* Сетка дашборда */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.dashboard-card h2 {
    color: #3b3b3b;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Прогресс бар */
.progress-section {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #58cc03, #61e106);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-info1 {
    display: flex;
    justify-content: space-between;
    color: #373737;
    font-weight: 600;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    font-weight: 600;
}

/* Кнопки курсов */
.course-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.course-btn {
    padding: 12px 24px;
    border-radius: 15px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.course-btn.primary {
    background: #58cc03;
    color: white;
    border-bottom: 5px solid #4eaf08;
}

.course-btn.primary:hover {
    background: #61e106;
    border-bottom-color: #57c10c;
    transform: translateY(-2px);
}

.course-btn.secondary {
    background: white;
    color: #0080ff;
    border: 3px solid #787878;
}

.course-btn.secondary:hover {
    border-color: #0080ff;
    transform: translateY(-2px);
}

/* Список активностей */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: #e9ecef;
}

.activity-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-message {
    color: #3b3b3b;
    font-weight: 600;
    margin-bottom: 5px;
}

.activity-time {
    color: #787878;
    font-size: 12px;
}

/* Реферальная система */
.invite-code-section {
    margin-bottom: 20px;
}

.code-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.code-value {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    color: #58cc03;
    flex: 1;
    border: 2px solid #e0e0e0;
}

.copy-btn {
    background: #0080ff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 3px solid #0066cc;
}

.copy-btn:hover {
    background: #0066cc;
}

.referrer-info, .no-referrer {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 15px;
}

.referrer-name {
    font-weight: 700;
    color: #58cc03;
    font-size: 18px;
    margin-top: 5px;
}

.referral-bonus {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 700;
    color: #8b6b00;
    margin-top: 10px;
    text-align: center;
}

/* Быстрые действия */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    color: #3b3b3b;
}

/* Quiz Promo Section */
.quiz-promo-section {
    margin: 40px 0;
    padding: 0 20px;
}

.quiz-promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quiz-promo-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quiz-icon {
    font-size: 3em;
}

.quiz-promo-title h3 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.quiz-promo-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Quiz Stats */
.quiz-promo-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.quiz-stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Quiz Benefits */
.quiz-benefits h4 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
}

.quiz-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-benefits li {
    padding: 5px 0;
    font-size: 1em;
}

/* Quiz Actions */
.quiz-promo-actions {
    text-align: center;
}

.start-quiz-btn-promo {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.start-quiz-btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    background: #e67e22;
}

/* Limits Warning */
.limits-warning-block {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.warning-icon {
    font-size: 2em;
}

.warning-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.warning-text p {
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.upgrade-link {
    color: #f39c12;
    font-weight: bold;
    text-decoration: none;
}

.upgrade-link:hover {
    text-decoration: underline;
}

/* Quiz Tips */
.quiz-tips {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
}

.quiz-tips p {
    margin: 0;
    opacity: 0.9;
}

/* Quiz Completed Section */
.quiz-completed-section {
    margin: 40px 0;
    padding: 0 20px;
}

.quiz-completed-card {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.completed-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.completed-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.completed-content p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 1.1em;
}

.score-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.completed-actions {
    margin-top: 20px;
}

.view-result-btn {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-result-btn:hover {
    background: white;
    color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-promo-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quiz-stats {
        justify-content: space-between;
    }
    
    .quiz-promo-header {
        flex-direction: column;
        text-align: center;
    }
    
    .limits-warning-block {
        flex-direction: column;
        text-align: center;
    }
    
    .quiz-promo-card,
    .quiz-completed-card {
        padding: 20px;
    }
}

.quick-action:hover {
    background: #58cc03;
    color: white;
    transform: translateY(-3px);
}

.action-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.action-text {
    font-weight: 600;
    font-size: 12px;
}

/* Следующий урок */
.next-lesson {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.next-lesson h2,
.next-lesson h3,
.next-lesson p {
    color: white;
}

.lesson-preview h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.lesson-preview p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.lesson-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.start-lesson-btn {
    display: block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.start-lesson-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .user-stats {
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        min-width: 80px;
        padding: 15px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .menu-01d1{
        display: none;
    }
    .go-start.burger-trigger{
        display: block;
    }
}


/* Стили для системы уроков */
.courses-wrapper, .category-wrapper, .lesson-wrapper {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 65px);
}

.courses-container, .category-container, .lesson-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок курсов */
.courses-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.courses-header h1 {
    color: #3b3b3b;
    margin-bottom: 10px;
    font-size: 32px;
}

.courses-header p {
    color: #787878;
    margin-bottom: 20px;
}

.overall-progress {
    max-width: 500px;
    margin: 0 auto;
}

/* Сетка категорий */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-text{
    display: flex;
    align-items: center;
    gap: 5px;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.category-info h3 {
    color: #3b3b3b;
    margin-bottom: 8px;
    font-size: 20px;
}

.category-info p {
    color: #787878;
    line-height: 1.5;
}

.category-progress {
    margin-bottom: 20px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #787878;
    font-weight: 600;
}

.progress-bar.small {
    height: 8px;
}

.category-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-btn.primary {
    background: #58cc03;
    color: white;
    border-bottom: 4px solid #4eaf08;
}

.category-btn.primary:hover {
    background: #61e106;
    border-bottom-color: #57c10c;
    transform: translateY(-2px);
}

.completion-badge {
    background: #e6ffe6;
    color: #2d6600;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Рекомендации */
.recommendations {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.recommendations h2 {
    color: #3b3b3b;
    margin-bottom: 20px;
    text-align: center;
}

.recommended-lessons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.recommended-lesson {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #58cc03;
}

.recommended-lesson h4 {
    color: #3b3b3b;
    margin: 10px 0;
    font-size: 16px;
}

.recommended-lesson p {
    color: #787878;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Страница категории */
.category-header {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-title .category-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

.category-title h1 {
    color: #3b3b3b;
    margin-bottom: 8px;
    font-size: 28px;
}

.category-title p {
    color: #787878;
    margin: 0;
}

.back-btn {
    color: #0080ff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border: 2px solid #0080ff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #0080ff;
    color: white;
}

/* Список уроков */
.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.lesson-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #58cc03;
}

.lesson-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.lesson-card.completed {
    border-left-color: #00aaff;
    background: #f8fdff;
}

.lesson-number {
    background: #58cc03;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.lesson-card.completed .lesson-number {
    background: #00aaff;
}

.lesson-content {
    flex: 1;
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}
/* Стили для секции привычек в профиле */
.habits-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    margin-bottom: 30px;
    margin-top: 10px;
}

.habits-section h2 {
    color: #000000;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.habits-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 25px;
}

.habits-stat-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #e0e0e0;
    transition: 0.3s ease;
}

.habits-stat-card:hover {
    border-color: #58cc03;
    transform: translateY(-2px);
}

.habits-stat-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #58cc03;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.habits-stat-content {
    flex: 1;
}

.habits-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #3b3b3b;
    margin-bottom: 5px;
}

.habits-stat-label {
    color: #787878;
    font-size: 14px;
}

.habits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.habit-card-public {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 30px;
    border: 2px solid #e0e0e0;
    transition: 0.3s ease;
}
svg.habit-icon {
    width: 30px;
    height: 30px;
    color: white;
    fill: white;
}

.habit-card-public:hover {
    border-color: #58cc03;
    transform: translateY(-2px);
}

.habit-header-public {
    display: flex;
    align-items: center;
    gap: 15px;
}

.habit-icon-public {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.habit-info-public {
    flex: 1;
}

.habit-info-public h4 {
    margin: 0 0 10px 0;
    color: #3b3b3b;
    font-size: 16px;
}

.habit-progress-public {
    margin-top: 8px;
}

.progress-bar-public {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill-public {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text-public {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #787878;
}

.view-more-habits {
    text-align: center;
    margin-top: 20px;
}

.view-more-btn {
    display: inline-block;
    background: #58cc03;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 3px solid #4eaf08;
    transition: 0.3s ease;
}

.view-more-btn:hover {
    background: #61e106;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .habits-stats {
        grid-template-columns: 1fr;
    }
    
    .habits-grid {
        grid-template-columns: 1fr;
    }
    
    .habit-header-public {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #58cc03;
}

.search-btn {
    padding: 12px 20px;
    background: #58cc03;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #4cb302;
}

.clear-search {
    padding: 8px 12px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s;
}

.clear-search:hover {
    background: #ff5252;
}

.search-results-info {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #58cc03;
}

.search-results-info h3 {
    margin: 0 0 5px 0;
    color: #2d5016;
}

.search-results-info p {
    margin: 0;
    color: #4a7c2a;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input, .search-btn {
        width: 100%;
    }
}

/* Стили для блока сообщества */
.community-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.community-stat {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #58cc03;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.follow-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.follow-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

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

.user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.user-item:hover {
    background: #f5f5f5;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-mini {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #58cc03;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.username {
    font-size: 32px;
    font-weight: 500;

    color: #58cc03;

}

.balance-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #58cc03;
}

.current-balance, .required-amount {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.balance-amount {
    font-weight: 500;

}

.required-amount-value {
    font-weight: bold;
    color: #ff6b00;
}

.insufficient-balance {
    background: #ffe6e6;
    color: #d63031;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

.sufficient-balance {
    background: #e8f5e8;
    color: #2d5016;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: #ffe6e6;
    color: #d63031;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
    border-left: 4px solid #d63031;
}

.upgrade-btn.disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
}

.balance-topup-suggestion {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 10px;
}

.topup-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
}

.topup-btn:hover {
    background: #1976D2;
}

.payment-methods {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.no-users {
    color: #999;
    font-style: italic;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.view-all-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #58cc03;
    text-decoration: none;
    font-size: 14px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.community-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.action-btn.primary {
    background: #58cc03;
    color: white;
}

.action-btn.primary:hover {
    background: #4cb302;
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.action-btn.secondary:hover {
    background: #e9ecef;
}

/* Адаптивность */
@media (max-width: 768px) {
    .follow-sections {
        grid-template-columns: 1fr;
    }
    
    .community-actions {
        flex-direction: column;
    }
}

.community-stats {
    display: flex;
    justify-content: space-around;
    /* gap: 10px; */
}

.community-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 10px;
}

.user-balance {
    background: linear-gradient(135deg, #58cc03, #4cb302);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lesson-header h3 {
    color: #3b3b3b;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    color: rgb(151, 151, 151);
}

.coin-loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 20px;
    perspective: 800px;
}

.coin-front, .coin-back {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.coin-front {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B7500;
    transform: rotateY(0deg);
}

.coin-back {
    background: linear-gradient(45deg, #C0C0C0, #A9A9A9);
    color: #696969;
    transform: rotateY(180deg);
}

.coin-loader {
    animation: coin-rotate 2s infinite ease-in-out;
}

@keyframes coin-rotate {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.loader-container p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.lesson-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.lesson-meta span {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 600;
}

.duration {
    background: #e6f7ff;
    color: #0080ff;
}

.difficulty.beginner {
    background: #e6ffe6;
    color: #2d6600;
}

.difficulty.intermediate {
    background: #fff9e6;
    color: #8a6d00;
}

.difficulty.advanced {
    background: #ffe6e6;
    color: #cc0000;
}

.completed-badge {
    background: #e6ffe6;
    color: #2d6600;
}

.lesson-excerpt {
    color: #787878;
    margin-bottom: 15px;
    line-height: 1.5;
}

.lesson-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-btn {
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lesson-btn.start {
    background: #58cc03;
    color: white;
    border-bottom: 3px solid #4eaf08;
}

.lesson-btn.start:hover {
    background: #61e106;
    border-bottom-color: #57c10c;
    transform: translateY(-2px);
}

.lesson-btn.review {
    background: #0080ff;
    color: white;
    border-bottom: 3px solid #0066cc;
}

.lesson-btn.review:hover {
    background: #0066cc;
    border-bottom-color: #0052a3;
    transform: translateY(-2px);
}

/* Статистика категории */
.category-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #414141;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

/* Страница урока */
.lesson-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nav-back {
    color: #0080ff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border: 2px solid #0080ff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-back:hover {
    background: #0080ff;
    color: white;
}

.lesson-progress {
    background: #e6ffe6;
    color: #2d6600;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 600;
}

.lesson-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.lesson-category {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lesson-header h1 {
    color: #3b3b3b;
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 1.3;
}

.lesson-header .lesson-meta {
    justify-content: center;
}

.lesson-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 16px;
}

.lesson-content h2 {
    color: #3b3b3b;
    margin: 30px 0 15px 0;
    font-size: 24px;
}

.lesson-content h3 {
    color: #3b3b3b;
    margin: 25px 0 12px 0;
    font-size: 20px;
}

.lesson-content p {
    margin-bottom: 15px;
    color: #444;
}

.lesson-content ul, .lesson-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

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

.lesson-content strong {
    color: #3b3b3b;
}

.lesson-actions {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.completion-message h3 {
    color: #58cc03;
    margin-bottom: 10px;
    font-size: 24px;
}

.completion-message p {
    color: #787878;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.next-lesson-btn, .back-to-category-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.next-lesson-btn {
    background: #58cc03;
    color: white;
    border-bottom: 4px solid #4eaf08;
}

.next-lesson-btn:hover {
    background: #61e106;
    border-bottom-color: #57c10c;
    transform: translateY(-2px);
}

.back-to-category-btn {
    background: white;
    color: #0080ff;
    border: 3px solid #787878;
}

.back-to-category-btn:hover {
    border-color: #0080ff;
    transform: translateY(-2px);
}

.lesson-navigation-bottom {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nav-section h4 {
    color: #3b3b3b;
    margin-bottom: 15px;
}

.next-preview {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #3b3b3b;
    transition: background 0.3s ease;
}

.next-preview:hover {
    background: #e9ecef;
}

.next-preview strong {
    color: #0080ff;
    display: block;
    margin-bottom: 5px;
}

.course-completed {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #58cc03, #61e106);
    color: white;
    border-radius: 15px;
}

.course-completed strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.back-to-courses-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-courses-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .category-title {
        flex-direction: column;
        text-align: center;
    }
    
    .lesson-header {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
    
    .lesson-meta {
        justify-content: flex-start;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .category-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lesson-content {
        padding: 25px 20px;
    }
    
    .lesson-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .lesson-number {
        align-self: flex-start;
    }
}

/* Стили для системы профилей */
.profile-wrapper, .profiles-wrapper, .edit-profile-wrapper {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 65px);
}

.profile-container, .profiles-container, .edit-profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка профиля */
.profile-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.rate-limited {
    opacity: 0.6;
    cursor: not-allowed;
}

.rate-limit-message {
    font-size: 12px;
    color: #ff9500;
    margin-top: 5px;
    text-align: center;
}

.follow-btn:disabled,
.unfollow-btn:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}
.rate-limit-notification.show {
    transform: translateX(0) !important;

}

.rate-limit-notification {
    top: 20px;
    right: 415px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    z-index: 10000;
    transform: translateX(400px);

    transition: all 0.3s ease;
    max-width: 400px;
    position: absolute;
}

.rate-limit-notification.show {
    opacity: 1 !important;
    
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    color: #856404;
    margin-bottom: 5px;
    font-size: 16px;
}

.notification-message {
    color: #856404;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #856404;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.notification-close:hover {
    background: rgba(133, 100, 4, 0.1);
}

/* Анимация счетчика */
#countdown {
    font-weight: bold;
    color: #ff6b00;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Стили для заблокированных кнопок */
.btn-rate-limited {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-rate-limited::after {
    content: '⏳';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #58cc03;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    border: 4px solid currentColor;
}

.profile-info {
    flex: 1;
}

.profile-main h1 {
    color: #3b3b3b;
    margin-bottom: 8px;
    font-size: 32px;
}

.profile-rank {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.profile-bio {
    color: #787878;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.profile-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    color: #787878;
    font-size: 14px;
}

.meta-item a {
    color: #0080ff;
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

.profile-actions {
    flex-shrink: 0;
}

.edit-profile-btn {
    background: #0080ff;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid #0066cc;
}

.edit-profile-btn:hover {
    background: #0066cc;
    transform: translateY(-2px);
}

/* Статистика профиля */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.left-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-stats-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.achievements-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

.avatar-placeholder-large {
    background: #787878;
    width: 36px;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
}

.bio-user-info {
    margin-top: 10px;
    color: #4a4a4a;
    font-style: italic;
    max-width: 500px;
}

.profile-basic-info {
    display: flex;
    gap: 20px;
}

.avatar-large {
    display: flex;
    gap: 10px;
}

.profile-stats-grid .stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #58cc03;
}

.profile-stats-grid .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #58cc03;
    margin-bottom: 8px;
}

.profile-stats-grid .stat-label {
    color: #787878;
    font-size: 14px;
    font-weight: 600;
}

/* Контент профиля */
.profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.profile-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.profile-section h2 {
    color: #3b3b3b;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Достижения */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.achievement-card {
    border-left: 4px solid;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateX(5px);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.achievement-info h4 {
    color: #3b3b3b;
    margin-bottom: 5px;
    font-size: 16px;
}

.achievement-info p {
    color: #787878;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.achievement-info small {
    color: #999;
    font-size: 12px;
}

/* Последние уроки */
.recent-lessons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.empty-habits {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty-habits-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-habits h3 {
    color: #6c757d;
    margin-bottom: 8px;
    font-size: 18px;
}

.empty-habits p {
    color: #8a94a6;
    font-size: 14px;
    margin: 0;
}

.recent-lesson {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 3px solid #58cc03;
}

.lesson-title {
    font-weight: 600;
    color: #3b3b3b;
    margin-bottom: 5px;
}

.lesson-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #787878;
}

/* Рефералы */
.referrals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.referral-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.referral-item:hover {
    background: #e9ecef;
}

.referral-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #58cc03;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.referral-info {
    flex: 1;
}

.referral-name {
    color: #3b3b3b;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}

.referral-name:hover {
    color: #0080ff;
}

.referral-date {
    font-size: 12px;
    color: #787878;
}

/* Инвайт-код в профиле */
.invite-code-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.invite-code-profile code {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #58cc03;
    flex: 1;
    border: 2px solid #e0e0e0;
}

.copy-btn-small {
    background: #0080ff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 2px solid #0066cc;
}

.copy-btn-small:hover {
    background: #0066cc;
}

.invite-hint {
    font-size: 14px;
    color: #787878;
    text-align: center;
}

/* Пустые состояния */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #787878;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #3b3b3b;
}

.primary-btn {
    display: inline-block;
    background: #58cc03;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    border-bottom: 4px solid #4eaf08;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #61e106;
    transform: translateY(-2px);
}

/* Страница всех профилей */
.profiles-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.profiles-header h1 {
    color: #3b3b3b;
    margin-bottom: 10px;
    font-size: 32px;
}

.profiles-header p {
    color: #787878;
    font-size: 16px;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.user-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #58cc03;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.user-info h3 {
    margin-bottom: 5px;
}

.user-info h3 a {
    color: #3b3b3b;
    text-decoration: none;
}

.user-info h3 a:hover {
    color: #0080ff;
}

.user-rank {
    font-size: 14px;
    font-weight: 600;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

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

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #58cc03;
}

.stat-label {
    font-size: 12px;
    color: #787878;
}

.view-profile-btn {
    display: block;
    text-align: center;
    background: #f8f9fa;
    color: #0080ff;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.view-profile-btn:hover {
    background: #0080ff;
    color: white;
    border-color: #0080ff;
}

/* Редактирование профиля */
.edit-profile-form {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #3b3b3b;
    margin-bottom: 20px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #3b3b3b;
    font-weight: 600;
}

.go-start.burger-trigger {
    display: none;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #58cc03;
    box-shadow: 0 0 0 3px rgba(88, 204, 3, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Чекбоксы */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #3b3b3b;
}

.checkbox-label input {
    margin-right: 10px;
}

.checkbox-help {
    margin-top: 5px;
    font-size: 14px;
    color: #787878;
    margin-left: 25px;
}

/* Кнопки формы */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.save-btn {
    background: #58cc03;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 4px solid #4eaf08;
}

.save-btn:hover {
    background: #61e106;
    transform: translateY(-2px);
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    user-select: none;
    background: white;
    padding: 5px;
    border-radius: 3px;
}

.cancel-btn {
    background: white;
    color: #787878;
    border: 2px solid #787878;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #cc035d;
    color: #cc035d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для страницы ачивок */
.achievements-wrapper {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 65px);
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок ачивок */
.achievements-header {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.achievements-header h1 {
    color: #3b3b3b;
    margin-bottom: 10px;
    font-size: 32px;
}

.achievements-header p {
    color: #787878;
    margin-bottom: 25px;
    font-size: 16px;
}

.achievements-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.achievement-stat {
    text-align: center;
    padding: 20px;
    min-width: 120px;
}

.achievement-stat .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #58cc03;
    margin-bottom: 8px;
}

.achievement-stat .stat-label {
    color: #787878;
    font-size: 14px;
    font-weight: 600;
}

/* Категории ачивок */
.progress-category {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.progress-category h3 {
    color: #3b3b3b;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Сетка ачивок */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Карточки ачивок */
.achievement-card {
    border-left: 4px solid;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.achievement-card.earned {
    border-color: #58cc03;
    background: linear-gradient(135deg, #f8fff8 0%, #f0f8f0 100%);
}

.achievement-card.locked {
    border-color: #ccc;
    background: #f8f9fa;
    opacity: 0.7;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.achievement-info {
    flex: 1;
}

.achievement-info h4 {
    color: #3b3b3b;
    margin-bottom: 8px;
    font-size: 18px;
}

.achievement-info p {
    color: #787878;
    margin-bottom: 12px;
    line-height: 1.4;
}

.achievement-progress {
    margin-top: 10px;
}

.progress-complete {
    color: #58cc03;
    font-weight: 600;
    font-size: 14px;
}

.achievement-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.achievement-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #58cc03, #61e106);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.achievement-progress span {
    font-size: 12px;
    color: #787878;
    font-weight: 600;
}

/* Таймлайн последних ачивок */
.recent-achievements {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.recent-achievements h2 {
    color: #3b3b3b;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.achievements-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 3px solid #58cc03;
}

.timeline-date {
    flex-shrink: 0;
    width: 80px;
    color: #787878;
    font-size: 12px;
    font-weight: 600;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.achievement-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.timeline-content strong {
    color: #3b3b3b;
    display: block;
    margin-bottom: 4px;
}

.timeline-content p {
    color: #787878;
    font-size: 14px;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-stats {
        gap: 15px;
    }
    
    .achievement-stat {
        min-width: 100px;
        padding: 15px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .timeline-date {
        width: auto;
    }
}


/* Premium Styles */
.premium-teaser {
    background: linear-gradient(135deg, #FFD70010, #FFD70020);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

.premium-teaser-content {
    position: relative;
    z-index: 2;
}

.premium-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.premium-teaser h2 {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 24px;
}

.premium-features-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.premium-features-list span {
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #FFD700;
    color: #FFD700;
    font-size: 14px;
}

.premium-teaser-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000 !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.premium-teaser-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Premium Card Styles */
.category-card.premium {
    position: relative;
    background: linear-gradient(135deg, #FFD70010, #FFD70005) !important;
    border: 2px solid #FFD700 !important;
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Premium Required Page */
.premium-required-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.premium-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #FFD700;
}

.premium-features {
    margin: 30px 0;
    text-align: left;
}

.premium-features h3 {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.premium-features ul {
    list-style: none;
    padding: 0;
}

.premium-features li {
    padding: 8px 0;
    font-size: 16px;
}

.premium-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.premium-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.premium-btn.primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.premium-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Upgrade Page */
.upgrade-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.upgrade-header {
    text-align: center;
    margin-bottom: 40px;
}

.premium-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
}

.pricing-plans {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #ddd;
    max-width: 400px;
    width: 100%;
}

.pricing-card.premium {
    border-color: #FFD700;
    transform: scale(1.05);
    position: relative;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.plan-header h3 {
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700;
}

.price span {
    font-size: 16px;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 8px 0;
    font-size: 16px;
}

.upgrade-form {
    text-align: center;
}

.upgrade-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.guarantee {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Success Page */
.success-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
}

.success-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #4CAF50;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.success-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.success-btn.primary {
    background: #4CAF50;
    color: white;
}

.success-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .premium-features-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .premium-actions,
    .success-actions {
        flex-direction: column;
    }
    
    .pricing-card.premium {
        transform: none;
    }
}

/* Premium Locked Styles */
.premium-category-locked {
    position: relative;
    opacity: 0.7;
    filter: grayscale(0.3);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}

.premium-categories-section {
  padding-bottom: 25px;
}

.premium-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    z-index: 10;
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #FFD700;
}

.lock-text {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.lock-text h4 {
    margin-bottom: 10px;
    color: #FFD700;
}

.unlock-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.premium-badge-locked {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 5;
}

/* Для VIP пользователей */
.premium-category-unlocked {
    border: 2px solid #FFD700 !important;
    background: linear-gradient(135deg, #FFD70010, #FFD70005) !important;
}

.premium-badge-unlocked {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Стили для системы подписок */
.follow-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

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

.follow-number {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #58cc03;
}

.follow-label {
    font-size: 12px;
    color: #787878;
}

.follow-actions {
    margin-top: 15px;
}

.follow-form {
    display: inline-block;
}

.follow-btn, .unfollow-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.follow-btn {
    background: #58cc03;
    color: white;
}

.follow-btn:hover {
    background: #4eaf08;
}

.unfollow-btn {
    background: #cc035d;
    color: white;
}

.unfollow-btn:hover {
    background: #a8044a;
}


@media (max-width: 600px) {
    .go-start.burger-trigger {
        display: block;
    }
}


@media (max-width: 500px) {
    .hello-info_m1{
        display: block;
    }
    .img-hello {
        align-items: center;
        display: flex;
        justify-content: center;
    }
    img.grand-img {
    width: 300px;
    }
    .hello-info_m1text h2 {
    font-size: 30px;
    }
    .hello-info_m1{
        padding: 1p 15px;
    }
    .hello-main-txt{
        font-size: 24px;
    }
    .top-bar-logo{
        width: 170px;
    }
}

