*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a2e;
}

a {
    color: #1859a3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #748be0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.clear {
    clear: both;
}

#top {
    background: #1a1a2e;
}

#branding {
    padding: 15px 0;
}

#branding .content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

#header_content {
    padding: 20px 0;
}

.header_logo {
    text-align: center;
}

.header_logo a {
    display: inline-block;
}

.header_logo img {
    max-height: 80px;
    margin: 0 auto;
}

#access {
    background: #16213e;
    border-top: 1px solid #0f3460;
    border-bottom: 1px solid #0f3460;
}

#access .container {
    max-width: 1140px;
    margin: 0 auto;
}

#primary-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#primary-menu li {
    position: relative;
}

#primary-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

#primary-menu > li > a:hover {
    background: #0f3460;
    color: #748be0;
}

#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #16213e;
    min-width: 200px;
    list-style: none;
    z-index: 100;
    border: 1px solid #0f3460;
}

#primary-menu li:hover .sub-menu {
    display: block;
}

#primary-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 13px;
}

#primary-menu .sub-menu a:hover {
    background: #0f3460;
}

.responsive-nav {
    display: none;
}

.tb-jump-menu {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background: #16213e;
    color: #fff;
    cursor: pointer;
}

.tb-jump-menu:focus {
    outline: none;
    border-color: #748be0;
}

#main {
    padding: 20px 15px;
}

.main-content {
    max-width: 1140px;
    margin: 0 auto;
}

#main_h1 {
    background: #f5f5f5;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    font-size: 1.8em;
    text-align: center;
    color: #333;
}

#game-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

#game-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 728px;
}

#versions_buttons {
    margin-bottom: 10px;
}

.versionbutton {
    padding: 10px 20px;
    margin-right: 5px;
    border: 1px solid #1859a3;
    background: #fff;
    color: #1859a3;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.versionbutton.active {
    background: #1859a3;
    color: #fff;
}

.versionbutton:hover {
    background: #748be0;
    color: #fff;
    border-color: #748be0;
}

#game-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

#main_game {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.sidebar-casinos {
    flex: 0 0 280px;
    max-width: 280px;
}

.sidebar-title {
    text-align: center;
    font-size: 13px;
    color: #1859a3;
    font-weight: bold;
    margin-bottom: 5px;
}

.sidebar-text {
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.divider {
    height: 1px;
    background: #eaeaea;
    margin: 15px 0;
}

#casinoslist {
    margin-top: 10px;
}

.casino-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

.casino-item img {
    max-width: 120px;
    height: auto;
}

.casino-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.btn-novoline {
    background: #1859a3;
    border: 1px solid #748be0;
}

.btn-novoline:hover {
    background: #748be0;
    color: #fff;
}

.btn-bonus {
    background: #1859a3;
    border: 1px solid #748be0;
}

.btn-bonus:hover {
    background: #748be0;
    color: #fff;
}

h2 {
    font-size: 1.6em;
    margin: 30px 0 15px 0;
    color: #333;
}

p {
    text-align: justify;
    margin-bottom: 15px;
}

.section-divider {
    text-align: center;
    margin: 40px 0 10px 0;
}

.section-divider img {
    max-width: 100%;
    display: inline-block;
}

.section-title {
    text-align: center;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
    padding-top: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #555;
}

.subsection-title {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 30px 0 20px 0;
    color: #333;
}

.games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-card {
    width: 400px;
    max-width: 100%;
    padding: 15px;
    text-align: center;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #fafafa;
}

.game-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.game-card img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 15px auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.game-card img:hover {
    transform: scale(1.03);
}

.game-card p {
    text-align: justify;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.play-link {
    display: inline-block;
    font-size: 1.4em;
    font-weight: bold;
    color: #1859a3;
    margin-top: 10px;
}

.play-link:hover {
    color: #748be0;
}

.slots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.slot-item {
    width: 140px;
    text-align: center;
}

.slot-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slot-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slot-title {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.slot-title a {
    color: #333;
}

.slot-title a:hover {
    color: #1859a3;
}

.more-link {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    margin: 30px 0;
}

.more-link a {
    color: #1859a3;
}

.more-link a:hover {
    color: #748be0;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text p {
    text-align: justify;
    margin-bottom: 10px;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.faq {
    margin: 40px 0;
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item dt {
    background: #f5f5f5;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 16px;
    color: #1859a3;
    cursor: pointer;
    position: relative;
}

.faq-item dt:hover {
    background: #eaeaea;
}

.faq-item dd {
    margin: 0;
    padding: 15px 20px;
    background: #fff;
    line-height: 1.7;
}

.faq-item dd span {
    display: block;
}

#footer {
    background: #1a1a2e;
    padding: 25px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

.copyright a {
    color: #748be0;
}

.copyright a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    #primary-menu {
        display: none;
    }
    
    .responsive-nav {
        display: block;
        padding: 10px 15px;
    }
    
    .responsive-nav select {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
    
    #game-section {
        flex-direction: column;
    }
    
    .sidebar-casinos {
        max-width: 100%;
        flex: 1;
    }
    
    #versions_buttons {
        display: none;
    }
}

@media (max-width: 600px) {
    .slot-item {
        width: 100px;
    }
    
    .slot-title {
        font-size: 11px;
    }
    
    .info-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-text p {
        text-align: left;
    }
    
    .faq-item dt {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .faq-item dd {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .game-card {
        width: 100%;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .game-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .slot-item {
        width: 80px;
    }
}