/* ==========================================
   iOS 26 Glassmorphic Design System (style.css)
   ========================================== */

:root {
    --bg-dark: #030303;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.16);
    
    --accent: #6366f1; /* iOS Purple/Indigo */
    --accent-glow: rgba(99, 102, 241, 0.45);
    
    --text-primary: rgba(255, 255, 255, 0.96);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.08);
    
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.08);
    
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.08);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ios-blur: blur(30px) saturate(190%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

input, button, select, textarea {
    font-family: inherit;
    color: inherit;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:visited {
    color: inherit;
}

a.btn-primary,
a.btn-primary:visited {
    color: #000;
}

a.btn-glow,
a.btn-glow:visited {
    color: #fff;
}

a.btn-secondary,
a.btn-secondary:visited {
    color: var(--text-primary);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Animated iOS Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    background-color: #030303;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    mix-blend-mode: screen;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 80%);
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 80%);
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 30%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #db2777 0%, transparent 80%);
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(-40px, -60px) scale(0.9); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.24);
}

/* Glass View Layout */
.view {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

#dashboard-page.view {
    max-width: 1360px;
    padding-left: 20px;
    padding-right: 28px;
}

.hidden {
    display: none !important;
}

/* iOS glass panel */
.glass-panel {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 32px;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    isolation: isolate;
}

/* Hover only on interactive cards — no global shimmer sweep */
.feature-card:hover,
.pricing-card:hover,
.faq-item:hover {
    border-color: var(--card-hover-border);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

/* Typography & Visual Details */
h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Buttons (iOS-like Rounded Pill) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--text-primary);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-glow {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    color: #fff;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1060px;
    height: 60px;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo svg {
    width: 20px;
    height: 20px;
}

.nav-links {
    display: flex;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links button {
    position: relative;
    padding: 6px 16px;
    border-radius: 99px;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-links button:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-links button::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 99px;
    transition: transform 0.25s ease;
}

.nav-links button:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links button:focus {
    outline: none;
}

.nav-links button:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.45);
    outline-offset: 2px;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    padding: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    gap: 2px;
}

.lang-switcher .lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    line-height: 1;
}

.lang-switcher .lang-btn:hover {
    color: #fff;
}

.lang-switcher .lang-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(129, 140, 248, 0.2));
    color: #fff;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 4px 10px 4px 4px;
    border-radius: 99px;
}

.user-pill img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.user-pill span {
    font-size: 12px;
    font-weight: 600;
}

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    margin-left: 6px;
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--danger);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
    min-height: 70vh;
    padding-top: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    backdrop-filter: var(--ios-blur);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Quick Setup Tutorial */
.setup-tutorial {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.setup-card {
    width: 100%;
    max-width: 520px;
    padding: 28px 28px 24px;
    border-radius: 24px;
}

.setup-header {
    margin-bottom: 20px;
}

.setup-header h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: #fff;
}

.setup-header p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.setup-steps-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 22px 20px 20px;
    margin-bottom: 18px;
}

.setup-steps-label {
    text-align: center;
    margin-bottom: 22px;
}

.setup-steps-label h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.setup-steps-label span {
    font-size: 12px;
    color: var(--text-muted);
}

.setup-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.setup-flow-item {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.setup-flow-item svg {
    width: 34px;
    height: 34px;
}

.setup-flow-item:hover {
    transform: translateY(-3px);
}

.setup-discord {
    background: linear-gradient(145deg, #7289da 0%, #5865f2 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.35);
}

.setup-discord:hover {
    box-shadow: 0 14px 32px rgba(88, 101, 242, 0.45);
}

.setup-windows {
    background: linear-gradient(145deg, #4da3ff 0%, #0078d4 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 120, 212, 0.3);
}

.setup-windows:hover {
    box-shadow: 0 14px 32px rgba(0, 120, 212, 0.4);
}

.setup-minecraft {
    background: linear-gradient(145deg, #7bc74d 0%, #3d9b2f 100%);
    color: #1a1a1a;
    box-shadow: 0 10px 28px rgba(61, 155, 47, 0.3);
}

.setup-minecraft:hover {
    box-shadow: 0 14px 32px rgba(61, 155, 47, 0.4);
}

.setup-chevron {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    opacity: 0.45;
    flex-shrink: 0;
}

.setup-chevron svg {
    width: 16px;
    height: 16px;
}

.setup-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.setup-footer strong {
    color: #fff;
    font-weight: 700;
}

/* Floating Discord Button */
.discord-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(145deg, #7289da 0%, #5865f2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 36px rgba(88, 101, 242, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.discord-float svg {
    width: 30px;
    height: 30px;
}

.discord-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 44px rgba(88, 101, 242, 0.55);
    color: #fff;
}

.discord-float:active {
    transform: translateY(-1px) scale(1.01);
}

/* Hero Widget Preview */
.hero-visual {
    display: flex;
    justify-content: center;
}

.main-preview {
    width: 310px;
    border-radius: 28px;
}

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

.preview-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.widget-icon-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.main-preview h3 {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 8px 14px;
    border-radius: 99px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.8s infinite;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 56px;
    margin-top: 100px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    border-radius: 24px;
    padding: 28px;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card .icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    align-items: center;
}

.pricing-card {
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

.pricing-card.popular {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.pricing-card.popular:hover {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 28px 56px rgba(99, 102, 241, 0.18);
}

.popular-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: 0.03em;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.pricing-card.popular h3 {
    color: #fff;
}

.price {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0;
}

.desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

.perks {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
    display: inline-block;
}

.perks li {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.perks li svg {
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    color: var(--success);
}

.buy-btn {
    width: 100%;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.14);
}

.faq-item h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 0;
    color: #fff;
    transition: var(--transition);
}

.faq-item .faq-toggle-icon {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.35s ease;
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-item.active h4 {
    color: var(--krypton-yellow);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--krypton-yellow);
}

/* Footer */
.footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 100px;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: var(--ios-blur);
}

/* ==========================================
   DASHBOARD (iOS Control Center style)
   ========================================== */
/* ==========================================
   DASHBOARD (iOS 26 Purple Theme)
   ========================================== */
:root {
    --krypton-yellow: #6366f1; /* iOS Purple/Indigo */
    --krypton-yellow-glow: rgba(99, 102, 241, 0.45);
    --krypton-bg-card: rgba(255, 255, 255, 0.03);
    --krypton-border: rgba(255, 255, 255, 0.08);
}

.dashboard {
    padding-top: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
}

.dashboard-main {
    min-width: 0;
}

/* Sidebar Logo */
.sidebar-logo {
    font-size: 22px;
    font-weight: 900;
    padding: 10px 16px 20px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.logo-red {
    color: #6366f1; /* purple/indigo */
}

.logo-white {
    color: #ffffff;
}

/* Device Status Card */
.device-status-card {
    background: var(--krypton-bg-card);
    border: 1px solid var(--krypton-border);
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.device-status-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.device-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}

.device-icon {
    color: var(--krypton-yellow);
    display: flex;
    align-items: center;
    text-shadow: 0 0 8px var(--krypton-yellow-glow);
}

.device-title {
    font-weight: 600;
    color: #fff;
}

.device-count {
    margin-left: auto;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--krypton-yellow);
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
}

.btn-device-slot {
    background-color: transparent;
    border: 1px dashed #3f3f46; /* zinc-700 */
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-device-slot:hover {
    border-color: var(--krypton-yellow);
    color: #fff;
    background-color: rgba(255,255,255,0.02);
}

/* Sidebar Menu */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-item:visited {
    color: var(--text-secondary);
}

.menu-item.active:visited {
    color: #fff;
}

.menu-item svg {
    opacity: 0.7;
    transition: var(--transition);
}

.menu-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255,255,255,0.05);
}

.menu-item:hover svg {
    opacity: 1;
}

.menu-item.active {
    background-color: var(--krypton-yellow);
    color: #fff;
    border-color: var(--krypton-yellow);
    box-shadow: 0 4px 15px var(--krypton-yellow-glow);
}

.menu-item.active svg {
    color: #fff;
    opacity: 1;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 32px;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.username-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}

.role-text {
    font-size: 11px;
    color: var(--text-muted);
}

.role-text span {
    color: var(--krypton-yellow);
    font-weight: 700;
}

.menu-item.logout-item {
    color: var(--danger);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    margin-top: 12px;
    padding-top: 20px;
}

.menu-item.logout-item:hover {
    background-color: rgba(239, 68, 68, 0.05);
    color: #ff8888;
}

/* Tabs */
.tab-pane {
    animation: fadeIn 0.4s ease-out;
}

.tab-pane.hidden {
    display: none !important;
}

/* Main Download Card */
.krypton-download-card {
    background: var(--krypton-bg-card);
    border: 1px solid var(--krypton-border);
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.krypton-download-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-download-large {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--krypton-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 12px rgba(99, 102, 241, 0.05);
}

.icon-download-large svg {
    width: 24px;
    height: 24px;
}

.download-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.download-meta h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.version-label {
    font-size: 12.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-jar {
    background-color: #27272a;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
}

.updated-date {
    font-size: 11.5px;
    color: var(--text-muted);
}

.btn-krypton-download {
    background-color: var(--krypton-yellow);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    padding: 13px 28px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px var(--krypton-yellow-glow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-krypton-download:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--krypton-yellow-glow);
}

/* Sections */
.quick-start-section, .launchers-section {
    background: var(--krypton-bg-card);
    border: 1px solid var(--krypton-border);
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.quick-start-section:hover, .launchers-section:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.section-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Quick start step cards */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-card {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background-color: rgba(255,255,255,0.02);
}

.step-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--krypton-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.step-card p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Launcher cards */
.launchers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.launcher-card {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.launcher-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background-color: rgba(255,255,255,0.02);
}

.launcher-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
}

.launcher-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.launcher-meta h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.launcher-meta span {
    font-size: 11px;
    color: var(--text-muted);
}

.launcher-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    font-style: italic;
}

/* Licenses List & Bind Form adjustments */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.btn-refresh {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
    gap: 8px !important;
}

.btn-refresh svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.4s ease;
}

.btn-refresh:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.btn-refresh:hover svg {
    transform: rotate(180deg);
}

.btn-refresh:active {
    transform: scale(0.95);
}

.licenses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.license-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    align-items: center;
    gap: 16px;
}

.lic-key-info h4 {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lic-key-info code {
    font-family: monospace;
    font-size: 14px;
    color: #fff;
    background-color: #0b0b0c;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--krypton-border);
}

.lic-status-badge {
    justify-self: start;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 99px;
}

.lic-status-badge.active {
    background-color: var(--success-bg);
    border: 1px solid rgba(52, 211, 153, 0.15);
    color: var(--success);
}

.lic-status-badge.revoked {
    background-color: var(--danger-bg);
    border: 1px solid rgba(248, 113, 113, 0.15);
    color: var(--danger);
}

.lic-expiry-info {
    text-align: right;
}

.lic-expiry-info .label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.lic-expiry-info .val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.bind-card {
    border-radius: 16px;
}

.bind-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.bind-card .desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.bind-form {
    display: flex;
    gap: 12px;
}

.bind-form input {
    flex: 1;
    background-color: #0b0b0c;
    border: 1px solid var(--krypton-border);
    padding: 14px 22px;
    border-radius: 99px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.bind-form input:focus {
    border-color: var(--krypton-yellow);
}

.bind-form button {
    border: none;
    padding: 0 28px;
    cursor: pointer;
    transition: var(--transition);
}

.bind-form button:hover {
    background-color: #4f46e5 !important;
    transform: translateY(-1px);
}

/* ===================== ADMIN PANEL ===================== */

/* Admin Menu Badge */
.admin-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
    color: #a78bfa;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    margin-left: auto;
}

/* Admin Create Form Card */
.admin-create-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form .form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-form .form-group input,
.admin-form .form-group select {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.admin-form .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.admin-form .form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.admin-form .form-group #admin-duration-custom {
    margin-top: 4px;
}

.admin-form #admin-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
}

.admin-form #admin-create-btn svg {
    width: 16px;
    height: 16px;
}

/* Admin Licenses Card */
.admin-licenses-card {
    border-radius: 16px;
    overflow: visible;
    padding: 24px 20px;
}

.admin-licenses-card.glass-panel {
    overflow: visible;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.admin-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-controls #admin-search-input {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 10px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.admin-controls #admin-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.admin-controls #admin-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.admin-controls #admin-filter-select {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

/* Admin Table */
.admin-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.35) rgba(255, 255, 255, 0.04);
}

.admin-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.admin-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 12px 12px;
}

.admin-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.35);
    border-radius: 4px;
}

.admin-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table thead {
    background: rgba(99, 102, 241, 0.08);
}

.admin-table th {
    padding: 12px 10px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.04);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table .key-cell {
    font-family: monospace;
    font-size: 11.5px;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.02em;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-table th:last-child,
.admin-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: rgba(12, 12, 14, 0.98);
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.35);
}

.admin-table thead th:last-child {
    background: rgba(20, 18, 35, 0.98);
}

.admin-table tbody tr:hover td:last-child {
    background: rgba(18, 16, 32, 0.98);
}

.admin-table .buyer-cell {
    font-weight: 600;
    color: #c4b5fd;
}

.admin-table .creator-cell {
    font-size: 13px;
    color: #a78bfa;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table .product-cell {
    font-weight: 500;
}

/* Admin Table Status Badges */
.admin-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    display: inline-block;
    white-space: nowrap;
}

.admin-status.active {
    background-color: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: #34d399;
}

.admin-status.revoked {
    background-color: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.admin-status.expired {
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Admin Action Buttons */
.admin-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.admin-actions .btn-action {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    padding: 7px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    min-width: 32px;
    min-height: 32px;
}

.admin-actions .btn-action svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.admin-actions .btn-revoke {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.2);
}

.admin-actions .btn-revoke:hover {
    background-color: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.4);
}

.admin-actions .btn-revoke:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.admin-actions .btn-info {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
}

.admin-actions .btn-info:hover {
    background-color: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
}

.admin-actions .btn-hwid-reset {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.admin-actions .btn-hwid-reset:hover {
    background-color: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
}

/* Admin License Count */
.admin-count {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Created Key Success Display */
.admin-key-result {
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.03));
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: slideDown 0.3s ease;
}

.admin-key-result .key-display {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.03em;
}

.admin-key-result .copy-btn {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    margin-left: auto;
}

.admin-key-result .copy-btn:hover {
    background: rgba(52, 211, 153, 0.25);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Info Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: var(--ios-blur);
    -webkit-backdrop-filter: var(--ios-blur);
    animation: modalSlideUp 0.3s ease;
    position: relative;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    padding-right: 32px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Update Notification Banner Style */
.update-notification {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.update-notification.hidden {
    display: none !important;
}

.update-notification .update-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #a78bfa;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.update-notification .update-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.update-notification .update-text strong {
    font-size: 14px;
    color: #fff;
}

.update-notification .update-text span {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.update-notification .update-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.update-notification .update-dl-btn {
    font-size: 12.5px !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    text-decoration: none;
    font-weight: 600;
}

.update-notification .btn-update-dismiss {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.update-notification .btn-update-dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-info-item {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.modal-info-item.full-width {
    grid-column: 1 / -1;
}

.modal-info-item .info-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

.modal-info-item .info-value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    word-break: break-all;
}

.modal-info-item .info-value.mono {
    font-family: monospace;
    font-size: 13px;
    color: #c4b5fd;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content {
        align-items: center;
    }

    .setup-flow-item {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .setup-flow-item svg {
        width: 26px;
        height: 26px;
    }

    .setup-flow {
        gap: 6px;
    }

    .discord-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .discord-float svg {
        width: 26px;
        height: 26px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .license-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .lic-status-badge {
        justify-self: center;
    }
    
    .lic-expiry-info {
        text-align: center;
    }
    
    .bind-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .bind-form input {
        width: 100%;
    }

    .admin-form .form-row {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-controls {
        width: 100%;
    }

    .admin-controls #admin-search-input {
        flex: 1;
        width: auto;
    }

    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Select Dropdown for Admin Panel */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    z-index: 99999;
}

.custom-select-trigger {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.custom-select-trigger:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.custom-select-trigger .arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #888;
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
    transform: rotate(180deg);
}

/* Custom Select Dropdown for Admin Panel */
.custom-select-wrapper.static-select {
    position: relative;
    user-select: none;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.user-search-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #fff !important;
    font-size: 13px !important;
    outline: none;
    box-sizing: border-box;
}

.options-list.static-list {
    max-height: 250px;
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 4px;
}

.user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.user-option:hover {
    background-color: rgba(99, 102, 241, 0.15);
}

.user-option.selected {
    background-color: rgba(99, 102, 241, 0.3) !important;
    border: 1px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.user-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.user-option .user-name {
    font-size: 13.5px;
    color: #e0e0e0;
    font-weight: 500;
}

.user-option .user-discord-id {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
}

/* User Selector Modal Styles */
.user-selector-modal-content {
    max-width: 640px !important;
    width: 92% !important;
    max-height: 80vh !important;
    height: auto !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.modal-search {
    margin-bottom: 16px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    flex-shrink: 0;
}

.user-selector-modal-content h3 {
    flex-shrink: 0;
    margin-bottom: 16px !important;
}

.modal-user-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    grid-auto-rows: min-content !important;
    align-content: start !important;
    gap: 8px !important;
    flex: 0 1 auto !important;
    max-height: min(420px, 55vh) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 6px;
    min-height: 0 !important;
}

.modal-user-grid .user-option {
    align-self: start;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    border-radius: 10px;
}

.modal-user-grid .user-option img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.modal-user-grid .user-option .user-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-user-grid .user-option .user-discord-id {
    font-size: 11px;
    margin-left: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-user-grid .user-option .user-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.modal-user-grid .user-option:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background-color: rgba(99, 102, 241, 0.08);
}

/* Custom scrollbar for user grid */
.modal-user-grid::-webkit-scrollbar {
    width: 6px;
}

.modal-user-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.modal-user-grid::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.modal-user-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Custom Trial Card styles */
.trial-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.trial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}
.trial-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
}

.trial-card-highlight {
    animation: trialCardPulse 2s ease;
}

@keyframes trialCardPulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6); border-color: rgba(99, 102, 241, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(99, 102, 241, 0); border-color: rgba(99, 102, 241, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Free trial pricing card on landing page */
.trial-pricing-card {
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.trial-pricing-card:hover {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 24px 48px rgba(16, 185, 129, 0.12) !important;
}

.trial-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

/* Custom Confirm Modal styles & animations */
.confirm-modal-content {
    background: rgba(15, 15, 20, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7) !important;
    animation: confirmModalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes confirmModalScaleUp {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirm-actions .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.confirm-actions .btn:hover {
    transform: translateY(-1px);
}

.confirm-actions .btn:active {
    transform: translateY(1px);
}

/* Purchase / Discord Ticket Modal */
.purchase-modal-content {
    max-width: 460px !important;
    align-items: center;
    text-align: center;
    padding: 36px 32px !important;
    background: rgba(15, 15, 20, 0.75) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(88, 101, 242, 0.25) !important;
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.08) inset, 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 60px rgba(88, 101, 242, 0.12);
    animation: confirmModalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.purchase-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(145deg, #7289da 0%, #5865f2 100%);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.45);
}

.purchase-modal-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.purchase-modal-content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    padding-right: 0;
}

.purchase-modal-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.purchase-modal-steps {
    width: 100%;
    text-align: left;
    list-style: none;
    counter-reset: purchase-step;
    margin: 0 0 26px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.purchase-modal-steps li {
    counter-increment: purchase-step;
    position: relative;
    padding-left: 36px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.purchase-modal-steps li::before {
    content: counter(purchase-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #b3bcff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-modal-steps strong {
    color: #fff;
    font-weight: 600;
}

.purchase-modal-actions {
    width: 100%;
}

.purchase-discord-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%) !important;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4) !important;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.purchase-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5) !important;
}

.purchase-discord-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .purchase-modal-content {
        padding: 28px 22px !important;
    }
}

/* Custom Referral Card styles */
.referral-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.referral-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #06b6d4);
}
.referral-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .referral-link-wrapper {
        flex-direction: column;
    }
    #copy-referral-btn {
        width: 100%;
    }
}

/* Promocode Card Styling & Glow Effects */
#tab-content-promo .bind-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#tab-content-promo .bind-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
}

#tab-content-promo .bind-card:hover {
    border-color: rgba(139, 92, 246, 0.3) !important;
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.08) !important;
    transform: translateY(-2px);
}

/* Premium input glow for promo codes */
#promo-code-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.1em;
    font-weight: 700;
}

#promo-code-input:focus {
    border-color: rgba(139, 92, 246, 0.6) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.25) !important;
    transform: scale(1.01);
}

/* Admin Promo Creation Form Input Effects */
#admin-promo-code-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.05em;
}

#admin-promo-code-input:focus {
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2) !important;
}

/* Glowing green badge for promo codes inside tables */
.promo-code-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-code-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

/* Premium Glassmorphic Alert Banner */
.alert-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bannerSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bannerSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.alert-banner.hidden {
    display: none !important;
}

/* Success Alert (Green theme) */
.alert-banner.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08), inset 0 0 12px rgba(16, 185, 129, 0.05);
}

.alert-banner.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

/* Error Alert (Red theme) */
.alert-banner.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.08), inset 0 0 12px rgba(239, 68, 68, 0.05);
}

.alert-banner.error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

/* Info Alert (Blue/Purple theme) */
.alert-banner.info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.05));
    border-color: rgba(99, 102, 241, 0.3);
    color: #818cf8;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08), inset 0 0 12px rgba(99, 102, 241, 0.05);
}

.alert-banner.info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1;
}

/* Alert Content Elements */
.alert-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.alert-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-banner #banner-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.close-banner {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.close-banner:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* Animation classes */
.alert-banner.banner-hide {
    opacity: 0 !important;
    transform: translateY(-15px) scale(0.97) !important;
    filter: blur(4px) !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
