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

:root {
    --gold-bright: #f6d365;
    --gold-primary: #d4a72c;
    --gold-deep: #a97812;
    --gold-text: #f3d98b;
    --gold-muted: #c9b276;
    --surface-page: #24231f;
    --surface-main: #302e29;
    --surface-card: #1d1c19;
    --surface-raised: #282621;
    --border-gold: #6f5a25;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--surface-page);
    color: var(--gold-text);
    line-height: 1.7;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #171612;
    border-bottom: 1px solid var(--border-gold);
    padding: 15px 0;
    position: relative;
    z-index: 40;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-section img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-section span {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-bright);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-text);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-bright);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    fill: var(--gold-text);
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: #171612;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--gold-text);
    transition: background-color 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
    background-color: #302b1e;
    color: var(--gold-bright);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gold-bright);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.toc {
    background-color: var(--surface-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

.toc-header {
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
    height: 6px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    border-bottom: 1px solid #4d4329;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li a {
    display: block;
    padding: 12px 25px;
    color: var(--gold-text);
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.toc-list li a:hover {
    background-color: #302b1e;
}

.toc-list li.toc-sub a {
    padding-left: 50px;
    font-size: 16px;
    font-weight: 400;
}

.toc-list li.toc-sub-deep a {
    padding-left: 75px;
    font-size: 16px;
    font-weight: 400;
}

.main-content {
    padding: 30px 0;
}

.main-content .container {
    padding: 30px 20px;
    background-color: var(--surface-main);
}

.hero-section {
    display: flex;
    background: linear-gradient(145deg, #201e19, #171612);
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    padding: 40px;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.version-info {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 25px;
    text-align: center;
}

.download-btn {
    display: block;
    width: 220px;
    margin: 0 auto;
    padding: 14px 40px;
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-primary) 55%, var(--gold-deep) 100%);
    color: #17130a;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(230, 168, 23, 0.5), 0 0 40px rgba(230, 168, 23, 0.25);
    transition: all 0.3s;
}

.download-btn:hover {
    background: linear-gradient(180deg, #ffe89a 0%, #e0b63e 55%, #b48319 100%);
    box-shadow: 0 0 25px rgba(230, 168, 23, 0.7), 0 0 50px rgba(230, 168, 23, 0.35);
    transform: scale(1.05);
}

.description-section {
    margin-bottom: 30px;
}

.description-section p {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.description-section a {
    color: var(--gold-bright);
    text-decoration: underline;
}

.description-section a:hover {
    color: #fff0b3;
}

.section-title {
    background: linear-gradient(110deg, var(--gold-deep), var(--gold-primary) 45%, var(--gold-bright));
    color: #17130a;
    font-size: 22px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    margin: 40px 0 30px 0;
    text-align: center;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.steps-list {
    margin: 20px 0;
    padding-left: 25px;
}

.steps-list li {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-box {
    background-color: #332d1d;
    border-left: 4px solid var(--gold-primary);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    color: var(--gold-text);
    font-size: 16px;
    line-height: 1.7;
}

.features-intro {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: var(--surface-raised);
    border: 1px solid #4d4329;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: var(--gold-bright);
}

.feature-card.active {
    border-color: var(--gold-primary);
    box-shadow: 0 8px 24px rgba(212, 167, 44, 0.18);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(83%) sepia(48%) saturate(737%) hue-rotate(351deg) brightness(98%) contrast(96%);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: #d1c7aa;
    line-height: 1.7;
}

.extra-features-list {
    margin: 20px 0;
    padding-left: 25px;
}

.extra-features-list li {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 15px;
    line-height: 1.8;
}

.extra-features-list li strong {
    color: var(--gold-bright);
}

.logo-center {
    text-align: center;
    margin: 40px 0;
}

.logo-center img {
    width: 120px;
    height: auto;
}

.download-section-title {
    background: linear-gradient(110deg, var(--gold-deep), var(--gold-primary) 45%, var(--gold-bright));
    color: #17130a;
    font-size: 22px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    margin: 40px 0 0 0;
    text-align: center;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-gold);
}

.download-table tr {
    border-bottom: 1px solid var(--border-gold);
}

.download-table tr:last-child {
    border-bottom: none;
}

.download-table td {
    padding: 15px 20px;
    font-size: 16px;
    background-color: var(--surface-raised);
    border: 1px solid var(--border-gold);
}

.download-table td:first-child {
    width: 50%;
    color: var(--gold-muted);
    font-weight: 400;
    font-style: italic;
}

.download-table td:last-child {
    color: var(--gold-bright);
}

.download-btn-large {
    display: block;
    width: 420px;
    max-width: 90%;
    margin: 30px auto;
    padding: 16px 60px;
    background: linear-gradient(180deg, #f5c842 0%, #e6a817 50%, #d4940f 100%);
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    text-align: center;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 168, 23, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    white-space: nowrap;
}

.download-btn-large:hover {
    background: linear-gradient(180deg, #ffd54f 0%, #f5b82e 50%, #e6a817 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 168, 23, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.install-intro {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.step-section {
    margin-bottom: 50px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-bright);
    text-align: center;
    margin-bottom: 25px;
}

.step-list {
    margin: 20px 0 30px 0;
    padding-left: 25px;
}

.step-list li {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 12px;
    line-height: 1.8;
    font-style: italic;
}

.step-list li strong {
    color: var(--gold-bright);
    font-style: normal;
}

.step-image {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.step-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.smarttv-intro {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.smarttv-steps {
    margin: 20px 0;
    padding-left: 25px;
}

.smarttv-steps li {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 15px;
    line-height: 1.8;
}

.smarttv-steps li strong {
    color: var(--gold-bright);
}

.alternatives-intro {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.alternatives-list {
    margin: 20px 0;
    padding-left: 25px;
    list-style-type: decimal;
}

.alternatives-list li {
    font-size: 16px;
    color: var(--gold-text);
    margin-bottom: 18px;
    line-height: 1.8;
}

.alternatives-list li strong {
    color: var(--gold-bright);
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background-color: var(--surface-raised);
    border: 1px solid #4d4329;
    border-left: 3px solid var(--gold-primary);
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #332d1d;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-bright);
    margin: 0;
}

.faq-icon {
    font-size: 24px;
    color: var(--gold-bright);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--surface-card);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 20px;
    font-size: 15px;
    color: #d1c7aa;
    line-height: 1.7;
    margin: 0;
}

.conclusion-text {
    font-size: 16px;
    color: var(--gold-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer {
    background-color: #171612;
    border-top: 1px solid var(--border-gold);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #aa9d7b;
}

.footer a {
    color: var(--gold-text);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 1px solid #333;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 20px;
        border-bottom: 1px solid #2a2a2a;
        font-size: 15px;
    }

    .nav-links a:hover {
        background-color: #272727;
    }

    .nav-dropdown {
        border-bottom: 1px solid #2a2a2a;
    }

    .nav-dropdown-toggle {
        padding: 14px 20px;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
        background-color: #141414;
        border: none;
        border-radius: 0;
        min-width: auto;
        border-top: 1px solid #2a2a2a;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid #222;
    }

    .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }

    .header .container {
        position: relative;
    }

    .main-content {
        padding: 20px 0;
    }

    .hero-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-logo img {
        width: 140px;
        height: 140px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-btn-large {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .logo-section span {
        font-size: 20px;
    }

    .screenshots-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .download-btn {
        width: 160px;
        padding: 10px 30px;
        font-size: 16px;
    }
}
