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

body {
    font-family: 'Inter', sans-serif;
    background: #08080e;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(2px 2px at 20px 30px, #eee, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                radial-gradient(2px 2px at 50px 160px, #ddd, transparent),
                radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.6), transparent),
                radial-gradient(2px 2px at 130px 80px, #fff, transparent),
                radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.7), transparent);
    background-size: 200px 200px;
    opacity: 0.3;
}

.app-container {
    width: 100%;
    max-width: 500px;
    background: rgba(16, 16, 26, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 44px;
    padding: 30px 24px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 215, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.04);
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.header-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, #ffd700, #ff8c00);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.header-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffd700, #ff8c00);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
}

.header-icon i {
    font-size: 34px;
    color: #0a0a0f;
}

.header h1 {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.1);
}

.header h1 span {
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: rgba(255, 215, 0, 0.35);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 15px;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 107, 0, 0.08));
    color: #ffd700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.05);
}

.tab-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.5);
}

.search-section {
    display: none;
    margin-bottom: 24px;
}

.search-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 4px 4px 4px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.04);
    background: rgba(255, 255, 255, 0.05);
}

.input-icon {
    color: rgba(255, 215, 0, 0.25);
    font-size: 16px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 400;
}

.search-btn {
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #0a0a0f;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.15);
}

.search-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 35px rgba(255, 215, 0, 0.25);
}

.search-btn:active {
    transform: scale(0.94);
}

.tg-btn {
    background: linear-gradient(135deg, #0088cc, #0077b3);
    box-shadow: 0 4px 25px rgba(0, 136, 204, 0.15);
}

.tg-btn:hover {
    box-shadow: 0 6px 35px rgba(0, 136, 204, 0.25);
}

.quick-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 14px;
}

.quick-info span {
    color: rgba(255, 255, 255, 0.15);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-info span i {
    font-size: 11px;
    color: rgba(255, 215, 0, 0.2);
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 150px;
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.result-card.api-1 {
    border-left: 3px solid #ffd700;
}

.result-card.api-tg {
    border-left: 3px solid #0088cc;
}

.result-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.result-card .card-header h3 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.result-card .card-header .badge {
    background: rgba(255, 215, 0, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card .card-header .badge.tg-badge {
    background: rgba(0, 136, 204, 0.08);
    color: rgba(0, 136, 204, 0.5);
}

.result-card .data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.result-card .data-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.result-card .data-item .label {
    color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.result-card .data-item .value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
}

.result-card .data-item .value.highlight {
    color: #ffd700;
}

.result-card .data-item .value.tg-highlight {
    color: #0088cc;
}

.result-card .data-item .value.alt-highlight {
    color: #ff6b6b;
}

.result-card .data-item .value.country-code {
    font-weight: 700;
    color: #4ecdc4;
}

.result-card .data-item.full-width {
    grid-column: 1 / -1;
}

/* ========== COPY BUTTON ========== */
.copy-btn {
    margin-top: 16px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    letter-spacing: 0.5px;
}

.copy-btn:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.15);
    color: rgba(255, 215, 0, 0.7);
}

.copy-btn.copied {
    background: rgba(76, 205, 196, 0.08);
    border-color: rgba(76, 205, 196, 0.2);
    color: #4ecdc4;
}

.copy-btn i {
    font-size: 14px;
}

/* ========== LOADING ========== */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 0;
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.04);
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner p {
    color: rgba(255, 215, 0, 0.2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.empty-state {
    text-align: center;
    padding: 50px 0;
}

.empty-state i {
    font-size: 52px;
    color: rgba(255, 255, 255, 0.03);
    margin-bottom: 16px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 500;
}

.footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer p {
    color: rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer p i {
    color: #ff6b6b;
    margin: 0 4px;
}

.footer p .dev-name {
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-small {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.03) !important;
    margin-top: 4px;
    letter-spacing: 1px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .app-container {
        padding: 20px 16px;
        border-radius: 32px;
    }

    .header h1 {
        font-size: 26px;
    }

    .header-icon {
        width: 62px;
        height: 62px;
    }

    .header-icon i {
        font-size: 28px;
    }

    .result-card .data-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .result-card {
        padding: 18px 18px;
    }

    .input-group input {
        font-size: 14px;
        padding: 14px 10px;
    }

    .search-btn {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .tab-btn {
        font-size: 12px;
        padding: 10px 8px;
    }

    .tab-btn i {
        font-size: 13px;
    }
}
.profile-section{
    text-align:center;
    margin-bottom:20px;
}

.profile-img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #ffd700;
    box-shadow:0 0 35px #ffd700;
    margin-bottom:15px;
}
