/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.header {
    background-color: #121212;
    border-bottom: 1px solid #2d2d2d;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e3a945;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.logo:hover {
    color: #f0b64d;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #2d2d2d;
    color: #e3a945;
}

.nav-link.active {
    background-color: #2d2d2d;
    color: #e3a945;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #2d2d2d;
    border-radius: 6px;
    padding: 5px 15px;
    min-width: 200px;
}

.search-input {
    background: transparent;
    border: none;
    color: #e0e0e0;
    padding: 10px 0;
    width: 100%;
    font-size: 0.95rem;
}

.search-input::placeholder {
    color: #888;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Основной контент */
.main {
    flex: 1;
    padding: 40px 0;
}

/* Герой-секция */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-radius: 12px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Заголовки секций */
.section-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e3a945;
}

.page-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #e3a945;
}

.in-progress {
    margin-top: 60px;
}

.planned-translations {
    margin-top: 60px;
}

/* Сетка игр */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.game-card {
    background-color: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #e3a945;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.game-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #3a3a3a;
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.game-author {
    color: #e3a945;
    font-weight: 500;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-tag {
    background-color: #3a3a3a;
    color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.game-tag:hover {
    background-color: #e3a945;
    color: #121212;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.game-card {
    animation: fadeIn 0.5s ease;
    animation-fill-mode: both;
}

/* Задержка анимации для каждой карточки */
.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }

/* Кнопка избранного */
.favorite-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.favorite-btn:hover {
    background: rgba(227, 169, 69, 0.2);
    transform: scale(1.1);
}

.favorite-btn.active {
    background: rgba(227, 169, 69, 0.3);
}

/* Анимация удаления из избранного */
@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

/* Стили для страницы избранного */
.favorites-info {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #3a3a3a;
    color: #b0b0b0;
}

.favorites-info p {
    margin: 0;
    line-height: 1.6;
}

/* Заголовок карточки с кнопкой избранного */
.game-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.game-title {
    flex: 1;
    margin-right: 10px;
}

/* Бейджи статусов */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.status-completed {
    background: #4CAF50;
    color: white;
}

.status-in-progress {
    background: #FF9800;
    color: white;
}

.status-planned {
    background: #9E9E9E;
    color: white;
}

.status-badge.completed, 
.status-badge.in-progress, 
.status-badge.planned {
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 10px;
}

.status-badge.completed {
    background: #4CAF50;
    color: white;
}

.status-badge.in-progress {
    background: #FF9800;
    color: white;
}

.status-badge.planned {
    background: #9E9E9E;
    color: white;
}

/* Стили для сортировки */
.sort-section {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #3a3a3a;
}

.sort-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sort-btn {
    background: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sort-btn:hover {
    background: #444;
    border-color: #555;
}

.sort-btn.active {
    background: #e3a945;
    color: #121212;
    border-color: #e3a945;
}

/* Кнопка "Показать еще" */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Секция фильтров */
.filters-section {
    background-color: #2d2d2d;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #3a3a3a;
}

.search-filter {
    margin-bottom: 30px;
}

.filter-search-input {
    width: 100%;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
}

.filter-search-input:focus {
    outline: none;
    border-color: #e3a945;
}

.filter-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Фильтр по авторам */
.author-filter {
    margin-bottom: 30px;
}

.authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.author-filter-btn {
    background-color: #3a3a3a;
    color: #e0e0e0;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.author-filter-btn:hover {
    background-color: #444;
    border-color: #555;
}

.author-filter-btn.active {
    background-color: #e3a945;
    color: #121212;
    border-color: #e3a945;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-filter {
    background-color: #3a3a3a;
    color: #e0e0e0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-filter:hover {
    background-color: #444;
}

.tag-filter.active {
    background-color: #e3a945;
    color: #121212;
    border-color: #e3a945;
}

.clear-filters-btn {
    background-color: transparent;
    color: #e3a945;
    border: 1px solid #e3a945;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background-color: #e3a945;
    color: #121212;
}

.games-count {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.games-count span {
    color: #e3a945;
    font-weight: 600;
}

/* Сообщение "нет результатов" */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background-color: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
}

.no-results p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.btn {
    background-color: #e3a945;
    color: #121212;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #f0b64d;
}

/* Детали игры */
.game-details-container {
    background-color: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
}

.game-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.game-header-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.game-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.game-header-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.game-header-subtitle {
    font-size: 1.5rem;
    color: #e3a945;
    font-weight: 300;
}

.game-content {
    padding: 40px;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-block {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.info-title {
    font-size: 1.1rem;
    color: #e3a945;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-value {
    color: #e0e0e0;
    font-size: 1rem;
}

.game-author-details {
    color: #e3a945;
    font-weight: 500;
    margin-top: 5px;
}

.game-description-full {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.screenshots-section {
    margin-bottom: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.screenshot-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #3a3a3a;
}

.screenshot-thumb:hover {
    transform: scale(1.05);
    border-color: #e3a945;
}

.download-section {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    text-align: center;
    margin-bottom: 40px;
}

.download-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.download-btn {
    background-color: #e3a945;
    color: #121212;
    border: none;
    padding: 18px 50px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #f0b64d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 169, 69, 0.3);
}

/* Стили для неактивной кнопки скачивания */
.download-btn.disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
    border: none;
    padding: 18px 50px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
}

.download-btn.disabled:hover {
    background-color: #666;
    transform: none;
    box-shadow: none;
}

/* Стили для бейджей статуса на странице игры */
.status-badge.completed {
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

.status-badge.in-progress {
    background: #FF9800;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

.status-badge.planned {
    background: #9E9E9E;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

.translator-notes {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    margin-bottom: 30px; /* Отступ перед тегами */
}

.game-tags-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px; /* Отступ после заметок переводчика */
    padding-top: 20px;
    border-top: 1px solid #3a3a3a; /* Разделительная линия */
}

.back-to-all {
    margin-top: 40px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e3a945;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f0b64d;
}

/* Состояние загрузки */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Подвал */
.footer {
    background-color: #121212;
    border-top: 1px solid #2d2d2d;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e3a945;
    margin-bottom: 15px;
}

.footer-text {
    color: #b0b0b0;
    margin-bottom: 10px;
}

.footer-note {
    color: #888;
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .game-header-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px;
        text-align: center;
    }
    
    .search-container {
        order: 2;
        flex: 1;
        min-width: auto;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 1;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title, .page-title {
        font-size: 1.8rem;
    }
    
    .game-header {
        height: 300px;
    }
    
    .game-header-content {
        padding: 20px;
    }
    
    .game-header-title {
        font-size: 2rem;
    }
    
    .game-header-subtitle {
        font-size: 1.2rem;
    }
    
    .game-content {
        padding: 20px;
    }
    
    .game-info-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .screenshot-thumb {
        height: 120px;
    }
    
    .authors-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-header-title {
        font-size: 1.6rem;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .authors-list {
        flex-direction: column;
        align-items: center;
    }
    
    .author-filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* Контакты переводчиков */
.contacts-section {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 16px;
    border: 1px solid #3a3a3a;
}

.contacts-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #e3a945;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3a3a3a;
}

.contact-name {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.contact-role {
    color: #e3a945;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-info {
    flex: 1;
    margin-bottom: 25px;
    color: #b0b0b0;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #2d2d2d;
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: #3a3a3a;
    color: #e3a945;
    border-color: #e3a945;
}

.contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Контакты проекта */
.project-contacts {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #3a3a3a;
}

.project-contacts-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.project-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #2d2d2d;
    border-radius: 10px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.project-link:hover {
    background: #3a3a3a;
    transform: translateY(-3px);
    border-color: #e3a945;
}

.project-icon {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.project-link div {
    flex: 1;
}

.project-link strong {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.project-link small {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/*
.external-resources {
    padding-top: 40px;
    border-top: 1px solid #3a3a3a;
}

.resources-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.resource-link {
    display: block;
    padding: 15px 20px;
    background: #1a1a1a;
    border-radius: 8px;
    color: #e3a945;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
    line-height: 1.5;
}

.resource-link:hover {
    background: #2d2d2d;
    border-color: #e3a945;
    transform: translateX(5px);
}
*/

/* Адаптивность для контактов */
@media (max-width: 768px) {
    .contacts-section {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .project-contacts {
        padding: 30px 20px;
    }
    
    .project-links {
        grid-template-columns: 1fr;
    }
    
    .resources-list {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .contact-name {
        font-size: 1.3rem;
    }
    
    .contact-link {
        padding: 10px 15px;
    }
    
    .project-link {
        padding: 15px;
    }
    
    .project-icon {
        font-size: 1.5rem;
    }
}