:root {
    --bg-base: #060608;
    --primary-color: #ff1a1a;
    --primary-hover: #ff3333;
    --primary-glow: rgba(255, 26, 26, 0.4);
    --primary-glow-strong: rgba(255, 26, 26, 0.7);
    --text-main: #f0f0f5;
    --text-muted: #888899;
    --glass-bg: rgba(15, 15, 20, 0.6);
    --glass-border: rgba(255, 26, 26, 0.15);
    --glass-border-focus: rgba(255, 26, 26, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- Splash Screen --- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.splash-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 0 50px var(--primary-glow-strong);
    animation: splashIntro 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes splashIntro {
    0% { transform: scale(0.3) translateY(50px); opacity: 0; }
    50% { transform: scale(1.1) translateY(-10px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Background */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
    filter: blur(100px);
    animation: pulse 10s infinite alternate;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0;
    animation: floatUp 8s infinite linear, fadeInOut 8s infinite linear;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; }
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); }
    100% { transform: translateY(-100px) scale(1.5); }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    100% { opacity: 0; }
}

/* Layout Container */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
}

/* Hub Wrapper */
.hub-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: floatingWrapper 6s ease-in-out infinite;
}

@keyframes floatingWrapper {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
    100% { transform: translateY(0px); }
}

/* Header Configs & Logo 3D */
.hub-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pic {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 26, 26, 0.3);
    perspective: 1000px; /* Para o efeito 3D */
    cursor: pointer;
    z-index: 100;
}

.pic-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ripple 2s infinite cubic-bezier(0.65, 0, 0.34, 1);
    z-index: -1;
}

.profile-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    background-color: var(--bg-secondary);
}

/* O giro em 3D acontece no hover ou através do Javascript (para celular) */
.profile-pic:hover .profile-logo {
    transform: rotateY(360deg);
}

@keyframes ripple {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.5); opacity: 0; }
}

.hub-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.hub-header h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hub-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 90%;
}

/* Links structure */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hub-link {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Hover and Animations for Links */
.hub-link:hover {
    background: rgba(255, 26, 26, 0.05);
    border-color: var(--glass-border-focus);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 26, 26, 0.1);
}

.hub-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.hub-link:hover::before {
    left: 100%;
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.hub-link:hover .link-icon {
    background: rgba(255, 26, 26, 0.15);
    color: var(--primary-color);
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.link-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.hub-link:hover .arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Trust Section */
.trust-section {
    margin-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    color: #ffb400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 180, 0, 0.5));
}

.trust-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-section p strong {
    color: var(--text-main);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ed573;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ed573;
    animation: statusPulse 1.5s infinite;
}

.status-badge span {
    color: #2ed573;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 213, 115, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

/* Responsive */
@media (max-width: 480px) {
    .hub-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .hub-header h1 {
        font-size: 1.75rem;
    }
}
