
html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "JetBrains Mono", monospace;}

body {
background: #0a0a0a;
color: #e6e6e6;
display: flex;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,204,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,204,0,0.03) 1px, transparent 1px);

    background-size: 40px 40px;

    pointer-events: none;
}

.sidebar {
width: 240px;
height: 100vh;
position: fixed;
background: #111;
border-right: 1px solid #222;
padding: 20px;
overflow-y: auto;
}

.logo {
color: #ffcc00;
font-size: 18px;
font-weight: bold;
margin-bottom: 20px;
}

.sidebar a {
display: block;
color: #aaa;
text-decoration: none;
padding: 8px 0;
font-size: 14px;
}

.sidebar a:hover {
color: #ffcc00;
}

.sidebar a {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar a:hover {
    transform: translateX(6px);
}

.content {
margin-left: 260px;
padding: 40px;
max-width: 1100px;
width: 100%;
}

.hero h1 {
font-size: 40px;
color: #ffcc00;
}
@keyframes codeAppear {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero .codebox {
    animation: codeAppear 1s ease;
}

.hero p {
color: #aaa;
margin: 10px 0 20px;
}

.codebox pre {
background: #111;
border: 1px solid #333;
padding: 15px;
border-radius: 8px;
overflow-x: auto;
color: #ffe680;
user-select: all;
}

.section {
margin-top: 40px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeUp 0.8s ease forwards;
}

h2 {
color: #ffcc00;
border-bottom: 1px solid #333;
padding-bottom: 8px;
margin-bottom: 20px;
}

@keyframes lineGrow {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

h2 {
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 100%;
    background: #ffcc00;
    animation: lineGrow 1s ease;
}

.card {
background: #111;
border: 1px solid #222;
padding: 15px;
border-radius: 8px;
margin-bottom: 15px;
}

.card {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);

    border-color: #ffcc00;

    box-shadow:
        0 0 15px rgba(255, 204, 0, 0.15);
}

.card h3 {
color: #ffcc00;
margin-bottom: 8px;
}

@media (max-width: 900px) {
.sidebar {
width: 200px;
}
.content {
margin-left: 220px;
}
}

@media (max-width: 1000px) {
body {
flex-direction: column;
}

.sidebar {
position: relative;
width: 100%;
height: auto;
}

.content {
margin-left: 0;
padding: 20px;
}

.hero h1 {
font-size: 28px;
}
}

.creator-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.creator-links a {
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.creator-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
    opacity: 0.9;
}