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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif; 
    background: radial-gradient(circle at 20% 20%, #111827, #020617 70%); 
    color: #e5e7eb; 
    overflow-x: hidden; 
    min-height: 100vh; 
}

body::before { 
    content: ""; 
    position: fixed; 
    inset: 0; 
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); 
    background-size: 40px 40px; 
    pointer-events: none; 
    z-index: 0; 
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2,6,23,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    font-family: monospace;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.05);
}

.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    font-family: monospace;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    user-select: none;
}

.arrow {
    font-size: 9px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.05);
}

.nav-dropdown:hover .arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(2,6,23,0.97);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 230px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: rgba(56,189,248,0.08);
    color: #38bdf8;
}

.nav-dropdown-menu .tool-icon { font-size: 14px; }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.donate-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.4);
    background: rgba(245,158,11,0.08);
    color: #f59e0b;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.3s;
}

.donate-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    width: 76px;
}

.donate-main, .donate-sub {
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
}

.donate-main { font-weight: 700; }

.donate-btn:hover {
    border-color: rgba(245,158,11,0.7);
    background: rgba(245,158,11,0.15);
    box-shadow: 0 0 16px rgba(245,158,11,0.2);
}

.donate-dot {
    font-size: 13px;
    flex-shrink: 0;
    animation: donate-pulse 2.5s infinite;
    display: inline-block;
}

@keyframes donate-pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid;
    white-space: nowrap;
}

.status-badge.online {
    color: #22c55e;
    border-color: rgba(34,197,94,0.4);
    background: rgba(34,197,94,0.1);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-badge.online .status-dot {
    background: #22c55e;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.status-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.status-info .s-main { font-size: 12px; font-weight: 700; }
.status-info .s-sub { font-size: 10px; opacity: 0.75; }

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
    transition: 0.3s;
}

.burger-btn:hover {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.05);
}

.burger-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #9ca3af;
    border-radius: 2px;
    transition: 0.3s;
}

.burger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: #38bdf8; }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: #38bdf8; }

.mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(2,6,23,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 16px 20px 20px;
    z-index: 99;
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
    border: 1px solid transparent;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: #38bdf8;
    background: rgba(56,189,248,0.06);
    border-color: rgba(56,189,248,0.2);
}

.mobile-menu-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 8px 0;
}

.mobile-menu-label {
    font-family: monospace;
    font-size: 10px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    margin-top: 4px;
}

.mobile-tools a {
    padding: 10px 14px 10px 28px;
    font-size: 12px;
}

.mobile-donate {
    color: #f59e0b !important;
    border-color: rgba(245,158,11,0.3) !important;
}

/* ===== MAIN CONTENT ===== */
.wrapper { 
    max-width: 1100px; 
    margin: auto; 
    padding: 60px 20px; 
    position: relative; 
    z-index: 1; 
}

.page-breadcrumb {
    font-family: monospace;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: 0.2s;
}

.page-breadcrumb a:hover { color: #38bdf8; }

.breadcrumb-sep { margin: 0 8px; color: #4b5563; }
.breadcrumb-current { color: #22c55e; }

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 40px 0 80px;
}

.hero-logo {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 8px rgba(56,189,248,0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(34,197,94,0.6)); }
}

.hero-subtitle {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 40px;
    font-family: monospace;
    color: #22c55e;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f1f5f9;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: #9ca3af;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-value {
    font-family: monospace;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SECTIONS ===== */
.section { margin-top: 80px; }

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

.section-label {
    font-family: monospace;
    font-size: 11px;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 24px 0 12px;
    opacity: 0.7;
}

.section-label:first-child { margin-top: 0; }

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: rgba(56,189,248,0.3);
    background: rgba(56,189,248,0.04);
    transform: translateY(-4px);
}

.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-title { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.feature-text { font-size: 14px; line-height: 1.6; color: #9ca3af; }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tool-card {
    position: relative;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    overflow: hidden;
    display: block;
}

.tool-card:hover {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.05);
    transform: translateY(-4px);
}

.tool-card.featured {
    border-color: rgba(34,197,94,0.3);
    background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(56,189,248,0.04));
}

.tool-card.featured:hover {
    border-color: rgba(34,197,94,0.6);
    box-shadow: 0 20px 50px rgba(34,197,94,0.15);
}

.tool-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: monospace;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tool-badge.soon {
    background: rgba(107,114,128,0.15);
    color: #9ca3af;
    border-color: rgba(107,114,128,0.3);
}

.tool-icon-large { font-size: 42px; margin-bottom: 16px; }
.tool-title { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.tool-description { font-size: 13px; line-height: 1.6; color: #9ca3af; margin-bottom: 16px; }

.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
    font-family: monospace;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(56,189,248,0.1);
    color: #38bdf8;
    border: 1px solid rgba(56,189,248,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-arrow {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 24px;
    color: #38bdf8;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
}

.tool-card:hover .tool-arrow { opacity: 1; transform: translateX(0); }

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.step { flex: 1; min-width: 220px; text-align: center; padding: 20px; }

.step-number {
    font-family: monospace;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.step-title { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.step-text { font-size: 14px; line-height: 1.6; color: #9ca3af; }

.step-arrow {
    font-size: 32px;
    color: #38bdf8;
    align-self: center;
    margin-top: 40px;
}

.cta-center { text-align: center; margin-top: 50px; }

/* ===== BUTTONS ===== */
.btn { 
    padding: 11px 22px; 
    border-radius: 10px; 
    border: none; 
    font-weight: 700; 
    font-size: 13px; 
    font-family: monospace; 
    cursor: pointer; 
    transition: 0.3s ease; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    white-space: nowrap; 
    display: inline-block;
    text-decoration: none;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.btn:active { transform: translateY(0); }

.btn-blue { background: #38bdf8; color: #020617; }
.btn-blue:hover { box-shadow: 0 15px 40px rgba(56,189,248,0.4); }

.btn-ghost { 
    background: transparent; 
    color: #22c55e; 
    border: 1px solid rgba(34,197,94,0.35); 
}

.btn-ghost:hover { background: rgba(34,197,94,0.1); }

.btn-large { padding: 14px 32px; font-size: 14px; }

.btn-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* ===== CONVERTER PAGE ===== */
.logo { 
    text-align: center; 
    font-size: 48px; 
    font-weight: 800; 
    letter-spacing: 6px; 
    margin-bottom: 8px; 
    background: linear-gradient(90deg, #38bdf8, #22c55e); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text;
    animation: glow 4s ease-in-out infinite alternate; 
}

.subtitle { 
    text-align: center; 
    font-size: 15px; 
    opacity: 0.7; 
    margin-bottom: 40px; 
    font-family: monospace; 
    color: #22c55e; 
}

.terminal-card { 
    background: rgba(0,0,0,0.55); 
    border-radius: 20px; 
    border: 1px solid rgba(255,255,255,0.08); 
    overflow: hidden; 
    box-shadow: 0 30px 70px rgba(0,0,0,0.7); 
    margin-bottom: 16px; 
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-topbar { 
    background: rgba(255,255,255,0.04); 
    border-bottom: 1px solid rgba(255,255,255,0.07); 
    padding: 12px 20px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-family: monospace; 
    font-size: 13px; 
    color: #6b7280; 
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; } 
.dot.yellow { background: #f59e0b; } 
.dot.green { background: #22c55e; }

.terminal-title { margin-left: 10px; color: #22c55e; }

.card-body { padding: 28px; }

.tabs { display: flex; gap: 10px; margin-bottom: 20px; }

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #9ca3af;
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.06);
    color: #38bdf8;
}

.tab-btn.active {
    border-color: rgba(34,197,94,0.4);
    background: rgba(34,197,94,0.08);
    color: #22c55e;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

label { 
    display: block; 
    font-size: 12px; 
    font-family: monospace; 
    color: #9ca3af; 
    margin-bottom: 6px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

textarea { 
    width: 100%; 
    padding: 11px 14px; 
    border-radius: 10px; 
    border: 1px solid rgba(255,255,255,0.08); 
    background: rgba(255,255,255,0.04); 
    color: #e5e7eb; 
    font-family: monospace; 
    font-size: 14px; 
    transition: 0.3s ease; 
    outline: none; 
    resize: vertical; 
    min-height: 160px; 
    line-height: 1.6; 
}

textarea:focus { 
    border-color: rgba(56,189,248,0.4); 
    background: rgba(56,189,248,0.06); 
    box-shadow: 0 0 0 3px rgba(56,189,248,0.08); 
}

textarea::placeholder { color: #4b5563; }

.convert-row { margin-top: 20px; }

.status-bar { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-top: 14px; 
    font-family: monospace; 
    font-size: 12px; 
    color: #4b5563; 
    min-height: 20px; 
}

.dot-status { 
    width: 6px; 
    height: 6px; 
    border-radius: 50%; 
    background: #4b5563; 
    transition: 0.3s; 
}

.status-bar.ok .dot-status { 
    background: #22c55e; 
    animation: pulse 1.5s infinite; 
}

.status-bar.ok { color: #22c55e; }
.status-bar.err .dot-status { background: #ef4444; }
.status-bar.err { color: #ef4444; }

@keyframes pulse { 
    0%,100% { opacity: 1; } 
    50% { opacity: 0.4; } 
}

.result-section { margin-top: 24px; }

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

.result-count {
    font-family: monospace;
    font-size: 14px;
    color: #38bdf8;
}

.result-actions { margin: 0; }

.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.result-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 12px;
    padding: 16px;
    transition: 0.3s;
}

.result-item:hover {
    border-color: rgba(34,197,94,0.4);
    background: rgba(34,197,94,0.05);
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.result-item-name {
    font-family: monospace;
    font-size: 13px;
    color: #22c55e;
    font-weight: 600;
}

.result-item-link {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    color: #38bdf8;
    word-break: break-all;
    resize: none;
    min-height: 60px;
    outline: none;
}

.copy-item-btn {
    padding: 8px 16px;
    background: transparent;
    color: #38bdf8;
    border: 1px solid rgba(56,189,248,0.35);
    border-radius: 8px;
    font-size: 12px;
    font-family: monospace;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-item-btn:hover {
    background: rgba(56,189,248,0.1);
    border-color: rgba(56,189,248,0.6);
}

.copy-item-btn.copied {
    color: #22c55e;
    border-color: rgba(34,197,94,0.6);
}

/* ===== CHECKER PAGE ===== */
.checker-options {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.option-group { flex: 1; min-width: 200px; }

.option-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.option-group input:focus {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.06);
}

.checker-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 150px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-box.online { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.05); }
.stat-box.offline { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.05); }
.stat-box.avg-ping { border-color: rgba(56,189,248,0.3); background: rgba(56,189,248,0.05); }

.stat-box .stat-value {
    font-family: monospace;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-box.online .stat-value { color: #22c55e; }
.stat-box.offline .stat-value { color: #ef4444; }
.stat-box.avg-ping .stat-value { color: #38bdf8; }

.stat-box .stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.results-table { overflow-x: auto; }

.checker-table {
    width: 100%;
    border-collapse: collapse;
    font-family: monospace;
    font-size: 13px;
}

.checker-table thead {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.checker-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

.checker-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}

.checker-table tbody tr:hover { background: rgba(56,189,248,0.05); }

.checker-table td { padding: 14px 16px; color: #e5e7eb; }

.status-cell { font-size: 18px; text-align: center; width: 60px; }
.status-online .status-cell { color: #22c55e; }
.status-offline .status-cell { color: #ef4444; }

.name-cell { min-width: 200px; }
.server-name { font-weight: 600; color: #f1f5f9; margin-bottom: 2px; }
.server-host { font-size: 11px; color: #6b7280; }

.ping-cell { font-weight: 700; font-family: monospace; }
.status-online .ping-cell { color: #22c55e; }
.status-offline .ping-cell { color: #ef4444; }

.type-cell, .security-cell { color: #9ca3af; font-size: 12px; }

/* ===== FOOTER ===== */
footer {
    text-align: center;
    margin-top: 80px;
    padding: 30px 20px;
    font-size: 12px;
    font-family: monospace;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-line { color: #6b7280; opacity: 0.7; }

.footer-donate {
    color: #f59e0b;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dashed rgba(245,158,11,0.3);
    padding-bottom: 2px;
}

.footer-donate:hover {
    color: #fbbf24;
    border-bottom-color: rgba(245,158,11,0.6);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56,189,248,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .status-badge .s-sub { display: none; }
    .donate-btn { display: none; }
    .nav-link { padding: 5px 10px; font-size: 11px; }
    .hero-title { font-size: 36px; }
    .hero-logo { font-size: 56px; }
    .section-title { font-size: 28px; }
    .hero-stats { gap: 30px; }
    .stat-value { font-size: 28px; }
    .step-arrow { display: none; }
    
    .checker-table { font-size: 11px; }
    .checker-table th, .checker-table td { padding: 10px 8px; }
    .type-cell, .security-cell { display: none; }
}

@media (max-width: 600px) { 
    .logo { font-size: 36px; } 
    .btn-row { flex-direction: column; }
    .result-header { flex-direction: column; align-items: flex-start; }
    .result-actions { width: 100%; }
    .result-actions .btn { flex: 1; }
    .hero-title { font-size: 28px; }
    .hero-logo { font-size: 44px; letter-spacing: 4px; }
}

@media (max-width: 480px) {
    .header-nav { display: none; }
    .burger-btn { display: flex; }
    .mobile-menu { display: block; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
}

/* ===== SUBSCRIPTION TAB ===== */
.subscription-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.subscription-url-input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.subscription-url-input:focus {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.06);
    box-shadow: 0 0 0 3px rgba(56,189,248,0.08);
}

.subscription-url-input::placeholder {
    color: #4b5563;
}

.subscription-load-btn {
    white-space: nowrap;
}

.subscription-options {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.proxy-select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.proxy-select:focus {
    border-color: rgba(56,189,248,0.4);
    background-color: rgba(56,189,248,0.06);
}

.proxy-select option {
    background: #0b1120;
    color: #e5e7eb;
}

.subscription-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #4b5563;
    font-family: monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subscription-divider::before,
.subscription-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.subscription-divider span {
    padding: 0 16px;
}

@media (max-width: 600px) {
    .subscription-input-group {
        flex-direction: column;
    }
    
    .subscription-load-btn {
        width: 100%;
    }
}

/* ===== SUBSCRIPTION TAB ===== */
.sub-method {
    margin-bottom: 8px;
}

.sub-method-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.sub-method-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    font-family: monospace;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.sub-method-title {
    font-family: monospace;
    font-size: 13px;
    color: #f1f5f9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-method-hint {
    font-family: monospace;
    font-size: 11px;
    color: #22c55e;
    opacity: 0.8;
}

.subscription-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.subscription-url-input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.subscription-url-input:focus {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.06);
    box-shadow: 0 0 0 3px rgba(56,189,248,0.08);
}

.subscription-url-input::placeholder { color: #4b5563; }

.subscription-load-btn { white-space: nowrap; }

.subscription-options {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.proxy-select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.proxy-select:focus {
    border-color: rgba(56,189,248,0.4);
    background-color: rgba(56,189,248,0.06);
}

.proxy-select option {
    background: #0b1120;
    color: #e5e7eb;
}

/* File drop zone */
.file-drop-zone {
    border: 2px dashed rgba(56,189,248,0.3);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    background: rgba(56,189,248,0.02);
    cursor: pointer;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: rgba(56,189,248,0.6);
    background: rgba(56,189,248,0.08);
}

.file-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-drop-icon {
    font-size: 36px;
    margin-bottom: 4px;
}

.file-drop-text {
    font-family: monospace;
    font-size: 14px;
    color: #e5e7eb;
    font-weight: 600;
}

.file-drop-hint {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.file-select-btn {
    margin-top: 8px;
    cursor: pointer;
}

/* Divider */
.subscription-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #4b5563;
    font-family: monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subscription-divider::before,
.subscription-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.subscription-divider span { padding: 0 16px; }

/* Debug panel */
.debug-toggle {
    margin-top: 20px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    cursor: pointer;
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    transition: 0.2s;
    user-select: none;
}

.debug-toggle:hover {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.3);
    background: rgba(56,189,248,0.04);
}

.debug-panel {
    margin-top: 10px;
    padding: 16px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    font-family: monospace;
    font-size: 11px;
}

.debug-title {
    color: #38bdf8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
}

.debug-content {
    color: #9ca3af;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
}

.debug-content .debug-line {
    margin-bottom: 4px;
}

.debug-content .debug-key {
    color: #38bdf8;
}

.debug-content .debug-value {
    color: #22c55e;
}

.debug-content .debug-error {
    color: #ef4444;
}

@media (max-width: 600px) {
    .subscription-input-group { flex-direction: column; }
    .subscription-load-btn { width: 100%; }
}

/* ===== MANUAL MODAL ===== */
.manual-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

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

.manual-modal-box {
    background: #0b1120;
    border: 1px solid rgba(56,189,248,0.3);
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.manual-modal-topbar {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.manual-modal-topbar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.manual-modal-title {
    font-family: monospace;
    font-size: 12px;
    color: #f59e0b;
    margin-left: 8px;
    flex: 1;
}

.manual-modal-close {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    transition: 0.2s;
}

.manual-modal-close:hover {
    color: #ef4444;
}

.manual-modal-body {
    padding: 24px;
}

.manual-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.manual-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    font-family: monospace;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.manual-step-content {
    flex: 1;
}

.manual-step-title {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manual-step-text {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

.manual-step-text kbd {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: #e5e7eb;
    margin: 0 2px;
}

.manual-step-text code {
    padding: 2px 6px;
    background: rgba(56,189,248,0.1);
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: #38bdf8;
}

.manual-paste-area {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e5e7eb;
    font-family: monospace;
    font-size: 12px;
    resize: vertical;
    outline: none;
    transition: 0.3s;
    margin-top: 10px;
}

.manual-paste-area:focus {
    border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.05);
}

.manual-alt {
    background: rgba(34,197,94,0.05);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 10px;
    padding: 14px;
    margin-top: 8px;
}

.manual-alt-title {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manual-alt-text {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
}

.manual-alt-text code {
    padding: 2px 6px;
    background: rgba(56,189,248,0.1);
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: #38bdf8;
}

/* ===== EXTRACTED URL MODAL ===== */
.success-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 12px;
}

.success-title {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-text {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.extracted-url-block {
    background: rgba(34,197,94,0.05);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 12px;
    padding: 16px;
}

.extracted-url-label {
    font-family: monospace;
    font-size: 11px;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.extracted-url-value {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: 12px;
    color: #38bdf8;
    word-break: break-all;
    margin-bottom: 12px;
    user-select: all;
}

.extracted-url-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.extracted-url-actions .btn {
    flex: 1;
    min-width: 140px;
}

.raw-details {
    margin-top: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px;
}

.raw-details summary {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

.raw-details summary:hover {
    color: #38bdf8;
}

.raw-html-preview {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    font-family: monospace;
    font-size: 10px;
    color: #9ca3af;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .extracted-url-actions {
        flex-direction: column;
    }
    
    .extracted-url-actions .btn {
        width: 100%;
    }
}

/* ===== EXTRACTED URL MODAL ===== */
.success-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 12px;
}

.success-title {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-text {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.extracted-url-block {
    background: rgba(34,197,94,0.05);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 12px;
    padding: 16px;
}

.extracted-url-label {
    font-family: monospace;
    font-size: 11px;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.extracted-url-value {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: 12px;
    color: #38bdf8;
    word-break: break-all;
    margin-bottom: 12px;
    user-select: all;
}

.extracted-url-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.extracted-url-actions .btn {
    flex: 1;
    min-width: 140px;
}

.raw-details {
    margin-top: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px;
}

.raw-details summary {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

.raw-details summary:hover {
    color: #38bdf8;
}

.raw-html-preview {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    font-family: monospace;
    font-size: 10px;
    color: #9ca3af;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .extracted-url-actions {
        flex-direction: column;
    }
    
    .extracted-url-actions .btn {
        width: 100%;
    }
}

/* ===== CUSTOM PROXY BLOCK ===== */
.custom-proxy-block {
    margin-top: 12px;
    padding: 14px;
    background: rgba(34,197,94,0.05);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 10px;
}

.custom-proxy-hint {
    font-family: monospace;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 8px;
    line-height: 1.5;
}

.custom-proxy-hint a {
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

/* ===== ADMIN PAGE STYLES ===== */

/* IP Info Grid */
.ip-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ip-info-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 14px;
}

.ip-info-label {
    font-family: monospace;
    font-size: 10px;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ip-info-value {
    font-family: monospace;
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
    word-break: break-all;
}

.ip-result-block {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
}

.ip-loading {
    text-align: center;
    color: #38bdf8;
    font-family: monospace;
}

.ip-error {
    color: #ef4444;
    font-family: monospace;
}

/* Speed Test */
.speed-test-panel {
    text-align: center;
    padding: 20px;
}

.speed-gauge {
    margin-bottom: 24px;
}

.speed-value {
    font-family: monospace;
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.speed-unit {
    font-family: monospace;
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.speed-label {
    font-family: monospace;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.speed-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.speed-stat {
    text-align: center;
}

.speed-stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.speed-stat-value {
    font-family: monospace;
    font-size: 18px;
    color: #22c55e;
    font-weight: 700;
}

/* SSH Terminal */
.ssh-connect-form {
    margin-bottom: 16px;
}

.ssh-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ssh-form-field {
    flex: 1;
    min-width: 150px;
}

.terminal-box {
    background: #0b1120;
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
    padding: 10px;
    min-height: 400px;
    margin-top: 16px;
}

.terminal-box .xterm {
    height: 100%;
}

/* Clients */
.client-form {
    margin-bottom: 16px;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.clients-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-family: monospace;
    font-size: 13px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 10px;
}

.client-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 12px;
    padding: 16px;
    transition: 0.3s;
}

.client-card:hover {
    border-color: rgba(34,197,94,0.5);
    background: rgba(34,197,94,0.05);
}

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

.client-name {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
}

.client-actions-top {
    display: flex;
    gap: 6px;
}

.client-actions-top .copy-item-btn {
    padding: 4px 8px;
    font-size: 11px;
}

.client-info {
    margin-bottom: 12px;
}

.client-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-family: monospace;
    font-size: 12px;
}

.client-info-label {
    color: #6b7280;
}

.client-info-value {
    color: #38bdf8;
}

.client-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.client-buttons .btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    font-size: 11px;
}

@media (max-width: 600px) {
    .ssh-form-row {
        flex-direction: column;
    }
    
    .speed-value {
        font-size: 48px;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
}

/* ===== ADMIN PAGE STYLES ===== */

/* IP Info Grid */
.ip-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ip-info-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 14px;
}

.ip-info-label {
    font-family: monospace;
    font-size: 10px;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ip-info-value {
    font-family: monospace;
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
    word-break: break-all;
}

.ip-result-block {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
}

.ip-loading {
    text-align: center;
    color: #38bdf8;
    font-family: monospace;
}

.ip-error {
    color: #ef4444;
    font-family: monospace;
}

/* Speed Test */
.speed-test-panel {
    text-align: center;
    padding: 20px;
}

.speed-gauge {
    margin-bottom: 24px;
}

.speed-value {
    font-family: monospace;
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.speed-unit {
    font-family: monospace;
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.speed-label {
    font-family: monospace;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.speed-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.speed-stat {
    text-align: center;
}

.speed-stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.speed-stat-value {
    font-family: monospace;
    font-size: 18px;
    color: #22c55e;
    font-weight: 700;
}

/* SSH Terminal */
.ssh-connect-form {
    margin-bottom: 16px;
}

.ssh-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ssh-form-field {
    flex: 1;
    min-width: 150px;
}

.terminal-box {
    background: #0b1120;
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
    padding: 10px;
    min-height: 400px;
    margin-top: 16px;
}

.terminal-box .xterm {
    height: 100%;
}

/* Clients */
.client-form {
    margin-bottom: 16px;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.clients-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-family: monospace;
    font-size: 13px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 10px;
}

.client-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 12px;
    padding: 16px;
    transition: 0.3s;
}

.client-card:hover {
    border-color: rgba(34,197,94,0.5);
    background: rgba(34,197,94,0.05);
}

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

.client-name {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
}

.client-actions-top {
    display: flex;
    gap: 6px;
}

.client-actions-top .copy-item-btn {
    padding: 4px 8px;
    font-size: 11px;
}

.client-info {
    margin-bottom: 12px;
}

.client-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-family: monospace;
    font-size: 12px;
}

.client-info-label {
    color: #6b7280;
}

.client-info-value {
    color: #38bdf8;
}

.client-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.client-buttons .btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    font-size: 11px;
}

/* Admin Responsive */
@media (max-width: 600px) {
    .ssh-form-row {
        flex-direction: column;
    }
    
    .speed-value {
        font-size: 48px;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
    
    .ip-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SPEEDOMETER ===== */
.speedometer-container {
    max-width: 400px;
    margin: 0 auto 20px;
}

.speedometer-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.1));
}

#speed-arc {
    transition: stroke-dashoffset 0.3s ease-out;
}

#speed-value-text {
    transition: all 0.2s ease-out;
}

.speed-test-panel {
    text-align: center;
    padding: 20px;
}

.speed-gauge {
    margin-bottom: 24px;
}

.speed-value {
    font-family: monospace;
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.speed-unit {
    font-family: monospace;
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.speed-label {
    font-family: monospace;
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 20px;
    min-height: 20px;
}

.speed-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.speed-stat {
    text-align: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 14px 10px;
}

.speed-stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.speed-stat-value {
    font-family: monospace;
    font-size: 18px;
    color: #22c55e;
    font-weight: 700;
}

/* ===== ADMIN PAGE: SPEEDOMETER ===== */
.speedometer-container {
    max-width: 400px;
    margin: 0 auto 20px;
}

.speedometer-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.1));
}

#speed-arc {
    transition: stroke-dashoffset 0.3s ease-out;
}

#speed-value-text {
    transition: all 0.2s ease-out;
}

.speed-test-panel {
    text-align: center;
    padding: 20px;
}

.speed-label {
    font-family: monospace;
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 20px;
    min-height: 20px;
}

.speed-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.speed-stat {
    text-align: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 14px 10px;
}

.speed-stat-label {
    font-family: monospace;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.speed-stat-value {
    font-family: monospace;
    font-size: 18px;
    color: #22c55e;
    font-weight: 700;
}

/* ===== ADMIN PAGE: IP INFO ===== */
.ip-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ip-info-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 10px;
    padding: 14px;
}

.ip-info-label {
    font-family: monospace;
    font-size: 10px;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ip-info-value {
    font-family: monospace;
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
    word-break: break-all;
}

.ip-result-block {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
}

.ip-loading {
    text-align: center;
    color: #38bdf8;
    font-family: monospace;
}

.ip-error {
    color: #ef4444;
    font-family: monospace;
}

/* ===== ADMIN PAGE: SSH TERMINAL ===== */
.ssh-connect-form {
    margin-bottom: 16px;
}

.ssh-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ssh-form-field {
    flex: 1;
    min-width: 150px;
}

.terminal-box {
    background: #0b1120;
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 10px;
    padding: 10px;
    min-height: 400px;
    margin-top: 16px;
}

.terminal-box .xterm {
    height: 100%;
}

/* ===== ADMIN PAGE: CLIENTS ===== */
.client-form {
    margin-bottom: 16px;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.clients-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-family: monospace;
    font-size: 13px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 10px;
}

.client-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 12px;
    padding: 16px;
    transition: 0.3s;
}

.client-card:hover {
    border-color: rgba(34,197,94,0.5);
    background: rgba(34,197,94,0.05);
}

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

.client-name {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
}

.client-actions-top {
    display: flex;
    gap: 6px;
}

.client-actions-top .copy-item-btn {
    padding: 4px 8px;
    font-size: 11px;
}

.client-info {
    margin-bottom: 12px;
}

.client-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-family: monospace;
    font-size: 12px;
}

.client-info-label {
    color: #6b7280;
}

.client-info-value {
    color: #38bdf8;
}

.client-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.client-buttons .btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    font-size: 11px;
}

@media (max-width: 600px) {
    .ssh-form-row {
        flex-direction: column;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
    
    .ip-info-grid {
        grid-template-columns: 1fr;
    }
}