/* ===== COLORS ===== */
:root {
    --bg:        #120f0f;
    --bg-header: #0a0909;
    --surface:   #181414;
    --surface-2: #1f1b1b;
    --border:    #2a2323;
    --text:      #e8e4e4;
    --muted:     #9d9797;
    --accent:    #9a8cff;
    --accent-2:  #ff9f43;
}

/* ===== PAGE AND SCROLLBAR ===== */
html {
    scroll-behavior: smooth;
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: #3a3131 var(--bg);
}
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar             { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track       { background: var(--bg); }
    ::-webkit-scrollbar-thumb       { background: #3a3131; border-radius: 10px; border: 2px solid var(--bg); }
    ::-webkit-scrollbar-thumb:hover { background: #5a4d4d; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    padding-top: 60px;
    background:
        radial-gradient(900px 420px at 50% -120px, rgba(123, 53, 244, 0.14), transparent 70%),
        var(--bg);
    background-attachment: fixed;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 112.5%;
    line-height: 1.6;
    color: var(--text);
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
::selection { background: rgba(154, 140, 255, 0.35); }

/* ===== BUTTONS ===== */
.buttons {
    margin-top: 32px;
    display: flex;
    gap: 20px;
}
.btn,
.btn2 {
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--surface-2);
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 80%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}
.btn {
    margin-left: 10px;
}
.btn2 {
    margin-left: auto;
    margin-right: 10px;
}
.btn:hover,
.btn2:hover {
    transform: translateY(-3px);
    background: #262121;
    border-color: rgba(255, 159, 67, 0.45);
    box-shadow: 0 8px 24px rgba(255, 159, 67, 0.22);
}

/* ===== HEADER & FOOTER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(10, 9, 9, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #221c1c;
    z-index: 10000;
    display: flex;
    align-items: center;
}
footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    font-size: 15px;
    color: #F2F0EA;
    text-align: center;
}

/* ===== ICONS ===== */
.icon,
.btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.btn:hover .icon,
.btn:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* ===== NAME ===== */
.cubesia {
    background: linear-gradient(
        135deg,
        #A8C4FF 0%,
        #7A90FF 25%,
        #6558FF 55%,
        #7B35F4 80%,
        #B53CFF 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
