/* Общие стили */
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* Parallax effect */
    background-image: url("img/background.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* Кастомный курсор */
    cursor: url("img/cursor.png"), auto;
}

/* Анимированный фон */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Adjust opacity as needed */
    z-index: -1;
    opacity: 0;
    animation: animatedBackground 20s linear infinite;
}

@keyframes animatedBackground {
    0% { opacity: 0; transform: translateX(-10%); }
    50% { opacity: 0.3; }
    100% { opacity: 0; transform: translateX(10%); }
}

/* Шапка сайта */
header {
    background-color: #1e1e1e;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo a {
    background: linear-gradient(45deg, #007bff, #66b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 1.25rem;
}

nav ul li a {
    color: #d4d4d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

nav ul li a:hover {
    color: #007bff;
}

/* Основной контент */
main {
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Секция заголовка игры */
#game-header {
    text-align: center;
    margin-bottom: 3rem;
}

#game-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

#game-header img {
    max-width: 300px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Секция медиа (видео и скриншоты) */
#game-media {
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
}

#trailer-video {
    width: 100%;
    max-height: 675px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.video-quality-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
}

.video-quality-selector button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.screenshots img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.screenshots img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Секция деталей игры */
#game-details {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #1e1e1e;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#game-details p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #e5e5e5;
}

/* Сетка деталей игры */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.details-grid div {
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.details-grid h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #007bff;
    background: linear-gradient(to right, #007bff, #3399ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Writing mode for vertical text */
    writing-mode: horizontal-tb; /* Reset to horizontal */
    text-orientation: upright;  /* Ориентация текста */
}

/* Секция системных требований */
#system-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.system-requirements div {
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#system-requirements h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #007bff;
    background: linear-gradient(to right, #007bff, #3399ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    margin-bottom: 0.5rem;
}

/* Секция кнопок покупки */
.purchase-options {
    text-align: center;
    margin-top: 3rem;
}

button, .subscribe-button, .preorder-button {
    background-color: #333333;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    margin: 0 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-weight: 500;
    text-decoration: none;
}

button:hover, .subscribe-button:hover, .preorder-button:hover {
    background-color: #444444;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.buy-button {
    background-color: #007bff;
    color: #ffffff;
    font-weight: 600;
}

.buy-button:hover {
    background-color: #0056b3;
}

 /* Секция поддержки разработки */
#support {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#support h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.support-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #6c757d;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.support-link:hover {
    background-color: #5a6268;
}

/* Секция DLC */
#dlc {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#dlc h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#dlc p {
    color: #d4d4d4;
}

/* Секция FAQ */
#faq {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#faq h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#faq ul {
    list-style: none;
    padding: 0;
}

#faq li {
    margin-bottom: 1rem;
}

#faq h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

#faq p {
    color: #d4d4d4;
}

/* Секция партнеров и спонсоров */
#partners {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #262626;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#partners h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.partner-logos img {
    max-width: 150px;
    max-height: 100px;
    margin: 1rem;
    object-fit: contain;
}

/* Подвал сайта */
footer {
    background-color: #1e1e1e;
    text-align: center;
    padding: 1.5rem 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ссылки на социальные сети */
.social-links {
    margin-bottom: 1rem;
    text-align: center;
}

.social-links a {
    color: #d4d4d4;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.social-links a:hover {
    color: #007bff;
}