/**
 * Rikvip 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: #0a0a0a;
}

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

/* Header */
.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.3);
}

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

/* Navigation */
.nav-desktop .main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop .main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

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

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

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

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

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    padding: 15px 30px;
    font-size: 1.1rem;
}

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

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

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

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

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

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

/* 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: #fff;
    transition: all 0.3s;
}

.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 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

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

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,215,0,0.1) 0%, transparent 50%);
}

.hero-section h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

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

.page-hero h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero .hero-subtitle {
    color: #ccc;
    font-size: 1.2rem;
}

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

section h2 {
    font-size: 2.2rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    background: #0f0f23;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.2);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
}

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

.feature-card p {
    color: #ccc;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    background: #0a0a0a;
}

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

.game-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.1);
}

.game-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.game-card p {
    color: #aaa;
}

/* About Section */
.about-section {
    background: #0f0f23;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    color: #ffd700;
    font-weight: bold;
}

.stat-label {
    color: #aaa;
    font-size: 0.9rem;
}

/* Promotions Section */
.promotions-section {
    background: #0a0a0a;
}

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

.promo-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.1);
}

.promo-card.featured {
    border: 2px solid #ffd700;
    grid-column: 1 / -1;
}

.promo-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.promo-card p {
    color: #ccc;
}

/* Security Section */
.security-section {
    background: #0f0f23;
}

.security-content {
    max-width: 900px;
    margin: 40px auto 0;
}

.security-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.9;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

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

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

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

.social-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: #050508;
    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: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul li {
    color: #888;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a2e;
}

.footer-bottom p {
    color: #666;
}

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

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

.page-title {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.page-article .page-content {
    color: #ccc;
    line-height: 1.9;
}

.page-article .page-content p {
    margin-bottom: 20px;
}

/* Guide Sections */
.guide-section {
    background: #0f0f23;
    padding: 60px 0;
}

.guide-section:nth-child(even) {
    background: #0a0a0a;
}

.guide-content {
    max-width: 900px;
    margin: 30px auto 0;
}

.guide-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.9;
}

.guide-steps {
    list-style: none;
    counter-reset: step;
}

.guide-steps li {
    color: #ccc;
    padding: 15px 0 15px 50px;
    position: relative;
    border-bottom: 1px solid #1a1a2e;
}

.guide-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

.method-card,
.category-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,215,0,0.1);
}

.method-card h3,
.category-card h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.method-card p,
.category-card p {
    color: #aaa;
}

/* Games List */
.games-list,
.game-guides {
    max-width: 900px;
    margin: 30px auto 0;
}

.game-detail,
.game-guide {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,215,0,0.1);
}

.game-detail h3,
.game-guide h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.game-detail p,
.game-guide p {
    color: #ccc;
    line-height: 1.8;
}

/* Features List */
.features-list {
    max-width: 900px;
    margin: 30px auto 0;
}

.feature-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffd700;
}

.feature-item h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.feature-item p {
    color: #ccc;
}

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

.vip-level {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.2);
}

.vip-level h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.vip-level p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Events */
.events-list,
.issues-list {
    max-width: 900px;
    margin: 30px auto 0;
}

.event-item,
.issue-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-item h3,
.issue-item h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.event-item p,
.issue-item p {
    color: #ccc;
}

/* Terms */
.terms-content {
    max-width: 900px;
    margin: 30px auto 0;
}

.terms-content p,
.terms-content ul li {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.8;
}

.terms-content ul {
    margin-left: 20px;
}

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

.faq-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.faq-item p {
    color: #ccc;
}

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

.contact-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.1);
}

.contact-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.contact-card p {
    color: #ccc;
    margin-bottom: 5px;
}

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

.channel-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 10px;
}

.channel-item h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.channel-item p {
    color: #ccc;
}

/* Hours */
.hours-content {
    max-width: 900px;
    margin: 30px auto 0;
}

.hours-content p {
    color: #ccc;
    margin-bottom: 20px;
}

.hours-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.hours-list li {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    border-radius: 5px;
    color: #ffd700;
    text-align: center;
}

/* Contact Form */
.contact-form-section {
    background: #0f0f23;
}

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

.form-content p {
    color: #ccc;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffd700;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #1a1a2e;
    border-radius: 5px;
    background: #0a0a0a;
    color: #fff;
    font-size: 1rem;
}

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

/* Image Styles */
.hero-image,
.feature-image,
.game-image,
.about-image,
.promo-image,
.security-image,
.history-image,
.partners-image,
.vip-image,
.guide-image,
.method-image,
.category-image,
.channels-image,
.issue-image,
.event-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-image {
    margin: 40px auto;
    max-width: 800px;
}

.hero-image img,
.feature-image img,
.game-image img,
.about-image img,
.promo-image img,
.security-image img,
.history-image img,
.partners-image img,
.vip-image img,
.guide-image img,
.method-image img,
.category-image img,
.channels-image img,
.issue-image img,
.event-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Image Hover Effects */
.hero-image:hover,
.feature-image:hover,
.game-image:hover,
.about-image:hover,
.promo-image:hover,
.security-image:hover,
.history-image:hover,
.partners-image:hover,
.vip-image:hover,
.guide-image:hover,
.method-image:hover,
.category-image:hover,
.channels-image:hover,
.issue-image:hover,
.event-image:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.hero-image:hover img,
.feature-image:hover img,
.game-image:hover img,
.about-image:hover img,
.promo-image:hover img,
.security-image:hover img,
.history-image:hover img,
.partners-image:hover img,
.vip-image:hover img,
.guide-image:hover img,
.method-image:hover img,
.category-image:hover img,
.channels-image:hover img,
.issue-image:hover img,
.event-image:hover img {
    transform: scale(1.05);
}

/* Image Aspect Ratios */
.hero-image {
    aspect-ratio: 16 / 9;
}

.hero-image img,
.feature-image img,
.game-image img,
.about-image img,
.promo-image img,
.security-image img,
.history-image img,
.partners-image img,
.vip-image img,
.guide-image img,
.method-image img,
.category-image img,
.channels-image img,
.issue-image img,
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Loading Placeholder */
.hero-image::before,
.feature-image::before,
.game-image::before,
.about-image::before,
.promo-image::before,
.security-image::before,
.history-image::before,
.partners-image::before,
.vip-image::before,
.guide-image::before,
.method-image::before,
.category-image::before,
.channels-image::before,
.issue-image::before,
.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: -1;
}

/* Image Border Glow */
.hero-image,
.feature-image,
.game-image,
.about-image,
.promo-image,
.security-image,
.history-image,
.partners-image,
.vip-image,
.guide-image,
.method-image,
.category-image,
.channels-image,
.issue-image,
.event-image {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) padding-box,
                linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 170, 0, 0.3) 100%) border-box;
}

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

/* Feature Card Image */
.feature-card .feature-image {
    margin-bottom: 20px;
    aspect-ratio: 16 / 10;
}

/* Game Card Image */
.game-card .game-image {
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
}

/* About Image */
.about-image {
    border-radius: 15px;
}

/* Promo Card Image */
.promo-card .promo-image {
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
}

/* Security Image */
.security-image {
    margin-bottom: 30px;
    aspect-ratio: 21 / 9;
}

/* History Image */
.history-image {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
}

/* Partners Image */
.partners-image {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
}

/* VIP Image */
.vip-image {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
}

/* Guide Image */
.guide-image {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
}

/* Method Card Image */
.method-card .method-image {
    margin-bottom: 15px;
    aspect-ratio: 4 / 3;
}

/* Category Card Image */
.category-card .category-image {
    margin-bottom: 15px;
    aspect-ratio: 16 / 10;
}

/* Channels Image */
.channels-image {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
}

/* Issue Image */
.issue-image {
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
}

/* Event Image */
.event-image {
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
}

/* Responsive Images */
@media (max-width: 768px) {
    .hero-image,
    .page-hero .hero-image {
        margin: 20px auto;
    }
    
    .feature-image,
    .game-image,
    .promo-image,
    .method-image,
    .category-image {
        aspect-ratio: 16 / 10;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    section h2 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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