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

body {
    background: #0a0f1a;
    color: #e2e8f0;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: #05080f;
    border-bottom: 1px solid #1e2a3a;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.alpha-omega {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc88;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #cbd5e6;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a.active {
    color: #00ffcc;
    border-bottom-color: #00ffcc;
}

/* Hero */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(145deg, #0b1120 0%, #03070f 100%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff, #00ffcc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.motto {
    font-size: 1.2rem;
    border-left: 3px solid #00ffcc;
    padding-left: 1rem;
    max-width: 500px;
    margin: 1rem auto;
    font-style: italic;
    color: #cbd5e6;
}

.btn-primary, .btn-secondary, .btn-steam-download, .btn-direct {
    display: inline-block;
    background: #1e2a3a;
    border: none;
    color: white;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin: 0.5rem;
}

.btn-primary {
    background: #00b894;
    box-shadow: 0 0 8px #00b89488;
}

.btn-primary:hover {
    background: #00a081;
    transform: scale(1.02);
}

.btn-secondary {
    background: #2d3a5e;
}

.btn-secondary:hover {
    background: #3a4a72;
}

/* Features */
.features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature {
    background: #111827;
    padding: 2rem;
    border-radius: 20px;
    width: 280px;
    text-align: center;
    border: 1px solid #2d3a5e;
}

.feature i {
    font-size: 2.5rem;
    color: #00ffcc;
    margin-bottom: 1rem;
}

.quote-block {
    background: #050e1a;
    padding: 4rem 0;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 300;
    border-top: 1px solid #1e2a3a;
    border-bottom: 1px solid #1e2a3a;
}

/* Projects grid */
.projects-grid {
    padding: 3rem 0;
}

.project-card {
    display: flex;
    flex-wrap: wrap;
    background: #0f172a;
    border-radius: 24px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #2d3a5e;
    transition: 0.2s;
    cursor: pointer;
}

.project-card:hover {
    border-color: #00ffcc;
    transform: translateY(-3px);
}

.project-image {
    flex: 1 1 300px;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #00b894;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.project-card.disabled .project-status {
    background: #5a626e;
}

.project-info {
    flex: 2 1 400px;
    padding: 1.5rem;
}

.project-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.genre {
    color: #00ffcc;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Game page (steam-like) */
.game-container {
    display: flex;
    flex-direction: column;
    padding: 2rem 24px;
}

.game-hero {
    margin-bottom: 2rem;
}

.game-cover img {
    width: 100%;
    border-radius: 16px;
}

.game-main {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.game-left {
    flex: 2;
    min-width: 250px;
}

.game-right {
    flex: 1;
    min-width: 280px;
}

.game-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #1e2a3a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.game-description h2, .game-description h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #f1f5f9;
}

.game-description ul {
    list-style: none;
    padding-left: 0;
}

.game-description li {
    margin: 0.5rem 0;
}

.game-description li i {
    color: #00ffcc;
    margin-right: 8px;
}

.sysreq {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: #0f172a;
    padding: 1rem;
    border-radius: 16px;
    margin-top: 1rem;
}

.sysreq-min, .sysreq-rec {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.purchase-box {
    background: #0f172a;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2d3a5e;
    position: sticky;
    top: 100px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #94a3b8;
}

.btn-steam-download {
    background: #1b6b4c;
    width: 100%;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-direct {
    background: #2d3a5e;
    width: 100%;
}

.notice {
    font-size: 0.75rem;
    color: #7f8c9a;
    margin-top: 1rem;
}

.game-details {
    margin-top: 1.5rem;
    border-top: 1px solid #2d3a5e;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Documentation iframe grid */
.docs-grid {
    padding: 2rem 0;
}

.doc-card {
    background: #0c1122;
    border-radius: 20px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #2a3a5a;
}

.doc-title {
    background: #050a15;
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 1px solid #2a3a5a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.doc-title i {
    margin-right: 10px;
    color: #00ffcc;
}

.doc-date {
    font-size: 0.8rem;
    color: #7f8c9a;
}

iframe {
    display: block;
    width: 100%;
    background: #0a0f1a;
}

/* Footer */
footer {
    background: #03070f;
    border-top: 1px solid #1e2a3a;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #94a3b8;
    margin-left: 1rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #00ffcc;
}

/* адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .project-card {
        flex-direction: column;
    }
    .game-main {
        flex-direction: column;
    }
    .purchase-box {
        position: static;
    }
}