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

    :root {
        --bg-main: #232323;
        --bg-deep: #1a1a1a;
        --bg-panel: #2d2d2d;
        --bg-panel-2: #363636;
        --bg-card: #262626;
        --line: #474747;
        --line-2: #5a5a5a;
        --text: #e7e7e7;
        --text-soft: #b8b8b8;
        --text-dim: #8f8f8f;
        --accent: #e67e22;
        --accent-2: #f39a3f;
        --accent-soft: rgba(230,126,34,0.16);
        --green: #8aa63a;
        --green-2: #9dbb44;
        --gold: #d7a94b;
        --shadow: 0 12px 30px rgba(0,0,0,0.28);
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background:
            radial-gradient(circle at top left, rgba(230,126,34,0.10), transparent 24%),
            linear-gradient(to bottom, #1d1d1d, #252525);
        color: var(--text);
        min-height: 100vh;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    .influenzia-home {
        min-height: 100vh;
    }

    .game-header {
        position: relative;
        height: 320px;
        background:
            linear-gradient(to right, rgba(28,28,28,0.84), rgba(28,28,28,0.38)),
            linear-gradient(135deg, rgba(230,126,34,0.18) 0%, rgba(255,255,255,0.03) 50%, rgba(230,126,34,0.08) 100%),
            var(--influenzia-home-hero-image, none);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: flex-end;
        padding: 30px;
        border-bottom: 1px solid #111;
        overflow: hidden;
    }

    .game-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
        background-size: 28px 28px;
        opacity: 0.10;
        pointer-events: none;
    }

    .game-header-content {
        position: relative;
        z-index: 1;
        max-width: 920px;
    }

    .game-title-wrap {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .game-title {
        margin: 0;
        font-size: 52px;
        font-weight: 300;
        color: white;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.45);
        line-height: 1;
    }

    .game-version {
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.18);
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 14px;
        color: white;
        display: inline-block;
        letter-spacing: .08em;
        text-transform: uppercase;
        font-weight: 700;
    }

    .game-subtitle {
        max-width: 800px;
        font-size: 15px;
        line-height: 1.7;
        color: #ececec;
    }

    .icons-row {
        position: absolute;
        top: 20px;
        right: 30px;
        display: flex;
        gap: 15px;
        z-index: 2;
    }

    .icon-button {
        background: none;
        border: none;
        color: var(--text-dim);
        font-size: 20px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .icon-button:hover {
        color: #fff;
    }

    .control-bar {
        background: #3a3a3a;
        padding: 15px 30px;
        display: flex;
        align-items: center;
        gap: 30px;
        border-bottom: 1px solid #111;
        flex-wrap: wrap;
    }

    .play-button {
        background: linear-gradient(to bottom, var(--green), #76902f);
        color: white;
        border: none;
        padding: 10px 30px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 2px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: background 0.2s;
        font-weight: 700;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    }

    .play-button:hover {
        background: linear-gradient(to bottom, var(--green-2), #87a736);
    }

    .secondary-button {
        background: transparent;
        color: var(--accent-2);
        border: 1px solid var(--line);
        padding: 10px 16px;
        font-size: 13px;
        cursor: pointer;
        border-radius: 2px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.2s;
        font-weight: 600;
    }

    .secondary-button:hover {
        background: #2e2e2e;
        border-color: var(--line-2);
        color: #fff;
    }

    .game-stats {
        display: flex;
        gap: 30px;
        font-size: 11px;
        text-transform: uppercase;
        color: var(--text-dim);
        flex-wrap: wrap;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .stat-item i {
        color: #7f7f7f;
    }

    .stat-value {
        color: var(--text);
        font-size: 13px;
    }

    .nav-tabs {
        background: #303030;
        padding: 0 30px;
        display: flex;
        gap: 30px;
        border-bottom: 1px solid #111;
        flex-wrap: wrap;
    }

    .nav-tab {
        padding: 12px 0;
        color: var(--text-dim);
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: all 0.2s;
        font-size: 13px;
        display: inline-block;
    }

    .nav-tab:hover {
        color: var(--text);
    }

    .nav-tab.active {
        color: #fff;
        border-bottom-color: var(--accent);
    }

    .content-wrapper {
        display: flex;
        gap: 20px;
        padding: 20px 30px;
        max-width: 1400px;
        margin: 0 auto;
        align-items: flex-start;
    }

    .main-content {
        flex: 1;
        min-width: 0;
    }

    .sidebar {
        width: 340px;
        flex: 0 0 340px;
    }

    .section {
        background: var(--bg-panel);
        border-radius: 4px;
        margin-bottom: 20px;
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 1px solid rgba(255,255,255,0.02);
    }

    .section-header {
        background: var(--bg-panel-2);
        padding: 12px 15px;
        font-size: 11px;
        text-transform: uppercase;
        color: var(--text-soft);
        display: flex;
        justify-content: space-between;
        align-items: center;
        letter-spacing: .06em;
    }

    .section-content {
        padding: 15px;
    }

    .news-item {
        display: flex;
        gap: 15px;
        padding: 15px;
        background: var(--bg-card);
        border-radius: 4px;
        transition: background 0.2s;
        border: 1px solid rgba(255,255,255,0.02);
    }

    .news-item:hover {
        background: #2c2c2c;
    }

    .news-thumbnail {
        width: 184px;
        height: 96px;
        background: linear-gradient(135deg, #4a4a4a 0%, #e67e22 100%);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        overflow: hidden;
    }

    .news-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-content h3 {
        color: var(--accent-2);
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.35;
    }

    .news-content p {
        font-size: 13px;
        line-height: 1.65;
        color: var(--text-soft);
        margin-bottom: 8px;
    }

    .news-content p:last-child {
        margin-bottom: 0;
    }

    .screenshots {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .screenshot {
        width: 120px;
        height: 68px;
        background: #161616;
        border: 2px solid #4a4a4a;
        border-radius: 4px;
        cursor: pointer;
        overflow: hidden;
        position: relative;
        flex: 0 0 auto;
    }

    .screenshot-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--accent);
        font-size: 28px;
        opacity: 0.75;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .stat-box {
        background: var(--bg-card);
        border-radius: 4px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,0.03);
    }

    .stat-box-label {
        display: block;
        color: var(--text-dim);
        font-size: 11px;
        text-transform: uppercase;
        margin-bottom: 8px;
        letter-spacing: .06em;
    }

    .stat-box-value {
        display: block;
        font-size: 22px;
        color: #fff;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 6px;
    }

    .stat-box-sub {
        display: block;
        font-size: 11px;
        color: var(--text-soft);
        line-height: 1.5;
    }

    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .info-card {
        background: var(--bg-card);
        border-radius: 4px;
        padding: 16px;
        border: 1px solid rgba(255,255,255,0.03);
    }

    .info-card-label {
        display: block;
        margin-bottom: 8px;
        color: var(--accent-2);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
        font-weight: 700;
    }

    .info-card h3 {
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .info-card p {
        color: var(--text-soft);
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 8px;
    }

    .info-card p:last-child {
        margin-bottom: 0;
    }

    .feature-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .feature-card {
        background: var(--bg-card);
        border-radius: 4px;
        padding: 15px;
        border: 1px solid rgba(255,255,255,0.03);
    }

    .feature-number {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        background: var(--accent-soft);
        color: var(--accent);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px;
        border: 1px solid rgba(230,126,34,0.22);
    }

    .feature-card h3 {
        color: #fff;
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .feature-card p {
        color: var(--text-soft);
        font-size: 12px;
        line-height: 1.6;
    }

    .flow {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .flow-step {
        background: var(--bg-card);
        border-radius: 4px;
        padding: 15px;
        border: 1px solid rgba(255,255,255,0.03);
    }

    .flow-step strong {
        display: block;
        color: #fff;
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .flow-step span {
        display: block;
        color: var(--text-soft);
        font-size: 12px;
        line-height: 1.6;
    }

    .intro-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .intro-card {
        background: var(--bg-card);
        border-radius: 4px;
        padding: 16px;
        border: 1px solid rgba(255,255,255,0.03);
    }

    .intro-card strong {
        display: block;
        color: #fff;
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .intro-card span {
        display: block;
        color: var(--text-soft);
        font-size: 12px;
        line-height: 1.65;
    }

    .cta-strip {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px;
        background: linear-gradient(135deg, rgba(230,126,34,0.18), rgba(255,255,255,0.04));
        border: 1px solid rgba(230,126,34,0.18);
        border-radius: 6px;
    }

    .cta-strip-copy strong {
        display: block;
        color: #fff;
        font-size: 18px;
        margin-bottom: 6px;
    }

    .cta-strip-copy span {
        display: block;
        color: var(--text-soft);
        font-size: 13px;
        line-height: 1.6;
    }

    .progress-bar {
        height: 20px;
        background: #202020;
        border-radius: 10px;
        overflow: hidden;
        margin-top: 10px;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #d78a34, #f0a14b);
        width: 35%;
        transition: width 0.3s;
    }

    .achievements-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 10px;
        margin-top: 10px;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
        background: #252525;
        border: 1px solid #4b4b4b;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        overflow: hidden;
    }

    .achievement-icon:hover {
        border-color: var(--accent);
        transform: scale(1.08);
    }

    .achievement-icon i {
        font-size: 20px;
        color: #8f8f8f;
    }

    .achievement-icon.unlocked i {
        color: var(--gold);
    }

    .sidebar-list {
        list-style: none;
        margin: 12px 0 0;
        padding: 0;
    }

    .sidebar-list li {
        position: relative;
        padding-left: 14px;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.55;
        color: var(--text-soft);
    }

    .sidebar-list li::before {
        content: "â€¢";
        position: absolute;
        left: 0;
        top: 0;
        color: var(--accent);
    }

    .cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 10px;
    }

    .card-item {
        aspect-ratio: 7/10;
        background: linear-gradient(135deg, #4a4a4a 0%, #cf7120 100%);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
        transition: transform 0.2s;
        overflow: hidden;
    }

    .card-item:hover {
        transform: scale(1.05);
    }

    .card-item i {
        font-size: 30px;
        color: rgba(255,255,255,0.82);
    }

    .card-label {
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 10px;
        color: white;
        background: rgba(0,0,0,0.45);
        padding: 2px;
    }

    .mehr-button {
        background: none;
        border: 1px solid #4f4f4f;
        color: var(--accent-2);
        padding: 4px 12px;
        border-radius: 2px;
        cursor: pointer;
        font-size: 11px;
        transition: all 0.2s;
        display: inline-block;
    }

    .mehr-button:hover {
        background: #3a3a3a;
        color: #fff;
    }

    @media (max-width: 1100px) {
        .content-wrapper {
            flex-direction: column;
        }

        .sidebar {
            width: 100%;
            flex: 0 0 auto;
        }

        .stats-grid,
        .feature-grid,
        .flow,
        .grid-2,
        .intro-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 760px) {
        .game-header {
            height: auto;
            min-height: 280px;
            padding: 24px 16px;
        }

        .game-title {
            font-size: 38px;
        }

        .control-bar,
        .nav-tabs,
        .content-wrapper {
            padding-left: 16px;
            padding-right: 16px;
        }

        .stats-grid,
        .feature-grid,
        .flow,
        .grid-2,
        .cards-grid,
        .intro-grid {
            grid-template-columns: 1fr;
        }

        .cta-strip {
            flex-direction: column;
            align-items: flex-start;
        }

        .news-item {
            flex-direction: column;
        }

        .news-thumbnail {
            width: 100%;
            height: 160px;
        }

        .screenshots {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }

        .screenshot {
            width: 100%;
        }
    }
