/* =========================================================
   NOBLOXIA COMMANDS PAGE STYLESHEET (c1kl010.css)
   Theme: Dark Mode Amethyst Purple & Cyan Accents
   Developer: RkpyDevelopment Team
   ========================================================= */

:root {
    --bg-primary: #0a0a0c;
    --bg-surface: #121218;
    --bg-card: #181822;
    --bg-card-hover: #202030;
    
    --purple-primary: #9d4edd;
    --purple-glow: rgba(157, 78, 221, 0.4);
    --purple-light: #c77dff;
    
    --cyan-accent: #00f5d4;
    --cyan-glow: rgba(0, 245, 212, 0.3);
    
    --text-main: #f1f1f5;
    --text-muted: #a0a0b5;
    
    --border-color: rgba(157, 78, 221, 0.2);
    --border-hover: rgba(157, 78, 221, 0.6);
    
    --font-main: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease-in-out;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TOP BAR PROMO --- */
.promo-bar {
    background: linear-gradient(90deg, #3c096c, #7b2cbf, #3c096c);
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(18, 18, 24, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px var(--purple-glow);
    transition: var(--transition);
}

.logo:hover {
    color: var(--purple-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan-accent);
}

.nav-btn {
    background: linear-gradient(135deg, var(--purple-primary), #7b2cbf);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 0 12px var(--purple-glow);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px var(--purple-glow);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* Backdrop Mobile */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- PROFILE SECTION --- */
.profile-section {
    margin-bottom: 50px;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-primary);
    box-shadow: 0 0 20px var(--purple-glow);
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background-color: #2ec4b6;
    border: 3px solid var(--bg-surface);
    border-radius: 50%;
}

.profile-details {
    flex-grow: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.profile-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.bot-badge {
    background-color: var(--purple-primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

.verified-tag {
    color: var(--cyan-accent);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 245, 212, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid var(--cyan-glow);
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.profile-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.profile-meta strong {
    color: var(--text-main);
}

/* --- COMMANDS SECTION --- */
.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 1.6rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title h2 i {
    color: var(--purple-light);
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.cmd-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cmd-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.15);
}

.cmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cmd-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan-accent);
    font-family: monospace;
}

.cmd-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.cmd-badge.required { background: rgba(239, 71, 111, 0.2); color: #ef476f; }
.cmd-badge.info { background: rgba(17, 138, 178, 0.2); color: #118ab2; }
.cmd-badge.social { background: rgba(6, 214, 160, 0.2); color: #06d6a0; }
.cmd-badge.game { background: rgba(255, 209, 102, 0.2); color: #ffd166; }
.cmd-badge.rank { background: rgba(157, 78, 221, 0.2); color: var(--purple-light); }

.cmd-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.cmd-usage {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--purple-primary);
}

.cmd-usage code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.82rem;
    color: #e2e2e2;
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 25px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 60px;
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MOBILE DESIGN --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background-color: var(--bg-surface);
        display: flex;
        flex-direction: column;
        padding: 80px 25px 30px 25px;
        gap: 20px;
        z-index: 999;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-header {
        justify-content: center;
    }

    .profile-meta {
        justify-content: center;
    }

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

