/* ========================================
   K8 Theme Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052a3;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d63d56 0%, #b5364a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
}

.btn-register {
    background: #e94560;
    color: #fff;
    padding: 8px 16px;
}

.btn-cta {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.4);
    color: #fff;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.page-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 80px 0;
}


section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

/* ========================================
   Features Section
   ======================================== */

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

.feature-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Games Section
   ======================================== */

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

.game-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: #e94560;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Promo Section
   ======================================== */

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

.promo-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #e94560;
}

/* ========================================
   Payment Section
   ======================================== */

.payment-content {
    max-width: 800px;
    margin: 0 auto;
}

.payment-features {
    list-style: none;
    margin: 30px 0;
}

.payment-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.payment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #1a1a2e;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================================
   Steps Section
   ======================================== */

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

.step-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.step-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #e94560;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ========================================
   Timeline Section
   ======================================== */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e94560;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #e94560;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e94560;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
}

/* ========================================
   Cards Grid
   ======================================== */

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

.guide-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.guide-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Tips & Notes
   ======================================== */

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

.tip-item,
.note-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #0f3460;
}

/* ========================================
   Errors Section
   ======================================== */

.errors-list {
    max-width: 800px;
    margin: 0 auto;
}

.error-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

/* ========================================
   Rewards Section
   ======================================== */

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

.reward-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    position: relative;
}

.reward-card.featured {
    border: 2px solid #e94560;
    transform: scale(1.02);
}

.reward-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e94560;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.reward-value {
    font-size: 1.5rem;
    color: #e94560;
    font-weight: bold;
    margin: 10px 0;
}

.reward-terms {
    list-style: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.reward-terms li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.reward-terms li::before {
    content: '•';
    color: #e94560;
    margin-right: 8px;
}

/* ========================================
   Events Section
   ======================================== */

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.event-date {
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content h3 {
    margin-bottom: 10px;
}

/* ========================================
   Comparison Table
   ======================================== */

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* ========================================
   Terms Section
   ======================================== */

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-list {
    list-style: none;
    margin-top: 20px;
}

.terms-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
}

.terms-list li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
}

/* ========================================
   Contact Channels
   ======================================== */

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

.channel-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.channel-card:hover {
    border-color: #e94560;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.channel-status {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 10px 0;
}

.response-time {
    display: block;
    margin-top: 15px;
    color: #e94560;
    font-weight: 600;
}

/* ========================================
   Services Section
   ======================================== */

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

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* ========================================
   Commitment Section
   ======================================== */

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

.commitment-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-nav h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
}

.footer-menu a:hover {
    color: #e94560;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-seo-text {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ========================================
   Page Content
   ======================================== */

.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a1a2e;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .page-hero h1 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Images Styles
   ======================================== */

.hero-image {
    margin: 30px 0;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.promo-image {
    text-align: center;
    margin-bottom: 40px;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.payment-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.payment-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.errors-image,
.guide-image,
.promo-intro-image,
.contact-image {
    text-align: center;
    margin: 30px 0;
}

.errors-image img,
.guide-image img,
.promo-intro-image img,
.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
