* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --steam-dark: #1b2838;
    --steam-darker: #171a21;
    --steam-darkest: #0e1621;
    --steam-blue: #1a9fff;
    --steam-blue-light: #66c0f4;
    --steam-green: #5c7e10;
    --steam-green-light: #beee11;
    --steam-text: #c7d5e0;
    --steam-text-dark: #8f98a0;
    --steam-border: #3d4450;
    --steam-hover: #283a4f;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--steam-darkest);
    color: var(--steam-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.steam-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1b2838 0%, #0e1621 100%);
    z-index: 0;
}

.steam-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 159, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(92, 126, 16, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

/* Navbar */
.navbar {
    background: rgba(23, 26, 33, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--steam-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--steam-blue-light);
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(26, 159, 255, 0.5));
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--steam-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--steam-blue-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--steam-blue);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    padding: 100px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    background: var(--steam-green);
    color: var(--steam-green-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--steam-blue-light), var(--steam-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--steam-text-dark);
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--steam-blue-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--steam-text-dark);
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--steam-blue), var(--steam-blue-light));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 159, 255, 0.3);
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 159, 255, 0.5);
    background: linear-gradient(135deg, var(--steam-blue-light), var(--steam-blue));
}

/* Hero Visual - Launcher Preview */
.hero-visual {
    position: relative;
}

.launcher-preview {
    perspective: 1000px;
}

.preview-window {
    background: var(--steam-darker);
    border: 1px solid var(--steam-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.preview-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    background: var(--steam-dark);
    border-bottom: 1px solid var(--steam-border);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
}

.control-btn.close {
    background: #ff5f57;
}

.control-btn.minimize {
    background: #ffbd2e;
}

.control-btn.maximize {
    background: #28c940;
}

.window-title {
    color: var(--steam-text);
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
}

.window-content {
    background: var(--steam-darkest);
    padding: 1.5rem;
    min-height: 300px;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-item-preview {
    background: var(--steam-dark);
    border: 1px solid var(--steam-border);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.game-item-preview:hover {
    background: var(--steam-hover);
    border-color: var(--steam-blue);
}

.game-icon-preview {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--steam-darkest);
    border-radius: 6px;
    flex-shrink: 0;
}

.game-icon-preview svg {
    width: 100%;
    height: 100%;
}

.game-info-preview {
    flex: 1;
}

.game-name-preview {
    font-weight: 600;
    color: var(--steam-text);
    margin-bottom: 0.25rem;
}

.game-status-preview {
    font-size: 0.85rem;
    color: var(--steam-text-dark);
}

.game-status-preview.online {
    color: var(--steam-green-light);
}

.game-status-preview.updating {
    color: var(--steam-blue-light);
}

.play-btn-preview {
    background: var(--steam-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn-preview:hover:not(:disabled) {
    background: var(--steam-blue-light);
    transform: scale(1.05);
}

.play-btn-preview:disabled {
    background: var(--steam-border);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--steam-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--steam-text-dark);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.large-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--steam-text);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--steam-text);
    border-bottom: 1px solid var(--steam-border);
}

.image-placeholder {
    background: var(--steam-dark);
    border: 2px solid var(--steam-border);
    border-radius: 8px;
    padding: 4rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(26, 159, 255, 0.3));
}

.placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.placeholder-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--steam-blue-light);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(23, 26, 33, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.steam-card {
    background: var(--steam-dark);
    border: 1px solid var(--steam-border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.steam-card:hover {
    background: var(--steam-hover);
    border-color: var(--steam-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--steam-blue-light);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--steam-blue-light);
    margin: 0;
}

.feature-card p {
    color: var(--steam-text-dark);
    line-height: 1.7;
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-card-main {
    background: var(--steam-dark);
    border: 2px solid var(--steam-blue);
    border-radius: 8px;
    padding: 3rem;
    position: relative;
}

.download-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--steam-blue);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.platform-icon-large {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(26, 159, 255, 0.3));
}

.platform-icon-large svg {
    width: 100%;
    height: 100%;
}

.platform-details h3 {
    font-size: 2.5rem;
    color: var(--steam-blue-light);
    margin-bottom: 0.5rem;
}

.platform-details p {
    color: var(--steam-text-dark);
    font-size: 1.1rem;
}

.download-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--steam-darkest);
    border-radius: 6px;
    border: 1px solid var(--steam-border);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: var(--steam-text-dark);
    font-size: 0.9rem;
}

.info-value {
    color: var(--steam-text);
    font-weight: 600;
}

.sys-req {
    padding: 1.5rem;
    background: var(--steam-darkest);
    border-radius: 6px;
    border: 1px solid var(--steam-border);
}

.sys-req h4 {
    color: var(--steam-blue-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sys-req ul {
    list-style: none;
    padding-left: 0;
}

.sys-req li {
    padding: 0.5rem 0;
    color: var(--steam-text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.sys-req li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--steam-green-light);
    font-weight: 700;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn-steam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--steam-blue), var(--steam-blue-light));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 159, 255, 0.4);
}

.download-btn-steam:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 159, 255, 0.6);
    background: linear-gradient(135deg, var(--steam-blue-light), var(--steam-blue));
}

.download-btn-torrent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--steam-blue);
    color: var(--steam-blue-light);
    padding: 1.25rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.download-btn-torrent:hover {
    background: rgba(26, 159, 255, 0.1);
    border-color: var(--steam-blue-light);
    color: var(--steam-blue-light);
    transform: translateY(-2px);
}

/* How To Section */
.how-to-section {
    padding: 80px 0;
    background: rgba(23, 26, 33, 0.5);
}

.how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: var(--steam-blue-light);
    text-align: center;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--steam-blue-light);
    margin-bottom: 1rem;
    text-align: center;
}

.step-card p {
    color: var(--steam-text-dark);
    line-height: 1.7;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: var(--steam-dark);
    border: 1px solid var(--steam-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--steam-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.faq-item:hover {
    border-color: rgba(26, 159, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.faq-item.active {
    border-color: var(--steam-blue);
    box-shadow: 0 8px 24px rgba(26, 159, 255, 0.2);
    background: rgba(26, 159, 255, 0.05);
}

.faq-item.active::before {
    transform: scaleY(1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.75rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--steam-text);
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--steam-border), transparent);
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::after {
    opacity: 0;
}

.faq-question:hover {
    background: var(--steam-hover);
    color: var(--steam-blue-light);
    padding-left: 2.5rem;
}

.faq-question span {
    flex: 1;
    line-height: 1.6;
}

.faq-icon {
    width: 32px;
    height: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: var(--steam-blue);
    background: rgba(26, 159, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(26, 159, 255, 0.2);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--steam-blue), var(--steam-blue-light));
    color: white;
    border-color: var(--steam-blue-light);
    box-shadow: 0 4px 12px rgba(26, 159, 255, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.4s ease;
    padding: 0 2rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 2rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--steam-text-dark);
    line-height: 1.9;
    margin: 0;
    padding-top: 1.5rem;
    font-size: 1.05rem;
    animation: fadeInText 0.5s ease forwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--steam-darker);
    border-top: 1px solid var(--steam-border);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--steam-text);
    margin: 0;
}

.footer-note {
    color: var(--steam-text-dark);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .how-to-steps {
        grid-template-columns: 1fr;
    }
    
    .download-info-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn-steam,
    .download-btn-torrent {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .platform-info {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
