/* Custom Styles for ConnectSphere Advanced */

/* Reset & Selection */
::selection {
    background: #ff3d7f;
    color: white;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Perspective for 3D card effect */
.perspective-1000 {
    perspective: 1000px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Scrolled State */
nav.scrolled {
    background: rgba(255, 241, 245, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 61, 127, 0.15);
}

/* Subpage Global Backgrounds */
body:not(.home) { 
    position: relative; 
    z-index: 0;
}
body:not(.home)::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background-image: url('assets/bg_subpages.png'); 
    background-size: cover; 
    background-attachment: fixed; 
    background-position: center; 
    opacity: 0.35; 
    z-index: -1; 
    pointer-events: none; 
}

/* Footer Premium Styling */
.site-footer {
    background-color: #f8fafc;
    background-image: url('assets/4.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #334155;
}

.site-footer a {
    color: #475569;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #ff3d7f;
}
