@font-face {
    font-family: 'Fira Sans';
    src: url('assets/fonts/FiraSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('assets/fonts/FiraSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('assets/fonts/FiraSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 986px;
    text-align: center;
    position: relative;
}
.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 33px;
    background: transparent;
    z-index: 900;
    display: flex;
    justify-content: center;
    pointer-events: auto;
}
.site-footer a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
}
.site-footer a:hover {
    color: #e6e6e6;
    text-decoration: underline;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.install-box {
    background-color: #151515;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.install-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.download-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.option {
    flex: 1 1 220px;
    background-color: #202020;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none !important;
}

@media (max-width: 560px) {
    .download-options {
        flex-direction: column;
    }
}

.command-box {
    background-color: #0d0d0d;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.install-box .command-box code {
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: anywhere;
    display: block;
    font-size: 0.9rem;
}

code {
    font-family: 'Consolas', monospace;
    color: #ffffff;
    white-space: pre;
}

.help-link {
    color: #4a9eff;
    text-decoration: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.help-link:hover {
    color: #66b1ff;
}

.copy-button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #555;
}

.download-button {
    font-family: inherit;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background-color: #3a3a3a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.download-button:hover:not(:disabled) {
    background-color: #4a4a4a;
}

.download-button:disabled {
    background-color: #222;
    cursor: not-allowed;
}

.tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

.download-button:disabled:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.platform-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #332222;
    border-radius: 6px;
    text-align: left;
}

.notice-text {
    color: #ff6666;
    margin-bottom: 1rem;
}

.note {
    color: #ccc;
    font-style: italic;
}
