/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #2e2e2e;
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background-color: #fdfafa;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #ffffff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    position: relative;
}

.logo-s {
    color: #007bff;
    position: absolute;
    left: 8px;
}

.logo-g {
    color: #ffffff;
    position: absolute;
    right: 8px;
}

.site-title {
    color: #e9e9ea;
    font-size: 20px;
    font-weight: 500;
}

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

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #6a6969;
    color: #ffffff;
}

.btn:hover {
    background-color: #007bff;
    transform: translateY(-2px);
}

/* Main Banner */
.main-banner {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 400px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #007bff;
}

/* Secondary Banner */
.secondary-banner {
    padding: 20px 0;
}

.secondary-banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Game Categories */
.game-categories {
    padding: 30px 0;
    background-color: #2e2e2e;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.category-item:hover,
.category-item.active {
    background-color: #007bff;
    transform: translateY(-3px);
}

.category-item i {
    font-size: 24px;
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Games Grid */
.games-grid {
    padding: 40px 0;
    background-color: #2e2e2e;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-item {
    background-color: #3a3a3a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-item:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.game-icon.lotto-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.game-icon.tongits-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.game-icon.sabong-icon {
    background: linear-gradient(135deg, #ffa726, #ff9800);
}

.game-icon.super-ace-icon {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.game-icon.bubble-icon {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.game-icon.martial-icon {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.game-icon.night-market-icon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.game-icon.racing-icon {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.game-icon.koi-icon {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.multiplier {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffd700;
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.game-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.provider {
    font-size: 12px;
    color: #888;
}

/* Game Type Cards */
.game-type-cards {
    padding: 40px 0;
    background-color: #2e2e2e;
}

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

.game-card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.slot-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fish-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.live-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.lottery-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.poker-bg {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.sport-bg {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 16px;
    opacity: 0.9;
}

.card-character {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.8;
    z-index: 1;
}

/* How to Play Steps */
.how-to-play {
    padding: 40px 0;
    background-color: #2e2e2e;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.step:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-3px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step-icon {
    font-size: 24px;
}

.step span {
    font-size: 14px;
    font-weight: 500;
}

/* Game Providers */
.game-providers {
    padding: 30px 0;
    background-color: #2e2e2e;
}

.providers-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.provider-logo {
    padding: 10px 20px;
    background-color: #3a3a3a;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-logo:hover {
    background-color: #007bff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #022a34;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 8px 16px;
    background-color: #cf964f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.footer-btn:hover {
    background-color: #b8860b;
}

.copyright {
    color: #666666;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #2e2e2e;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #ffffff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #ffffff;
}

.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #007bff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 6px;
    background-color: #3a3a3a;
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.success-content {
    background-color: #2e2e2e;
    margin: 20% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: #ffffff;
}

.success-content i {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-content h3 {
    margin-bottom: 15px;
    color: #4caf50;
}

.success-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.success-content button {
    padding: 12px 30px;
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.success-content button:hover {
    background-color: #45a049;
}

/* Main Content Styles for Terms and Privacy Pages */
.main-content {
    margin-top: 70px;
    padding: 40px 0;
    background-color: #2e2e2e;
    min-height: calc(100vh - 70px);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #007bff;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 10px;
}

.page-header p {
    color: #888;
    font-size: 1rem;
}

.content-section {
    background-color: #3a3a3a;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-section ul {
    color: #ffffff;
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-section a {
    color: #007bff;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .category-nav {
        gap: 20px;
    }
    
    .games-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        gap: 20px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .category-nav {
        gap: 15px;
    }
    
    .category-item {
        padding: 10px;
    }
    
    .games-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .game-item {
        padding: 15px;
    }
    
    .game-icon {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
}
