/**
 * RIKVIP Theme Styles
 * @package RIKVIP
 */

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

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

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

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Navigation Desktop */
.nav-desktop .primary-menu {
    display: flex;
    gap: 30px;
}

.nav-desktop .primary-menu a {
    color: #fff;
    font-weight: 500;
    padding: 10px 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: #e94560;
    transition: width 0.3s;
}

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

.nav-desktop .primary-menu a:hover {
    color: #e94560;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

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

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

.btn-login:hover {
    background: #e94560;
    color: #fff;
}

.btn-register {
    background: #e94560;
    color: #fff;
}

.btn-register:hover {
    background: #c73e54;
}

.btn-primary {
    background: #e94560;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: #c73e54;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

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

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

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

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

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

.mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 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-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

.hero-image {
    margin-bottom: 30px;
}

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

/* Section Images */
.section-image {
    text-align: center;
    margin-bottom: 40px;
}

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

/* Content Images */
.content-image {
    text-align: center;
    margin: 30px 0;
}

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

/* CTA Image */
.cta-image {
    text-align: center;
    margin-bottom: 30px;
}

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

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

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

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

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

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

.feature-item h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Games Section */
.games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

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

.game-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

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

/* How To Section */
.howto-section {
    padding: 80px 0;
    background: #fff;
}

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

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

.step-item {
    text-align: center;
    padding: 30px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #e94560;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

.step-item p {
    color: #666;
    line-height: 1.7;
}

/* Promotions Section */
.promotions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.promotions-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.promo-item {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.promo-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.promo-item h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.promo-item p {
    opacity: 0.9;
    line-height: 1.7;
}

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

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: #e94560;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

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

.content-section h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #16213e;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

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

.page-article {
    max-width: 900px;
    margin: 0 auto;
}

.page-article h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a2e;
    line-height: 1.3;
}

.page-article h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: #16213e;
}

.page-article h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: #0f3460;
}

.page-article p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.page-intro {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #e94560;
}

.page-intro p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
}

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

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

.contact-item h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

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

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

.footer-section h3 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

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

.footer-section ul li a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #e94560;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-section h2,
    .games-section h2,
    .howto-section h2,
    .promotions-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .page-article h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .features-section,
    .games-section,
    .howto-section,
    .promotions-section,
    .cta-section,
    .content-section {
        padding: 50px 0;
    }
    
    .feature-item,
    .game-card,
    .promo-item,
    .step-item {
        padding: 20px;
    }
}
