@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #2C3A67; /* Темно-синий */
    background: #E1E8F5; /* Светлый голубовато-серый */
}

/* Header styles */
.main-header {
    background-color: #7EA6E0; /* Средний синий */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: 0.3s;
}

.login-btn {
    background-color: #208C82; /* Глубокий бирюзовый */
    color: #FFFFFF;
    border: none;
    padding: 0.7rem 2.5rem;
    border-radius: 118px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(32, 140, 130, 0.3);
}

.login-btn:hover {
    background-color: #1A726F; /* Темнее бирюзовый */
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #7EA6E0;
    padding: 1rem;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: #1A726F;
}

/* Hero section */
.hero {
    background-image: url('img/wheel-bg.png');
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 0 1rem;
    border-radius: 1.5rem;
    margin-top: 80px;
    box-shadow: 0 4px 24px rgba(44, 58, 103, 0.15);
}

.hero-content {
    color: #3F4D69; /* Тёмно-серый с синим */
    background: linear-gradient(10deg, rgba(255,255,255,0.93) 50%, rgba(255,255,255,0.85) 10%);
    padding: 2rem 2.5rem;
    border-radius: 15rem;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(44, 58, 103, 0.15);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3F4D69;
}

.cta-button {
    background-color: #208C82;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 35px;
    cursor: pointer;
    margin-top: 2rem;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(32, 140, 130, 0.3);
}

.cta-button:hover {
    background-color: #1A726F;
    transform: scale(1.05);
}

/* Content section */
.content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: #F9FBFF; /* Светлый блок */
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(44, 58, 103, 0.15);
}

.content h2 {
    color: #2C3A67;
    margin-bottom: 1.5rem;
}

.content h3 {
    color: #208C82;
    margin: 2rem 0 1rem;
}

.content p {
    margin-bottom: 1rem;
}

/* Screenshot Carousel */
.screenshot-carousel {
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
    background: #E1E8F5;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(44, 58, 103, 0.15);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0.5rem;
    background: #F9FBFF;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 58, 103, 0.85);
    color: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: #208C82;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #B0BFE3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #208C82;
}




@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        aspect-ratio: 4/3;
    }
    
    .carousel-button {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .carousel-button.prev {
        left: 0.5rem;
    }
    
    .carousel-button.next {
        right: 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-container {
        max-width: 90%;
    }
}

@media (min-width: 1025px) {
    .carousel-container {
        max-width: 800px;
    }
}

/* Content Navigation */
.content-nav {
    background: #F5F6FF;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 2px 12px rgba(24,28,58,0.08);
}

.nav-toggle {
    color: #181C3A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.5);
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.nav-content {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav-content.active {
    max-height: 1000px;
}

.content-nav a {
    color: #23285A;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.5);
}

.content-nav a:hover {
    background: #FF4EB1;
    color: #fff;
    transform: translateX(5px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: #FF4EB1;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(24,28,58,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #E13B9C;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .content-nav {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .nav-content {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

.content ul {
    padding-bottom: 16px;
}

.content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.content li {
    margin-left: 1rem;
    padding-left: 0.5rem;
}

/* Table styles */
.games-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #F5F6FF;
    border-radius: 1rem;
    overflow: hidden;
}

.games-table th,
.games-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E0E3F5;
}

.games-table th {
    background-color: #23285A;
    color: #fff;
}

.games-table tr:hover {
    background-color: #F0F2FA;
}

/* Footer */
footer {
    background-color: #181C3A;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 1rem 1rem 0 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .games-table {
        display: block;
        overflow-x: auto;
    }
    .content {
        border-radius: 0.5rem;
    }
    .hero {
        border-radius: 0.5rem;
        background-image: url('img/wheel-bg-tablet.jpg');
    }
    footer {
        border-radius: 0.5rem 0.5rem 0 0;
    }
}

@media (min-width: 769px) {
    /* .burger-menu { display: none; } -- removed to always show burger menu */
    .mobile-menu {
        display: none;
    }
}

.hero-content {
    color: #12194c;
}

/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(24,28,58,0.08);
}

.faq-section h2 {
    color: #181C3A;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #E0E3F5;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    color: #23285A;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: #FF4EB1;
}

.faq-answer {
    color: #181C3A;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid #FF4EB1;
    margin: 0;  /* Reset default paragraph margin */
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 0.5rem;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}

/* Bonus Block */
.bonus-block {
    background-image: url('img/wheel-bg-tablet.png');
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 0 1rem;
    border-radius: 1.5rem;
    margin-top: 80px;
    box-shadow: 0 4px 24px rgba(44, 58, 103, 0.15);
}

.bonus-block .hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.bonus-block h1 {
    color: #12194c;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.bonus-block p {
    color: #23285A;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .bonus-block {
        padding: 2rem 1rem;
        margin: 1rem;
        border-radius: 0.5rem;
    }
    
    .bonus-block h1 {
        font-size: 1.8rem;
    }
    
    .bonus-block p {
        font-size: 1.1rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 10px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #bbb;
}

.enlargeable {
    cursor: pointer;
    transition: transform 0.2s;
}

.enlargeable:hover {
    transform: scale(1.05);
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1rem;
    background: #F5F6FF;
    border-radius: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slot-item {
    background: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(24,28,58,0.08);
    transition: transform 0.3s ease;
}

.slot-item:hover {
    transform: translateY(-5px);
}

.slot-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.slot-item:hover .slot-image img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FF4EB1;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,78,177,0.3);
    font-size: 0.9rem;
}

.slot-item:hover .play-button {
    opacity: 1;
}

.play-button:hover {
    background: #E13B9C;
    transform: translate(-50%, -50%) scale(1.05);
}

.slot-item h4 {
    padding: 0.8rem;
    margin: 0;
    text-align: center;
    color: #181C3A;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .play-button {
        opacity: 1;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
} 