/**
 * MAY88 Theme Styles
 * @package MAY88
 */

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

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

.main-navigation .nav-menu {
    display: flex;
    gap: 30px;
}

.main-navigation .nav-menu a {
    color: #fff;
    font-weight: 500;
    text-transform: capitalize;
    transition: color 0.3s;
    padding: 10px 0;
}

.main-navigation .nav-menu a:hover {
    color: #ffd700;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

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

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

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

.btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.btn-register {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}

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

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}

/* Site Content */
.site-content {
    margin-top: 80px;
}

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

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: capitalize;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2rem;
    text-transform: capitalize;
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background: #fff;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    text-transform: capitalize;
}

section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #16213e;
    text-transform: capitalize;
}

.section-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Brand Section */
.brand-section ul {
    list-style: disc;
    padding-left: 20px;
}

.brand-section li {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    transition: transform 0.3s;
}

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

/* Guide List */
.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
}

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

/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 40px;
}

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

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-wrapper li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Steps List */
.steps-list {
    margin: 30px 0;
}

.step-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #0f3460;
}

.step-item h3 {
    color: #0f3460;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #ffd700;
}

/* Promo Cards */
.promo-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.promo-card.featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 4px solid #0f3460;
}

.contact-status {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.why-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

/* Issues List */
.issues-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.issue-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.issue-category ul {
    list-style: disc;
    padding-left: 20px;
}

.issue-category li {
    margin-bottom: 8px;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tip-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

/* VIP Levels */
.vip-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.vip-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.calendar-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-wrapper h3 {
    color: #ffd700;
    margin-bottom: 20px;
    text-transform: capitalize;
}

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

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

.footer-menu a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
    color: #ffd700;
}

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

.footer-seo-text {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-item .entry-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-item .entry-title a {
    color: #1a1a2e;
    transition: color 0.3s;
}

.post-item .entry-title a:hover {
    color: #0f3460;
}

.post-item .entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-item .read-more {
    color: #0f3460;
    font-weight: 600;
    text-transform: capitalize;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: #0f3460;
    color: #fff;
}

/* Widget Area */
.widget-area {
    margin-top: 40px;
}

.widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #1a1a2e;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .games-grid,
    .guide-list,
    .promo-grid,
    .contact-grid,
    .why-grid,
    .issues-list,
    .tips-grid,
    .vip-levels,
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .game-card,
    .promo-card,
    .contact-card,
    .benefit-item {
        padding: 20px;
    }
}

/* Image Styles */
.hero-image,
.brand-image,
.games-image,
.guide-image,
.cta-image,
.faq-image,
.login-image,
.register-image,
.promo-image,
.guide-page-image,
.guide-withdraw-image,
.contact-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-image img,
.brand-image img,
.games-image img,
.guide-image img,
.cta-image img,
.faq-image img,
.login-image img,
.register-image img,
.promo-image img,
.guide-page-image img,
.guide-withdraw-image img,
.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover img,
.brand-image:hover img,
.games-image:hover img,
.guide-image:hover img,
.cta-image:hover img,
.faq-image:hover img,
.login-image:hover img,
.register-image:hover img,
.promo-image:hover img,
.guide-page-image:hover img,
.guide-withdraw-image:hover img,
.contact-image:hover img {
    transform: scale(1.02);
}

/* Hero Image Specific */
.hero-image {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Brand Image */
.brand-image {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Games Image */
.games-image {
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Guide Images */
.guide-image,
.guide-page-image,
.guide-withdraw-image {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* CTA Image */
.cta-image {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* FAQ Image */
.faq-image {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Login/Register Images */
.login-image,
.register-image {
    max-width: 600px;
    margin: 0 auto 25px;
}

/* Promo Image */
.promo-image {
    max-width: 700px;
    margin: 0 auto 25px;
}

/* Contact Image */
.contact-image {
    max-width: 600px;
    margin: 0 auto 25px;
}

/* Responsive Images */
@media (max-width: 768px) {
    .hero-image,
    .brand-image,
    .games-image,
    .guide-image,
    .cta-image,
    .faq-image,
    .login-image,
    .register-image,
    .promo-image,
    .guide-page-image,
    .guide-withdraw-image,
    .contact-image {
        margin-bottom: 20px;
    }
}
