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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(145deg, #0a0c18 0%, #03050b 100%);
    position: relative;
    overflow-x: hidden;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Sakura Petals Background */
.sakura-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.petal {
    position: absolute;
    background: radial-gradient(circle, #ffb7c5, #ff8da1);
    width: 18px;
    height: 18px;
    border-radius: 80% 0 80% 50%;
    transform: rotate(45deg);
    opacity: 0.7;
    filter: blur(0.4px);
    animation: floatPetal linear infinite;
}
.petal:nth-child(odd) {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #ffb7c5, #ff7a92);
}
.petal:nth-child(3n) {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #ffc0cb, #ff99aa);
    opacity: 0.6;
}
@keyframes floatPetal {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0.2;
    }
}

/* Main panel */
.kaito-panel {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: rgba(8, 10, 20, 0.8);
    backdrop-filter: blur(16px);
    border-radius: 2.5rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), 0 25px 45px -12px black;
    overflow: hidden;
}

.panel-inner {
    padding: 2rem 2rem 1.8rem;
}

/* Header */
.kaito-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.4);
    padding-bottom: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.kaito-icon {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    width: 46px;
    height: 46px;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.5);
}
.brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #aaffff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Permanent Marker', 'Bebas Neue', cursive;
    letter-spacing: 1px;
}
.lang-switcher {
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,255,255,0.3);
}
.lang-btn {
    background: transparent;
    border: none;
    color: #ccf4ff;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    transition: 0.2s;
    font-family: inherit;
}
.lang-btn.active {
    background: #00c6ff;
    color: #000;
    box-shadow: 0 0 8px cyan;
}
.lang-btn:hover:not(.active) {
    background: rgba(0,198,255,0.4);
    color: white;
}

/* Welcome */
.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}
.welcome-title {
    font-size: 2.5rem;
    font-family: 'Permanent Marker', cursive;
    background: linear-gradient(135deg, #ffd89b, #c7e9fb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0,255,255,0.3);
    margin-bottom: 0.5rem;
}
.glitch {
    font-size: 1rem;
    color: #0ff;
    letter-spacing: 2px;
}

/* Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 1.8rem 0;
}
.tool-card {
    background: rgba(0, 20, 30, 0.6);
    border-radius: 1.5rem;
    padding: 1.3rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: 0.2s;
    backdrop-filter: blur(4px);
    text-align: center;
}
.tool-card:hover {
    border-color: cyan;
    transform: translateY(-5px);
    box-shadow: 0 0 18px rgba(0,255,255,0.2);
}
.tool-icon {
    font-size: 2rem;
    color: #0ff;
    margin-bottom: 0.8rem;
}
.tool-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Permanent Marker', cursive;
    color: #fff;
    margin-bottom: 0.5rem;
}
.tool-desc {
    font-size: 0.8rem;
    color: #aaffdd;
    margin-bottom: 1rem;
}
.tool-btn {
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid cyan;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    color: cyan;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.8rem;
}
.tool-btn:hover {
    background: cyan;
    color: #000;
    box-shadow: 0 0 8px cyan;
}

/* Bypass status */
.bypass-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid cyan;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.bypass-text {
    font-size: 0.9rem;
    color: #bbffff;
}
.bypass-badge {
    background: #0a0f1a;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-family: monospace;
    color: #0ff;
    border: 1px dashed cyan;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 5px #0f0;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { opacity: 0.4; transform: scale(0.8);}
    100% { opacity: 1; transform: scale(1.2);}
}

.footer-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #7a8aaa;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.creator {
    font-family: 'Permanent Marker', cursive;
    background: rgba(0,0,0,0.4);
    padding: 0.2rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aaffdd;
}

@media (max-width: 680px) {
    .panel-inner { padding: 1.2rem; }
    .welcome-title { font-size: 1.8rem; }
}