@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
    text-align: center;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.main-header {
    margin-bottom: 40px;
}

h1 {
    font-size: 4em;
    font-weight: 700;
    margin: 0;
}

.main-header p {
    font-size: 1.2em;
    color: #aaa;
    margin-top: 10px;
}

.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.instruction-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.instruction-card h2 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.instruction-card ol {
    padding-left: 20px;
    line-height: 1.9;
    font-size: 1.05em;
}

.instruction-card li {
    margin-bottom: 20px;
    color: #ccc;
}

.instruction-card a {
    color: #8c9eff;
    text-decoration: none;
    font-weight: 600;
}

.instruction-card a:hover {
    text-decoration: underline;
}

.instruction-card code {
    background-color: #2c2c2c;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
}

.download-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 12px 25px;
    background-color: #fff;
    color: #121212;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #ccc;
}

.main-footer {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #333;
    background-color: #0a0a0a;
}

.back-button {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.back-button:hover {
    color: #aaa;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    .instruction-card {
        padding: 25px;
    }
}