/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
    --bg-dark: #0d0614;
    --bg-card: #1a1025;
    --bg-header: rgba(13, 6, 20, 0.95);
    
    --color-primary: #00e676; /* Vibrant Green for Play Demo */
    --color-primary-hover: #00c853;
    --color-secondary: #ff3b30; /* Red accents */
    --color-secondary-hover: #d32f2f;
    --color-gold: #ffd700;
    
    --text-main: #e0dced;
    --text-muted: #a49cb8;
    --text-heading: #ffffff;
    
    --border-color: #312145;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background pattern to mimic the Playson fleur-de-lis feel */
    background-image: radial-gradient(circle at 50% 0%, rgba(56, 24, 94, 0.4) 0%, transparent 60%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--color-secondary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    position: relative;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-heading);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 0;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    list-style: none;
    padding: 10px 0;
    min-width: 60px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

/* Scrollbar styles for dropdown */
.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}
.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.lang-dropdown li a {
    display: block;
    padding: 5px 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lang-dropdown li a:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-heading);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

.mobile-toggle.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 999;
    padding: 100px 30px 30px;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.open {
    right: 0;
}

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

.mobile-menu nav a {
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Radial accent behind hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 28, 160, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 320px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #c9b8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.game-meta-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   Demo Section (Device Preview)
   ========================================================================== */
.demo-section {
    padding: 0 0 80px;
}

.demo-container-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.device-toggles {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.device-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
}

.device-btn.active, .device-btn:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

.demo-container {
    margin: 0 auto;
    transition: var(--transition);
    position: relative;
}

.demo-placeholder {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .demo-placeholder {
        aspect-ratio: 9/16;
        width: 100%;
    }
}

.demo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.demo-placeholder:hover .demo-img {
    opacity: 0.3;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.play-overlay .btn {
    margin-bottom: 10px;
}

.play-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Content Section (Article Styles)
   ========================================================================== */
.content-section {
    padding: 60px 0;
}

.review-article {
    background: var(--bg-card);
    padding: 56px 60px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* Cap text column width for comfortable reading */
.review-article > p,
.review-article > ul {
    max-width: 760px;
}

.review-article h2 {
    font-size: 1.95rem;
    margin: 48px 0 18px;
    color: var(--color-gold);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.review-article h2:first-child {
    margin-top: 0;
}

.review-article h3 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: #d0c4f7;
}

.review-article p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
}

.review-article ul {
    margin: 0 0 24px 20px;
}

.review-article li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.review-article strong {
    color: var(--text-heading);
}

figure {
    margin: 40px auto;
    max-width: 800px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
}

figure img {
    width: 100%;
    display: block;
}

figcaption {
    padding: 15px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.5);
    font-style: italic;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-weight: 600;
}

td {
    color: var(--text-main);
}

tr:last-child td {
    border-bottom: none;
}

.text-right {
    text-align: right;
}

/* Pros and Cons Grid */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.pros, .cons {
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.pros h3 {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pros h3::before {
    content: "✓";
    display: inline-block;
}

.cons h3 {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cons h3::before {
    content: "✕";
    display: inline-block;
}

.pros ul, .cons ul {
    list-style: none;
    margin: 0;
}

.pros li, .cons li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.pros li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cons li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
    padding: 40px 0 100px;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 48px;
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

details:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

details[open] {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.12);
}

summary {
    padding: 22px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-heading);
    gap: 20px;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.3s ease, background 0.2s ease;
    text-align: center;
}

details[open] summary::after {
    transform: rotate(45deg);
    background: rgba(0, 230, 118, 0.1);
}

.faq-content {
    padding: 4px 24px 22px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(to bottom, #0a0410, #000000);
    padding: 72px 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.footer-col h4 {
    color: var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.9;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col nav a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.brand-col p {
    color: var(--text-muted);
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.footer-bottom {
    background: rgba(0,0,0,0.5);
    padding: 22px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.88rem;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .header-actions {
        margin-right: 15px;
    }

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .review-article {
        padding: 30px;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .brand-col p {
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-large {
        width: 100%;
    }
}
