@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: #181C3A; /* Deep navy for text on light */
    background: #F5F6FF; /* Light lavender/gray */
}

/* Header styles */
.main-header {
    background-color: #181C3A; /* Deep navy */
    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: #fff; /* White burger */
    transition: 0.3s;
}

.login-btn {
    background-color: #23285A; /* Slightly lighter navy */
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(24,28,58,0.08);
}

.login-btn:hover {
    background-color: #30356D;
}

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

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

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

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

.mobile-menu a:hover {
    color: #FF4EB1; /* Pink accent */
}

/* Hero section */
.hero {
    background-image: url('img/wheel-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    border-radius: 1.8rem;
    margin-top: 80px;
    box-shadow: 0 14px 34px rgba(24,28,58,0.18);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24,28,58,0.78) 0%, rgba(35,40,90,0.58) 52%, rgba(255,78,177,0.28) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    right: -80px;
    top: -100px;
}

.hero-content {
    color: #fff;
    background: rgba(24,28,58,0.34);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2.1rem 2.6rem;
    border-radius: 1.2rem;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(24,28,58,0.24);
    position: relative;
    z-index: 1;
    max-width: 700px;
    font-size: 16px;
}

.hero-grid {
    width: min(1100px, 100%);
    max-width: none;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-actions .cta-button,
.hero-actions .hero-login-btn {
    min-width: 170px;
    height: 50px;
    padding: 0 1.4rem;
    margin-top: 0;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.9rem;
    color: #fff;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 10px rgba(24,28,58,0.4);
}

.hero-lead {
    color: #F5F6FF;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.55;
}

.hero-main-text {
    color: #F5F6FF;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    max-width: 95%;
}

.hero-intro p {
    margin-bottom: 0.75rem;
    color: #fff;
}

.hero-highlight {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 1.12rem;
    border-bottom: 2px solid #FF4EB1;
    padding-bottom: 0.15rem;
    margin-bottom: 0.9rem;
}

.hero-intro ul {
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none !important;
}

.hero-intro li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.45rem;
    color: #F5F6FF;
    font-size: 1.05rem;
    line-height: 1.45;
}

.hero-intro li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FF4EB1;
    font-weight: 700;
}

.cta-button {
    background-color: #FF4EB1; /* Pink accent */
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2rem;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(24,28,58,0.08);
}

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

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

.content h2 {
    color: #181C3A;
    margin: 2.2rem 0 1.2rem;
    padding-left: 0.8rem;
    border-left: 4px solid #FF4EB1;
    font-size: 1.9rem;
    letter-spacing: 0.2px;
}

.content h3 {
    color: #23285A;
    margin: 1.8rem 0 1rem;
    font-size: 1.3rem;
    border-bottom: 1px solid #E0E3F5;
    padding-bottom: 0.35rem;
}

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

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

.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: #fff;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(24,28,58,0.8);
    color: #fff;
    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: #FF4EB1;
}

.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: #E0E3F5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #FF4EB1;
}

@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: 0.85rem 1rem;
    border-radius: 0.85rem;
    margin: 1.1rem auto 0;
    max-width: 1200px;
    box-shadow: 0 2px 12px rgba(24,28,58,0.08);
}

.nav-title {
    color: #181C3A;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.nav-content {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0;
}

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

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

/* 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: 0.85rem;
        margin: 1rem;
    }
    
    .nav-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.content ul {
    list-style: none;
    margin: 0.8rem 0 1.5rem;
    padding: 0;
}

.content ol {
    margin: 1rem 0 2rem;
    padding: 0;
    list-style: none;
    counter-reset: registration-step;
}

.content li {
    margin: 0 0 0.65rem;
    padding-left: 1.4rem;
    position: relative;
}

.content ul li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #FF4EB1;
    font-size: 0.8rem;
    top: 0.3rem;
}

.content ol li {
    counter-increment: registration-step;
    padding: 0.5rem 0.75rem 0.5rem 3rem;
    margin-bottom: 0.7rem;
}

.content ol li::before {
    content: counter(registration-step);
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: #FF4EB1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* 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: linear-gradient(90deg, #181C3A 0%, #23285A 100%);
    color: #fff;
}

.games-table tbody tr:nth-child(even) {
    background-color: #FFFFFF;
}

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

/* Footer */
.site-footer {
    background-color: #23285A;
    color: #fff;
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.site-footer > div {
    flex: 1 1 220px;
}

.footer-brand img {
    width: 130px;
    height: auto;
    margin-bottom: 0.8rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.site-footer a {
    color: #F5F6FF;
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
}

.site-footer a:visited {
    color: #F5F6FF;
}

.site-footer a:hover {
    color: #FF4EB1;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.65rem 0.6rem;
        gap: 0.45rem;
    }
    .burger-menu {
        flex: 0 0 auto;
    }
    .logo {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        min-width: 0;
    }
    .logo img {
        height: 30px;
        max-width: 140px;
        object-fit: contain;
    }
    .main-header .login-btn {
        flex: 0 0 auto;
        width: auto;
        padding: 0.38rem 0.72rem;
        font-size: 0.86rem;
        line-height: 1.1;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .mobile-menu {
        top: 70px;
    }
    .hero {
        height: auto;
        min-height: unset;
        padding: 1rem;
        align-items: stretch;
        overflow: hidden;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        text-align: left;
    }
    .hero-content {
        padding: 1.5rem 1.2rem;
        width: 100%;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        width: 100%;
    }
    .hero-actions .cta-button,
    .hero-actions .hero-login-btn {
        min-width: 0;
        width: 100%;
        height: 46px;
        font-size: 1rem;
    }
    .hero-intro {
        height: auto;
        justify-content: flex-start;
    }
    .hero-intro li {
        font-size: 0.92rem;
    }
    .hero-main-text {
        font-size: 0.88rem;
        max-width: 100%;
    }
    .hero-lead {
        font-size: 0.95rem;
    }
    .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');
    }
    .site-footer {
        border-radius: 0.5rem 0.5rem 0 0;
        padding: 1.4rem 1rem;
    }
    .site-footer > div {
        flex: 1 1 100%;
    }
}

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

/* 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-question::after {
    content: "+";
    color: #FF4EB1;
    font-size: 1.25rem;
    line-height: 1;
}

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

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: "−";
}

@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.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 1rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(24,28,58,0.08);
}

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

.bonus-block h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(24,28,58,0.45);
}

.bonus-block p {
    color: #F5F6FF;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(24,28,58,0.35);
}

@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);
} 