/* layout.css - ТОЛЬКО РАЗМЕТКА, НИКАКИХ ЦВЕТОВ! */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* === ОБЩИЙ КОНТЕЙНЕР === */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === ОБЁРТКА КОНТЕНТА (уже шапки) === */
.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* === ШАПКА === */
.site-header {
    border-radius: 20px;
    margin-bottom: 40px;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
    border-width: 2px;
    border-style: solid;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ВЕРХНЯЯ СТРОКА */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ПРАВЫЙ БЛОК */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ЛОГОТИП */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-width: 0;
}

.logo-icon:hover {
    transform: rotateY(180deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* НАВИГАЦИЯ */
.main-nav {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;
    border-width: 1px;
    border-style: solid;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-width: 2px;
    border-style: solid;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s;
    width: 210px;
    justify-content: center;
    border-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.nav-link i {
    font-size: 1.3rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-link:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА */
.language-switcher-header {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
    backdrop-filter: blur(15px);
}

.lang-btn {
    background: transparent;
    border-width: 2px;
    border-style: solid;
    border-radius: 8px;
    padding: 0;
    width: 42px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-color: transparent;
}

.lang-btn:hover {
    transform: translateY(-2px);
}

.lang-flag {
    width: 26px;
    height: 20px;
    object-fit: cover;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
}

/* ПЕРЕКЛЮЧАТЕЛЬ ТЕМ */
.theme-switcher {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    border-width: 2px;
    border-style: solid;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: transparent;
}

.theme-btn:hover {
    transform: scale(1.1);
}

/* === ОСНОВНОЕ СОДЕРЖИМОЕ === */
.main-content {
    flex-grow: 1;
    margin-bottom: 40px;
}

/* === ЗАГОЛОВКИ СТРАНИЦ === */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 35px 40px;
    border-radius: 25px;
    border-width: 2px;
    border-style: solid;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 250px;
}

.page-header-icon {
    font-size: 3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.page-header h1 {
    font-size: 2.6rem;
    margin: 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    height: 3.3em;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* === КАРТОЧКИ ИНСТРУМЕНТОВ === */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.tool-card {
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    border-width: 2px;
    border-style: solid;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
    backdrop-filter: blur(10px);
}

.tool-card:hover {
    transform: translateY(-15px) scale(1.03);
}

.tool-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 25px;
    border-width: 3px;
    border-style: solid;
    transition: all 0.5s;
}

.tool-card:hover .tool-icon {
    transform: rotateY(180deg) scale(1.1);
}

.tool-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.tool-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* === ИНФО СЕКЦИЯ === */
.info-section {
    border-radius: 25px;
    padding: 40px;
    border-width: 2px;
    border-style: solid;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.info-section h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

.info-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* === FAQ === */
.faq-container {
    border-radius: 25px;
    padding: 40px;
    border-width: 2px;
    border-style: solid;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    position: relative;
    z-index: 1;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: "▸";
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.7;
    font-size: 1.1rem;
    padding-left: 20px;
    margin-left: 10px;
}

.faq-contact {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    border-width: 2px;
    border-style: solid;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.faq-contact h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.faq-contact p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === COMING SOON === */
.coming-soon-sa,
.coming-soon-gta4 {
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    border-width: 3px;
    border-style: dashed;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.coming-soon-icon-sa,
.coming-soon-icon-gta4 {
    font-size: 5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.coming-soon-sa h2,
.coming-soon-gta4 h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.coming-soon-sa p,
.coming-soon-gta4 p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* === ФУТЕР === */
.site-footer {
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border-top-width: 3px;
    border-top-style: solid;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.site-footer p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1200px) {
    .site-container { max-width: 1000px; }
    .content-wrapper { max-width: 100%; }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 1024px) {
    .nav-list { width: 100%; justify-content: center; gap: 8px; }
    .nav-link { width: 190px; padding: 10px 16px; }
}

@media (max-width: 768px) {
    .site-container { padding: 15px; }
    .header-top { flex-wrap: wrap; gap: 15px; }
    .page-header { padding: 25px 20px; margin-bottom: 30px; }
    .page-header h1 { font-size: 2rem; }
    .page-header p { font-size: 1rem; }
    .page-header-icon { font-size: 2.5rem; }
    .tools-grid { grid-template-columns: 1fr; gap: 25px; margin: 30px 0; }
    .tool-card { padding: 25px; min-height: 250px; }
    .tool-icon { width: 75px; height: 75px; font-size: 30px; }
    .tool-card h3 { font-size: 1.5rem; }
    .nav-link { width: 170px; padding: 8px 14px; font-size: 0.95rem; }
    .logo-main { font-size: 1.6rem; }
    .logo-icon { width: 50px; height: 50px; font-size: 24px; }
    .info-section, .faq-container, .coming-soon-sa, .coming-soon-gta4 { padding: 25px 20px; }
    .coming-soon-icon-sa, .coming-soon-icon-gta4 { font-size: 4rem; }
    .coming-soon-sa h2, .coming-soon-gta4 h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .header-top { justify-content: center; }
    .header-controls { flex-wrap: wrap; justify-content: center; }
    .nav-list { flex-direction: column; align-items: center; width: auto; }
    .nav-link { width: 220px; justify-content: flex-start; }
    .page-header { padding: 20px 15px; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header-icon { font-size: 2rem; }
    .coming-soon-sa, .coming-soon-gta4 { padding: 30px 15px; }
    .coming-soon-icon-sa, .coming-soon-icon-gta4 { font-size: 3.5rem; }
    .language-switcher-header { padding: 8px 10px; gap: 6px; }
    .lang-btn { width: 38px; height: 30px; }
    .lang-flag { width: 24px; height: 18px; }
    .logo { flex-direction: column; gap: 10px; }
    .logo-text { align-items: center; }
}





