:root {
    --main-color: #8187ff;
    --background: #0e0e0e;
    --text-gray: #696969;
    --auth-background: rgba(0, 0, 0, 0.7);
    --auth-input-background: rgba(14, 14, 14, 0.7);
    --auth-text: #FFFFFF;
    --auth-text-secondary: rgba(255, 255, 255, 0.5);
    --auth-border: rgba(255, 255, 255, 0.1);
    --error-color: #ff4545;
    --exit-color: #ff4545;
    --background-dark: #0e0e0e;
    --background-black: #000000;
    --text-white: #ffffff;
    --background-light: #d9d9d9;
    --background-black-rgb: 0, 0, 0;
    --background-dark-rgb: 14, 14, 14;
    --main-color-rgb: 129, 135, 255;
    --exit-color: #ff4545;
    --error-color: #ff4545;
    --success-color: #4CAF50;
    --info-color: #2196F3;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: #ffffff;
    min-height: 100vh;
    cursor: default;
}

body, p, h1, h2, h3, h4, h5, h6, span {
    cursor: default;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a6fd3;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    height: 100vh;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(14, 14, 14, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    margin-left: 110px;
}

.logo svg {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
}

.logo-text-colored {
    color: var(--main-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--main-color);
}

.nav-links a.active {
    color: var(--main-color);
}

.button,
.discord-button,
.telegram-button {
    background-color: var(--main-color);
    color: #ffffff;
    border: none;
    width: 135px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(129, 135, 255, 0.5);
    text-decoration: none;
}

.button:hover,
.discord-button:hover,
.telegram-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(129, 135, 255, 0.7);
    transform: translateY(-2px);
}

.nav .button {
    position: absolute;
    right: 130px;
}

.discord-button,
.telegram-button {
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    width: 135px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    position: relative;
    background-image: url('../images/background.png');
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: rgba(14, 14, 14, 0.4);
}

.hero-content {
    max-width: 620px;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-left: 150px;
    padding-right: 20px;
}

.hero-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
    white-space: normal;
    cursor: default;
}

.hero-title span {
    color: var(--main-color);
}

.hero-image {
    width: 1000px;
    position: relative;
    z-index: 2;
    padding-left: 75px;
    transition: transform 0.15s ease;
    transform-style: preserve-3d;
    display: block;
    transform: rotateX(0deg) rotateY(-10deg);
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    animation: upDown 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 25px;
    height: 25px;
    fill: var(--main-color);
}

@keyframes upDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.nav-links-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
}

.mobile-menu-toggle svg {
    width: 30px;
    height: 30px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 14, 14, 0.95);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.mobile-menu-content .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-menu-content .nav-links a {
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-content .button {
    width: 200px;
    height: 50px;
    font-size: 18px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo {
        margin-left: 50px;
    }

    .nav .button {
        right: 50px;
    }

    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .logo {
        margin-left: 20px;
    }

    .nav .button {
        right: 20px;
    }

    .hero-content {
        max-width: 400px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 18px;
    }
    .nav-links-container {
        position: static;
        transform: none;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links-container, .nav .button {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
    }

    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        padding-right: 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
        white-space: normal;
    }

    .hero-description {
        font-size: 14px;
    }
    .button,
    .discord-button,
    .telegram-button {
        width: 135px;
    }
}

.mobile-menu-toggle:focus,
.mobile-menu-content .mobile-menu-toggle:focus,
.mobile-menu-content .nav-links a:focus,
.mobile-menu-content .button:focus,
.mobile-menu-close:focus {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.discord-button:hover,
.telegram-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    background: rgba(14, 14, 14, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    cursor: default;
}

.about-title span {
    color: var(--main-color);
}

.about-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
    font-family: 'Montserrat', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    cursor: default;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(129, 135, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}


.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 200px;
    max-width: calc(33.333% - 20px);
    cursor: default;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 8px;
}

.stat-number span {
    color: var(--main-color);
}

.stat-card p {
    font-size: 15px;
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
    }

    .stat-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .about-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .features-grid .feature-card:nth-last-child(-n+2) {
        left: 0;
    }
}

/* Video Review Section */
.video-review {
    padding: 60px 0;
    background-color: var(--background);
}

.video-review-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.video-review-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
}

.video-review-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #696969;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%; /* Уменьшено с 56.25% для увеличения ширины */
    height: 0;
    overflow: hidden;
    max-width: 960px; /* Увеличено с 800px для большей ширины */
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Responsive adjustments for video section */
@media (max-width: 768px) {
    .video-review {
        padding: 40px 0;
    }

    .video-review-title {
        font-size: 24px;
    }

    .video-review-description {
        font-size: 14px;
    }

    .video-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .video-review-title {
        font-size: 24px;
    }

    .video-review-description {
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    .video-container {
        padding-bottom: 56.25%; /* Возвращаем к стандартному соотношению сторон на меньших экранах */
    }
}

/* Footer Styles */
.footer {
    background-color: var(--background);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.footer-logo-name {
    color: #ffffff;
}

.footer-logo-client {
    color: var(--main-color);
}

.footer-copyright {
    color: #696969;
    font-size: 14px;
    line-height: 1.5;
}

.footer-info {
    text-align: right;
}

.footer-column {
    color: #696969;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Responsive adjustments for video section and footer */
@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 480px) {

}
@media (max-width: 768px) {
    .features-grid .feature-card:nth-last-child(-n+2) {
        left: 0;
    }
}

.button,
.discord-button,
.telegram-button,
.nav-links a {
    cursor: pointer;
}

.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 10px;
    user-select: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--auth-border);
    color: #fff;
    padding: 4px 10px 4px 8px;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.4s, border 0.4s;
    outline: none;
    scale: 0.8;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
}
.lang-flag {
    display: flex;
    align-items: center;
}
.lang-label {
    padding-left: 2px;
}

@media (max-width: 768px) {
  .lang-switcher {
      margin-left: 0;
      margin-top: 10px;
      justify-content: center;
      width: 100%;
  }
}

