.dashboard-grid > .card:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dashboard-grid > .card:first-child h3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#developer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}
.code-bracket {
    font-family: 'Courier New', 'Fira Code', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    text-shadow: 0 0 12px rgba(0,107,214,0.7);
    line-height: 1;
    display: inline-block;
}
.card:first-child p {
    justify-content: center !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}
:root {
    --text-color: #fff;
    --bg-color: #0f172a;
    --second-bg-color: #1e293b;
    --main-color: #006bd6;
    --other-color: #94a3b8;
    --border-color: #334155;
    --h1-font: 4.5rem;
    --h2-font: 2.9rem;
    --p-font: 1rem;
}
body {
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}
header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 10%;
    background: transparent;
    transition: all 0.5s ease;
    backdrop-filter: blur(4px);
}
.logo {
    font-size: 32px;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
}
.logo span {
    color: var(--main-color);
}
.h-btn {
    display: inline-block;
    padding: 11px 26px;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.5s ease;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
}
.h-btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}
.menu-toggle {
    display: block !important;
    font-size: 35px;
    color: var(--text-color);
    cursor: pointer;
    background: transparent;
    border: none;
    transition: 0.3s;
    z-index: 10001;
}
.menu-toggle:hover {
    color: var(--main-color);
    text-shadow: 0 0 15px var(--main-color);
}

/* ========== TRANSPARENT GLASS SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(0, 107, 214, 0.4);
    transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1002;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}
.sidebar.active {
    left: 0;
}
.sidebar-header {
    padding: 24px 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 107, 214, 0.5);
    flex-shrink: 0;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(4px);
}
.sidebar-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--main-color);
    box-shadow: 0 0 15px var(--main-color);
}
.sidebar-header span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}
.sidebar-header span .tech-highlight {
    color: var(--main-color);
}
.sidebar-menu-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px 12px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 100px);
}
.sidebar-menu-container::-webkit-scrollbar {
    width: 5px;
}
.sidebar-menu-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.sidebar-menu-container::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}
.sidebar-menu-container::-webkit-scrollbar-thumb:hover {
    background: #0088ff;
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 40px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}
.menu-item i {
    font-size: 1.3rem;
    min-width: 24px;
    color: var(--main-color);
}
.menu-item:hover {
    background: rgba(0, 107, 214, 0.35);
    color: white;
    border: 1px solid var(--main-color);
    transform: translateX(5px);
    backdrop-filter: blur(8px);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: none;
}
.sidebar.active ~ .overlay {
    display: block;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    margin-top: 100px;
    padding: 1.5rem 10% 0;
}
.main-content {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    max-width: 1440px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    width: 100%;
    margin-bottom: 2.5rem;
}
.dashboard-grid > .card:first-child {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(105deg, #1e2a47, #14223b);
    border: 1px solid var(--main-color);
    padding: 2rem 1.5rem;
}
.card {
    background: #1e293be0;
    backdrop-filter: blur(8px);
    padding: 1.6rem 1.5rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(51,65,85,0.6);
    transition: all 0.25s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}
.card:hover {
    border: 1px solid var(--main-color);
    box-shadow: 0 0 22px rgba(0,107,214,0.5);
    transform: translateY(-5px);
}
.card h3 {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    font-weight: 600;
}
.card h3 i {
    font-size: 1.6rem;
    color: var(--main-color);
}
.card p {
    color: var(--other-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0.2rem 0;
    line-height: 1.4;
}
.card .subtext {
    color: #b9c7da;
    font-size: 0.88rem;
    margin-top: 0.4rem;
    opacity: 0.9;
}
#developer {
    font-size: 1.5rem;
    margin: 0.5rem 0 0.2rem;
    color: white;
}
.network-icon {
    font-size: 1.7rem;
    transition: color 0.3s ease;
}
.network-online {
    color: #10b981;
    animation: rotateFan 2.5s linear infinite;
}
.network-offline {
    color: #ef4444;
}
@keyframes rotateFan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
footer {
    text-align: center;
    padding: 1.3rem 0.8rem;
    background: var(--second-bg-color);
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    width: 100%;
    border-radius: 16px 16px 0 0;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.modal-content {
    background: var(--second-bg-color);
    padding: 2.2rem 1.8rem;
    border-radius: 28px;
    border: 1px solid var(--main-color);
    box-shadow: 0 0 40px rgba(0,107,214,0.5);
    max-width: 440px;
    width: 100%;
    text-align: center;
    animation: modalPop 0.35s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@keyframes modalPop {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}
.modal .close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    background: transparent;
    border: none;
    transition: none;
}
.modal .close:hover,
.modal .close:focus,
.modal .close:active {
    color: #94a3b8;
    transform: none;
    text-shadow: none;
}
.channel-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    margin: 8px auto 16px;
    object-fit: cover;
}
.join-button {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px auto 8px;
    transition: 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}
.join-button:hover {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}
.whatsapp-link {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    display: inline-block;
    margin: 16px 0 12px;
    font-weight: 600;
    transition: 0.25s;
    text-decoration: none;
}
.whatsapp-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #25d366;
}
.star {
    font-size: 2.2rem;
    color: var(--other-color);
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
}
.star.active, .star:hover {
    color: #ffcc00;
    text-shadow: 0 0 15px #ffb300;
}
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    width: 100%;
    height: 100%;
}
.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    user-select: none;
    animation: fall linear infinite;
}
@keyframes fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0.1; }
}
@media (max-width: 1700px) {
    header { padding: 22px 8%; }
    .container { padding: 1.5rem 8% 0; }
}
@media (max-width: 1380px) {
    header { padding: 20px 5%; }
    .container { padding: 1.5rem 5% 0; }
}
@media (min-width: 951px) {
    header { 
        padding: 24px 10%; 
    }
    .menu-toggle {
        margin-right: 20px;
        font-size: 38px;
    }
}
@media (max-width: 950px) {
    header { padding: 18px 5%; }
    .h-btn { padding: 8px 20px; font-size: 14px; }
    .menu-toggle { font-size: 35px; }
}
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .menu-toggle { font-size: 32px; }
}
@media (max-width: 640px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    header { padding: 16px 4%; }
    .logo { font-size: 24px; }
    .menu-toggle { font-size: 30px; }
    .h-btn { padding: 6px 16px; font-size: 13px; border-width: 1.8px; }
    .container { margin-top: 80px; padding: 1rem 4% 0; }
    #developer { font-size: 1.2rem; }
    .modal .close { top: 12px; right: 16px; font-size: 30px; }
    .sidebar-header {
        padding: 16px 18px;
    }
    .sidebar-menu-container {
        padding: 16px 12px 60px;
        max-height: calc(100vh - 80px);
    }
    .sidebar-menu {
        padding-bottom: 60px;
    }
}
@media (max-width: 360px) {
    .logo { font-size: 20px; }
    .h-btn span { display: none; }
    .h-btn { padding: 5px 12px; font-size: 12px; }
    .menu-toggle { font-size: 28px; }
    .sidebar-menu-container {
        padding: 16px 12px 70px;
    }
    .sidebar-menu {
        padding-bottom: 70px;
    }
}
@media (min-width: 1600px) {
    .container { max-width: 1600px; margin-left: auto; margin-right: auto; }
}
.top-btnn .h-btn {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.5s ease;
    text-transform: none;
    letter-spacing: normal;
}
.top-btnn .h-btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
    transform: scale(1.1);
}
/* New minimalist loader: text + image only */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    text-align: center;
    padding: 1rem;
}
.loader-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 30px rgba(0,107,214,0.7);
    animation: gentlePulse 1.8s infinite ease-in-out;
}
@keyframes gentlePulse {
    0% { transform: scale(0.96); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0,107,214,0.4);}
    50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 0 12px rgba(0,107,214,0);}
    100% { transform: scale(0.96); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0,107,214,0);}
}
.loader-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #006bd6, #25d366);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 2.2s linear infinite;
    letter-spacing: -0.02em;
}
@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.loader-sub {
    color: var(--other-color);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}
