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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #16151f;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.site-header {
    background-color: #292737;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

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

.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #78e7d6;
}

.header-online {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #78e7d6;
    font-size: 14px;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn-login {
    background-color: #78e7d6;
    color: #16151f;
}

.btn-login:hover {
    background-color: #5fd4c3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 231, 214, 0.3);
}

.btn-signup {
    background-color: #9853db;
    color: #ffffff;
}

.btn-signup:hover {
    background-color: #7d3eb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(152, 83, 219, 0.3);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    width: 28px;
    height: 3px;
    background-color: #78e7d6;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22,21,31,0.8) 0%, rgba(41,39,55,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text {
    font-size: 20px;
    color: #78e7d6;
    margin-bottom: 25px;
}

.btn-hero-cta {
    background-color: #9853db;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 18px;
}

.btn-hero-cta:hover {
    background-color: #7d3eb8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(152, 83, 219, 0.4);
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-prev, .hero-next {
    background-color: rgba(120, 231, 214, 0.8);
    color: #16151f;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-prev:hover, .hero-next:hover {
    background-color: #78e7d6;
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #78e7d6, #9853db);
    border-radius: 2px;
}

/* Jackpots Section */
.jackpots-section {
    margin-bottom: 60px;
}

.jackpots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.jackpot-card {
    background: linear-gradient(135deg, #292737 0%, #1f1e2a 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.jackpot-card:hover {
    transform: translateY(-5px);
    border-color: #78e7d6;
    box-shadow: 0 8px 24px rgba(120, 231, 214, 0.2);
}

.jackpot-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.jackpot-name {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

.jackpot-amount {
    font-size: 32px;
    font-weight: 700;
    color: #78e7d6;
    margin-bottom: 20px;
}

.btn-jackpot {
    background-color: #9853db;
    color: #ffffff;
    width: 100%;
}

/* Tournaments Section */
.tournaments-section {
    margin-bottom: 60px;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tournament-card {
    background: linear-gradient(135deg, #292737 0%, #1f1e2a 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: #9853db;
    box-shadow: 0 8px 24px rgba(152, 83, 219, 0.2);
}

.tournament-header {
    background: linear-gradient(135deg, #9853db 0%, #7d3eb8 100%);
    padding: 20px;
}

.tournament-title {
    font-size: 22px;
    color: #ffffff;
    margin: 0;
}

.tournament-body {
    padding: 25px;
}

.tournament-desc {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.tournament-prize {
    background-color: rgba(120, 231, 214, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.prize-label {
    color: #b0b0b0;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.prize-amount {
    color: #78e7d6;
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.tournament-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
}

.timer-icon {
    font-size: 20px;
}

.tournament-footer {
    padding: 0 25px 25px;
}

.btn-tournament {
    background-color: #78e7d6;
    color: #16151f;
    width: 100%;
}

/* Video Section */
.video-section {
    margin-bottom: 60px;
}

.video-wrapper {
    background: #292737;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
}

.video-wrapper iframe {
    max-width: 100%;
    border-radius: 12px;
}

/* Games Section */
.games-section {
    margin-bottom: 60px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background: #292737;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(120, 231, 214, 0.2);
}

.game-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 21, 31, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-game-play {
    background-color: #9853db;
    color: #ffffff;
    padding: 12px 30px;
}

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
}

.game-provider {
    font-size: 14px;
    color: #78e7d6;
}

/* Mini Game Section */
.minigame-section {
    margin-bottom: 60px;
}

.minigame-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.slot-machine {
    background: linear-gradient(135deg, #292737 0%, #1f1e2a 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
}

.slot-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #16151f;
    padding: 30px;
    border-radius: 12px;
}

.slot-reel {
    width: 100px;
    height: 100px;
    background-color: #292737;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 3px solid #78e7d6;
}

.slot-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #9853db 0%, #7d3eb8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slot-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(152, 83, 219, 0.4);
}

.slot-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.slot-result {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: #78e7d6;
    min-height: 80px;
}

/* Author Section */
.author-section {
    margin-bottom: 60px;
}

.author-card {
    background: #292737;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #78e7d6;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
}

.author-bio {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.7;
}

.author-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #78e7d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #5fd4c3;
}

/* Content Wrapper */
.content-wrapper {
    background: #292737;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.main-title {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.3;
}

.text-content {
    color: #e0e0e0;
    line-height: 1.8;
}

.text-content h2 {
    font-size: 28px;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content h3 {
    font-size: 22px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 12px;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul, .text-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.text-content li {
    margin-bottom: 10px;
}

.text-content table {
    width: 100%;
    margin: 25px auto;
    border-collapse: collapse;
    background-color: #1f1e2a;
    border-radius: 8px;
    overflow: hidden;
}

.text-content table th,
.text-content table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #292737;
}

.text-content table th {
    background-color: #292737;
    color: #78e7d6;
    font-weight: 600;
}

.text-content table tr:hover {
    background-color: rgba(120, 231, 214, 0.05);
}

.text-content strong {
    color: #78e7d6;
}

.text-content a {
    color: #78e7d6;
    text-decoration: underline;
}

.text-content a:hover {
    color: #9853db;
}

.game-table {
    width: 100%;
    margin: 25px auto;
    border-collapse: collapse;
    background-color: #1f1e2a;
    border-radius: 8px;
    overflow: hidden;
}

.game-table th,
.game-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #292737;
}

.game-table th {
    background-color: #292737;
    color: #78e7d6;
    font-weight: 600;
}

.game-table tr:hover {
    background-color: rgba(120, 231, 214, 0.05);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-desc {
    color: #b0b0b0;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #78e7d6;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    color: #b0b0b0;
    margin-bottom: 12px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

.footer-providers {
    margin-bottom: 40px;
}

.providers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.provider-badge {
    background-color: #1f1e2a;
    color: #78e7d6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    color: #b0b0b0;
    margin-bottom: 10px;
}

.legal-text {
    color: #78e7d6;
    font-weight: 600;
    margin-bottom: 15px;
}

.disclaimer {
    color: #999;
    font-size: 13px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sticky Widget */
.sticky-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #9853db 0%, #7d3eb8 100%);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.widget-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.widget-text {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.widget-text strong {
    font-size: 18px;
}

.widget-text span {
    font-size: 14px;
    opacity: 0.9;
}

.widget-button {
    background-color: #78e7d6;
    color: #16151f;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.widget-button:hover {
    background-color: #5fd4c3;
    transform: translateY(-2px);
}

/* Utility Classes */
.mt1 { margin-top: 10px; }
.mt2 { margin-top: 20px; }
.mt3 { margin-top: 30px; }
.mb1 { margin-bottom: 10px; }
.mb2 { margin-bottom: 20px; }
.mb3 { margin-bottom: 30px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.p05 { padding: 5px; }
.text-center { text-align: center; }

/* Responsive Design */
@media (max-width: 991px) {
    .header-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #292737;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .header-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    
    .games-grid,
    .tournaments-grid {
        overflow-x: auto;
        display: flex;
        gap: 20px;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    
    .game-card,
    .tournament-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .header-online {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .jackpots-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-display {
        gap: 10px;
        padding: 20px;
    }
    
    .slot-reel {
        width: 80px;
        height: 80px;
        font-size: 48px;
    }
    
    .widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .widget-button {
        width: 100%;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .content-wrapper {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        gap: 5px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .slot-display {
        gap: 8px;
        padding: 15px;
    }
    
    .slot-reel {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
}


/* ==========================================
   INFO PAGE (container.info) – desktop + mobile
   PUT THIS AT THE VERY END OF CSS
   ========================================== */

/* Bootstrap container conflict fix – only for this page block */
.container.info{
    width: 100%;
    max-width: 1100px;              /* компактніше для читання */
    margin: 0 auto;
    padding: 32px 20px;
    background: #1f1e2a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* typography */
.container.info p{
    font-size: 16px;
    line-height: 1.85;
    color: #e6e6e6;
    margin: 0 0 16px;
}

.container.info h1,
.container.info h2,
.container.info h3{
    color: #ffffff;
    line-height: 1.25;
    margin: 26px 0 12px;
}

.container.info h1{
    font-size: 38px;
    font-weight: 800;
}

.container.info h2{
    font-size: 26px;
    font-weight: 800;
    position: relative;
    padding-left: 12px;
}
.container.info h2::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg,#78e7d6,#9853db);
}

.container.info h3{
    font-size: 20px;
    font-weight: 700;
    color: #78e7d6;
}

/* links */
.container.info a{
    color: #78e7d6;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: 0.2s;
}
.container.info a:hover{
    color: #9853db;
}

/* lists */
.container.info ul,
.container.info ol{
    margin: 0 0 18px;
    padding-left: 22px;
}
.container.info li{
    margin: 0 0 10px;
    color: #e6e6e6;
}
.container.info ul li::marker{
    color: #78e7d6;
}

/* long words / URLs */
.container.info{
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* separators for readability (optional) */
.container.info > p:first-of-type{
    font-size: 17px;
    color: #f0f0f0;
}

/* tables inside content (if they appear) */
.container.info table{
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    background: #16151f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}
.container.info table th,
.container.info table td{
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}
.container.info table th{
    color: #78e7d6;
    font-weight: 700;
    background: rgba(120,231,214,0.08);
}
.container.info table tr:last-child td{
    border-bottom: none;
}

/* blockquote if needed */
.container.info blockquote{
    margin: 18px 0 22px;
    padding: 16px 18px;
    background: rgba(152,83,219,0.08);
    border-left: 4px solid #9853db;
    border-radius: 12px;
    color: #e9e9e9;
}

/* ==========================================
   MOBILE
   ========================================== */
@media (max-width: 768px){
    .container.info{
        padding: 18px 14px;
        border-radius: 14px;
        margin: 0 10px;
    }

    .container.info p{
        font-size: 15px;
        line-height: 1.75;
    }

    .container.info h1{
        font-size: 26px;
        margin-top: 6px;
    }

    .container.info h2{
        font-size: 20px;
        margin-top: 20px;
    }

    .container.info h3{
        font-size: 17px;
    }

    .container.info ul,
    .container.info ol{
        padding-left: 18px;
    }

    /* tables: horizontal scroll (не давимо в кашу) */
    .container.info table{
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .container.info table th,
    .container.info table td{
        white-space: normal;
        min-width: 220px; /* щоб читалось */
    }
}

@media (max-width: 480px){
    .container.info{
        margin: 0 8px;
        padding: 16px 12px;
    }
    .container.info p{ font-size: 14px; }
    .container.info h1{ font-size: 24px; }
    .container.info h2{ font-size: 19px; }
}

/* Additional unused styles for uniqueness */
.unused-wrapper-style { display: block; }
.unused-container-flex { display: flex; }
.unused-grid-layout { display: grid; }
.hidden-element-unique { visibility: hidden; }
.opacity-zero-class { opacity: 0; }
