/* Home Info Container */
.home-info-container {
    background-color: #0a0a0a;
    padding: 20px 0;
}

/* Announcement Section */
.announcement-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-container [data-section="title"] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    min-width: 150px;
}

.announcement-container [data-section="title"] i[data-icon="announcement"] {
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.announcement-container [data-section="announcements"] {
    flex: 1;
    overflow: hidden;
}

.announcement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    animation: scroll-announcements 30s linear infinite;
}

.announcement-list li {
    white-space: nowrap;
    padding: 0 50px;
    color: #fff;
    font-size: 13px;
}

@keyframes scroll-announcements {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.announcement-container [data-section="date"] {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
    min-width: 180px;
    text-align: right;
}

/* Jackpot Section */
.home-inner-container {
    margin: 30px 0;
}

.home-progressive-jackpot {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.home-progressive-jackpot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    animation: shimmer-jackpot 3s infinite;
}

@keyframes shimmer-jackpot {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.home-progressive-jackpot .outer-container {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border: 3px solid #d4af37;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.home-progressive-jackpot .inner-container {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 2px solid #d4af37;
    border-radius: 45px;
    padding: 15px;
}

.home-progressive-jackpot .border-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 10px 30px;
}

.jackpot-play-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jackpot-play-section img {
    max-height: 80px;
    width: auto;
}

.jackpot-play-text {
    font-family: 'gilroybold', Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
}

.jackpot-play-text label {
    color: #4169E1;
    margin-left: 5px;
}

.jackpot-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jackpot-inner-container {
    width: 100%;
    max-width: 600px;
}

.jackpot-border-container {
    background: linear-gradient(135deg, #000, #1a1a1a);
    border: 3px solid #d4af37;
    border-radius: 30px;
    padding: 20px 40px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.jackpot-border-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 30px;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.jackpot-currency {
    font-family: 'Open24DisplaySt', Arial, sans-serif;
    font-size: 28px;
    color: #d4af37;
    font-weight: bold;
    margin-right: 15px;
}

#progressive_jackpot {
    font-family: 'Open24DisplaySt', Arial, sans-serif;
    font-size: 48px;
    color: #f4d03f;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(244, 208, 63, 0.8);
    letter-spacing: 3px;
}

/* Game Populer Section */
.popular-game-title-container {
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 20px;
}

.popular-game-title-container .container-title {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    padding: 12px 40px 12px 30px;
    display: inline-block;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-right: none;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
}

.popular-game-title-container .container-title::after {
    display: none;
}

.popular-game-title-container .container-title span {
    font-size: 18px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        1px 1px 0 rgba(255, 255, 255, 0.6),
        -1px -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.popular-game-title-container .container-content {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 2px solid #d4af37;
    border-radius: 0 15px 15px 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.popular-game-title-container .container-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.games-group {
    display: contents;
}

.game-item {
    position: relative;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.game-item:hover::before {
    opacity: 1;
}

.game-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 0.6);
}

.game-item .wrapper-container {
    position: relative;
    overflow: hidden;
    background: #000;
}

.game-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.game-item:hover img {
    transform: scale(1.1);
}

.game-item .link-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-item .wrapper-container:hover .link-container {
    opacity: 1;
}

.game-item .play-now {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #000;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.game-item .play-now::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.game-item .play-now:hover::before {
    width: 300px;
    height: 300px;
}

.game-item .play-now:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.8);
}

.game-item .game-name {
    text-align: center;
    padding: 15px 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.game-item:hover .game-name {
    color: #d4af37;
    border-top-color: rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .jackpot-border-container {
        padding: 15px 30px;
    }
    
    #progressive_jackpot {
        font-size: 36px;
    }
    
    .jackpot-currency {
        font-size: 24px;
    }
    
    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .announcement-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .announcement-container [data-section="title"],
    .announcement-container [data-section="date"] {
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    .home-progressive-jackpot .border-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .jackpot-play-text {
        font-size: 24px;
    }
    
    #progressive_jackpot {
        font-size: 28px;
    }
    
    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .popular-game-title-container .container-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .game-item img {
        height: 140px;
    }
    
    .game-item .play-now {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .popular-game-title-container {
        padding: 0 10px;
    }
    
    .popular-game-title-container .container-title {
        padding: 10px 30px 10px 20px;
        clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
    }
    
    .popular-game-title-container .container-title span {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .popular-game-title-container .container-content {
        padding: 25px 15px;
    }
    
    .game-item .game-name {
        font-size: 12px;
        padding: 12px 8px;
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .game-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .game-item img {
        height: 120px;
    }
    
    .game-item .play-now {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .popular-game-title-container .container-title {
        padding: 8px 25px 8px 15px;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
    }
    
    .popular-game-title-container .container-title span {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .popular-game-title-container .container-content {
        padding: 20px 10px;
    }
}

@media (min-width: 1400px) {
    .game-list {
        grid-template-columns: repeat(6, 1fr);
        gap: 35px;
    }
    
    .game-item img {
        height: 220px;
    }
}
