/* ===============================
   Font
================================ */
@font-face {
    font-family: 'Xiaolai';
    src: url('../fonts/Xiaolai-Regular.ttf') format('truetype');
    font-display: swap;
}

/* ===============================
   Reset
================================ */
*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===============================
   Base
================================ */
body{
    font-family:'Xiaolai',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    background:#f9fafb;
    color:#1f2937;
    line-height:1.6;
    min-height:100vh;
    position:relative;
}

/* ===============================
   Canvas Background
================================ */
.canvas-background{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:-1;
    pointer-events:none;
}

/* ===============================
   Navbar
================================ */
header{
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    box-shadow:0 1px 3px rgba(0,0,0,.1);
}

/* ===============================
   Card Component
================================ */
.card{
    background:#fff;
    border-radius:12px;
    padding:24px;
    box-shadow:
        0 4px 6px -1px rgba(0,0,0,.1),
        0 2px 4px -1px rgba(0,0,0,.06);
    transition:all .3s ease;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 10px 15px -3px rgba(0,0,0,.1),
        0 4px 6px -2px rgba(0,0,0,.05);
}

/* ===============================
   Buttons
================================ */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.75rem 1.5rem;
    border-radius:.5rem;
    font-weight:600;
    cursor:pointer;
    border:none;
    transition:.2s;
}

.btn-primary{
    background:#3b82f6;
    color:#fff;
}

.btn-primary:hover{
    background:#2563eb;
    transform:scale(1.05);
}

.btn-secondary{
    background:#e5e7eb;
    color:#374151;
}

.btn-secondary:hover{
    background:#d1d5db;
}

/* ===============================
   Server Panel
================================ */
.server-panel{
    position:fixed;
    bottom:24px;
    right:24px;
    width:280px;
    padding:16px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* ===============================
   Download Section
================================ */
.download-section{
    background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
    color:#fff;
    padding:3rem 1rem;
    text-align:center;
    border-radius:12px;
    margin:2rem 0;
}

.download-section h2{
    font-size:2rem;
    margin-bottom:1rem;
}

.download-section p{
    font-size:1.125rem;
    opacity:.9;
}

/* ===============================
   Responsive
================================ */
@media (max-width:768px){

.nav-link{
    padding:0rem .5rem;
    font-size:.875rem;
}

.server-panel{
    width:240px;
    bottom:16px;
    right:16px;
}

}

@media (max-width:480px){

.download-section{
    padding:2rem .75rem;
}

.download-section h2{
    font-size:1.5rem;
}

}