/* ============================================================
   Awesome Fix — Main Stylesheet
   Clean, modern dark theme
   ============================================================ */

:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #12121e;
    --bg-card: #181828;
    --bg-card-hover: #1e1e32;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #65657a;
    --border: #2a2a3d;
    --success: #00b894;
    --warning: #fdcb6e;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================================
   GAMES SECTION
   ============================================================ */

.games-section {
    padding: 60px 0 80px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    display: block;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
    background: var(--bg-card-hover);
}

.game-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.game-status {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-status.online {
    background: rgba(0, 184, 148, 0.2);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-genre {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.game-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.game-tag {
    background: rgba(108, 92, 231, 0.12);
    color: var(--accent-light);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-section {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ============================================================
   GAME PAGE — HERO
   ============================================================ */

.game-hero {
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
}

.back-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 32px;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--accent-light);
}

.game-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.game-hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================================
   GAME PAGE — CONTENT
   ============================================================ */

.game-content {
    padding: 50px 0 80px;
}

.game-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.content-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 28px;
}

.content-block h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Installation Steps */

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.install-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.install-step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 2px;
}

.install-step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.install-step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.install-step-content code {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-img {
    width: 100%;
    display: block;
}

.sidebar-details {
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.88rem;
}

.status-working {
    color: var(--success) !important;
}

/* Download Button */

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 16px 24px;
    margin: 0 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition);
    text-align: center;
}

.download-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.download-icon {
    font-size: 1.2rem;
}

.download-note {
    text-align: center;
    padding: 14px 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Steam Button (game page sidebar) */

.steam-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1b2838;
    color: #c7d5e0;
    padding: 14px 24px;
    margin: 0 20px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    text-align: center;
    border: 1px solid #2a475e;
}

.steam-btn:hover {
    background: #2a475e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 40, 56, 0.5);
}

.steam-icon {
    flex-shrink: 0;
}

/* Steam Store Link (index cards) */

.game-card-wrapper {
    display: flex;
    flex-direction: column;
}

.game-card-wrapper .game-card {
    flex: 1;
    border-radius: var(--radius) var(--radius) 0 0;
}

.steam-store-link {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: #1b2838;
    color: #c7d5e0;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid #2a475e;
    border-top: none;
    transition: all var(--transition);
}

.steam-store-link:hover {
    background: #2a475e;
    color: #fff;
}

/* Info Card */

.info-card {
    padding: 24px;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    padding-left: 16px;
    position: relative;
}

.info-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 500px;
    margin: 0 auto 12px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .game-layout {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .content-block {
        padding: 20px;
    }

    .game-hero-title {
        font-size: 2rem;
    }

    .donate-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */

.donate-hero {
    padding: 80px 0 50px;
    text-align: center;
}

.donate-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.donate-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-light), #e17055);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donate-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.donate-content {
    padding: 0 0 80px;
}

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    align-items: start;
}

.donate-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 28px;
}

.donate-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.donate-card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.donate-card p:last-child {
    margin-bottom: 0;
}

.donate-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donate-points li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.donate-point-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.donate-points li strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.donate-points li p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.donate-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.donate-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.donate-box-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.donate-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: all var(--transition);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.donate-method-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.donate-box-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 16px;
}

.donate-thanks {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(225, 112, 85, 0.08));
    border-color: rgba(108, 92, 231, 0.2);
    text-align: center;
}

.donate-thanks h3 {
    font-size: 1.2rem;
}

.donate-thanks p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}
