/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo i {
    color: #b8860b;
    margin-right: 10px;
    font-size: 2rem;
}

.logo:hover {
    color: #daa520;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #c0c0c0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Кнопки */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Ubuntu', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #e6d39b, #ffc73b);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, #daa520, #ffd700);
    color: #000;
}

.btn-secondary {
    background-color: transparent;
    color: #daa520;
    border: 1px solid #b8860b;
}

.btn-secondary:hover {
    background-color: rgba(184, 134, 11, 0.1);
    transform: translateY(-3px);
    color: #ffd700;
    border-color: #daa520;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary i, .btn-secondary i {
    margin-right: 8px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Главный блок */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/vk_header.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Roboto Slab', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #b8860b;
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #daa520;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.2rem;
    color: #c0c0c0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #daa520;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #c0c0c0;
    margin-top: 5px;
}

/* Новостной блок */
.news {
    padding: 100px 0;
    background-color: #111111;
}

.section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #c0c0c0;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: #b8860b;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.news-category {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-category.event {
    background-color: rgba(184, 134, 11, 0.2);
    color: #daa520;
}

.news-category.update {
    background-color: rgba(46, 204, 113, 0.2);
    color: #55efc4;
}

.news-category.competition {
    background-color: rgba(231, 76, 60, 0.2);
    color: #fd79a8;
}

.news-date {
    color: #888;
    font-size: 0.9rem;
}

.news-card-content {
    padding: 25px;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.news-excerpt {
    color: #c0c0c0;
    line-height: 1.6;
}

.news-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #2a2a2a;
}

.news-link {
    color: #daa520;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: #ffd700;
}

.news-link:hover i {
    transform: translateX(5px);
}

.news-archive {
    text-align: center;
}

/* Футер */
.footer {
    background-color: #0a0a0a;
    padding: 70px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-description {
    color: #888;
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border-radius: 50%;
    color: #c0c0c0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #b8860b;
    color: #000;
    transform: translateY(-3px);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #b8860b, #daa520);
}

.footer-column a {
    color: #c0c0c0;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #daa520;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #888;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        padding: 20px;
        border-top: 1px solid #2a2a2a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #2a2a2a;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title i {
    color: #b8860b;
}

.modal-close {
    background: none;
    border: none;
    color: #c0c0c0;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(184, 134, 11, 0.1);
    color: #ffd700;
    transform: rotate(90deg);
}

.modal-content {
    padding: 30px;
}

/* Шаги процесса */
.modal-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.modal-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #2a2a2a;
    z-index: 1;
}

.step {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #111111;
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.step.active {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #c0c0c0;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.step-info h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.step-info p {
    color: #888;
    font-size: 0.85rem;
}

/* Карточки опций */
.modal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background: rgba(17, 17, 17, 0.7);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-card:hover {
    border-color: #b8860b;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #b8860b;
}

.option-card h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.option-card p {
    color: #c0c0c0;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.option-details {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

.detail i {
    color: #b8860b;
}

.option-btn {
    margin-top: auto;
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.modal-options .btn-primary {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(135deg, #f7ce66, #ffca44);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.modal-options .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, #daa520, #e9cb1f);
    color: #000;
}

.modal-options .btn-primary i {
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.modal-options .btn-primary span {
    flex-grow: 1;
    text-align: center;
}

/* Для адаптивности на маленьких экранах */
@media (max-width: 768px) {
    .modal-options .btn-primary {
        white-space: normal;
        min-height: 56px;
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .modal-options .btn-primary i {
        font-size: 1rem;
    }
}

/* Дополнительно: фиксированная высота для карточек опций, чтобы кнопки были на одном уровне */
.option-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.option-card .btn-primary {
    margin-top: auto;
}

/* Для форм в модальном окне */
.register-form .btn-primary,
.login-form .btn-primary {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Формы */
.register-form,
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.register-form input,
.login-form input {
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.register-form input:focus,
.login-form input:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

.register-form input::placeholder,
.login-form input::placeholder {
    color: #888;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b8860b;
}

.form-checkbox label {
    color: #c0c0c0;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.form-link {
    color: #daa520;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Информационные блоки */
.modal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(17, 17, 17, 0.5);
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.05);
}

.info-box i {
    font-size: 1.5rem;
    color: #b8860b;
    width: 40px;
    height: 40px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box h5 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-box p {
    color: #888;
    font-size: 0.85rem;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-steps::before {
        display: none;
    }
    
    .step {
        margin: 0;
    }
    
    .modal-options {
        grid-template-columns: 1fr;
    }
    
    .modal-info {
        grid-template-columns: 1fr;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* Скроллбар для модального окна */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #b8860b;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #daa520;
}

/* Исправление для выравнивания кнопок в карточках */
.option-card {
    position: relative;
    padding-bottom: 25px;
}

.option-card > .btn-primary,
.register-form .btn-primary,
.login-form .btn-primary {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    width: auto;
}

/* Убираем лишние отступы в формах */
.register-form,
.login-form {
    margin-bottom: 70px;
}
.download-dropdown {
    position: absolute; /* Фиксируем положение */
    bottom: 25px; /* Прижимаем к низу карточки */
    left: 25px;
    right: 25px;
    z-index: 10;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.download-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.download-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #c0c0c0;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.dropdown-item:hover {
    background: rgba(184, 134, 11, 0.1);
    color: #ffd700;
}

.dropdown-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.dropdown-item .file-size {
    margin-left: auto;
    font-size: 0.85rem;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.dropdown-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #2a2a2a;
    margin-top: 10px;
    padding-top: 10px;
}

.dropdown-info i {
    color: #b8860b;
}
/* ===== МИНИ-МОДАЛЬНОЕ ОКНО ДЛЯ ЛАУНЧЕРА ===== */
/* Основные стили окна */
.modal-mini {
    max-width: 450px;
    max-height: 80vh;
    overflow: hidden; /* Убираем любые скроллы */
}

/* Сообщение */
.modal-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(184, 134, 11, 0.08);
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 3px solid #b8860b;
}

.modal-message i {
    color: #b8860b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modal-message p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
    word-break: break-word; /* Перенос длинных слов */
}

/* Контейнер для кнопок */
.launcher-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

/* Кнопки скачивания */
.launcher-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box; /* Важно! */
}

.launcher-btn:hover {
    border-color: #b8860b;
    background: rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

/* Иконка в кнопке */
.launcher-btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    flex-shrink: 0; /* Не сжимается */
}

.launcher-btn-icon i {
    font-size: 1.5rem;
    color: #b8860b;
}

/* Текст в кнопке */
.launcher-btn-text {
    flex: 1;
    min-width: 0; /* Разрешает сжатие */
    overflow: hidden; /* Скрывает переполнение */
}

.launcher-btn-text strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.launcher-btn-text span {
    display: block;
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Подсказки */
.launcher-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    font-size: 0.9rem;
    color: #888;
    flex: 1;
    min-width: 0;
}

.tip i {
    color: #b8860b;
    font-size: 1rem;
    flex-shrink: 0;
}

.tip span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 500px) {
    .modal-mini {
        max-width: 95vw;
        margin: 0 10px;
    }
    
    .modal-header, .modal-content {
        padding: 20px 15px;
    }
    
    .modal-message {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .launcher-btn {
        padding: 15px;
        gap: 12px;
    }
    
    .launcher-btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .launcher-btn-icon i {
        font-size: 1.3rem;
    }
    
    .launcher-btn-text strong {
        font-size: 1rem;
    }
    
    .launcher-btn-text span {
        font-size: 0.85rem;
    }
    
    .launcher-tips {
        flex-direction: column;
    }
    
    .tip {
        justify-content: center;
        text-align: center;
    }
}

/* Предотвращаем горизонтальный скролл */
.modal-overlay {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-container {
    overflow-x: hidden;
}
/* Простые исправления для статистики */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #daa520;
    line-height: 1;
    min-height: 60px; /* Фиксируем высоту */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: #c0c0c0;
    margin-top: 10px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-stats {
        gap: 30px;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
        min-height: 50px;
    }
}