* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.gui-container {
    margin-top: 70px;
    position: relative;
    width: 900px;
    height: 700px;
    background-color: #1e1e1e;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: filter 0.3s ease;
}

.gui-container.blurred {
    filter: blur(5px);
    pointer-events: none;
    opacity: 0.9;
}

.rgb-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: 20px;
    z-index: -1;
    animation: rgb-border-animation 20s linear infinite;
    filter: blur(10px);
    opacity: 0.7;
}

@keyframes rgb-border-animation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.gui-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gui-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin: 20px 0;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rgb-border-animation 10s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.search-container {
    display: flex;
    width: 90%;
    margin-bottom: 30px;
    gap: 10px;
}

.input-container {
    position: relative;
    flex-grow: 1;
}

.input-container input {
    width: 100%;
    padding: 15px;
    background-color: #2d2d2d;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.input-container input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.input-container input:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.input-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-right: 3px solid #48ff00;
    border-top: 3px solid #48ff00;
    top: 0;
    right: 0;
    transition: all 0.3s ease;
}

.input-container:hover .input-corner {
    width: 30px;
    height: 30px;
    border-color: #ff00c8;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #2d2d2d;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    background-color: #3d3d3d;
}

#search-btn:hover {
    color: #48ff00;
}

#clear-btn:hover {
    color: #ff0000;
}

.loading-container {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    color: #fff;
}

.loading-container p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.potion-loading {
    width: 60px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.potion-bottle {
    width: 40px;
    height: 60px;
    border: 3px solid #7a00ff;
    border-radius: 5px 5px 20px 20px;
    position: relative;
    overflow: hidden;
}

.potion-liquid {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #ff00c8, #7a00ff);
    animation: fill-potion 2s ease-in-out infinite;
}

@keyframes fill-potion {
    0%, 100% {
        height: 10%;
    }
    50% {
        height: 80%;
    }
}

.terminal {
    width: 90%;
    height: 250px;
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    overflow-y: auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.terminal::-webkit-scrollbar {
    width: 8px;
}

.terminal::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-radius: 4px;
}

.terminal::-webkit-scrollbar-thumb {
    background: #7a00ff;
    border-radius: 4px;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background: #ff00c8;
}

.json-key {
    color: #48ff00;
}

.json-string {
    color: #ff7300;
}

.json-number {
    color: #00ffd5;
}

.json-boolean {
    color: #002bff;
}

.json-null {
    color: #ff0000;
}

.error-message {
    color: #ff0000;
}

.rate-limit {
    color: #fffb00;
    animation: blink 1s linear infinite;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 100;
}

.footer-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255,0,0,0) 0%, 
        rgba(255,0,0,1) 20%, 
        rgba(255,115,0,1) 30%, 
        rgba(255,251,0,1) 40%, 
        rgba(72,255,0,1) 50%, 
        rgba(0,255,213,1) 60%, 
        rgba(0,43,255,1) 70%, 
        rgba(122,0,255,1) 80%, 
        rgba(255,0,200,1) 90%, 
        rgba(255,0,0,0) 100%);
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-text {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    background-color: rgba(30, 30, 30, 0.7);
    padding: 5px 15px;
    border-radius: 15px;
}

.glitch {
    position: relative;
    display: inline-block;
    color: #7a00ff;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #00ffd5;
    z-index: -1;
    animation: glitch-effect-before 3s infinite linear alternate-reverse;
}

.glitch::after {
    color: #ff00c8;
    z-index: -2;
    animation: glitch-effect-after 2s infinite linear alternate-reverse;
}

@keyframes glitch-effect-before {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch-effect-after {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(3px, -3px);
    }
    40% {
        transform: translate(-3px, 3px);
    }
    60% {
        transform: translate(-3px, -3px);
    }
    80% {
        transform: translate(3px, 3px);
    }
    100% {
        transform: translate(0);
    }
}

#user-gui {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    animation: fadeIn 0.5s ease-out;
    width: 850px;
    height: 650px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2d2d2d;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    background-color: #ff0000;
    transform: rotate(90deg);
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.avatar-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #7a00ff;
    box-shadow: 0 0 20px rgba(122, 0, 255, 0.5);
    margin-right: 20px;
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex-grow: 1;
}

.user-info h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff7300, #fffb00, #48ff00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.username-text {
    color: #aaa;
    font-size: 1.2rem;
    font-style: italic;
}

.user-details {
    width: 100%;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3d3d3d;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-icon {
    font-size: 1.2rem;
    color: #7a00ff;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.detail-text {
    color: #fff;
    font-size: 1rem;
    flex-grow: 1;
}

.other-emails {
    margin-top: 30px;
    width: 100%;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.other-emails h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid #7a00ff;
    padding-bottom: 10px;
}

.other-emails ul {
    list-style-type: none;
}

.other-emails li {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.other-emails li:before {
    content: "•";
    color: #7a00ff;
    position: absolute;
    left: 0;
}

.header-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255,0,0,0) 0%, 
        rgba(255,0,0,1) 20%, 
        rgba(255,115,0,1) 30%, 
        rgba(255,251,0,1) 40%, 
        rgba(72,255,0,1) 50%, 
        rgba(0,255,213,1) 60%, 
        rgba(0,43,255,1) 70%, 
        rgba(122,0,255,1) 80%, 
        rgba(255,0,200,1) 90%, 
        rgba(255,0,0,0) 100%);
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.header {
    position: fixed;
    top: 2px;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    padding: 10px 20px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rgb-border-animation 10s linear infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-buttons {
    display: flex;
    gap: 15px;
}

.logo-btn {
    padding: 8px 15px;
    background-color: #2d2d2d;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo-btn:hover {
    background-color: #3d3d3d;
    transform: translateY(-2px);
}

.logo-btn.active {
    background-color: #7a00ff;
    color: white;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media only screen and (max-width: 768px) {
    body {
        overflow: auto;
        padding: 20px;
        display: block;
    }

    .gui-container, #user-gui {
        width: 100% !important;
        height: auto !important;
        min-height: auto;
        max-height: 90vh;
        padding: 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .rgb-border {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 18px;
    }

    .gui-title {
        font-size: 2rem !important;
        margin: 10px 0 !important;
    }

    .search-container {
        flex-direction: column;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .icon-btn {
        width: 100% !important;
        margin-top: 10px;
    }

    .terminal {
        width: 100% !important;
        height: 200px !important;
        font-size: 0.85rem;
    }

    #user-gui {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 20px;
    }

    .user-header {
        flex-direction: column;
        text-align: center;
    }

    .avatar-container {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .user-details, .other-emails {
        padding: 15px;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .footer {
        position: relative;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .gui-container, #user-gui {
        padding: 10px;
    }

    .gui-title {
        font-size: 1.8rem !important;
    }

    .input-container input {
        padding: 12px;
        font-size: 0.9rem;
    }

    .avatar-container {
        width: 80px;
        height: 80px;
    }

    .user-info h2 {
        font-size: 1.5rem;
    }

    .username-text {
        font-size: 1rem;
    }

    .detail-text {
        font-size: 0.9rem;
    }
}

@media only screen and (max-height: 700px) and (max-width: 768px) {
    .gui-container, #user-gui {
        max-height: 80vh;
        overflow-y: auto;
    }
}
