@font-face {
    font-family: "Oswald";
    src: url("./../fonts/Oswald/Oswald-Regular.ttf");
    font-weight: regular;
    font-style: normal;
}

@font-face {
    font-family: "Oswald";
    src: url("./../fonts/Oswald/Oswald-Bold.ttf");
    font-weight: bold;
    font-style: normal;
}

html {
    font-family: "Oswald", sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
:root {
    --yellow: #ffd600;
    --dark: #232837;
    --gradient: linear-gradient(120deg, #2d2a6e 0%, #e94e1b 60%, #ffd600 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--dark);
    color: #fff;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5vw;
    background: #181c27;
}
main {
    background-color: #232837;
}
.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--yellow);
    letter-spacing: 1px;
    height: 50px;
}
.logo img {
    height: 50px;
}
.logo span {
    color: #fff;
}

nav a {
    color: #fff;
    margin: 0 18px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
nav a:hover {
    color: var(--yellow);
}

.login-btn {
    background: var(--yellow);
    color: #181c27;
    border: none;
    border: 1px solid var(--yellow);
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.login-btn:hover {
    background: #fff;
}
.signup-btn {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 20px;
    padding: 8px 22px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.signup-btn:hover {
    background: #000000;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 480px;
    padding: 60px 5vw 40px 5vw;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 540px;
    z-index: 2;
}
.hero-content h1 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 18px;
    line-height: 1.1;
}
.hero-content h1 span {
    color: var(--yellow);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: #fff;
    opacity: 0.92;
}
.hero-buttons {
    display: flex;
    gap: 18px;
}
.register-btn,
.download-btn {
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid var(--yellow);
    background: transparent;
    color: var(--yellow);
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}
.register-btn {
    background: var(--yellow);
    color: #232837;
}
.register-btn:hover,
.download-btn:hover {
    background: #fff;
    color: #232837;
}

.hero-image {
    width: 420px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* Анимация только на больших экранах */
    animation: floatY 4s ease-in-out infinite;
}
.hero-image img {
    width: 100%;
    max-width: 340px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-32px);
    }
    100% {
        transform: translateY(0);
    }
}

/* --- How To Section --- */
.howto {
    background: #232837;
    padding: 48px 5vw 60px 5vw;
    text-align: center;
}
.howto h2 {
    font-size: 2rem;
    margin-bottom: 36px;
    color: #fff;
}
.howto h2 span {
    color: var(--yellow);
}
.howto-steps {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.howto p {
    color: #fff;
    margin-bottom: 15px;
}
.howto-block {
    background: #2d3142;
    border-radius: 16px;
    padding: 28px 24px;
    min-width: 280px;
    max-width: 420px;
    flex: 1 1 320px;
    text-align: left;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.howto-block h3 {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.howto-block ol {
    color: #fff;
    opacity: 0.92;
    font-size: 1rem;
    padding-left: 18px;
}
.howto-block li {
    margin-bottom: 10px;
}
.howto-block p {
    color: #fff;
}

/* --- Адаптив --- */
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 3vw 30px 3vw;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 32px;
    }
    .hero-image {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .howto-steps {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 32px 2vw 20px 2vw;
    }
    .hero-image {
        animation: none !important; /* Отключаем анимацию */
        margin-top: 18px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .howto {
        padding: 32px 2vw 40px 2vw;
    }
}

@media (max-width: 500px) {
    header {
        flex-direction: column;
        gap: 10px;
        padding: 12px 2vw;
    }
    .logo {
        font-size: 1.1rem;
    }
    nav a {
        margin: 0 8px;
        font-size: 0.95rem;
    }
    .login-btn {
        padding: 6px 14px;
        font-size: 0.95rem;
    }
    .hero-content h1 {
        font-size: 1.2rem;
    }
    .howto-block {
        padding: 18px 8px;
    }
}
/* Основные стили */
:root {
    --primary: #1a2a6c;
    --secondary: #b21f1f;
    --accent: #ffd700;
    --dark: #0d1533;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-top: 0;
}

section {
    padding: 4rem 0;
}

/* Герой секция */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-15deg);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Кнопки */
.download-btn,
.cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover,
.cta-btn:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    margin-top: 2rem;
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
}

/* Секция входа в приложение */
.login-app-section {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 1200px;
}

.section-image {
    flex: 1;
    padding: 2rem;
}

.section-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.section-image img:hover {
    transform: scale(1.02);
}

.section-content {
    flex: 1;
    padding: 3rem;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
}

.section-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.step {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
    background: rgb(3, 6, 60);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    background-color: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(178, 31, 31, 0.3);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Секция загрузки */
.download-section {
    background-color: var(--primary);
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0) 70%);
    z-index: 1;
}

.download-section h2 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

.download-section p {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.tabs {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.tab:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tab h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.tab h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.steps {
    margin-top: 1.5rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
    text-align: center;
}

/* Секция игр */
.games-section {
    background-color: white;
    padding: 4rem 2rem;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.games-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #666;
}

.game-cards {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    flex: 1;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    padding: 1.5rem 1.5rem 0;
    color: var(--secondary);
    font-size: 1.5rem;
}

.game-card ul {
    padding: 1rem 1.5rem 2rem;
    list-style: none;
}
.game-card p {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: start;
    padding: 1.5rem 1.5rem 0;
}
.game-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.game-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Секция бонусов */
.bonuses-section {
    background: linear-gradient(to bottom right, #b9babb, #888c8f);
    padding: 4rem 2rem;
}

.bonuses-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.bonuses-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #252525;
}

.bonus-cards {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bonus-card {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--accent);
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bonus-card h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Секция устранения неполадок */
.troubleshooting-section {
    background-color: white;
    padding: 4rem 2rem;
}

.troubleshooting-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.troubleshooting-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #666;
}

.issues {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.issue {
    flex: 1;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.issue:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.issue h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.issue ul {
    list-style: none;
    padding: 0;
}

.issue ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.issue ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

/* FAQ секция */
.faq-section {
    background: linear-gradient(to bottom right, var(--primary), var(--dark));
    color: white;
    padding: 4rem 2rem;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.faq-items {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item h3::after {
    content: "+";
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition:
        opacity 0.3s ease,
        max-height 0.3s ease,
        margin-top 0.3s ease;
}

.faq-item.active p {
    opacity: 0.9;
    max-height: 500px;
    margin-top: 1rem;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Заключительная секция */
.conclusion-section {
    text-align: center;
    padding: 5rem 2rem;
    background: url("./../images/main4.jpg") center/cover no-repeat;
    position: relative;
    color: white;
}

.conclusion-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 108, 0.8);
}

.conclusion-section h2 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.conclusion-section p {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .login-app-section {
        flex-direction: column;
    }

    .tabs,
    .game-cards,
    .bonus-cards,
    .issues {
        flex-direction: column;
    }

    .section-content,
    .tab {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
.containerbase {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
@media (max-width: 1200px) {
    .containerbase {
        flex-direction: column;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}
.casino-footer {
    background: linear-gradient(to right, var(--dark), var(--primary));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .casino-footer {
        padding: 2rem 1rem;
    }

    .logo-img {
        height: 50px;
    }

    .footer-description {
        font-size: 0.9rem;
    }
    .troubleshooting-section h2 {
        font-size: 1.5rem;
    }
    .conclusion-section h2 {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .download-section h2 {
        font-size: 1.5rem;
    }
    .games-section h2 {
        font-size: 1.5rem;
    }
}
