/* ── RESET & VARIABLES ── */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
:root {
    --blue: #1588fb;
    --blue-dark: #0d6fd8;
    --orange: #fd9719;
    --navy: #0d1b2a;
    --white: #ffffff;
    --gray-bg: #f8fafc;
}
body {
    margin: 0;
    min-height: 100vh;
    background-color: #fcfbfe;
    background-image: 
        radial-gradient(rgba(21, 136, 251, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(rgba(253, 151, 25, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(rgba(144, 118, 219, 0.3) 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    background-position: 0 0, 12px 12px, 24px 24px;
}

/* ── HEADER ── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 200;
}
.header-logo {
    height: 38px;
    width: auto;
}
.header-wordmark {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--blue) 0%, #7b5ef8 50%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ── MAIN CONTAINER & PAGE HEADING ── */
.page-container {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 0 20px;
}
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--navy, #1e293b);
    margin-bottom: 24px;
}

/* ── TABS NAVIGATION ── */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}
.tab-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #64748b;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.tab-btn:hover {
    color: #1588fb;
    border-color: #1588fb;
}
.tab-btn.active {
    background: #1588fb;
    color: #ffffff;
    border-color: #1588fb;
    box-shadow: 0 4px 12px rgba(21, 136, 251, 0.25);
}

/* ── TAB CONTENT & EMPTY STATES ── */
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
}

/* ── ID GRID & CARDS ── */
.id-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.id-card {
    background: var(--white, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.id-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 136, 251, 0.12);
}
.id-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy, #1e293b);
}
.id-value-btn {
    background: var(--gray-bg, #f8fafc);
    border: 1px dashed var(--blue, #1588fb);
    color: var(--blue-dark, #0c63e4);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 13px;
    word-break: break-all;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, color 0.2s, border-style 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.id-value-btn:hover {
    background: #eef6ff;
}
.id-value-btn:active {
    transform: scale(0.98);
}
.id-value-btn.copied {
    background: #e6f4ea;
    border-color: #137333;
    border-style: solid;
    color: #137333;
}
.copy-icon {
    font-size: 14px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ── CTA & FOOTER SECTION ── */
.bottom-section {
    background: var(--navy);
    padding: 64px 5% 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-section h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.bottom-section > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 44px;
    max-width: 480px;
    line-height: 1.6;
}
.social-icons {
    display: flex;
    gap: 48px;
    margin-bottom: 44px;
}
.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
}
.social-item:hover { 
    transform: translateY(-4px); 
}
.social-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.social-item:hover .social-icon-circle {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.social-icon-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-icon-line {
    background: #06C755;
}
.social-icon-circle i {
    color: #fff;
}
.social-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}
.footer-strip {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}
.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.footer-logo {
    height: 26px;
    width: auto;
}
.footer-wordmark {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--blue), #7b5ef8, var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}
.footer-dot {
    display: none;
}

/* ── TOAST NOTIFICATION ── */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--navy, #1e293b);
    color: var(--white, #ffffff);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 768px) {
    .header { 
        height: 56px; 
    }
    .social-icons { 
        gap: 32px; 
    }
}
.tabs-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0;
    
    /* Touch & Drag interaction styles */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;

    /* Hide scrollbars cross-browser */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.tabs-container::-webkit-scrollbar {
    display: none;
}

.tabs-container:active {
    cursor: grabbing;
}

/* Safe horizontal centering for few items without left-side overflow clipping */
.tabs-container > .tab-btn:first-child {
    margin-left: auto;
}

.tabs-container > .tab-btn:last-child {
    margin-right: auto;
}

.tab-btn {
    flex-shrink: 0;
}