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

.hidden {
    display: none !important;
}

.admin-link {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #9370DB;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: all 0.2s ease;
}

.admin-link:hover {
    background: rgba(147, 112, 219, 0.2);
    border-color: #9370DB;
}

body {
    background: #000;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(147, 112, 219, 0.7);
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 0 0 8px rgba(147, 112, 219, 0.9);
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0.3;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

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

.logo {
    color: #9370DB;
    font-size: 6px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

@media (min-width: 768px) {
    .logo {
        font-size: 9px;
    }
}

.tagline {
    color: #666;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 8px;
    text-transform: uppercase;
}

.card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.card h2 {
    color: #9370DB;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 6px;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    padding-right: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #9370DB;
}

.input-group input::placeholder {
    color: #555;
    font-size: 12px;
}

.toggle-visibility {
    position: absolute;
    right: 12px;
    top: 32px;
    color: #555;
    cursor: pointer;
    font-size: 10px;
    text-transform: uppercase;
}

.toggle-visibility:hover {
    color: #9370DB;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9370DB, #7B5FC7);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button.stop-btn {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid #333;
}

button.stop-btn:hover:not(:disabled) {
    box-shadow: 0 4px 15px rgba(100, 100, 100, 0.3);
}

.check-status {
    display: none;
    color: #9370DB;
    font-size: 11px;
    cursor: pointer;
    margin-top: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.check-status:hover {
    text-decoration: underline;
}

.check-status.visible {
    display: block;
}

.status-info {
    background: rgba(147, 112, 219, 0.05);
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.status-info.hidden {
    display: none;
}

.status-header {
    color: #9370DB;
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-row:last-child {
    border-bottom: none;
}

.status-row span:first-child {
    color: #666;
}

.status-row span:last-child {
    color: #ccc;
}

.status {
    margin-top: 12px;
    text-align: center;
    min-height: 16px;
    font-size: 12px;
}

.status .success {
    color: #9370DB;
}

.status .error {
    color: #ff4444;
}

.status .loading {
    color: #9370DB;
}

.status .info {
    color: #9370DB;
}

.commands-section h2 {
    color: #9370DB;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.coming-soon {
    text-align: center;
    color: #555;
    font-size: 11px;
    margin-bottom: 15px;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .commands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.command-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.command-card h3 {
    color: #9370DB;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.command-card p {
    color: #555;
    font-size: 10px;
}

.command-card ul {
    list-style: none;
}

.command-card li {
    color: #888;
    padding: 3px 0;
    font-size: 11px;
    font-family: 'Consolas', monospace;
}

.command-card li:hover {
    color: #fff;
}

.admin-section {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 12px;
    margin-top: 25px;
    overflow: hidden;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(147, 112, 219, 0.15);
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9370DB;
}

.admin-header:hover {
    background: rgba(147, 112, 219, 0.25);
}

.admin-content {
    padding: 20px;
}

.admin-content.hidden {
    display: none;
}

.admin-content input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
}

.admin-content input:focus {
    outline: none;
    border-color: #9370DB;
}

.admin-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: #888;
}

.admin-stats strong {
    color: #9370DB;
}

.small-btn {
    padding: 8px 15px;
    width: auto;
    font-size: 10px;
    background: linear-gradient(135deg, #333, #222);
}

.bot-list {
    max-height: 200px;
    overflow-y: auto;
}

.bot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.bot-info {
    display: flex;
    flex-direction: column;
}

.bot-name {
    color: #fff;
    font-size: 12px;
}

.bot-details {
    color: #666;
    font-size: 10px;
    margin-top: 2px;
}

.stop-bot-btn {
    padding: 6px 12px;
    width: auto;
    font-size: 9px;
    background: linear-gradient(135deg, #333, #1a1a1a);
    border: 1px solid #444;
}

.no-bots {
    text-align: center;
    color: #555;
    font-size: 11px;
    padding: 20px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #444;
    font-size: 10px;
    letter-spacing: 1px;
}

.auth-switch {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 12px;
}

.auth-switch span {
    color: #9370DB;
    cursor: pointer;
    font-weight: 600;
}

.auth-switch span:hover {
    text-decoration: underline;
}

.logout-link {
    color: #666;
    cursor: pointer;
    margin-top: 10px;
    font-size: 11px;
}

.logout-link:hover {
    color: #9370DB;
}
