/* 
   CLEAN NEO-BRUTALISM 2026 
   RESET & REBUILD VERSION
*/

:root {
    --bg-base: #000000;
    --card-bg: #0a0a0a;
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Branding Colors */
    --clr-admin: #007AFF;    /* Admin Blue */
    --clr-uiux: #FF2D55;     /* UX Pink */
    --clr-ai: #00FFCC;       /* AI Teal */
    --clr-adobe: #FF9500;    /* Adobe Orange */
    
    --radius: 24px;
    --transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    height: -webkit-fill-available;
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    padding: 40px 16px;
    overflow-x: hidden;
}

/* --- BACKGROUND SYSTEM --- */
.background-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

.aurora {
    position: absolute;
    width: 80vmax; height: 80vmax;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
}

.aurora-1 {
    background: radial-gradient(circle, var(--clr-admin) 0%, transparent 70%);
    top: -20%; left: -20%;
    animation: drift 20s infinite alternate;
}

.aurora-2 {
    background: radial-gradient(circle, var(--clr-ai) 0%, transparent 70%);
    bottom: -20%; right: -20%;
    animation: drift 25s infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate(0,0) rotate(0deg); }
    to { transform: translate(10%, 10%) rotate(45deg); }
}

.noise-texture {
    position: absolute;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* --- BENTO GRID SYSTEM --- */
.bento-wrapper {
    width: 100%;
    max-width: 540px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-content: start;
}

/* Base Card Styling (Monochrome) */
.bento-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.bento-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 1. Header Card */
.card-admin {
    grid-column: span 4;
}

.profile-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-container {
    position: relative;
    width: 80px; height: 80px;
}

.avatar-img {
    width: 100%; height: 100%;
    border-radius: 50%; /* Circle profile */
    object-fit: cover;
}

.status-pill {
    position: absolute;
    bottom: -6px; right: -6px;
    background: #22c55e; /* Vibrant Green */
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    border: 3px solid var(--bg-base);
    display: flex; align-items: center; gap: 4px;
}

.pulse {
    width: 6px; height: 6px; background: #fff; border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse { 
    0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; }
}

.profile-details h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }
.profile-details p { font-size: 0.9rem; color: var(--text-muted); }
.category-tag { font-size: 0.65rem; font-weight: 700; color: var(--clr-admin); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 2px; }

/* 2 & 3. Middle Cards */
.card-uiux, .card-ai {
    grid-column: span 2;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.icon-circle {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 20px;
    transition: var(--transition);
}

.label { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.card-content h3 { font-size: 1.1rem; font-weight: 700; margin-top: 4px; }
.desc-link { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Sliding Text Animation */
.sliding-text-container {
    height: 1.4rem;
    overflow: hidden;
    margin: 4px 0;
    position: relative;
}

.sliding-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

.sliding-text.active {
    top: 0;
    opacity: 1;
}

.sliding-text.exit {
    top: -100%;
    opacity: 0;
}

/* 4. Adobe Card */
.card-adobe {
    grid-column: span 3;
    padding: 20px 24px;
}

.adobe-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adobe-brand { font-size: 1.8rem; opacity: 0.3; transition: var(--transition); }

/* 5. Social Card */
.card-social {
    grid-column: span 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.card-social:hover { 
    background: var(--clr-social, #fff); 
    color: #fff; 
    border-color: var(--clr-social, #fff); 
}

/* 6. Marquee */
.marquee-container {
    grid-column: span 4;
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
    border-left: none; border-right: none;
    margin: 8px 0;
}

.marquee-track {
    display: flex; white-space: nowrap;
    animation: scroll 15s linear infinite; /* Faster speed */
}

.marquee-track span {
    font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.15); margin-right: 40px;
    letter-spacing: 0.15em;
}

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- HOVER BRANDING COLORS --- */
.card-admin:hover { border-color: var(--clr-admin); background: linear-gradient(135deg, #0a0a0a 0%, rgba(0, 122, 255, 0.1) 100%); }
.card-uiux:hover { border-color: var(--clr-uiux); background: linear-gradient(135deg, #0a0a0a 0%, rgba(255, 45, 85, 0.1) 100%); }
.card-uiux:hover .icon-circle { background: var(--clr-uiux); color: #fff; }

.card-ai:hover { border-color: var(--clr-ai); background: linear-gradient(135deg, #0a0a0a 0%, rgba(0, 255, 204, 0.1) 100%); }
.card-ai:hover .icon-circle { background: var(--clr-ai); color: #000; }

.card-adobe:hover { border-color: var(--clr-adobe); background: linear-gradient(135deg, #0a0a0a 0%, rgba(255, 149, 0, 0.1) 100%); }
.card-adobe:hover .adobe-brand { opacity: 1; color: var(--clr-adobe); }

.card-social:hover { background: #fff; color: #000; border-color: #fff; }

/* 7. Footer */
.bento-footer {
    grid-column: span 4;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 4px;
}

.copy-text { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); }
.share-trigger {
    background: #fff; color: #000; border: none;
    padding: 10px 20px; border-radius: 100px;
    font-weight: 800; font-size: 0.7rem; cursor: pointer;
    transition: var(--transition);
}

.share-trigger:hover { transform: scale(1.05) rotate(-2deg); background: var(--clr-ai); }

/* --- RESPONSIVE OPTIMIZATION --- */
@media screen and (max-width: 500px) {
    body { padding: 24px 12px; }
    
    .bento-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .card-admin, .card-adobe, .marquee-container, .bento-footer {
        grid-column: span 2;
    }
    
    .card-uiux, .card-ai, .card-social {
        grid-column: span 1;
    }

    .profile-details h1 { font-size: 1.3rem; }
    .bento-box { padding: 18px; }
    .card-uiux, .card-ai { min-height: 140px; }
}

/* Prevent zoom on IOS */
input, select, textarea { font-size: 16px !important; }
