
@keyframes guideFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px) scale(1.05);
    }
    100% {
        transform: translateY(0);
    }
}
#guide {
    animation: guideFloat 2.2s ease-in-out infinite;
    transition: filter 0.3s;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.9;
    }
}

@keyframes start {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(750px);
    }
    50% {
        transform: translateX(1500px);
    }
    75% {
        transform: translateX(2250px);
    }
    100% {
        transform: translateX(3000px);
    }
}

@keyframes coin-blow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes move {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.coin-animate {
    animation: coin-blow 0.5s ease;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('JetBrainsMono-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes bounceAttention {
    0% {
        transform: translateY(60%);
        box-shadow: 0 0 0 #ffff77;
    }
    30% {
        transform: translateY(30%);
        box-shadow: 0 0 20px #ffff77;
    }
    50% {
        transform: translateY(0);
        box-shadow: 0 0 30px #ffff77;
    }
    70% {
        transform: translateY(30%);
        box-shadow: 0 0 20px #ffff77;
    }
    100% {
        transform: translateY(60%);
        box-shadow: 0 0 0 #ffff77;
    }
}

@keyframes moveAndAttention {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 #ffff77
    }
    50% {
        transform: translateY(-20px);
        box-shadow: 0 0 30px #ffff77
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 #ffff77
    }
}

#navbar.attention {
    animation: bounceAttention 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    font-family: "JetBrains Mono", serif;
    background-color: #663399;
    color: #DDA0DD;
    text-align: left;
    padding: 40px;
}

.night {
    background-image: url('sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    color: #E6E6FA;
    margin-top: 30px;
}

p {
    font-size: 20px;
    color: #c6c6eA;
}

button {
    font-family: "JetBrains Mono", serif;
    padding: 10px 15px;
    margin-left: 10px;
    background-color: #441177;
    color: #E6E6FA;
    border: none;
    border-radius: 10px;
    transition: 0.4s ease-in-out;
}

button:hover {
    background-color: #441177;
    color: #ffff77;
    font-weight: bold;
    box-shadow: 0 0 30px #ffff77;
    text-shadow: 0 0 30px #ffff77;
    transform: scale(1.1);
}

.new {
    font-size: 12px;
    color: #E6E6FA;
    background: #330066;
    padding: 2px 5px;
    border-radius: 4px;
    position: absolute;
    transform: translate(-10px, -10px);
}

hr {
    border: 1px solid #DDA0DD;
    margin: 20px 0;
}

#Search {
    border-radius: 10px;
    width: 100%;
    background-color: #552288;
    top: 0;
    left: 0;
    position: fixed;
}

input[type="search"]{
    width: 70%;
    padding: 5px;
    margin-top: 2%;
    margin-left: 1%;
    margin-bottom: 1%;
    border: 1px solid #441177;
    border-radius: 4px;
    font-size: 16px;
    color: #ffffff;
    background-color: #8855AA;
    font-family: "JetBrains Mono", system-ui;
}

input::placeholder {
    color: #c6c6eA;
    font-family: "JetBrains Mono", system-ui;
}

a {
    color: #ffffff;
    text-decoration: none;
    padding: -10px;
}

#footer {
    background-color: #330055;
    padding: 5%;
    border-radius: 5%;
    font-size: 5px;
}

.message-box {
    margin-top: 5%;
    margin-left: 0;
    padding: 15px;
    background-color: #441177;
    color: white;
    position: relative;
    width: 70%;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

svg {
    margin-left: 3%;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

#more {
    margin-left: 0;
    background-color: #110044;
    padding: 1%;
    border-radius: 30%;
}

#load {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    background-color: #663399;
    color: #E6E6FA;
}

#pocket {
    width: 100px;
    height: 100px;
    display: inline-block;
    margin-top: 20px;
    color: #DDA0DD;
    font-family: "JetBrains Mono", monospace;
    text-align: center;
}

img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

#pocket2 {
    width: 100px;
    height: 100px;
    display: inline-block;
    margin-top: 20px;
    color: #DDA0DD;
    font-family: "JetBrains Mono", monospace;
    text-align: center;
    animation: move 2s infinite;
}

#bus {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

#pocket3 {
    width: 200px;
    height: 230px;
    display: inline-block;
    margin-top: 20px;
    color: #DDA0DD;
    font-family: "JetBrains Mono", monospace;
    text-align: center;
}

#navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #552288;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    z-index: 1000;
    opacity: 0.8;
    transform: translateY(60%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s;
}

#navbar:hover {
    transform: translateY(0);
    opacity: 1.0;
    box-shadow: 0 0 30px #ffff77;
}

#navbar a {
    color: #c6c6eA;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    font-family: "JetBrains Mono", serif;
}

#navbar a:hover {
    text-shadow: 0 0 30px #ffff77;
    color: #ffff77;
    font-weight: bold;
}

#Company {
    font-family: "JetBrains Mono", serif;
    font-size: 15px;
    color: #DDA0DD;
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

#pocket4 {
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-top: 20px;
    color: #DDA0DD;
    font-family: "JetBrains Mono", monospace;
    text-align: center;
}

#Dice {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}
#copilot-btn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 65px;
    height: 60px;
    background: #552288;
    animation: moveAndAttention 2s infinite;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
#copilot-btn:hover {
    background: #441177;
}
#copilot-btn p {
    color: #E6E6FA;
    font-family: "JetBrains Mono", serif;
    font-size: 12px;
    text-align: center;
}

#copilot-btn a:hover{
    text-decoration: none;
    color: #ffff77;
}

#badge {
    margin-top: 10px;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #990000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
    display: flex;
    justify-content: right;
    transition: background 0.2s;
}
#rank {
    display: flex;
    font-size: 15px;
}

#button {
    margin-left: 10px;
}
#profile{
    display: inline-flex;
    font-size: 15px;
}
#button2 {
    margin-top: 25px;
    margin-left: 30px;
    display: inline;
}
#Top {
    margin-top: 30px;
}

#mainButton{
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 5px 7px;
    margin-left: 10px;
    background-color: #ffff77;
    width: 85px;
    height: 85px;
    border-radius: 10px;
    border: 5px solid #ddd000;
    color: #000000;
    font-family: "Arial" , sans-serif;
    font-size: 50px;
}

#mainButton:hover {
    border: #AAA000 5px solid;
    background-color: #ddd000;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
    box-shadow: 0 0 40px #ffff77;
    transform: scale(1.1);
}

@media (max-width: 900px) {
    #navbar a {
        font-size: 15px;
        margin: 0 10px;
    }
    #mainButton {
        width: 65px;
        height: 65px;
        font-size: 32px;
    }
    #pocket, #pocket2, #pocket4, #badge {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    #navbar {
        padding: 5px 0;
    }
    #navbar a {
        font-size: 12px;
        margin: 0 5px;
    }
    #mainButton {
        width: 45px;
        height: 45px;
        font-size: 20px;
        padding: 2px 3px;
    }
    #footer {
        font-size: 8px;
        padding: 10%;
    }
    #badge {
        width: 40px;
        height: 40px;
        bottom: 60px;
        right: 10px;
    }
}

#Toast {
    transform: translateY(0);
    width:70%;
    background-color: #f5e3b3 !important;
    text-align: center;

    border-radius: 10px;
    position: fixed;
    display: none;
    padding: 10px;
    z-index: 99999;
    border: 5px solid #C17532;
    font-size: 12px;
    color:#C17532 !important;
}

#centralBread {
    color: #C17532 !important;
    font-size: 15px !important;
}

.close-btns {
    background: #f5e3b3 !important;
    color: #C17532 !important;
    position: absolute !important;
    top: 5px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#Toast span {
    background: #f5e3b3 !important;
    color: #C17532 !important;
}

.Toast-slide{
    transform: translateY(60%);
}

input[type="date"], input[type="text"] {
    width: 250px;
    padding: 5px;
    border: 1px solid #441177;
    border-radius: 4px;
    font-size: 16px;
    color: #ffffff;
    background-color: #8855AA;
    font-family: "JetBrains Mono", system-ui;
}
