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

body {
    font-family: 'Arial', sans-serif;
    background: #171a20;
    color: #ffffff;
    line-height: 1.6;
}

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

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #171a20;
    padding: 12px 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

.mobile-header .logo a {
    color: #fef34b;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.mobile-auth-buttons {
    display: flex;
    gap: 8px;
}

.mobile-auth-buttons .btn-login,
.mobile-auth-buttons .btn-register {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.mobile-auth-buttons {
    display: none;
}

.desktop-header {
    background: #171a20;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo a {
    color: #fef34b;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: #fef34b;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fef34b;
    transition: 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

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

.btn-login,
.btn-register {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login {
    background: #ee5e58;
    border: none;
    color: #ffffff;
}

.btn-login:hover {
    background: #d94d47;
    transform: translateY(-2px);
}

.btn-register {
    background: #fef34b;
    color: #171a20;
    border: none;
    font-weight: 900;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 243, 75, 0.4);
    background: #ede23a;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: #1f2229;
    z-index: 999;
    transition: 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.mobile-menu nav a:hover {
    background: rgba(254, 243, 75, 0.1);
    color: #fef34b;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 20px;
}

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

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 26, 32, 0.7);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-size: 64px;
    font-weight: bold;
    color: #fef34b;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    line-height: 1.2;
}

.bonus-text {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ffffff;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #fef34b;
    color: #171a20;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 900;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(254, 243, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(254, 243, 75, 0.5);
    background: #ede23a;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(254, 243, 75, 0.3);
    border: none;
    color: #fff;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: rgba(254, 243, 75, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #fef34b;
    width: 30px;
    border-radius: 6px;
}

.popular-games {
    padding: 80px 0;
}

.popular-games h2 {
    text-align: center;
    font-size: 42px;
    color: #fef34b;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.game-card {
    background: #1f2229;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(254, 243, 75, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    color: #fef34b;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.btn-play,
.btn-demo {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-play {
    background: #fef34b;
    color: #171a20;
    font-weight: 900;
}

.btn-play:hover {
    box-shadow: 0 5px 15px rgba(254, 243, 75, 0.4);
    background: #ede23a;
}

.btn-demo {
    background: transparent;
    border: 2px solid #ee5e58;
    color: #ee5e58;
}

.btn-demo:hover {
    background: #ee5e58;
    color: #ffffff;
}

.slottyway-content {
    padding: 80px 0;
    background: #1f2229;
}

.slottyway-content article {
    background: #2a2d35;
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(254, 243, 75, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slottyway-content h2 {
    color: #fef34b;
    font-size: 42px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #fef34b;
    padding-bottom: 15px;
}

.slottyway-content h3 {
    color: #fef34b;
    font-size: 32px;
    margin: 40px 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slottyway-content p {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.slottyway-content ul,
.slottyway-content ol {
    margin: 20px 0 20px 40px;
}

.slottyway-content li {
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.slottyway-content strong {
    color: #fef34b;
    font-weight: bold;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Custom Content Section */
.custom-content {
    padding: 80px 0;
    background: #1f2229;
}

.content-wrapper {
    background: #2a2d35;
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px dashed rgba(254, 243, 75, 0.3);
    text-align: center;
}

.content-wrapper h2 {
    font-size: 42px;
    color: #fef34b;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-wrapper p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: #fef34b;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-wrapper h1 { font-size: 48px; }
.content-wrapper h2 { font-size: 42px; }
.content-wrapper h3 { font-size: 36px; }
.content-wrapper h4 { font-size: 30px; }
.content-wrapper h5 { font-size: 24px; }
.content-wrapper h6 { font-size: 20px; }

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    text-align: left;
    margin: 20px 0;
    padding-left: 40px;
}

.content-wrapper li {
    margin-bottom: 10px;
    color: #cccccc;
}

.content-wrapper a {
    color: #fef34b;
    text-decoration: none;
    transition: 0.3s;
}

.content-wrapper a:hover {
    color: #ee5e58;
    text-decoration: underline;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
}

.content-wrapper blockquote {
    border-left: 4px solid #fef34b;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #cccccc;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.content-wrapper table th,
.content-wrapper table td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.content-wrapper table th {
    background: #1f2229;
    color: #fef34b;
    font-weight: bold;
}

.content-wrapper table tr:hover {
    background: rgba(254, 243, 75, 0.05);
}

.content-wrapper code {
    background: #1f2229;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fef34b;
    font-family: monospace;
}

.content-wrapper pre {
    background: #1f2229;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.content-wrapper pre code {
    background: none;
    padding: 0;
}

footer {
    background: #0f1116;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    color: #fef34b;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    line-height: 2;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #fef34b;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
}

.sticky-mobile-auth {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #171a20;
    padding: 10px 15px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    gap: 10px;
}

.sticky-login,
.sticky-register {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.sticky-login {
    background: #ee5e58;
    color: #ffffff;
}

.sticky-login:hover {
    background: #d94d47;
}

.sticky-register {
    background: #fef34b;
    color: #171a20;
    font-weight: 900;
}

.sticky-register:hover {
    background: #ede23a;
}

@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .sticky-mobile-auth {
        display: flex;
    }

    body {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-slider {
        height: 400px;
        margin-top: 0;
    }

    .slide-content h1 {
        font-size: 36px;
    }
    
    .slottyway-content article {
        padding: 40px 20px;
    }
    
    .slottyway-content h2 {
        font-size: 32px;
    }
    
    .slottyway-content h3 {
        font-size: 26px;
    }
    
    .slottyway-content p,
    .slottyway-content li {
        font-size: 16px;
    }

    .bonus-text {
        font-size: 18px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .popular-games h2,
    .slottyway-content h2,
    .promotions h2,
    .live-casino h2 {
        font-size: 32px;
    }

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

    .promo-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 28px;
    }

    .bonus-text {
        font-size: 16px;
    }

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