﻿/* ================================================
   FoxHardSoftness — styles.css
   Единый файл стилей, без Bootstrap, без мусора
   ================================================ */

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── BASE ── */
html {
    font-size: 14px;
    height: 100%;
}

body {
    min-height: 100%;
    background: #313335;
    color: #ffffff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

    /* ── ОРАНЖЕВЫЕ ПОЛОСЫ ПО БОКАМ ── */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 10px;
        background: linear-gradient(to bottom, rgba(255,140,0,0.8), rgba(255,165,0,0.8), rgba(255,140,0,0.8));
        z-index: 1000;
        pointer-events: none;
    }

    body::after {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: 10px;
        background: linear-gradient(to bottom, rgba(255,140,0,0.8), rgba(255,165,0,0.8), rgba(255,140,0,0.8));
        z-index: 1000;
        pointer-events: none;
    }

/* ── СЕТКА И СВЕЧЕНИЕ (фиксированные, под контентом) ── */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255,165,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,165,0,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(255,140,0,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ── СКРОЛЛБАР ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ffa500;
}

::-webkit-scrollbar-thumb {
    background: #313335;
    border-radius: 6px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #313335 #ffa500;
}

/* ── ЗАГОЛОВКИ ИЗОБРАЖЕНИЯ (слайдер) ── */
.title_image_container {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--image-height);
    z-index: 1;
    display: block;
}

.title_image {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 80%, #313335 90%);
}

.gradient-title {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ── КАРТОЧКИ ── */
.box-content {
    background-color: #212325;
    border-radius: 15px;
    border: 5px solid #ffa500;
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
    padding: 25px;
    margin: 15px;
}

/* ── КНОПКИ ── */
.button-orange {
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 36px;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, #ffa500, #dc6d04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .button-orange:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0,0,0,0.3);
    }

.button-white-gold {
    padding: 10px 25px;
    border-radius: 50px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    font-size: 36px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(45deg, #e0e0e0 25%, #ffa500 45%, #c0c0c0 75%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .button-white-gold:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0,0,0,0.3);
    }

/* ── ТЕКСТ ── */
.text-style-white {
    color: #ffffff;
    font-weight: bold;
}

.text-style-gray {
    color: #313335;
    font-weight: bold;
}

.text-style-lightgray {
    color: #c0c0c0;
    font-weight: normal;
}

.text-style-lightblue {
    color: #add8e6;
    font-weight: bold;
    text-decoration: underline;
}

.text-style-green {
    color: #32cd32;
    font-weight: bold;
}

.text-style-2 {
    color: #ffa500;
    -webkit-text-stroke-color: #313335;
}

.text-style-gradient {
    font-family: 'Impact', sans-serif;
    font-weight: 10;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #e0e0e0 25%, #ffa500 45%, #c0c0c0 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke-color: #313335;
}

.center-text {
    text-align: center;
    place-items: center;
}

.break-spaces {
    white-space: break-spaces;
}

.stroke-large {
    -webkit-text-stroke-width: var(--font-width-text);
}

.stroke-medium {
    -webkit-text-stroke-width: calc(var(--font-width-text) - 3px);
}

.stroke-small {
    -webkit-text-stroke-width: calc(var(--font-width-text) - 6px);
}

.ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── ИЗОБРАЖЕНИЯ ── */
.img-radius {
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

.img-radius-orng {
    border-radius: 15px;
    border: 5px solid #ffa500;
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

.img-radius-gray {
    border-radius: 15px;
    border: 5px solid #313335;
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

.img-radius-white {
    border-radius: 15px;
    border: 5px solid white;
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

/* ── СЕТКА ── */
.grid-container {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

@media (orientation: landscape) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (orientation: portrait) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.row {
    display: flex;
    align-items: center;
}

/* ── НИЖНЯЯ СЕКЦИЯ ── */
.bottom-section {
    margin-top: 50px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 15%, rgba(0,0,0,0.3) 100%);
    padding-bottom: 50px;
    padding-top: 1px;
}

.bottom-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-button-wrapper {
    width: 50%;
    margin: 0 auto;
}

/* ── СТРАНИЦА ОШИБКИ ── */
.error-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.error-row {
    width: 100%;
    max-width: 800px;
}

.error-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.error-image-wrapper {
    flex-shrink: 0;
}

.error-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.error-image {
    width: 200px;
    height: auto;
}

/* ── АНИМАЦИИ ── */
#foxImage {
    transition: opacity 0.3s ease-in-out;
}

table {
    width: 100%;
    border-spacing: 0 20px;
}

td {
    vertical-align: top;
}

/* ── SCROLL LINE (индикатор прокрутки) ── */
.scroll-line {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 10px;
    pointer-events: none;
    z-index: 999;
    display: none;
}

.scroll-line-right {
    right: 10px;
    background: linear-gradient(to bottom, rgba(255,140,0,0.8), rgba(255,165,0,0.8), rgba(255,140,0,0.8));
}
