/* --- Variáveis e Reset --- */
:root {
    --neon-gold: #d4af37;
    --neon-gold-bright: #ffd700;
    --dark-bg: #050508;
    --dark-surface: #0a0a12;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

/* --- Fundo Futurista --- */
.cyber-grid {
    position: fixed;
    width: 200%;
    height: 200%;
    bottom: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    z-index: -2;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* --- Luz do Cursor --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: opacity 0.3s;
}

/* --- Layout Principal --- */
.container {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    width: 100%;
}

/* --- Nome e Logo --- */
.logo-area {
    margin-bottom: 30px;
}

.player-name {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.brand-logo .highlight {
    color: var(--neon-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--neon-gold);
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-gold);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Foto do Jogador em Destaque --- */
.player-photo-container {
    position: relative;
    margin: 40px auto;
    max-width: 500px;
}

.photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    z-index: 2;
}

.player-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.photo-frame:hover .player-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(5, 5, 8, 0.8) 100%);
    pointer-events: none;
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

/* --- Grid de Conquistas --- */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 25px 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    border-color: var(--neon-gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--neon-gold);
    margin-bottom: 10px;
}

.achievement-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-gold-bright);
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.achievement-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* --- Efeito Glitch --- */
.glitch-text {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    color: var(--text-primary);
    margin: 30px 0 20px 0;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    20% { clip: rect(80px, 9999px, 90px, 0); }
    40% { clip: rect(10px, 9999px, 50px, 0); }
    60% { clip: rect(60px, 9999px, 20px, 0); }
    80% { clip: rect(20px, 9999px, 70px, 0); }
    100% { clip: rect(90px, 9999px, 30px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    20% { clip: rect(70px, 9999px, 20px, 0); }
    40% { clip: rect(30px, 9999px, 60px, 0); }
    60% { clip: rect(90px, 9999px, 10px, 0); }
    80% { clip: rect(50px, 9999px, 40px, 0); }
    100% { clip: rect(20px, 9999px, 90px, 0); }
}

.typing-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    min-height: 1.5em;
    font-weight: 500;
}

/* --- Barra de Carregamento --- */
.loading-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 50px auto;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-gold), var(--neon-gold-bright));
    box-shadow: 0 0 10px var(--neon-gold);
    animation: loadProgress 3s ease-in-out infinite;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loading-text {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--neon-gold);
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
}

/* --- Redes Sociais --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-gold);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-btn:hover {
    border-color: var(--neon-gold);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.social-btn:hover::before {
    transform: scale(1);
}

/* --- Secção de Contacto --- */
.contact-area {
    margin-bottom: 30px;
}

.contact-title {
    font-family: var(--font-display);
    color: var(--neon-gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.agent-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.agent-card:hover {
    border-color: var(--neon-gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.agent-icon {
    font-size: 2rem;
    color: var(--neon-gold);
}

.agent-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.agent-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.agent-role {
    font-size: 0.8rem;
    color: var(--neon-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    color: var(--neon-gold-bright);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.contact-link i {
    color: var(--neon-gold);
    width: 20px;
    text-align: center;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 15px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    line-height: 1.4;
}

.contact-note i {
    color: var(--neon-gold);
}

/* --- Footer --- */
.footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .player-name { font-size: 1.3rem; }
    .brand-logo { font-size: 2.5rem; }
    
    .player-photo-container {
        max-width: 350px;
        margin: 30px auto;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .achievement-card {
        padding: 20px 15px;
    }
    
    .achievement-icon { font-size: 2rem; }
    .achievement-number { font-size: 1.5rem; }
    .achievement-text { font-size: 0.85rem; }
    
    .glitch-text { font-size: 2.5rem; }
    .typing-text { font-size: 1rem; }
    
    .social-btn { width: 45px; height: 45px; font-size: 1rem; }
    .cursor-glow { display: none; }
    
    .agent-card { padding: 20px 15px; }
    .agent-name { font-size: 1rem; }
    .contact-link { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    body { padding: 20px 15px; }
    .brand-logo { font-size: 2rem; }
    .player-name { font-size: 1.1rem; }
}