/* RESET */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#fffafb;
    color:#2b2b2b;
    overflow-x:hidden;
    line-height:1.6;
    position:relative;
}

/* BACKGROUND BLURS */

.bg-blur{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    z-index:-1;
    opacity:0.45;
}

.blur1{
    width:400px;
    height:400px;
    background:#ffd6e7;
    top:-120px;
    left:-120px;
}

.blur2{
    width:450px;
    height:450px;
    background:#ffeef5;
    right:-180px;
    bottom:-120px;
}

/* ANNOUNCEMENT */

.announcement{
    width:100%;
    background:linear-gradient(90deg,#d7ffe6,#baf7d1);
    color:#157347;
    font-weight:700;
    padding:14px 20px;
    text-align:center;
    border-bottom:1px solid rgba(0,0,0,0.05);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    position:relative;
    z-index:20;
}

.status-dot{
    width:10px;
    height:10px;
    background:#1ecb69;
    border-radius:50%;
    box-shadow:0 0 12px #1ecb69;
}

/* NAVBAR */

nav{
    width:100%;
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter:blur(14px);
    background:rgba(255,255,255,0.7);

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:18px 7%;
    border-bottom:1px solid rgba(0,0,0,0.05);
}

.logo{
    font-size:26px;
    font-weight:800;
    color:#ff6fa5;
    letter-spacing:-1px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:24px;
}

.nav-links a{
    text-decoration:none;
    color:#666;
    font-weight:600;
    transition:0.25s;
    position:relative;
}

.nav-links a:hover{
    color:#ff6fa5;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#ff9bc2;
    transition:0.25s;
}

.nav-links a:hover::after{
    width:100%;
}

/* HERO */

.hero{
    padding:120px 20px 90px;
    max-width:1100px;
    margin:auto;
    text-align:center;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 16px;
    border-radius:999px;

    background:#fff0f6;
    color:#ff5f98;

    font-weight:700;
    font-size:14px;

    border:1px solid #ffd3e4;

    margin-bottom:28px;

    box-shadow:0 10px 30px rgba(255,111,165,0.12);
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    letter-spacing:-3px;
    margin-bottom:24px;
    color:#1f1f1f;
}

.hero p{
    max-width:760px;
    margin:auto;
    color:#666;
    font-size:20px;
}

.hero-buttons{
    margin-top:40px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

/* BUTTONS */

.btn{
    text-decoration:none;
    padding:16px 28px;
    border-radius:18px;
    font-weight:700;
    transition:0.25s;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.primary-btn{
    background:linear-gradient(135deg,#ff7eb3,#ff95bf);
    color:white;
    box-shadow:0 14px 35px rgba(255,126,179,0.35);
}

.primary-btn:hover{
    transform:translateY(-3px) scale(1.02);
    box-shadow:0 18px 45px rgba(255,126,179,0.45);
}

.secondary-btn{
    background:white;
    color:#ff6fa5;
    border:1px solid #ffd4e5;
    box-shadow:0 8px 24px rgba(0,0,0,0.05);
}

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

/* SECTIONS */

section{
    max-width:1100px;
    margin:auto;
    padding:70px 20px;
}

.section-title{
    margin-bottom:35px;
}

.section-title span{
    color:#ff7dac;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.5px;
}

.section-title h2{
    font-size:42px;
    letter-spacing:-1.5px;
    margin-top:8px;
    color:#222;
}

.section-title p{
    margin-top:10px;
    color:#666;
    max-width:650px;
}

/* CARDS */

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.card{
    background:rgba(255,255,255,0.75);
    border:1px solid rgba(255,192,220,0.5);
    border-radius:28px;
    padding:28px;

    box-shadow:
    0 10px 40px rgba(255,182,210,0.15);

    backdrop-filter:blur(16px);

    transition:0.25s;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:
    0 18px 50px rgba(255,182,210,0.2);
}

.card h3{
    margin-bottom:14px;
    font-size:22px;
    color:#ff5f98;
}

.card p{
    color:#555;
}

.info-box{
    margin-top:24px;
    background:#fff3f8;
    border:1px solid #ffd9e8;
    padding:18px 22px;
    border-radius:18px;
    color:#555;
}

/* LISTS */

ul{
    margin-left:18px;
}

li{
    margin-bottom:10px;
    color:#555;
}

/* CHAT */

.chat-box{
    background:rgba(255,255,255,0.8);
    border:1px solid #ffd6e6;

    border-radius:30px;
    padding:18px;

    box-shadow:
    0 15px 40px rgba(255,183,212,0.16);
}

#chat-output{
    background:#fff8fb;
    border-radius:20px;
    padding:18px;

    height:320px;
    overflow-y:auto;

    border:1px solid #ffe2ee;
}

#chat-output p{
    margin-bottom:14px;
    font-size:14px;
}

.system-msg{
    color:#999;
    font-style:italic;
}

.user-msg{
    color:#333;
}

.uwu-msg{
    color:#ff5f98;
}

.npc-msg{
    color:#7d5cff;
}

.timestamp{
    float:right;
    font-size:11px;
    color:#aaa;
    margin-left:8px;
}

/* TYPING DOTS */

.typing-dots span{
    display:inline-block;
    width:6px;
    height:6px;
    margin-right:4px;
    border-radius:50%;
    background:#ff8db7;
    animation:blink 1s infinite;
}

@keyframes blink{
    0%,80%,100%{
        opacity:0.2;
        transform:translateY(0);
    }

    40%{
        opacity:1;
        transform:translateY(-3px);
    }
}

/* INPUT */

.chat-buttons{
    margin-top:12px;
}

.chat-buttons button{
    background:#ff8db7;
    border:none;
    color:white;

    padding:10px 14px;
    border-radius:12px;

    font-weight:700;
    cursor:pointer;

    transition:0.2s;

    box-shadow:0 10px 20px rgba(255,141,183,0.2);
}

.chat-buttons button:hover{
    transform:scale(1.03);
}

.chat-input-container{
    display:flex;
    gap:12px;
    margin-top:14px;
}

#chat-input{
    flex:1;

    border:none;
    outline:none;

    background:white;
    border:1px solid #ffd5e5;

    border-radius:16px;

    padding:15px;

    font-size:15px;
}

#chat-input:focus{
    border-color:#ff9bc2;
    box-shadow:0 0 0 5px rgba(255,155,194,0.15);
}

#send-btn{
    border:none;
    cursor:pointer;

    background:linear-gradient(135deg,#ff7eb3,#ff95bf);
    color:white;

    font-weight:700;

    border-radius:16px;
    padding:0 24px;

    transition:0.2s;

    box-shadow:0 10px 24px rgba(255,126,179,0.3);
}

#send-btn:hover{
    transform:translateY(-2px);
}

/* DEMO NOTE */

.demo-note{
    margin-top:14px;
    color:#777;
    font-size:14px;
}

/* COMMANDS */

.command-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.command{
    background:rgba(255,255,255,0.8);
    border:1px solid #ffd7e6;

    padding:18px 20px;
    border-radius:22px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    transition:0.25s;

    box-shadow:0 10px 24px rgba(255,182,210,0.12);
}

.command:hover{
    transform:translateY(-3px);
}

.command code{
    color:#ff5f98;
    font-size:15px;
    font-weight:700;
}

.command button{
    border:none;
    cursor:pointer;

    background:#ff8db7;
    color:white;

    padding:10px 16px;
    border-radius:12px;

    font-weight:700;

    transition:0.2s;
}

.command button:hover{
    transform:scale(1.03);
}

/* UPDATE LOG */

.update-log{
    display:flex;
    flex-direction:column;
    gap:16px;

    background:rgba(255,255,255,0.72);
    border:1px solid #ffd6e6;

    padding:20px;
    border-radius:28px;

    height:320px;
    overflow-y:auto;

    box-shadow:
    0 15px 40px rgba(255,182,210,0.14);
}

.update-entry{
    background:#fff7fa;
    border:1px solid #ffe0ec;

    border-radius:18px;
    padding:18px;

    transition:0.2s;
}

.update-entry:hover{
    transform:translateY(-2px);
    background:white;
}

.update-date{
    display:inline-block;

    font-size:12px;
    font-weight:800;

    color:#ff6fa5;
    margin-bottom:8px;

    letter-spacing:0.5px;
    text-transform:uppercase;
}

.update-entry p{
    color:#555;
}

/* FOOTER */

footer{
    margin-top:50px;
    padding:60px 20px;

    text-align:center;

    border-top:1px solid rgba(255,192,220,0.4);

    background:
    linear-gradient(
        180deg,
        rgba(255,245,249,0.4),
        rgba(255,240,246,0.8)
    );
}

footer h3{
    font-size:32px;
    letter-spacing:-1px;
    margin-bottom:22px;
    color:#222;
}

.footer-discord{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    background:linear-gradient(135deg,#ff7eb3,#ff95bf);
    color:white;

    padding:16px 28px;
    border-radius:18px;

    font-weight:700;

    transition:0.25s;

    box-shadow:
    0 16px 35px rgba(255,126,179,0.25);
}

.footer-discord:hover{
    transform:translateY(-3px) scale(1.02);

    box-shadow:
    0 20px 45px rgba(255,126,179,0.35);
}

.footer-small{
    margin-top:24px;
    color:#888;
    font-size:14px;
}

/* SCROLLBAR */

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

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

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

::-webkit-scrollbar-thumb:hover{
    background:#ff9fc4;
}

/* FADE IN ANIMATIONS */

.hero,
section,
footer{
    animation:fadeUp 0.7s ease;
}

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

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

/* RESPONSIVE */

@media (max-width:950px){

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

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

    nav{
        flex-direction:column;
        gap:18px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }
}

@media (max-width:700px){

    .hero{
        padding-top:90px;
    }

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

    .hero p{
        font-size:17px;
    }

    .section-title h2{
        font-size:34px;
    }

    .chat-input-container{
        flex-direction:column;
    }

    #send-btn{
        width:100%;
        height:52px;
    }

    .command{
        flex-direction:column;
        gap:14px;
        align-items:flex-start;
    }

    .command button{
        width:100%;
    }

    .footer-discord{
        width:100%;
    }
}

@media (max-width:500px){

    nav{
        padding:16px 20px;
    }

    .nav-links{
        gap:14px;
    }

    .nav-links a{
        font-size:14px;
    }

    .hero h1{
        font-size:36px;
        line-height:1.1;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .hero-buttons .btn{
        width:100%;
    }

    .card{
        padding:22px;
    }

    .chat-box{
        padding:14px;
    }

    #chat-output{
        height:280px;
    }
}
