/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0c1a3a 0%, #152642 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #4cc9f0 0%, #3a8fb7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #4cc9f0;
    color: #4cc9f0;
}

.btn-secondary:hover {
    background: rgba(76, 201, 240, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4cc9f0;
    color: #4cc9f0;
}

.btn-outline:hover {
    background: #4cc9f0;
    color: white;
}

.btn-large {
    padding: 18px 30px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 10px 0;
    text-align: center;
    position: relative;
    animation: pulse-banner 2s infinite;
}

@keyframes pulse-banner {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.banner-text {
    font-weight: 700;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a3357 0%, #0d1f3d 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(76, 201, 240, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: #fff;
}

/* Auth Modal */
.auth-tabs {
    display: flex;
    background: rgba(13, 31, 61, 0.8);
    border-radius: 15px 15px 0 0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: #a0aec0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #4cc9f0;
    background: rgba(76, 201, 240, 0.1);
    border-bottom: 2px solid #4cc9f0;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #f7fafc;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #e2e8f0;
}

.form-group input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4cc9f0;
    box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #4cc9f0;
    text-decoration: none;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
    background: #1a3357;
    padding: 0 15px;
    color: #a0aec0;
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-telegram {
    background: #0088cc;
    color: white;
}

/* Image Popup Modal */
.image-modal {
    max-width: 500px;
}

.popup-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.popup-content {
    padding: 25px;
    text-align: center;
}

.popup-content h3 {
    color: #4cc9f0;
    margin-bottom: 10px;
    font-size: 22px;
}

.popup-content p {
    color: #a0aec0;
    margin-bottom: 20px;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #0d1f3d 0%, #1a3357 100%);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #4cc9f0;
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.5);
}

.logo-text span {
    font-size: 12px;
    color: #a0aec0;
    display: block;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

.rating-text {
    font-weight: 600;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-login {
    background: transparent;
    border: 2px solid #4cc9f0;
    color: #4cc9f0;
}

.btn-register {
    background: #4cc9f0;
    color: white;
}

.btn-login:hover {
    background: rgba(76, 201, 240, 0.1);
}

.btn-register:hover {
    background: #3a8fb7;
    transform: translateY(-2px);
}

/* Navigation */
nav {
    background: rgba(13, 31, 61, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4cc9f0;
    background: rgba(76, 201, 240, 0.1);
}

/* ==================== */
/* FIXED BANNER STYLES */
/* ==================== */
.main-banner {
    position: relative;
    margin-bottom: 40px;
}

.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 3;
}

.banner-overlay h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-overlay p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 4;
}

.banner-prev, .banner-next {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(76, 201, 240, 0.8);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 4;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: #4cc9f0;
    transform: scale(1.2);
}

/* Fallback untuk gambar yang tidak ditemukan */
.banner-slide img.error {
    background: linear-gradient(45deg, #1a3357 25%, transparent 25%), 
                linear-gradient(-45deg, #1a3357 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #1a3357 75%), 
                linear-gradient(-45deg, transparent 75%, #1a3357 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230c1a3a"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%231a3357" stroke-width="1"/></svg>');
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #f7fafc;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffc107;
}

.rating-stars {
    color: #ffc107;
}

.rating-time {
    font-size: 14px;
    color: #a0aec0;
}

.provider-badge {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.provider-name {
    font-weight: 600;
    font-size: 18px;
}

.provider-year {
    font-size: 14px;
    color: #a0aec0;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #a0aec0;
}

.feature i {
    color: #4cc9f0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.hero-image {
    flex-shrink: 0;
}

.slot-machine {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #4cc9f0;
    position: relative;
    overflow: hidden;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(76, 201, 240, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.slot-reel {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.slot-symbol {
    width: 30%;
    background: #e2e8f0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2d3748;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    animation: spin 0.5s ease-out;
}

@keyframes spin {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(13, 31, 61, 0.5);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f7fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(26, 51, 87, 0.7);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #4cc9f0;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #f7fafc;
}

.feature-card p {
    color: #a0aec0;
}

/* Games Preview Section */
.games-preview {
    padding: 80px 0;
    background: rgba(13, 31, 61, 0.3);
}

.games-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f7fafc;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: rgba(26, 51, 87, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-card h4 {
    padding: 1rem;
    margin: 0;
    color: #f7fafc;
}

.game-card span {
    display: block;
    padding: 0 1rem 1rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: 40px 0;
    background: rgba(13, 31, 61, 0.5);
}

.pricing-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(26, 51, 87, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.price-old {
    font-size: 18px;
    color: #a0aec0;
    text-decoration: line-through;
}

.price-new {
    font-size: 32px;
    font-weight: 700;
    color: #4cc9f0;
}

.vouchers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.voucher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 8px;
    border-left: 4px solid #4cc9f0;
}

.voucher-name {
    font-weight: 500;
}

.voucher-discount {
    font-weight: 700;
    color: #4cc9f0;
}

.package-deal, .guarantee, .jam-operasional {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.package-deal h3, .guarantee h3, .jam-operasional h3 {
    margin-bottom: 8px;
    color: #4cc9f0;
    font-size: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #4cc9f0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity {
    font-weight: 700;
    font-size: 18px;
}

.product-code {
    font-weight: 700;
    color: #4cc9f0;
}

.cart-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.voucher-input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.voucher-input::placeholder {
    color: #a0aec0;
}

.additional-info {
    display: flex;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #a0aec0;
}

.info-item i {
    color: #4cc9f0;
}

/* Store Info Section */
.store-info {
    padding: 40px 0;
    background: rgba(13, 31, 61, 0.7);
}

.store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.store-header h2 {
    font-size: 28px;
    color: #4cc9f0;
}

.online-badge {
    background: #10b981;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.store-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(26, 51, 87, 0.7);
    border-radius: 10px;
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #4cc9f0;
}

/* Product Specification */
.product-specs {
    padding: 40px 0;
}

.product-specs h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #f7fafc;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(26, 51, 87, 0.7);
    border-radius: 8px;
}

.spec-label {
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    color: #4cc9f0;
}

.available {
    color: #10b981 !important;
}

/* Product Description */
.product-description {
    padding: 40px 0;
    background: rgba(13, 31, 61, 0.5);
}

.product-description h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #f7fafc;
}

.voucher-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.voucher-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 8px;
    border-left: 4px solid #4cc9f0;
}

.voucher-title {
    font-weight: 700;
    color: #4cc9f0;
}

.voucher-desc {
    font-size: 14px;
    color: #a0aec0;
}

.voucher-code {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.voucher-code:hover {
    background: rgba(76, 201, 240, 0.2);
}

.product-features {
    background: rgba(26, 51, 87, 0.7);
    padding: 20px;
    border-radius: 10px;
}

.product-features h3 {
    margin-bottom: 15px;
    color: #4cc9f0;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Reviews Section */
.reviews {
    padding: 40px 0;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #f7fafc;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #ffc107;
}

.rating-out-of {
    font-size: 18px;
    color: #a0aec0;
    margin-bottom: 10px;
}

.rating-breakdown {
    max-width: 500px;
    margin: 0 auto 40px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    width: 80px;
    font-size: 14px;
}

.bar-container {
    flex-grow: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 0 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 5px;
}

.rating-bar span:last-child {
    width: 50px;
    text-align: right;
    font-size: 14px;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial {
    background: rgba(26, 51, 87, 0.7);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4cc9f0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
}

.testimonial-rating {
    color: #ffc107;
}

.testimonial-date {
    font-size: 14px;
    color: #a0aec0;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d1f3d 0%, #1a3357 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #a0aec0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
footer {
    background: #0d1f3d;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-image {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    color: #4cc9f0;
    font-size: 20px;
}

.footer-section h3 {
    color: #4cc9f0;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #4cc9f0;
}

.footer-section ul li i {
    width: 20px;
    color: #4cc9f0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    color: #4cc9f0;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #4cc9f0;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 14px;
}

/* SEO Optimization */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[itemscope] {
    border: none;
}

[itemprop] {
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
}

@media print {
    .promo-banner,
    .auth-buttons,
    .banner-controls {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a::after {
        content: " (" attr(href) ")";
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .store-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .banner-overlay h2 {
        font-size: 24px;
    }
    
    .banner-overlay p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .store-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .voucher-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-login, .btn-register {
        width: 100%;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
}

/* Emergency fallback */
.banner-slide img[src*="bonus100%"]:before,
.banner-slide img[src*="bonusfreebet"]:before,
.banner-slide img[src*="buyspin"]:before {
    content: "Gambar Promo";
    display: block;
    background: linear-gradient(135deg, #4cc9f0, #3a8fb7);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}
/* Style khusus untuk tombol Nanti Saja */
.btn-close-popup {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s;
}

.btn-close-popup:hover {
    background: #5a6268;
}
/* ==================== */
/* FIX UNTUK TOMBOL NANTI SAJA */
/* ==================== */

/* Style khusus untuk tombol Nanti Saja - AMAN TANPA REDIRECT */
.btn-close-popup {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    margin: 5px !important;
    transition: background-color 0.3s !important;
    text-decoration: none !important;
    display: inline-block !important;
    pointer-events: auto !important;
}

.btn-close-popup:hover {
    background: #5a6268 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Emergency override untuk memastikan tidak ada redirect */
#closePopup {
    all: unset !important;
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    margin: 5px !important;
    display: inline-block !important;
    pointer-events: auto !important;
    text-decoration: none !important;
}

/* Block semua kemungkinan link behavior */
#closePopup[href],
#closePopup[onclick],
#closePopup[data-href] {
    pointer-events: none !important;
    cursor: default !important;
}

/* Override btn-secondary styles untuk tombol close */
.btn-secondary#closePopup {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    text-decoration: none !important;
    pointer-events: auto !important;
}

/* Force no transition effects yang bisa menyebabkan redirect */
#closePopup:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #5a6268 !important;
}