* {
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
margin: 0;
font-family: Arial, sans-serif;
background: #111018;
color: #f5ead7;
line-height: 1.6;
}

/* Main homepage hero */

.hero {
min-height: 70vh;
padding: 80px 24px;
text-align: center;
background:
linear-gradient(rgba(10, 8, 16, 0.65), rgba(10, 8, 16, 0.95)),
radial-gradient(circle at top, #3b2b5a, #111018 70%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.hero h1 {
font-size: clamp(2.5rem, 8vw, 5rem);
margin: 0 0 16px;
letter-spacing: 2px;
}

.hero p {
max-width: 760px;
font-size: 1.2rem;
color: #dccfbf;
}

/* Subpage hero */

.subpage-hero {
min-height: 40vh;
padding: 60px 24px;
text-align: center;
background:
linear-gradient(rgba(10, 8, 16, 0.65), rgba(10, 8, 16, 0.95)),
radial-gradient(circle at top, #3b2b5a, #111018 70%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.subpage-hero h1 {
font-size: clamp(2.2rem, 7vw, 4rem);
margin: 0 0 16px;
letter-spacing: 2px;
}

.subpage-hero p {
max-width: 760px;
font-size: 1.1rem;
color: #dccfbf;
}

/* Buttons */

.buttons {
margin-top: 28px;
display: flex;
gap: 12px;
flex-wrap: wrap;
justify-content: center;
}

.buttons a {
color: #111018;
background: #f0c36a;
text-decoration: none;
padding: 12px 18px;
border-radius: 8px;
font-weight: bold;
transition: transform 0.15s ease, background 0.15s ease;
}

.buttons a:hover {
background: #ffd77e;
transform: translateY(-2px);
}

.card-buttons {
justify-content: flex-start;
margin-top: 20px;
}

/* Main page layout */

main {
width: min(1000px, 92%);
margin: 40px auto;
}

.card {
background: #1c1a26;
border: 1px solid #3a344a;
border-radius: 16px;
padding: 28px;
margin-bottom: 24px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card h2 {
margin-top: 0;
color: #f0c36a;
font-size: 2rem;
}

.card h3 {
color: #d7b56d;
margin-top: 24px;
margin-bottom: 8px;
}

.card p {
color: #f5ead7;
}

.card ul {
padding-left: 24px;
}

.card li {
margin-bottom: 6px;
}

.version {
font-weight: bold;
color: #d7b56d;
}

/* Screenshot placeholders */

.screenshot-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
margin-top: 24px;
}

.screenshot-placeholder {
min-height: 220px;
border: 1px dashed #6e607f;
border-radius: 12px;
background: #14121d;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #9f94aa;
}

/* Notice boxes */

.notice-box {
margin-top: 18px;
padding: 16px;
border-left: 4px solid #f0c36a;
background: #14121d;
border-radius: 8px;
}

.notice-box p {
margin: 0;
color: #dccfbf;
}

/* Social links */

.social-link-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 14px;
margin-top: 20px;
}

.social-link {
display: flex;
align-items: center;
gap: 12px;
background: #14121d;
border: 1px solid #3a344a;
border-radius: 12px;
padding: 14px 16px;
color: #f5ead7;
text-decoration: none;
font-weight: bold;
transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social-link:hover {
transform: translateY(-2px);
border-color: #f0c36a;
background: #201d2c;
}

.social-link img {
width: 28px;
height: 28px;
object-fit: contain;
}

.social-link span {
font-size: 1rem;
}

/* Optional disabled social links */

.disabled-link {
opacity: 0.6;
cursor: not-allowed;
}

.disabled-link:hover {
transform: none;
border-color: #3a344a;
background: #14121d;
}

/* Old link list backup */

.link-list {
list-style: none;
padding-left: 0;
}

.link-list li {
padding: 6px 0;
}

/* Download code page */

.code-box {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 20px;
}

.code-box input {
flex: 1;
min-width: 220px;
padding: 12px 14px;
border-radius: 8px;
border: 1px solid #3a344a;
background: #14121d;
color: #f5ead7;
font-size: 1rem;
}

.code-box input::placeholder {
color: #9f94aa;
}

.code-box button {
color: #111018;
background: #f0c36a;
border: none;
padding: 12px 18px;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease;
}

.code-box button:hover {
background: #ffd77e;
transform: translateY(-2px);
}

.code-message {
margin-top: 16px;
font-weight: bold;
}

.success-message {
color: #8ee6a2;
}

.error-message {
color: #ff8f8f;
}

.hidden {
display: none;
}

/* Footer */

footer {
text-align: center;
padding: 30px;
color: #9f94aa;
}

/* Mobile */

@media (max-width: 600px) {
.hero {
padding: 60px 18px;
}

```
.hero h1 {
	font-size: 2.6rem;
}

.hero p {
	font-size: 1rem;
}

.subpage-hero {
	padding: 50px 18px;
}

.subpage-hero h1 {
	font-size: 2.4rem;
}

.subpage-hero p {
	font-size: 1rem;
}

.buttons a {
	width: 100%;
	max-width: 260px;
}

.card {
	padding: 22px;
}

.card h2 {
	font-size: 1.6rem;
}

.screenshot-grid {
	grid-template-columns: 1fr;
}

.social-link-grid {
	grid-template-columns: 1fr;
}

.code-box {
	flex-direction: column;
}

.code-box input,
.code-box button {
	width: 100%;
}
```

}
