/*
Theme Name: Rikvip Theme
Theme URI: https://rikvip.com
Author: Rikvip Team
Author URI: https://rikvip.com
Description: Theme chuyen nghiep cho cong game Rikvip
Version: 1.0.0
License: GPL v2
Text Domain: rikvip
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-desktop .menu {
    display: flex;
    gap: 25px;
}

.nav-desktop .menu a {
    color: #ffffff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-desktop .menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    transition: width 0.3s ease;
}

.nav-desktop .menu a:hover::after,
.nav-desktop .menu a:focus::after {
    width: 100%;
}

.nav-desktop .menu a:hover {
    color: #e94560;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background: transparent;
    border: 2px solid #e94560;
    color: #ffffff;
}

.btn-login:hover {
    background: #e94560;
    color: #ffffff;
}

.btn-register {
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    color: #ffffff;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

/* Mobile 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: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    padding: 20px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .menu a {
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile .header-buttons {
    margin-top: 20px;
    flex-direction: column;
}

/* Main Content */
.site-main {
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.1) 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.section-title .highlight {
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 10px 40px rgba(233, 69, 96, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: scale(1.02);
    border-color: rgba(233, 69, 96, 0.5);
}

.game-content {
    padding: 25px;
}

.game-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #e94560;
}

.content-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.content-text p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
}

.content-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-text ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 20px;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
}

/* Images */
.hero-image {
    margin: 30px auto;
    text-align: center;
    max-width: 800px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(233, 69, 96, 0.3);
}

.section-image {
    margin: 30px auto;
    text-align: center;
    max-width: 700px;
}

.section-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(233, 69, 96, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e94560;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}
