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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #171a20;
    color: #ffffff;
    line-height: 1.6;
}

.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    z-index: 1000;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

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

.hamburger .line {
    width: 28px;
    height: 3px;
    background: #fef34b;
    border-radius: 3px;
    transition: 0.3s;
}

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

.mobile-logo-img {
    height: 35px;
    width: auto;
}

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

.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1f2229 0%, #171a20 100%);
    z-index: 1001;
    transition: 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 255, 0, 0.2);
}

.sidebar-header h2 {
    color: #fef34b;
    font-size: 24px;
}

.close-sidebar {
    background: none;
    border: none;
    color: #fef34b;
    font-size: 32px;
    cursor: pointer;
    transition: 0.3s;
}

.close-sidebar:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(212, 255, 0, 0.1);
    border-left-color: #fef34b;
    color: #fef34b;
}

.nav-item .icon {
    font-size: 24px;
}

.desktop-header {
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

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

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

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

.desktop-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
    padding: 5px 0;
}

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

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

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

.header-right {
    display: flex;
    gap: 15px;
}

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

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

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

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

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

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2d35 0%, #171a20 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

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

.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-badge {
    display: inline-block;
    background: rgba(212, 255, 0, 0.2);
    color: #fef34b;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid #fef34b;
}

.banner-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #ffffff;
}

.banner-content .highlight {
    color: #fef34b;
    font-size: 72px;
    display: block;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #cccccc;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 243, 75, 0.6);
    background: #ede23a;
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

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

.indicator.active {
    background: #fef34b;
    width: 35px;
    border-radius: 6px;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
    border: 1px solid rgba(212, 255, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 255, 0, 0.2);
}

.stat-icon {
    font-size: 48px;
}

.stat-info h3 {
    font-size: 32px;
    color: #fef34b;
    margin-bottom: 5px;
}

.stat-info p {
    color: #cccccc;
    font-size: 14px;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    color: #fef34b;
}

.view-all {
    color: #fef34b;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.view-all:hover {
    color: #ede23a;
}

/* Featured Games */
.featured-games {
    margin-bottom: 60px;
}

.games-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.game-item {
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(212, 255, 0, 0.1);
}

.game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212, 255, 0, 0.3);
}

.game-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.game-item:hover .game-thumb img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: 0.3s;
}

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

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

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

.play-btn:hover {
    background: #ede23a;
}

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

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

.game-title {
    padding: 15px;
    color: #fef34b;
    font-weight: bold;
    font-size: 16px;
}

.game-provider {
    padding: 0 15px 15px;
    color: #999;
    font-size: 13px;
}

/* Bonus Packages */
.bonus-packages {
    margin-bottom: 60px;
}

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

.bonus-box {
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    border: 2px solid rgba(212, 255, 0, 0.2);
    position: relative;
}

.bonus-box.featured {
    border-color: #fef34b;
    transform: scale(1.05);
}

.bonus-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, #fef34b 0%, #ede23a 100%);
    color: #171a20;
    padding: 5px 20px;
    font-size: 12px;
    font-weight: 900;
    transform: rotate(5deg);
}

.bonus-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(212, 255, 0, 0.3);
}

.bonus-header {
    margin-bottom: 20px;
}

.bonus-label {
    background: rgba(212, 255, 0, 0.2);
    color: #fef34b;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}

.bonus-amount {
    font-size: 64px;
    color: #fef34b;
    font-weight: bold;
    margin-bottom: 20px;
}

.bonus-details {
    margin-bottom: 25px;
}

.bonus-details p {
    color: #cccccc;
    margin-bottom: 8px;
}

.bonus-claim {
    display: inline-block;
    padding: 15px 40px;
    background: #ee5e58;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 900;
    transition: 0.3s;
}

.bonus-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238, 94, 88, 0.5);
    background: #d94d47;
}

/* Live Section */
.live-section {
    margin-bottom: 60px;
}

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

.live-card {
    position: relative;
    background: linear-gradient(135deg, #1f2229 0%, #171a20 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(212, 255, 0, 0.2);
}

.live-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(212, 255, 0, 0.3);
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff0000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
    animation: pulse 2s infinite;
}

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

.live-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.live-info {
    padding: 25px;
}

.live-info h3 {
    color: #fef34b;
    font-size: 24px;
    margin-bottom: 10px;
}

.live-info p {
    color: #999;
    margin-bottom: 20px;
}

.join-btn {
    display: block;
    padding: 12px;
    background: #fef34b;
    color: #171a20;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 900;
    transition: 0.3s;
}

.join-btn:hover {
    box-shadow: 0 5px 20px rgba(254, 243, 75, 0.5);
    background: #ede23a;
}

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

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

.tournament-card {
    background: linear-gradient(135deg, #2a2d35 0%, #1f2229 100%);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #fef34b;
    transition: 0.3s;
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(212, 255, 0, 0.4);
}

.tournament-prize {
    font-size: 48px;
    color: #fef34b;
    font-weight: bold;
    margin-bottom: 15px;
}

.tournament-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.tournament-time {
    color: #fef34b;
    font-weight: bold;
    margin-bottom: 25px;
}

.tournament-join {
    display: inline-block;
    padding: 15px 40px;
    background: #fef34b;
    color: #171a20;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 900;
    transition: 0.3s;
}

.tournament-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(254, 243, 75, 0.5);
    background: #ede23a;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #171a20 0%, #050b14 100%);
    padding: 60px 30px 30px;
    margin-top: 80px;
}

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

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

.footer-logo {
    margin-bottom: 20px;
}

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

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

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

.footer-col 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: #999;
}

/* Floating Action Buttons */
.fab-container {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.fab span {
    font-size: 11px;
    text-align: center;
}

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

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

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(254, 243, 75, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .desktop-header {
        display: none;
    }

    .mobile-top-bar {
        display: flex;
    }

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

    .fab-container {
        display: flex;
    }

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

@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }

    .banner-slide {
        padding: 30px 20px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content .highlight {
        font-size: 48px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

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

    .tournament-list {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .games-carousel {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content .highlight {
        font-size: 36px;
    }
}
/* Custom Content Section */
.custom-content {
    margin-bottom: 60px;
}

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

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

/* Styles for custom content tags */
.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: #171a20;
    color: #fef34b;
    font-weight: bold;
}

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

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

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

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