/*
 * Rikvip Theme Styles
 * Main Stylesheet
 */

/* 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: #f5f5f5;
}

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

ul,
ol {
    list-style: none;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.site-header {
    background: #1a1a2e;
    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;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.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;
}

.nav-desktop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-desktop .primary-menu {
    display: flex !important;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop .primary-menu li {
    display: list-item;
}

.nav-desktop .primary-menu a {
    display: inline-block;
}

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

.nav-desktop .primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

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

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .mobile-menu a {
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-login,
.btn-register {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

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

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background: #fff;
}

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

.intro-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: #fff;
}

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

.game-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-3px);
}

.game-card h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.game-card p {
    color: #555;
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.partners-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions .btn-primary {
    background: #fff;
    color: #667eea;
}

.cta-actions .btn-primary:hover {
    background: #f8f9fa;
}

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

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: #fff;
    min-height: 400px;
}

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

.entry-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* About Page Sections */
.about-intro,
.about-history,
.about-mission,
.about-values,
.about-cta {
    padding: 60px 0;
}

.about-intro,
.about-mission {
    background: #fff;
}

.about-history,
.about-values {
    background: #f8f9fa;
}

.about-intro h2,
.about-history h2,
.about-mission h2,
.about-values h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.about-intro p,
.about-history p,
.about-mission p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

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

.value-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.about-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Games Page Sections */
.games-intro,
.games-categories,
.games-features {
    padding: 60px 0;
}

.games-intro,
.games-features {
    background: #fff;
}

.games-categories {
    background: #f8f9fa;
}

.games-intro h2,
.games-categories h2,
.games-features h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.games-intro p,
.games-categories p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

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

.game-category h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.game-category p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.games-features ul {
    list-style: disc;
    padding-left: 25px;
}

.games-features li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Promo Page Sections */
.promo-intro,
.promo-list,
.promo-terms {
    padding: 60px 0;
}

.promo-intro,
.promo-terms {
    background: #fff;
}

.promo-list {
    background: #f8f9fa;
}

.promo-intro h2,
.promo-list h2,
.promo-terms h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.promo-intro p,
.promo-terms p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

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

.promo-item h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.promo-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.promo-terms ul {
    list-style: disc;
    padding-left: 25px;
}

.promo-terms li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Guide Page Sections */
.guide-intro,
.guide-registration,
.guide-deposit,
.guide-withdrawal,
.guide-games {
    padding: 60px 0;
}

.guide-intro,
.guide-deposit,
.guide-games {
    background: #fff;
}

.guide-registration,
.guide-withdrawal {
    background: #f8f9fa;
}

.guide-intro h2,
.guide-registration h2,
.guide-deposit h2,
.guide-withdrawal h2,
.guide-games h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.guide-intro p,
.guide-registration p,
.guide-deposit p,
.guide-withdrawal p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

.guide-registration h3,
.guide-deposit h3,
.guide-withdrawal h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin: 25px 0 15px;
}

.guide-registration ol,
.guide-deposit ol,
.guide-withdrawal ol {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.guide-registration li,
.guide-deposit li,
.guide-withdrawal li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-deposit ul,
.guide-withdrawal ul,
.guide-games ul {
    list-style: disc;
    padding-left: 25px;
}

.guide-deposit li,
.guide-withdrawal li,
.guide-games li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Contact Page Sections */
.contact-intro,
.contact-methods,
.contact-faq,
.contact-form-section {
    padding: 60px 0;
}

.contact-intro,
.contact-faq {
    background: #fff;
}

.contact-methods,
.contact-form-section {
    background: #f8f9fa;
}

.contact-intro h2,
.contact-methods h2,
.contact-faq h2,
.contact-form-section h2 {
    font-size: 32px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.contact-intro p,
.contact-form-section p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

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

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

.contact-item h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.contact-item p {
    color: #555;
    line-height: 1.7;
}

.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* Image Styles */
.about-intro-content,
.about-history-content,
.games-intro-content,
.promo-intro-content,
.guide-content,
.contact-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-image img,
.about-intro-image img,
.about-history-image img,
.games-intro-image img,
.promo-intro-image img,
.guide-image img,
.contact-intro-image img,
.game-category-image img,
.promo-item-image img,
.contact-item-image img,
.faq-item-image img,
.features-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.game-category,
.promo-item {
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.contact-item-image,
.faq-item-image {
    margin-bottom: 15px;
}

.contact-item-image img,
.faq-item-image img {
    max-height: 200px;
    object-fit: cover;
}

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

.features-image img {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .intro-content,
    .about-intro-content,
    .about-history-content,
    .games-intro-content,
    .promo-intro-content,
    .guide-content,
    .contact-intro-content,
    .game-category,
    .promo-item {
        grid-template-columns: 1fr;
    }
    
    .game-category-image,
    .promo-item-image {
        order: -1;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 10px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-desktop {
        display: none !important;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .page-title {
        font-size: 28px;
    }

    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .header-actions {
        display: none;
    }

    .nav-mobile.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 20px;
        z-index: 999;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .intro-section,
    .features-section,
    .games-section {
        padding: 50px 0;
    }
}

/* Content Area */
.content-area {
    padding: 40px 0;
}

article {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 24px;
    color: #1a1a2e;
}

.entry-title a {
    color: inherit;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: #667eea;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

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

.pagination a:hover {
    background: #667eea;
    color: #fff;
}

.pagination .current {
    background: #667eea;
    color: #fff;
}
