/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Motiva Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #1B2838;
    color: #FFFFFF;
    line-height: 1.2;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background-color: #171A21;
    width: 100%;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 250px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-content {
    display: flex;
    align-items: flex-start;
    padding: 30px 764px 30px 0;
    width: 535px;
    height: 104px;
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
    top: 30px;
}

.steam-logo {
    width: 176px;
    height: 44px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    position: absolute;
    left: 200px;
    top: 0;
    gap: 0;
    width: 334.97px;
}

.nav-item {
    color: #DCDEDF;
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    white-space: nowrap;
}

.nav-item:first-child {
    padding: 45px 6.22px 11.5px 7px;
}

.nav-item:nth-child(2) {
    padding: 45px 5.63px 11.5px 7px;
}

.nav-item:nth-child(3) {
    padding: 45px 5.44px 7px 7px;
    height: 73px;
}

.nav-item.active {
    color: #1A9FFF;
    padding: 45px 5.69px 7px 7px;
}

.nav-item.active .nav-indicator {
    width: 100%;
    height: 2.5px;
    background-color: #1A9FFF;
    border-radius: 0;
    margin-top: 2px;
}

/* Main Content */
.main-content {
    width: 100%;
}

.content-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    padding: 20px 0 24px;
    align-self: stretch;
}

.page-title h1 {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2000000476837158em;
    color: #A5ADB6;
    padding: 2px 864px 4px 0;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 1030px;
    height: 1209px;
}

/* Left Column - Main Content */
.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 204, 255, 1) 0%, rgba(51, 102, 255, 1) 100%);
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
}

.article-title {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.1470588235294117em;
    color: #FFFFFF;
    padding: 0 39px 24px 0;
}

.article-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-title {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.1923076923076923em;
    color: #FFFFFF;
    padding: 0 463px 0 0;
    width: 706px;
    margin-bottom: 0;
}

/* Download Section */
.download-card {
    background: rgba(0, 0, 0, 0.4);
    height: 137px;
    position: relative;
    margin-top: 0;
}

.download-icon-wrapper {
    position: absolute;
    left: 15px;
    top: 13px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.586px;
}

.app-icon {
    width: 110px;
    height: 110px;
    display: block;
    object-fit: contain;
}

.download-title {
    position: absolute;
    left: 153px;
    top: 26px;
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 30.824079513549805px;
    line-height: 1.1923077565661626em;
    color: #FFFFFF;
    width: 347px;
    height: 37px;
}

.download-button {
    position: absolute;
    left: 153px;
    top: 77px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 11.62152099609375px;
    padding: 0px 32.28200149536133px;
    width: 153.66px;
    height: auto;
    min-height: auto;
    background-color: #5C7E10;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.download-button:hover {
    background-color: #6a8f12;
}

.download-button .download-icon {
    width: 19.37px;
    height: 16.79px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.download-button span {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 250;
    font-size: 15.495361328125px;
    line-height: 1.9250000492366353em;
    text-align: left;
    vertical-align: center;
    color: #FFFFFF;
    white-space: nowrap;
}

/* FAQ Section */
.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.faq-question {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3333333333333333em;
    color: #FFFFFF;
    padding: 0px 4px 4px 0px;
    width: 706px;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 4px;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgb(57, 108, 137) 0%, rgba(54, 60, 68, 0) 100%);
}

.faq-answer {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.200000029343825em;
    color: #CFD2D3;
    width: 714px;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
    list-style: none;
    padding-left: 0;
}

.faq-answer li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 0;
}

.faq-answer li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #CFD2D3;
    font-weight: 400;
    font-size: 24px;
}

.faq-item:nth-child(1) .faq-question {
    padding: 0px 379px 4px 0px;
}

.faq-item:nth-child(2) .faq-question {
    padding: 0px 267px 4px 0px;
}

.faq-item:nth-child(3) .faq-question {
    padding: 0px 139px 4px 0px;
}

.faq-item:nth-child(4) .faq-question {
    padding: 0px 121px 4px 0px;
}

.faq-item:nth-child(5) .faq-question {
    padding: 0px 134px 4px 0px;
}

.faq-item:nth-child(6) .faq-question {
    padding: 0px 287px 4px 0px;
}

/* Right Column - Sidebar */
.sidebar {
    width: 316px;
    padding: 0 0 1313px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-card {
    display: flex;
    padding: 0 0 16px 16px;
    gap: 0;
}

.help-card:first-child {
    padding-bottom: 16px;
    align-items: flex-start;
}

.help-card:last-child {
    padding: 16px 0 16px 16px;
    align-items: flex-start;
}

.help-card-icon {
    padding: 0 8px 0 0;
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    height: auto;
}

.help-card-icon img {
    width: 32px;
    height: auto;
    display: block;
    object-fit: contain;
}

.help-icon {
    width: 32px;
    height: auto;
    max-height: 89px;
}

.community-icon {
    width: 32px;
    height: auto;
    max-height: 110px;
}

.help-card-content {
    width: 244px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.help-card-title {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2em;
    color: #D5D8DD;
    margin: 2px 0 0 0;
}

.help-card-text {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.2em;
    color: #A5ADB6;
    margin: 3px 0;
    padding: 1px 5px 2px 0;
    width: 244px;
}

.help-card-button {
    background-color: #3D434D;
    color: #EBEBEB;
    border: none;
    border-radius: 3px;
    padding: 4px 51px;
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 2em;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
    margin-top: 0;
    width: 244px;
    transition: background-color 0.2s;
}

.help-card-button:hover {
    background-color: #4a515c;
}

.help-card:first-child .help-card-button {
    margin-top: 0;
}

.help-card:last-child .help-card-button {
    width: 244px;
    padding: 4px 49.52px 4px 51.48px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    width: 100%;
    padding: 0 245px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-container {
    width: 950px;
    height: 81px;
    position: relative;
    margin: 0 auto;
}

.footer-line {
    width: 950px;
    height: 9px;
    border-top: 1px solid #363C44;
    position: absolute;
    left: 0;
}

.footer-line-top {
    top: 16px;
}

.footer-line-bottom {
    top: 72px;
}

.footer-logo {
    position: absolute;
    left: 0;
    top: 25px;
    width: 88px;
    height: 25px;
    padding: 2px 0 3px;
}

.valve-logo {
    width: 88px;
    height: 25px;
    display: block;
    object-fit: contain;
}

.footer-content {
    position: absolute;
    left: 100px;
    top: 25px;
    width: 692.3px;
}

.footer-copyright {
    padding: 0 9.3px 0 0;
}

.footer-copyright p {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 11.8125px;
    line-height: 1.3544973544973544em;
    color: #8F98A0;
    height: 20px;
    margin: 0;
}

.footer-copyright p:first-child {
    margin-bottom: 0;
}

.footer-copyright p:last-child {
    padding: 0 153.3px 0 0;
    margin-top: 0;
}

.footer-links {
    position: absolute;
    left: 0;
    top: 85px;
    padding: 1px 0 2px;
}

.footer-links p {
    font-family: 'Motiva Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.200000029343825em;
    color: #C6D4DF;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }

    .header-content {
        width: 100%;
        padding: 20px 0;
        flex-wrap: wrap;
        height: auto;
    }

    .nav-menu {
        position: static;
        left: auto;
        top: auto;
        flex-wrap: wrap;
        margin-top: 10px;
        width: 100%;
    }

    .content-container {
        padding: 12px 16px;
        align-items: stretch;
    }

    .page-title {
        padding: 20px 0 24px;
    }

    .page-title h1 {
        padding: 2px 0 4px 0;
        width: 100%;
        max-width: 358px;
    }

    .content-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 358px;
        height: auto;
        margin: 0 auto;
    }

    .content-column {
        width: 100%;
    }

    .article-title {
        display: none;
    }

    .article-content {
        padding: 24px 0;
    }

    .section-title {
        display: none;
    }

    .download-card {
        height: auto;
        min-height: 542px;
        padding: 0;
        position: relative;
        width: 100%;
        max-width: 359px;
        margin: 0 auto;
    }

    .download-icon-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 37px;
        width: 302px;
        max-width: calc(100% - 32px);
        height: auto;
        aspect-ratio: 1;
        padding: 9.845px;
    }

    .app-icon {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .download-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 358px;
        width: calc(100% - 32px);
        max-width: 302px;
        height: auto;
        font-size: 36px;
        line-height: 1.2000000211927626em;
        text-align: center;
        padding: 0 16px;
    }

    .download-button {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 463px;
        width: 216.34px;
        max-width: calc(100% - 32px);
        padding: 0 45.45px;
        gap: 16.36px;
    }

    .download-button .download-icon {
        width: 27.27px;
        height: 23.63px;
    }

    .download-button span {
        font-size: 21.815563201904297px;
        line-height: 1.924999899454765em;
    }

    .faq-question {
        width: 100%;
        max-width: 358px;
        padding-right: 31px;
        padding-left: 0;
    }

    .faq-answer {
        width: 100%;
        max-width: 358px;
        padding-left: 0;
        padding-right: 0;
    }

    .faq-item {
        width: 100%;
        max-width: 358px;
    }

    .faq-item:nth-child(1) .faq-question {
        padding-right: 31px;
    }

    .faq-item:nth-child(2) .faq-question,
    .faq-item:nth-child(3) .faq-question,
    .faq-item:nth-child(4) .faq-question,
    .faq-item:nth-child(5) .faq-question,
    .faq-item:nth-child(6) .faq-question {
        padding-right: 32px;
    }

    .article-sections {
        gap: 18px;
    }

    .sidebar {
        width: 100%;
        max-width: 346px;
        padding: 0;
        margin-top: 31px;
    }

    .sidebar-cards {
        gap: 12px;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 0;
    }

    .help-card {
        flex-direction: row;
        padding: 16px 0 16px 16px;
        background: none;
    }

    .help-card-content {
        width: 290px;
    }

    .help-card-text {
        width: 288px;
        padding: 1px 0 2px 0;
    }

    .help-card:first-child .help-card-button {
        width: 280px;
        padding: 4px 74.13px 4px 74.87px;
    }

    .help-card:last-child .help-card-button {
        width: 280px;
        padding: 4px 72.52px 4px 74.48px;
    }

    .help-card:last-child .help-card-text {
        padding: 1px 32px 2px 0;
    }

    .footer {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0;
        max-width: 100%;
    }

    .header-content {
        width: 100%;
        padding: 13px 8px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo {
        position: static;
        margin: 0;
        top: auto;
        left: auto;
    }

    .steam-logo {
        width: 156.63px;
        height: 36px;
    }

    .nav-menu {
        display: none;
    }

    .article-title {
        font-size: 24px;
        padding-right: 0;
    }

    .section-title {
        font-size: 20px;
    }

    .download-title {
        font-size: 36px;
    }

    .help-card-title {
        font-size: 16px;
    }

    .footer {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0;
        max-width: 100%;
    }

    .header-content {
        padding: 13px 8px;
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
    }

    .steam-logo {
        width: 156.63px;
        height: 36px;
    }

    .nav-menu {
        display: none;
    }

    .content-container {
        padding: 12px 10px;
    }

    .article-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 12px;
    }

    .footer {
        display: none;
    }
}

/* Very narrow screens (400px and below) */
@media (max-width: 400px) {
    .content-wrapper {
        max-width: 100%;
    }

    .page-title h1 {
        max-width: 100%;
        padding: 2px 0 4px 0;
    }

    .download-card {
        max-width: 100%;
    }

    .faq-item {
        max-width: 100%;
    }

    .faq-question {
        max-width: 100%;
    }

    .faq-answer {
        max-width: 100%;
    }
}

/* Very narrow screens (340px and below) */
@media (max-width: 360px) {
    .content-container {
        padding: 12px 8px;
    }

    .content-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .page-title h1 {
        padding: 2px 0 4px 0;
        font-size: 20px;
    }

    .download-card {
        width: 100%;
        min-height: 480px;
    }

    .download-icon-wrapper {
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        height: 260px;
        top: 20px;
        padding: 8px;
    }

    .app-icon {
        width: 260px;
        height: 260px;
    }

    .download-title {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 16px);
        max-width: 320px;
        top: 300px;
        height: auto;
        font-size: 28px;
        padding: 0 8px;
    }

    .download-button {
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        top: 400px;
        padding: 0 30px;
        gap: 12px;
    }

    .download-button .download-icon {
        width: 22px;
        height: 19px;
    }

    .download-button span {
        font-size: 18px;
    }

    .faq-item {
        width: 100%;
        padding: 12px 8px;
    }

    .faq-question {
        width: 100%;
        padding-right: 8px;
        padding-left: 0;
        font-size: 16px;
    }

    .faq-question::after {
        left: 0;
        width: 100%;
    }

    .faq-answer {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        font-size: 12px;
    }

    .faq-item:nth-child(1) .faq-question,
    .faq-item:nth-child(2) .faq-question,
    .faq-item:nth-child(3) .faq-question,
    .faq-item:nth-child(4) .faq-question,
    .faq-item:nth-child(5) .faq-question,
    .faq-item:nth-child(6) .faq-question {
        padding-right: 8px;
    }

    .sidebar {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .sidebar-cards {
        width: 100%;
        padding: 12px 8px;
    }

    .help-card {
        padding: 12px 8px;
        width: 100%;
    }

    .help-card-content {
        width: calc(100% - 40px);
        max-width: 280px;
    }

    .help-card-text {
        width: 100%;
        padding: 1px 0 2px 0;
    }

    .help-card:first-child .help-card-button,
    .help-card:last-child .help-card-button {
        width: 100%;
        max-width: 240px;
        padding: 4px 20px;
    }

    .help-card:last-child .help-card-text {
        padding: 1px 0 2px 0;
    }
}

