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

/* Custom Fonts */
@font-face {
    font-family: 'digital_sans_ef_medium';
    font-display: swap;
    src: url('../fonts/digital_sans_ef_medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gilroybold';
    font-display: swap;
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open24DisplaySt';
    font-display: swap;
    src: url('../fonts/Open24DisplaySt.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    font-display: swap;
    src: url('../fonts/glyphicons-halflings-regular.woff') format('woff');
}

body {
    font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #050505 0%, #940000 100%);
    color: #fff;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

/* Container with spacing */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-bar-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.top-bar-btn:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.btn-login {
    background: transparent;
    border: 1px solid #fa0000;
    color: #fc0000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-register {
    background: linear-gradient(135deg, #e61f1f, #c428d9);
    border: none;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ea7a7a, #ed3a3a);
}

/* Header */
.main-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    height: 100px;
    width: auto;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #999;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
}

.nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
    background-image: url('../images/assets/icon_nav.png');
    background-size: 32px 493px;
    background-repeat: no-repeat;
}

/* Icon positions - 32x493px scaled sprite, ~45px per icon */
.nav-item[data-icon-index="0"] .nav-icon {
    background-position: center 2px;
}

.nav-item[data-icon-index="1"] .nav-icon {
    background-position: center -31px;
}

.nav-item[data-icon-index="2"] .nav-icon {
    background-position: center -112px;
}

.nav-item[data-icon-index="3"] .nav-icon {
    background-position: center -151px;
}

.nav-item[data-icon-index="4"] .nav-icon {
    background-position: center -193px;
}

.nav-item[data-icon-index="5"] .nav-icon {
    background-position: center -238px;
}

.nav-item[data-icon-index="6"] .nav-icon {
    background-position: center -285px;
}

.nav-item[data-icon-index="7"] .nav-icon {
    background-position: center -325px;
}

.nav-item[data-icon-index="8"] .nav-icon {
    background-position: center -360px;
}

.nav-item[data-icon-index="9"] .nav-icon {
    background-position: center -405px;
}

.nav-item[data-icon-index="10"] .nav-icon {
    background-position: center -445px;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    background-color: rgba(246, 92, 92, 0.3);
}

/* Banner Section */
.banner-section {
    margin: 20px 0;
}

.banner-single {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.banner-single img {
    width: 2000px;
    height: 600px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 840px) {
    .banner-single img {
        width: 100%;
        height: auto;
    }
}

/* Announcement */
.announcement-section {
    margin: 20px 0;
}

.announcement-bar {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.announcement-icon {
    color: #ffd000;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.announcement-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-scroll {
    display: inline-block;
}

.announcement-list {
    display: inline-flex;
    gap: 50px;
    animation: scroll-news 30s linear infinite;
    list-style: none;
}

.announcement-list li {
    font-size: 13px;
    color: #ccc;
    white-space: nowrap;
}

@keyframes scroll-news {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-date {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

/* Jackpot with Background Image */
.jackpot-section {
    margin: 30px 0;
}

.jackpot-wrapper {
    position: relative;
}

.jackpot-display {
    background-image: url('https://via.placeholder.com/1400x120/2d2010/d4a574?text=Jackpot+Background');
    background-size: cover;
    background-position: center;
    border: 3px solid #d40000;
    border-radius: 50px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(201, 57, 57, 0.4);
    position: relative;
}

.jackpot-logo {
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

.jp-orange {
    color: #ff6b00;
}

.jp-cyan {
    color: #00d9ff;
}

.jackpot-number-wrapper {
    background: rgba(0, 0, 0, 0.8);
    border: 0.5px solid #db0000;
    border-radius: 30px;
    padding: 8px 100px;
    z-index: 2;
}

.jackpot-amount {
    font-family: 'Open24DisplaySt', 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    letter-spacing: 2px;
}

/* Section Header */
.section-header {
    background: linear-gradient(90deg, #c41f1f 0%, rgba(196, 148, 31, 0) 100%);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Popular Games Slider */
.popular-games-section {
    margin: 30px 0;
}

.games-slider-wrapper {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.8);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: rgb(246, 205, 92);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

.games-slider {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    overflow: hidden;
}

.game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background: rgba(0, 0, 0, 0.4);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.game-play-btn {
    background: linear-gradient(135deg, #ff0000, #ff6a6a);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.game-name {
    padding: 8px;
    font-size: 11px;
    text-align: center;
    color: #ccc;
}

/* 3 Column Layout */
.three-column-section {
    margin: 40px 0;
}

.three-column-grid {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 20px;
}

/* Winners Column */
.winners-column {
    min-width: 0;
}

.winners-section {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    position: sticky;
    top: 20px;
}

.winners-title {
    color: #fffb00;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 8px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.winner-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f65c5c, #d92828);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.winner-info {
    flex: 1;
    min-width: 0;
}

.winner-name {
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-amount {
    font-size: 11px;
    color: #ffd700;
}

.winner-game {
    font-size: 10px;
    color: #999;
}

/* Center Column */
.center-column {
    min-width: 0;
}

.provider-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.provider-tab {
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.provider-tab:hover,
.provider-tab.active {
    background: rgba(241, 92, 246, 0.3);
}

.provider-tab img {
    height: 30px;
    width: auto;
}

.provider-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Hero Column */
.hero-column {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: grayscale(50%);
}

.hero-image:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Sportsbook */
.sportsbook-section {
    margin: 40px 0;
}

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

.match-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.team-name {
    font-size: 12px;
    font-weight: bold;
}

.match-time {
    text-align: center;
}

.match-date {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
}

.match-hour {
    font-size: 11px;
    color: #999;
}

/* Download App */
.download-section {
    margin: 40px 0;
}

.download-content {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.download-text h2 {
    font-size: 65px;
    margin-bottom: 10px;
}

.download-text h2 span {
    color: #f65c5c;
}

.download-text p {
    color: #999;
    margin-bottom: 25px;
}

.download-qr-section {
    display: flex;
    gap: 20px;
    align-items: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.qr-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.qr-guide-btn {
    background: #ff0000;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.qr-note {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

.download-phone img {
    max-width: 100%;
    width: 1000px;
    height: auto;
}


/* Scroll Animation Classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-left.active,
.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Telegram Banner */
.telegram-banner {
    margin: 30px 0;
}

.telegram-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 20px;
}

.telegram-cta-btn {
    background: linear-gradient(135deg, #e1c441 0%, #e6c403 100%);
    color: #660404;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 188, 65, 0.4);
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

.telegram-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 222, 65, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .three-column-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-column {
        display: none;
    }
    
    .games-slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 20px;
        overflow-x: auto;
    }
    
    .games-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .provider-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
}

/* SEO Content Section */
.seo-content {
    margin: 40px 0;
}

.seo-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

.seo-container h1 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.seo-container p {
    font-size: 13px;
    line-height: 1.8;
    color: #999;
}

.seo-container strong {
    color: #ffd900;
}
 
/* Features Section */
.features-section {
    margin: 40px 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
}

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

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-content h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.feature-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.feature-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 6px;
}

.feature-item strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}

.feature-time {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.feature-time span {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
}

.feature-label {
    font-size: 11px;
    color: #666;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-list strong {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 5px;
}

.feature-list p {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
}

.contact-info {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 24px;
    margin-right: 10px;
    
}

.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(100%);
}

.contact-icon img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-detail {
    font-size: 13px;
    color: #fff;
}

.social-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 10px;
    filter: grayscale(70%);
}

.social-icon:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Provider Platform Section */
.provider-platform-section {
    margin: 40px 0;
}

.provider-platform-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

.platform-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}

.provider-category {
    margin-bottom: 30px;
}

.provider-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 20px;
}

.provider-logo {
    width: 60px;
    height: 60px;
    background-image: url('../images/assets/icon_menu.png');
    background-size: 120px auto;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.provider-logo:hover {
    opacity: 1;
    background-position-x: -60px !important;
}

/* Certification Section */
.certification-section {
    margin: 40px 0 20px;
}

.certification-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.cert-block h4 {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.cert-logo img,
.cert-logos img,
.browser-icons img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s;
}

.cert-logos,
.browser-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cert-logo img:hover,
.cert-logos img:hover,
.browser-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Final Footer */
.final-footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand-logos {
    text-align: center;
    margin-bottom: 20px;
}

.footer-brand-logo {
    height: 50px;
    width: auto;
}

.footer-icons {
    text-align: center;
    margin-bottom: 20px;
    filter: grayscale(100%);
}

.footer-icons img:hover{
    filter: grayscale(0%);
    opacity: 1;
}

.footer-icon-strip {
    height: 40px;
    width: auto;
    opacity: 0.6;
}

.copyright {
    font-size: 11px;
    color: #666;
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .certification-container {
        grid-template-columns: 1fr;
    }
    
    .provider-logos {
        justify-content: center;
    }
}