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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #5a3e4b;
    background: #fef6f9;
}

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

header {
    background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 50%, #f06292 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

header .subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

nav {
    background: #f06292;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(240, 98, 146, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 12px 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    transition: background 0.2s;
}

nav a:hover {
    background: rgba(255,255,255,0.25);
}

main {
    padding: 40px 20px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #c2185b;
    border-bottom: 3px solid #f8bbd0;
    padding-bottom: 8px;
}

ul {
    margin-left: 20px;
    margin-top: 10px;
}

li {
    margin-bottom: 6px;
}

.btn {
    display: inline-block;
    background: #ec407a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(236, 64, 122, 0.3);
}

.btn:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

.note {
    background: #fce4ec;
    border: 1px solid #f8bbd0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.92em;
    color: #5a3e4b;
}

.note a {
    color: #d81b60;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #f8bbd0;
    transition: border-color 0.2s;
}

.note a:hover {
    border-bottom-color: #d81b60;
}

.music-link:hover {
    border-bottom-color: #d81b60;
}

.small {
    font-size: 0.85em;
    color: #999;
    margin-top: 8px;
}

pre {
    background: #fce4ec;
    color: #5a3e4b;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.9em;
    margin-top: 10px;
    border: 1px solid #f8bbd0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid #f8bbd0;
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.15s;
}

.feature-card:hover {
    box-shadow: 0 6px 20px rgba(240, 98, 146, 0.15);
    transform: translateY(-3px);
}

.feature-card h3 {
    color: #d81b60;
    margin-bottom: 8px;
    font-size: 1.15em;
}

.feature-card p {
    font-size: 0.92em;
    color: #7a5a6a;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #fff;
    border: 1px solid #f8bbd0;
    border-radius: 16px;
    padding: 20px;
    transition: box-shadow 0.2s, transform 0.15s;
}

.project-card:hover {
    box-shadow: 0 6px 20px rgba(240, 98, 146, 0.15);
    transform: translateY(-3px);
}

.project-card h3 {
    margin-bottom: 8px;
}

.project-card h3 a {
    color: #d81b60;
    text-decoration: none;
}

.project-card h3 a:hover {
    text-decoration: underline;
}

.project-card p {
    font-size: 0.92em;
    color: #7a5a6a;
    margin-bottom: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f8bbd0;
}

th {
    background: #f8bbd0;
    color: #c2185b;
    font-weight: 600;
}

td {
    background: #fff;
    color: #5a3e4b;
}

td code {
    background: #fce4ec;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.lang {
    display: inline-block;
    font-size: 0.75em;
    padding: 3px 12px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.lang.shell { background: #f8bbd0; color: #c2185b; }
.lang.scss { background: #f48fb1; color: #fff; }
.lang.roff { background: #ce93d8; color: #fff; }
.lang.python { background: #ba68c8; color: #fff; }

footer {
    background: #f8bbd0;
    color: #7a5a6a;
    text-align: center;
    padding: 24px 0;
    font-size: 0.9em;
}

footer a {
    color: #c2185b;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 600px) {
    header h1 { font-size: 1.8em; }
    nav ul { gap: 12px; flex-wrap: wrap; }
    .features-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
}
