:root {
    --bg-dark: #120a0d; 
    --white: #ffffff;
    --text-light: #f5f5f5;
    --text-muted: #b0b0b0;
    --pink: #ffb6c1;
    --hot-pink: #ff69b4;
    --red: #ff4d4d;
    --bg-glass: rgba(20, 10, 15, 0.25); 
    --bg-element: rgba(255, 255, 255, 0.03); 
}

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

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-light);
    overflow-x: hidden; 
}

#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.datapad-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 40px auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.datapad-screen {
    background: var(--bg-glass);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 105, 180, 0.4);
    border-left: 1px solid rgba(255, 105, 180, 0.3);
    box-shadow: 
        0 30px 50px rgba(0,0,0,0.6),
        inset 0 0 20px rgba(255, 105, 180, 0.05);
    padding: 25px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--hot-pink);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

.status-light {
    width: 10px;
    height: 10px;
    background-color: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red), 0 0 5px var(--red);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.profile {
    text-align: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 105, 180, 0.6);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
    margin-bottom: 10px;
    background-color: transparent;
    object-fit: cover;
}

.profile h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.profile p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.link-btn {
    background: var(--bg-element);
    color: var(--white);
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.link-btn:hover, .link-btn:active {
    transform: translateY(-2px);
    background: rgba(255, 105, 180, 0.15);
    border-color: rgba(255, 105, 180, 0.6);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
    color: var(--white);
}

.link-btn i {
    font-size: 1.1rem;
    color: var(--hot-pink);
    text-shadow: 0 0 5px var(--hot-pink);
}

.link-btn.full-width {
    grid-column: span 2;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.section-title i {
    color: var(--red);
    text-shadow: 0 0 8px var(--red);
}

.gallery-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.gallery-container::-webkit-scrollbar {
    height: 4px;
}
.gallery-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.gallery-container::-webkit-scrollbar-thumb {
    background: rgba(255, 105, 180, 0.4);
    border-radius: 10px;
}

.gallery-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--bg-element);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 0.2s;
}

.gallery-card:hover {
    border-color: rgba(255, 105, 180, 0.5);
}

.gallery-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    opacity: 0.85; 
    transition: opacity 0.2s;
}

.gallery-card:hover img {
    opacity: 1;
}

.gallery-card p {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 5px;
    color: var(--hot-pink);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}

.feed-container {
    background: var(--bg-element);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    min-height: 200px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
