/* 
  Moonshades RPG Landing Page - Premium Dark Fantasy Theme
*/

:root {
    /* Color Palette */
    --primary-color: #e6b34a; /* Golden accents for RPG rarity */
    --primary-hover: #fcdb83;
    --bg-dark: #0a0c10;
    --bg-darker: #050608;
    --text-main: #d1d5db;
    --text-heading: #f3f4f6;
    --glass-bg: rgba(20, 24, 32, 0.7);
    --glass-border: rgba(230, 179, 74, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: 2rem; }

P {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section styling */
.section {
    padding: var(--section-padding);
}

.dark-bg {
    background-color: var(--bg-dark);
}

.section-heading {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 1rem;
}

/* Separator */
.separator {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 10px auto;
}
.separator.left {
    margin: 10px 0;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Glassmorphism utility */
.glassmorphism, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.glass-card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 179, 74, 0.5);
    box-shadow: 0 12px 40px 0 rgba(230, 179, 74, 0.15);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #c78f24, var(--primary-color));
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 179, 74, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 179, 74, 0.6);
    color: #000;
}

.store-button {
    display: inline-block;
    height: 60px;
    transition: transform 0.3s ease;
}

.store-button img {
    height: 100%;
    width: auto;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    background: url('https://moonshadesgame.com/landing/assets/img/bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,6,8,0.7), rgba(5,6,8,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.glow-effect {
    box-shadow: 0 0 30px rgba(230, 179, 74, 0.3);
    border: 2px solid var(--glass-border);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Gallery Section */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.glow-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(230, 179, 74, 0.4);
    z-index: 2;
    position: relative;
}

/* Story Section */
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.story-content {
    padding: 3rem;
}

.story-image {
    height: 100%;
    min-height: 400px;
}

.art-placeholder {
    width: 100%;
    height: 100%;
    background: url('https://moonshadesgame.com/landing/assets/img/screen2.jpg') center/cover;
    border-left: 2px solid var(--glass-border);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: #e2e8f0;
}

.reviewer {
    margin-top: 1rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: bold;
}

/* Download Section */
.download-section {
    background: linear-gradient(rgba(10,12,16,0.9), rgba(10,12,16,0.9)), url('https://moonshadesgame.com/landing/assets/img/screen4.jpg') center/cover fixed;
}

.download-section h2 {
    font-size: 3rem;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-heading);
}

.cross {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
    opacity: 1;
}

.faq-item.active .cross {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: #030406;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-family: var(--font-heading);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.seo-footer-links {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.seo-footer-links a {
    margin: 0 5px;
}

.seo-footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content, .story-container {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .cta-group {
        justify-content: center;
    }

    .hero-image {
        display: none; /* Hide 3d image on smaller screens to save space / focus on CTA */
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none; /* In a real app, add a hamburger menu here */
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .story-content {
        padding: 2rem;
    }
}
