/* ==========================================================================
   Reverse Move Stylesheet
   Theme: Deep Space, Neon Emerald & Orange/Amber Reverse Motion Puzzle
   ========================================================================== */

:root {
    --bg-dark: #07080d;
    --bg-card: rgba(18, 20, 32, 0.7);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    
    /* Neons & Accents */
    --accent-emerald: #00ff87;
    --accent-orange: #ff9f0a;
    --accent-emerald-glow: rgba(0, 255, 135, 0.15);
    --accent-orange-glow: rgba(255, 159, 10, 0.15);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a5c0;
    --text-muted: #626880;
    
    /* Fonts */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html, body {
    height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-emerald {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-emerald-glow) 0%, transparent 70%);
    filter: blur(80px);
}

.glow-orange {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
    filter: blur(100px);
}

/* Layout container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Header & Navbar styling */
header {
    width: 100%;
    border-bottom: 1px solid var(--bg-card-border);
    background: rgba(7, 8, 13, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-emerald);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Cards & Layout */
.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.8;
}

.card-emerald::before {
    background: linear-gradient(90deg, var(--accent-emerald), transparent);
}

.card-orange::before {
    background: linear-gradient(90deg, var(--accent-orange), transparent);
}

.card-emerald:hover {
    border-color: rgba(0, 255, 135, 0.3);
    box-shadow: 0 12px 40px rgba(0, 255, 135, 0.1);
}

.card-orange:hover {
    border-color: rgba(255, 159, 10, 0.3);
    box-shadow: 0 12px 40px rgba(255, 159, 10, 0.1);
}

/* Content Formatting */
h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

ul {
    list-style: none;
    margin-bottom: 20px;
}

li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

li::before {
    content: '✦';
    color: var(--accent-emerald);
    font-size: 12px;
    margin-top: 2px;
}

.card-orange li::before {
    color: var(--accent-orange);
}

.tip {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-emerald);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.tip-orange {
    border-left-color: var(--accent-orange);
}

.tip strong {
    color: var(--text-primary);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.tip p {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Buttons & Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-orange));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(255, 159, 10, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 159, 10, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
}

.links-section {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.links-grid a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.links-grid a:hover {
    color: var(--accent-emerald);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--bg-card-border);
    margin-top: 60px;
}

/* Steps list for account deletion */
.policy-steps {
    margin: 24px 0;
}

.policy-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.step-num {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-orange));
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    padding-top: 2px;
}

/* Dual column legal policies container */
.legal-container {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.legal-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff, var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-emerald);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-4px);
}

/* Responsive queries */
@media (max-width: 768px) {
    .cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .card {
        padding: 24px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
}

/* Hero App Icon & Store Badges */
.hero-app-icon-wrap {
    display: inline-flex;
    padding: 6px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.35), rgba(255, 159, 10, 0.25));
    box-shadow: 0 12px 36px rgba(0, 255, 135, 0.22);
    margin-bottom: 20px;
}

.hero-app-icon-wrap img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    display: block;
}

.hero-store-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.store-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.store-badge-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-emerald);
    box-shadow: 0 8px 24px rgba(0, 255, 135, 0.2);
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-badge-text small {
    font-size: 10.5px;
    color: var(--text-secondary);
}

.store-badge-text strong {
    font-size: 14px;
    font-weight: 700;
}

/* In-Game Screenshots Gallery */
.game-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 290px));
    justify-content: center;
    gap: 20px;
    margin: 12px auto 36px;
}

.gallery-item {
    background: rgba(12, 15, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 10px 10px 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-emerald);
}

.gallery-item img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
    display: block;
}

.gallery-item figcaption {
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .game-gallery {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}
