@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #110d0e;
    color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: #110d0e;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    width: 120px;
    height: 50px;
    object-fit: contain;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.nav {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav a {
    color: #d1d1d1;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav a:hover {
    color: #f5c66b;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-register,
.btn-login {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-register {
    background: linear-gradient(180deg, #FFF 0%, #D4D4D4 100%);
    color: #000000;
}

.btn-register:hover {
    
    box-shadow: 0 5px 15px rgba(207, 3, 28, 0.3);
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    color: #d1d1d1;
}

.btn-login {
    background: transparent;
    color: #d1d1d1;
    border: 2px solid #cf031c;
}

.btn-login:hover {
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    color: #fff;
}

/* Бургер меню */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #f5c66b;
    border-radius: 2px;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* Hero main */
.hero {
    padding: 20px 0;
}

.hero-background {
    background-image: url('img/bg-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-background .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.btn-play {
    display: inline-block;
    padding: 15px 60px;
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(207, 3, 28, 0.5);
}

.hero-image {
    flex: 0 0 auto;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* list */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    border-radius: 50%;
}

/* list num */

.feature-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.feature-steps li {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    padding-left: 45px;
    position: relative;
    margin-bottom: 15px;
    counter-increment: step-counter;
}

.feature-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}


/* Intro */
.intro {
    padding: 60px 0;
}

.section-title {
    font-size: 35px;
    font-weight: 700;
    color: #f5c66b;
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Info Tabs */
.info-tabs {
    padding: 40px 0;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 2px;
}

.info-row {
    background: linear-gradient(135deg, #1c0d10 0%, #2a1418 100%);
}

.info-label {
    width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #f5c66b;
    border-right: 2px solid rgba(245, 198, 107, 0.2);
    vertical-align: middle;
}

.info-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.info-value {
    padding: 25px 30px;
    font-size: 14px;
    line-height: 1.5;
    color: #d1d1d1;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .info-table {
        display: block;
    }
    
    .info-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 2px;
    }
    
    .info-label {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(245, 198, 107, 0.2);
        padding: 20px;
    }
    
    .info-value {
        padding: 20px;
        display: block;
    }
}

@media (max-width: 480px) {
    .info-label {
        font-size: 16px;
        gap: 10px;
    }
    
    .info-icon {
        width: 24px;
        height: 24px;
    }
}

/* Форма регистрации в FAQ */
.faq-register-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #f5c66b;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #110d0e;
    border: 2px solid rgba(245, 198, 107, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #f5c66b;
}

.form-group input::placeholder {
    color: #6e6e6e;
}

.form-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(207, 3, 28, 0.5);
}

@media (max-width: 480px) {
    .faq-register-form {
        max-width: 100%;
    }
    
    .form-group input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .form-submit-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}



/* IMG */
.casino-features {
    padding: 60px 0;
}

.feature {
    margin-bottom: 60px;
}

.feature-title {
    font-size: 25px;
    font-weight: 500;
    color: #f5c66b;
    margin-bottom: 20px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    text-align: justify;
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
    margin-top: 20px;
}

/* Grid */
.games-grid {
    padding: 60px 0;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.game-card {
    background: #1c0d10;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 25px;
    background: linear-gradient(180deg, #cf031c 0%, #a91023 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    text-decoration: none;
    display: inline-block;
}

.game-card:hover .game-play-btn {
    opacity: 1;
}

.game-name {
    font-size: 14px;
    color: #fff;
}

/* FAQ */
.faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: #1c0d10;
    margin-bottom: 2px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(245, 198, 107, 0.05);
}

.faq-item.active .faq-question {
    background: linear-gradient(260deg, #1c0d10 0%, #37151c 100%);
}

.faq-number {
    font-size: 18px;
    font-weight: 600;
    color: #f5c66b;
    flex-shrink: 0;
}

.faq-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #f5c66b;
}

.faq-toggle {
    background: none;
    border: none;
    color: #f5c66b;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px 0 70px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 20px 70px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: #c2c2c2;
}

/* Payments */
.providers {
    padding: 60px 0;
}

.section-title-small {
    font-size: 25px;
    font-weight: 500;
    color: #c2c2c2;
    text-align: center;
    margin-bottom: 40px;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.provider-logo {
    max-width: 150px;
    height: 45px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.provider-logo:hover {
    opacity: 1;
}

/* Contact */
.contact {
    padding: 60px 0;
}

.contact-info {
    text-align: center;
    margin: 30px 0;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 10px;
}

.contact-info a {
    color: #f5c66b;
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: block;
    margin: 30px auto 0;
    border-radius: 15px;
    border: none;
}

@media (max-width: 768px) {
    .contact-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-map {
        height: 300px;
    }
}


/* Footer */
.footer {
    background-color: #080607;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #6e6e6e;
}

/* Resina */
@media (max-width: 1024px) {
    .nav {
        gap: 25px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero-background .container {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-image {
        max-width: 400px;
    }

    .games-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: nowrap;
        position: relative;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1c0d10;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        gap: 25px;
        margin: 0;
        transition: right 0.3s;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .nav.active {
        right: 0;
    }
    
    .nav a {
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(245, 198, 107, 0.1);
    }

    .auth-buttons {
        position: fixed;
        bottom: 0;
        right: -100%;
        width: 280px;
        flex-direction: column;
        padding: 20px 30px;
        background: #1c0d10;
        gap: 15px;
        transition: right 0.3s;
        z-index: 1000;
    }
    
    .auth-buttons.active {
        right: 0;
    }

    .btn-register,
    .btn-login {
        width: 100%;
        padding: 12px 20px;
    }

    .hero-background .container {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
        text-align: center;
    }

    .hero-image {
        max-width: 350px;
    }

    .btn-play {
        padding: 12px 40px;
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .info-tabs .container {
        grid-template-columns: 1fr;
    }

    .games-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .faq-question {
        padding: 15px 20px;
        gap: 15px;
    }

    .faq-number {
        font-size: 16px;
    }

    .faq-title {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px 0 55px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 15px 55px;
    }

    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 100px;
        height: 42px;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 12px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-register,
    .btn-login {
        flex: 1;
    }

    .hero-background {
        border-width: 2px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-image {
        max-width: 280px;
    }

    .section-title {
        font-size: 22px;
    }

    .feature-title {
        font-size: 20px;
    }

    .games-list {
        grid-template-columns: 1fr;
    }

    .faq-question {
        flex-wrap: wrap;
    }

    .faq-title {
        font-size: 14px;
        flex-basis: calc(100% - 80px);
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}