
/*--------------------------------------------------Ãëîáàëüíûå ñòèëè--------------------------------------------------*/

html, body {
    background: #2a2a2a;
    font-family: "EB Garamond", serif;
    min-height: 100vh;
    font-size: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    color: #fff;
}

main {
    flex: 1;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; 
}
   .page-container h2 {
       text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
   }

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.flex-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
}


/*--------------------------------------------------ÀÍÈÌÀÖÈÈ--------------------------------------------------*/

@keyframes floatText {
    0% {
        top: 0;
    }

    100% {
        top: -3px;
    }
}

@keyframes sparkMove {
    0% {
        transform: translate(0,0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(50px, -200px);
        opacity: 0;
    }
}

.section-inner {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 80px 10px 40px 10px; 
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}

.section-inner.column{
    flex-direction: column;
}

.section-inner.row {
    flex-direction: row;
}
    
.section-inner.left {
    align-items: flex-start;
    text-align: left;
}
.section-inner.left h2{
    text-align: left;
}

.section-inner.center {
    align-items: center;
    text-align: center;
}


/*--------------------------------------------------ÃËÀÂÍÀß ÑÒÐÀÍÈÖÀ--------------------------------------------------*/

/* HERO SECTION */
.hero-section {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    min-height: 900px;
    background: url('/images/pages_img/TSOA_page/bg_tsoa.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #1F1F1F 100%);
    pointer-events: none;

}

.hero-section p {
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-title {
    padding-top: 110px;
    max-width: 950px;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 3px;
    word-wrap: break-word;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.hero-link {
    color: #fff;
    text-decoration: none;
    transition: background 0.7s ease, color 0.5s ease;
}

    .hero-link:hover {
        color: #f0f0f0;
        background: rgba(255,255,255,0.1);
    }

.hero-btn {
    max-width: 170px;
    padding: 12px 22px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: #a05500;
    background-color: rgba(0,0,0,0.7);
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 70px;
}

    .hero-btn:hover {
        color: #8f4700;
    }

.hero-game-title {
    display: inline-block;
    max-width: 600px;
    font-size: 3rem;
    font-weight: 700;
    margin-top: 10px;
    padding: 10px 15px;
    color: #a05500;
    background-color: rgba(0,0,0,0.7);
    border-radius: 8px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.4), 4px 4px 4px rgba(0,0,0,0.3), 6px 6px 6px rgba(0,0,0,0.2);
}

/* STUDIO SECTION*/
.studio-section {
    padding: 130px 0px;
    background: linear-gradient(to bottom, #1F1F1F 0%, #2B2B2B 100%);
}

.studio-section h2 {
    font-size: 2.8rem;
    font-weight: 500;
}

.studio-section p {
   font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 50px 0;
    border-top: 2px solid #888;
    border-bottom: 2px solid #888;
}

/* GAME SECTION */
.game-section {
    background: linear-gradient(to bottom, #2B2B2B 0%, #1A1A1A 80%);
    padding-bottom: 70px;
}

.game-section h2 {
    font-weight: 700;
    font-size: 2.8rem;
    color: #8f4700;
    text-align:center;
    letter-spacing: 3px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-grid img {
    width: 360px;
    height: 240px;
    transition: transform 0.5s ease;
}
    .gallery-grid img:hover {
        transform: scale(1.07);
    }


/* NEWS SECTION */
.news-section {
    padding: 0px 0px 60px 0px;
    background: linear-gradient(to top, #2B2B2B 0%, #1A1A1A 80%);
}

.news-section h2 {
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: 600;
    color: #ccc;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}


.news-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
    text-align: center;
    color: #ccc;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.news-card p{
    padding:4px;
}

    .news-card:hover {
        transform: scale(1.09);
    }

    .news-card img {
        width: 350px;
        height: 350px;
        padding: 10px;
        border-radius: 10px;
    }

/* DOWNLOAD SECTION */
.download-section {
    padding: 50px 0px 70px 0px;
    background: #fff;
    text-align: center;
}

.download-section h3 {
    font-size: 2.6rem;
    color: #444;
    font-weight: 700;
    margin-bottom: 10px;
}

.download-section a {
    font-size: 1.3rem;
}

/*.download-buttons {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap; 
}
*/
.download-btn {
    display: inline-block;
    padding: 10px 20px;
    max-width: 150px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #d27f1a;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

    .download-btn:hover {
        transform: translateY(-3px);
        color: #fff;
    }

/* ==============================
   ÑÒÐÀÍÈÖÀ TSOA
   ============================== */

.tsoa-arconia-content {
    color: #cccccc;
    max-width: 900px;
    margin-bottom: 70px;
    max-height: 880px;
    text-align:center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    padding: 35px 50px;
    animation: floatDiv 1s ease-in-out infinite alternate;
}

.tsoa-arconia-content h2 {
    position: relative; 
    font-size: 4.8rem;
    margin-bottom: 5px;
    font-weight: 700;
    background: linear-gradient(to top, #844400, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatText 0.7s ease-in-out infinite alternate;
}

.tsoa-arconia-content p, .tsoa-game-info p {
   font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.tsoa-arconia-download-btn {
    font-size: 1.25rem;
    background: linear-gradient(to bottom, #d27f1a, #9b5000);
    color: #fff;
    padding: 10px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

    .tsoa-arconia-download-btn:hover {
        background: linear-gradient(to bottom, #a65a00, #844400);
        transform: translateY(-2px);
        color: #fff;
    }

/* Ýôôåêòû èñêð íà ãëàâíîé ñåêöèè TSOA*/
.tsoa-spark {
    position: absolute;
    width: 3px;
    height: 2px;
    background: rgba(255, 140, 0, 0.8);
    border-radius: 50%;
    opacity: 0;
    animation: sparkMove 2s linear infinite;
}

/* TSOA SECTION */
.tsoa-game-section__ {
    padding: 50px 0;
    background-color: #2a2a2a;
}

.tsoa-game-container_ {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.tsoa-game-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.tsoa-game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.tsoa-game-info h3 {
    font-size: 2.5rem;
    margin-bottom: 21px;
}



/* Ñåêöèÿ ñêà÷èâàíèÿ TSOA */
.tsoa-download-section-wrapper {
    padding: 60px 0px 100px 0px;
    background-color: #2a2a2a;
    border-top: 2px solid #444;
}

.tsoa-download-section-wrapper .container {
    margin: 0 auto;
}

.tsoa-download-section-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.tsoa-download-section-wrapper p {
    font-size: 1.4rem;
    margin-bottom: 70px;
}

.tsoa-download-group {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 0px 100px;
    flex-wrap: wrap;
}

.tsoa-download-platform h4 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    padding-left: 16px;
    padding-bottom: 12px;
    border-left: 3px solid #a65a00;
}

.tsoa-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tsoa-flex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.tsoa-store-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: linear-gradient(to bottom, #d27f1a, #9b5000);
}

    .tsoa-store-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        background: linear-gradient(to bottom, #a65a00, #844400);
        color: #fff;
    }

/* Êîììåíòàðèè TSOA */
.tsoa-comments-section {
    padding: 72px 0px 100px 0px;
    background-color: #f9f9f9;
}

.tsoa-comments-section h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #333;
}

.tsoa-comments-section p {
    font-size: 1.4rem;
    margin-bottom: 70px;
    color: #555;
}

.tsoa-comments-carousel-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.tsoa-comments-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.tsoa-carousel-btn {
    background: gray;
    border: 1px solid white;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: default;
}

    .tsoa-carousel-btn:hover {
        background: #555; 
        border-color: #ddd;
    }

/*---------*/

.privacy-section {
    padding: 100px 20px;
    color: black;
    font-size: 2rem;
    flex: 1;
    background-color: #ffffff;
}

.menu-left {
    min-width: 120px;
    max-width: 230px;
    margin-right: 30px;
    margin-top: 35px;
}

    .menu-left nav a {
        color: black;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        display: block;
        margin-bottom: 0.75rem;
    }

        .menu-left nav a:hover {
            text-decoration: underline;
        }

.content-scroll {
    flex: 1;
}

.content-block {
    margin-bottom: 2rem;
}

    .content-block ul,
    .content-block ol {
        padding-left: 0;
        margin-left: 0;
    }

    .content-block li {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        list-style-position: inside;
    }

    .content-block h1 {
        padding: 20px;
        margin: 0px 0 45px 0;
        font-size: 2rem;
        line-height: 1.8;
        font-weight: 600;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .content-block h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }

    .content-block p {
        font-size: 1.125rem;
        max-width: 900px;
        line-height: 1.6;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        margin-bottom: 1rem;
    }

[id] {
    scroll-margin-top: 200px;
}






