/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: #000000 !important;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Stars Background */
.stars, .twinkling {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #000000;
}

.stars:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
   background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent),
                  radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                  radial-gradient(1px 1px at 90px 40px, #fff, transparent),
                  radial-gradient(1px 2px at 130px 80px, #fff, transparent),
                  radial-gradient(2px 1px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
}

.twinkling {
    background: transparent;
}

@keyframes sparkle {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200px);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ff9f;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.5rem;
}

.ufo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(45deg, #00ff9f, #0d6efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Убедимся, что базовые стили применяются ко всем .nav-link, включая кнопки */
.nav-link,
a.nav-link, /* Для ссылок */
button.nav-link { /* Для кнопок - ключевое изменение */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffffff; /* Белый текст по умолчанию */
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    /* Сброс стилей кнопки по умолчанию - ключевое изменение */
    background: transparent; /* Прозрачный фон по умолчанию */
    border: none; /* Убираем границу по умолчанию */
    cursor: pointer; /* Курсор указателя */
    transition: all 0.3s ease; /* Плавные переходы */
}

/* Стили при наведении и активности */
.nav-link:hover,
.nav-link.active,
a.nav-link:hover,
a.nav-link.active,
button.nav-link:hover,
button.nav-link.active {
    background: rgba(0, 255, 159, 0.1); /* Светло-зеленый фон при наведении/активности */
    color: #00ff9f; /* Светло-зеленый текст */
    box-shadow: 0 0 10px rgba(0, 255, 159, 0.3); /* Светло-зеленая тень */
}

/* Стили для иконки внутри */
.nav-icon {
    font-size: 1.2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Container */
.main-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.section.active {
    display: block;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(45deg, #00ff9f, #0d6efd, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 255, 159, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 255, 159, 0.8);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, #00ff9f, #0d6efd);
    border: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 159, 0.5);
}

.button-icon {
    font-size: 1.5rem;
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.benefit-text {
    font-weight: 600;
    color: #00ff9f;
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(0, 255, 159, 0.2);
    border-color: #00ff9f;
    color: #00ff9f;
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.3);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: #00ff9f;
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.2);
    transform: translateY(-5px);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-header .project-status {
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.project-logo {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.mission-overview .project-logo {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    margin-right: 2rem;
    flex-shrink: 0;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    white-space: normal;
    margin: 0 0 0.5rem 0;
    word-wrap: break-word;
}

.project-status {
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
border-radius: 12px;
font-size: 0.75rem;
font-weight: 600;
}

.project-status.open {
    background: rgba(0, 255, 159, 0.2);
    color: #00ff9f;
}

.project-status.upcoming {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.project-status.closed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tag {
    background: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-actions {
    margin-top: auto; /* Кнопка всегда внизу */
    display: flex;
    gap: 1rem;
}

.primary-button, .secondary-button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.primary-button {
    background: linear-gradient(45deg, #00ff9f, #0d6efd);
    color: #000;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 159, 0.4);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Missions Section */
.stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.stat-item {
    color: #00ff9f;
    font-weight: 600;
}

.missions-container {
    margin-top: 2rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: #00ff9f;
    box-shadow: 0 5px 20px rgba(0, 255, 159, 0.1);
}

.mission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    background: linear-gradient(90deg, #00ff9f, #0d6efd);
    height: 100%;
    transition: width 0.3s ease;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Learn Section */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.learn-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.learn-card:hover {
    border-color: #00ff9f;
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.1);
    transform: translateY(-5px);
}

.learn-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.learn-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ff9f;
}

.learn-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.learn-button {
    background: rgba(0, 255, 159, 0.1);
    color: #00ff9f;
    border: 2px solid #00ff9f;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-button:hover {
    background: #00ff9f;
    color: #000;
}

/* Profile Section */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #00ff9f, #0d6efd);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
}

.profile-info h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.level-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff9f;
    font-weight: 600;
}

.level-icon {
    font-size: 1.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #00ff9f;
    box-shadow: 0 5px 20px rgba(0, 255, 159, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.achievements h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-item.earned {
    border-color: #00ff9f;
    background: rgba(0, 255, 159, 0.1);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.badge-name {
    font-weight: 600;
    color: #00ff9f;
    margin-bottom: 0.25rem;
}

.badge-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00ff9f;
    border-radius: 16px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 2001;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff9f;
}

.close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: static;
    order: 3;
}

.close-btn:hover {
    color: #00ff9f;
}

.project-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-details {
    flex: 1;
}

.potential-reward {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 159, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 159, 0.3);
}

.reward-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.reward-value {
    color: #00ff9f;
    font-weight: 700;
    font-size: 1.1rem;
}

.mission-checklist {
    margin-bottom: 2rem;
}

.mission-checklist h4 {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00ff9f;
}

.checklist {
    list-style: none;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

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

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(0, 255, 159, 0.9);
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    z-index: 3000;
    animation: slideInRight 0.3s ease;
}

.notification.show {
    display: flex;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 2px solid #00ff9f;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .benefits {
        gap: 2rem;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .project-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1rem 0.5rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .project-card, .learn-card, .mission-card {
        padding: 1rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}
.remove-mission-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.8);
    border: 2px solid #dc3545;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.remove-mission-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

/* Registration Modal styles are based on existing modal styles */
#registration-modal .modal-content {
    border-color: #ff00ff; /* Optional: different color for registration */
}

/* Mission Details Modal Specific Styles */
#mission-details-modal .modal-content {
    max-width: 800px;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(25, 25, 50, 0.95));
    border: 2px solid rgba(0, 255, 159, 0.3);
    border-radius: 15px;
}

.mission-overview {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mission-details-modal .mission-overview .project-logo {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    flex-shrink: 0;
    display: inline-block;
    margin-right: 3rem;
    margin-bottom: 2rem;
    vertical-align: top;
}

#mission-details-modal .mission-overview .project-details {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 140px);
}

.mission-overview .project-details h4 {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.mission-overview .project-details p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.daily-tasks-section,
.project-updates-section,
.boost-chances-section,
.project-links-section {
    margin-bottom: 2rem;
}

.daily-tasks-section h4,
.project-updates-section h4,
.boost-chances-section h4,
.project-links-section h4 {
    color: #00ff9f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.daily-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.daily-task {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.daily-tip {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.85rem;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 159, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00ff9f;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.update-item {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.boost-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background: rgba(0, 255, 159, 0.1);
    border-color: #00ff9f;
    color: #00ff9f;
    transform: translateY(-2px);
}

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

/* Responsive styles for mission details modal */
@media (max-width: 768px) {
    .mission-overview {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .project-links {
        justify-content: center;
    }
    
    .project-link-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

.back-btn {
    background: none;
    border: none;
    color: #00ff9f;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    left: 20px;
    top: 20px;
}

.back-btn:hover {
    background: rgba(0, 255, 159, 0.1);
    transform: scale(1.1);
}

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

.modal-header h3 {
    flex: 1;
    text-align: center;
    margin: 0;
}

