/* =========================================
   Nyrae Discord Snowflake Analyzer
   style.css — Part 1
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Inter",sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    background:#09090f;
    color:#fff;
    overflow-x:hidden;
}

.background{
    position:fixed;
    inset:0;
    z-index:-2;
    background:
        radial-gradient(circle at top,#7c3aed55,transparent 35%),
        radial-gradient(circle at bottom,#4f46e533,transparent 40%),
        linear-gradient(180deg,#09090f,#11111b);
}

.container{
    width:min(1200px,95%);
    margin:auto;
    padding:50px 0;
}

header{
    text-align:center;
    margin-bottom:35px;
}

header h1{
    font-size:52px;
    font-weight:800;
    letter-spacing:-2px;
}

header p{
    margin-top:8px;
    color:#a7a7c6;
    font-size:17px;
}

.searchCard{
    display:flex;
    gap:15px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:20px;
    backdrop-filter:blur(16px);
    margin-bottom:25px;
    box-shadow:
        0 15px 45px rgba(0,0,0,.35),
        0 0 30px rgba(124,58,237,.12);
}

.searchCard input{
    flex:1;
    background:#181824;
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    font-size:16px;
    border-radius:14px;
    padding:16px 18px;
    outline:none;
    transition:.25s;
}

.searchCard input:focus{
    border-color:#7c3aed;
    box-shadow:0 0 0 4px rgba(124,58,237,.2);
}

.searchCard button{
    background:#7c3aed;
    color:#fff;
    border:none;
    padding:16px 28px;
    border-radius:14px;
    cursor:pointer;
    font-weight:700;
    font-size:15px;
    transition:.25s;
}

.searchCard button:hover{
    transform:translateY(-2px);
    background:#8b5cf6;
}

.error{
    margin-bottom:25px;
    background:#451616;
    border:1px solid #ff5a5a;
    color:#ffd0d0;
    padding:16px;
    border-radius:14px;
    text-align:center;
}

.hidden{
    display:none;
}

.results{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.section{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border-radius:22px;
    padding:25px;
    box-shadow:
        0 15px 45px rgba(0,0,0,.35),
        0 0 30px rgba(124,58,237,.08);
}

.section h2{
    font-size:24px;
    margin-bottom:20px;
    font-weight:700;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.card{
    background:#171723;
    border:1px solid rgba(255,255,255,.06);
    border-radius:16px;
    padding:18px;
    transition:.25s;
}

.card:hover{
    transform:translateY(-4px);
    border-color:#7c3aed;
}

.card span{
    display:block;
    color:#a7a7c6;
    font-size:14px;
    margin-bottom:8px;
}

.card strong{
    display:block;
    font-size:17px;
    word-break:break-word;
    line-height:1.5;
}

.card code{
    display:block;
    white-space:pre-wrap;
    word-break:break-all;
    color:#8b5cf6;
    font-size:14px;
}
/* =========================================
   Nyrae Discord Snowflake Analyzer
   style.css — Part 2
========================================= */

.actions{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
}

.actions button{
    background:#7c3aed;
    color:#fff;
    border:none;
    border-radius:14px;
    padding:15px 18px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
    box-shadow:0 8px 20px rgba(124,58,237,.25);
}

.actions button:hover{
    background:#8b5cf6;
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(124,58,237,.4);
}

.actions button:active{
    transform:scale(.97);
}

button{
    -webkit-tap-highlight-color:transparent;
}

input,
button{
    font-family:"Inter",sans-serif;
}

code{
    display:block;
    background:#101018;
    border:1px solid rgba(255,255,255,.05);
    border-radius:10px;
    padding:10px;
    overflow-x:auto;
    user-select:text;
}

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{
    background:#101018;
}

::-webkit-scrollbar-thumb{
    background:#7c3aed;
    border-radius:999px;
}

::-webkit-scrollbar-thumb:hover{
    background:#8b5cf6;
}

footer{
    margin-top:40px;
    text-align:center;
    color:#8f8fa8;
    font-size:14px;
    opacity:.8;
}

footer p{
    padding:20px 0;
}

.fade-in{
    animation:fadeIn .35s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(12px);
    }

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

}

.card,
.actions button,
.searchCard,
.section{
    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s,
        background .25s;
}

.card:hover{
    box-shadow:
        0 0 25px rgba(124,58,237,.18);
}

.success{
    border-color:#22c55e !important;
}

.warning{
    border-color:#f59e0b !important;
}

.danger{
    border-color:#ef4444 !important;
}

.text-purple{
    color:#8b5cf6;
}

.text-green{
    color:#22c55e;
}

.text-red{
    color:#ef4444;
}

.text-yellow{
    color:#f59e0b;
}

.text-muted{
    color:#a7a7c6;
}

.hidden{
    display:none !important;
}
/* =========================================
   Nyrae Discord Snowflake Analyzer
   style.css — Part 3
========================================= */

@media (max-width:1000px){

    .container{
        width:95%;
    }

    .grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:750px){

    header h1{
        font-size:42px;
    }

    header p{
        font-size:15px;
    }

    .searchCard{
        flex-direction:column;
    }

    .searchCard input,
    .searchCard button{
        width:100%;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .actions{
        grid-template-columns:1fr;
    }

    .card strong{
        font-size:15px;
    }

    .card code{
        font-size:13px;
    }

}

@media (max-width:450px){

    .container{
        width:94%;
        padding:25px 0;
    }

    header h1{
        font-size:34px;
    }

    .section{
        padding:18px;
    }

    .card{
        padding:15px;
    }

    .searchCard{
        padding:15px;
    }

}

::selection{
    background:#7c3aed;
    color:#fff;
}

a{
    color:#8b5cf6;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

button:disabled{
    opacity:.55;
    cursor:not-allowed;
    transform:none !important;
}

.card strong,
.card code{
    overflow-wrap:anywhere;
}

.loading{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    padding:25px;
}

.loading::before{
    content:"";
    width:18px;
    height:18px;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.15);
    border-top-color:#8b5cf6;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.glow{
    box-shadow:
        0 0 25px rgba(124,58,237,.25),
        0 0 50px rgba(124,58,237,.15);
}

.center{
    text-align:center;
}

.right{
    text-align:right;
}

.left{
    text-align:left;
}

.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}

.mb-10{margin-bottom:10px;}
.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}

.purple{
    color:#8b5cf6;
}

.green{
    color:#22c55e;
}

.red{
    color:#ef4444;
}

.yellow{
    color:#facc15;
}

.small{
    font-size:13px;
}

.large{
    font-size:20px;
    font-weight:700;
}

footer{
    opacity:.75;
    transition:.3s;
}

footer:hover{
    opacity:1;
}

html,
body{
    scrollbar-color:#7c3aed #111;
}