/* Rich9 Website Custom Styles */

/* Base Styles */
:root {
    --primary: #f1c137;
    --secondary: #101828;
    --dark: #050914;
    --accent: #e11d48;
    --light: #f3f4f6;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Custom Backgrounds */
.bg-gradient-radial {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(5, 9, 20, 1) 100%);
}

/* Navigation */
.nav-link {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    color: var(--primary);
    font-weight: 600;
    border: 1px solid var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
}

.btn-login:hover {
    background: rgba(241, 193, 55, 0.1);
}

.btn-signup {
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
}

.btn-signup:hover {
    background: #e3b730;
}

/* Hero Section */
.hero-section {
    background-color: var(--dark);
    background-image: 
        linear-gradient(rgba(5, 9, 20, 0.8), rgba(5, 9, 20, 0.8)),
        url('https://game-media-cdn.site/background/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.btn-primary:hover {
    background: #e3b730;
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--light);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--primary);
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(241, 193, 55, 0.1);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(241, 193, 55, 0.3);
}

/* Game Cards */
.game-card {
    background: var(--dark);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 9, 20, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-now-btn {
    background: var(--primary);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transform: translateY(20px);
}

.game-card:hover .play-now-btn {
    transform: translateY(0);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(241, 193, 55, 0.3);
}

.feature-icon {
    background: var(--primary);
    color: var(--dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
}

.feature-description {
    color: #94a3b8;
}

/* Get Started Section */
.get-started-card {
    background: linear-gradient(45deg, rgba(16, 24, 40, 0.95), rgba(5, 9, 20, 0.95));
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    background: var(--primary);
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.step-title {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.step-description {
    color: #94a3b8;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    border-color: rgba(241, 193, 55, 0.3);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light);
}

.faq-question i {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: #94a3b8;
}

/* Footer Styles */
.footer-link {
    color: #94a3b8;
}

.footer-link:hover {
    color: var(--primary);
}

.social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .get-started-card {
        padding: 2rem;
    }
    
    .step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
} 