:root {
    --bg-deep: #030508;
    --bg-nebula: radial-gradient(circle at 50% 50%, #0a0a1a 0%, #030508 100%);
    --accent-cyan: #00a8b3;
    --accent-magenta: #b300b3;
    --glass-bg: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #a8a8a8;
    --text-glow: 0 0 10px rgba(0, 168, 179, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-nebula);
}

.nebula {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 168, 179, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(179, 0, 179, 0.03) 0%, transparent 40%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile: ajustar header e nav */
@media (max-width: 768px) {
    header { 
        padding: 10px 15px; 
    }
    
    .glass-nav { 
        padding: 8px 15px; 
    }
    
    .logo { 
        font-size: 1.4rem; 
        letter-spacing: 5px;
    }
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 8px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.logo::before,
.logo::after {
    content: 'ENDFRAME';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    opacity: 0;
}

.logo::before {
    color: rgba(0, 168, 179, 0.8);
    animation: glitch-1 2.5s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.logo::after {
    color: rgba(179, 0, 179, 0.8);
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    5% {
        opacity: 0.8;
        transform: translate(-2px, 1px);
    }
    10% {
        opacity: 0;
        transform: translate(0);
    }
    15% {
        opacity: 0.6;
        transform: translate(2px, -1px);
    }
    20% {
        opacity: 0;
        transform: translate(0);
    }
    50% {
        opacity: 0;
    }
    55% {
        opacity: 0.9;
        transform: translate(1px, 2px);
    }
    60% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    8% {
        opacity: 0.7;
        transform: translate(2px, 0);
    }
    12% {
        opacity: 0;
        transform: translate(0);
    }
    18% {
        opacity: 0.8;
        transform: translate(-1px, -2px);
    }
    22% {
        opacity: 0;
        transform: translate(0);
    }
    45% {
        opacity: 0;
    }
    52% {
        opacity: 0.6;
        transform: translate(3px, 1px);
    }
    58% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 
            0.02em 0 0 rgba(255, 0, 0, 0.75),
            -0.02em -0.01em 0 rgba(0, 255, 0, 0.75),
            0.01em -0.02em 0 rgba(0, 0, 255, 0.75);
    }
    92% {
        text-shadow: 
            0.02em 0 0 rgba(255, 0, 0, 0.75),
            -0.02em -0.01em 0 rgba(0, 255, 0, 0.75),
            0.01em -0.02em 0 rgba(0, 0, 255, 0.75);
    }
    94% {
        text-shadow: 
            -0.02em -0.01em 0 rgba(255, 0, 0, 0.75),
            0.02em 0.01em 0 rgba(0, 255, 0, 0.75),
            -0.01em 0.02em 0 rgba(0, 0, 255, 0.75);
    }
    96% {
        text-shadow: 
            0.01em 0.01em 0 rgba(255, 0, 0, 0.75),
            -0.01em 0 0 rgba(0, 255, 0, 0.75),
            -0.02em -0.01em 0 rgba(0, 0, 255, 0.75);
    }
    98% {
        text-shadow: 
            -0.01em 0 0 rgba(255, 0, 0, 0.75),
            -0.01em -0.01em 0 rgba(0, 255, 0, 0.75),
            0.01em -0.01em 0 rgba(0, 0, 255, 0.75);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
}

nav a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
    color: var(--accent-cyan);
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
    animation: text-glitch 0.3s infinite;
}

nav a:hover {
    color: var(--accent-cyan);
    text-shadow: var(--text-glow);
}

@keyframes text-glitch {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(-2px, 1px);
    }
    25% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(2px, -1px);
    }
    50% {
        clip-path: polygon(0 20%, 100% 20%, 100% 70%, 0 70%);
        transform: translate(-1px, 2px);
    }
    75% {
        clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
        transform: translate(1px, -2px);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(-2px, 1px);
    }
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 168, 179, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.game-card:hover .card-glow {
    opacity: 1;
}

/* Hero Section Redesign */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 168, 179, 0.03) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 20;
    pointer-events: none;
    opacity: 0.4;
}

.hero-visual-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.portal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.4;
    animation: portal-pulse 4s infinite ease-in-out;
}

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 168, 179, 0.15);
    border-radius: 50%;
    animation: ring-expand 6s infinite linear;
}

.portal-ring:nth-child(2) { width: 300px; height: 300px; animation-delay: -2s; }
.portal-ring:nth-child(3) { width: 450px; height: 450px; animation-delay: -4s; }
.portal-ring:nth-child(4) { width: 600px; height: 600px; animation-delay: 0s; border: 1px dashed rgba(179, 0, 179, 0.1); }

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

@keyframes ring-expand {
    0% { transform: translate(-50%, -50%) scale(0.8) rotate(0deg); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5) rotate(180deg); opacity: 0; }
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.glitch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 30px;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 168, 179, 0.2);
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-title::before {
    color: #0ff;
    z-index: -1;
    animation: glitch-anim 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-title::after {
    color: #f0f;
    z-index: -2;
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(-3px, -2px); }
    60% { transform: translate(3px, 2px); }
    80% { transform: translate(3px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-anim-2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -2px); }
    40% { transform: translate(3px, 2px); }
    60% { transform: translate(-3px, -2px); }
    80% { transform: translate(-3px, 2px); }
    100% { transform: translate(0); }
}

.hero-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-extra-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.link-minimal {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.link-minimal:hover {
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(0, 168, 179, 0.4);
}

/* Cyber Dark Button */
.btn-cyber-dark {
    position: relative;
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 1px solid rgba(0, 168, 179, 0.4);
    color: var(--accent-cyan);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-cyber-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 179, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-cyber-dark:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 168, 179, 0.3), inset 0 0 20px rgba(0, 168, 179, 0.1);
    color: #fff;
    text-shadow: 0 0 10px var(--accent-cyan);
}

.btn-cyber-dark:hover::before {
    left: 100%;
}

.btn-cyber-dark:active {
    transform: scale(0.98);
}

.btn-cyber-dark .btn-text {
    position: relative;
    z-index: 1;
}

.link-separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Status Badge */
.status {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(0, 168, 179, 0.2);
    border: 1px solid var(--accent-cyan);
    letter-spacing: 1px;
}

/* Games Section */
.games-section {
    padding: 100px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .glitch-title {
    font-size: 2.5rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 4px;
    margin-top: 15px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 2px;
}

.game-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Featured Game Card (single game emphasis) */
.featured-game-card {
    height: 550px;
    max-width: 900px;
    margin: 0 auto;
    grid-column: 1 / -1;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 168, 179, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(179, 0, 179, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 168, 179, 0.03) 2px,
            rgba(0, 168, 179, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(179, 0, 179, 0.03) 2px,
            rgba(179, 0, 179, 0.03) 4px
        );
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    opacity: 0.15;
    filter: blur(1px) drop-shadow(0 0 20px rgba(0, 168, 179, 0.3));
    transition: all 0.5s ease;
}

.featured-game-card:hover .game-image {
    opacity: 0.25;
    filter: blur(0.5px) drop-shadow(0 0 40px rgba(0, 168, 179, 0.5));
    transform: scale(1.1);
}

.card-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 168, 179, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(179, 0, 179, 0.15) 0%, transparent 40%);
}

.featured-game-card .card-glow {
    background: radial-gradient(circle at center, rgba(0, 168, 179, 0.2) 0%, transparent 70%);
}

.featured-game-card:hover .card-glow {
    opacity: 1;
}

.featured-game-card .card-content {
    position: relative;
    z-index: 2;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 168, 179, 0.5);
}

.game-title::before,
.game-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.game-title::before {
    color: #0ff;
    z-index: -1;
    animation: game-title-glitch-1 2.5s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.game-title::after {
    color: #f0f;
    z-index: -2;
    animation: game-title-glitch-2 2.5s infinite linear alternate-reverse;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes game-title-glitch-1 {
    0%, 100% { opacity: 0; transform: translate(0); }
    5% { opacity: 0.8; transform: translate(-2px, 1px); }
    10% { opacity: 0; transform: translate(0); }
    15% { opacity: 0.6; transform: translate(2px, -1px); }
    20% { opacity: 0; transform: translate(0); }
    50% { opacity: 0; }
    55% { opacity: 0.9; transform: translate(1px, 2px); }
    60% { opacity: 0; transform: translate(0); }
}

@keyframes game-title-glitch-2 {
    0%, 100% { opacity: 0; transform: translate(0); }
    8% { opacity: 0.7; transform: translate(2px, 0); }
    12% { opacity: 0; transform: translate(0); }
    18% { opacity: 0.8; transform: translate(-1px, -2px); }
    22% { opacity: 0; transform: translate(0); }
    45% { opacity: 0; }
    52% { opacity: 0.6; transform: translate(3px, 1px); }
    58% { opacity: 0; transform: translate(0); }
}

.game-card .game-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.game-btn {
    padding: 16px 40px;
    font-size: 0.85rem;
}

.platform-tag {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Badge */
.badge {
    display: inline-block;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    padding: 6px 14px;
    background: rgba(0, 168, 179, 0.15);
    border: 1px solid rgba(0, 168, 179, 0.4);
    border-radius: 50px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 168, 179, 0.3); }
    50% { box-shadow: 0 0 15px rgba(0, 168, 179, 0.6); }
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    margin-top: 80px;
    position: relative;
    padding: 40px 0;
}

.coming-soon p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 179, 0.3), 
        rgba(179, 0, 179, 0.3), 
        transparent
    );
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 179, 0.6), 
        transparent
    );
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsividade Games */
@media (max-width: 768px) {
    .games-section {
        padding: 60px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .glitch-title {
        font-size: 2rem !important;
        letter-spacing: 4px;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .featured-game-card {
        height: auto;
        min-height: 500px;
        padding: 20px;
    }
    
    .game-image {
        width: 200px;
        height: 200px;
    }
    
    .game-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .game-description {
        font-size: 0.95rem;
    }
    
    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-btn {
        width: 100%;
        text-align: center;
    }
    
    .platform-tag {
        text-align: center;
    }
    
    .coming-soon {
        margin-top: 40px;
    }
}

/* Footer */
footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.socials a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.socials a:hover {
    color: var(--accent-magenta);
    text-shadow: 0 0 10px var(--accent-magenta);
}

.socials a:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--accent-magenta));
}

/* Responsividade */
@media (max-width: 768px) {
    header { padding: 15px; }
    .glass-nav { padding: 10px 20px; }
    h1 { font-size: 2.5rem; letter-spacing: 5px; }
    .hero-content { padding: 30px; }
}

/* ===== STELLAR MAGNETISM - CONTACT BUTTON ===== */
.contact-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 9999;
    text-decoration: none;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.contact-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateZ(0);
    transform-style: preserve-3d;
}

/* Núcleo de Energia (Core Glow) */
.contact-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 0%, transparent 80%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* Atmosfera de Plasma (Aura) */
.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    opacity: 0.2;
    filter: blur(12px);
    z-index: -1;
    transition: all 0.6s ease;
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: #fff; /* Força currentColor branco no SVG */
    stroke: #fff; /* Fallback */
    stroke-width: 1.8;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(40px);
}

/* Tooltip Holográfico Refinado */
.contact-tooltip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%) translateZ(-20px) scale(0.85);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 168, 179, 0.3);
    border-left: 3px solid #fff;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /*IMPEDE clique inicialmente */
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    cursor: pointer; /* Indicar que é clicável */
    user-select: none;
    overflow: hidden; /* Garante que scan line não vaze */
}

/* Tooltip aparece quando hover no botão OU no próprio tooltip */
.contact-float:hover .contact-tooltip,
.contact-tooltip:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Permite clicar em ambos os casos */
}

.contact-tooltip:hover {
    right: 110px;
    transform: translateY(-50%) translateZ(100px) scale(1);
    cursor: pointer;
}

/* Efeito de scan no tooltip */
.contact-tooltip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 179, 0.3), 
        transparent
    );
    animation: tooltip-scan 2s infinite linear;
}

@keyframes tooltip-scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* INTERAÇÃO HIPER-POLIDA (HOVER) */
.contact-float:hover .contact-icon-wrapper {
    /* EFEITO 3D LATERAL - girar em Y为主 (lateral) */
    transform: 
        rotateX(5deg)           /* Leve inclinação vertical */
        rotateY(-35deg)         /* Giro lateral forte - parece que está virando para o lado */
        translateZ(40px)        /* Sai da tela */
        scale(1.1);
    
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    
    /* Sombra que acompanha o movimento lateral */
    box-shadow: 
        /* Sombra projetada baseada no deslocamento 3D */
        -15px 10px 30px rgba(0, 0, 0, 0.6),  /* Sombra deslocada para esquerda baixo */
        -5px 5px 15px rgba(0, 0, 0, 0.4),
        /* Glow cyan */
        0 0 50px rgba(0, 168, 179, 0.6),
        /* Borda glow interna */
        inset 0 0 20px rgba(0, 168, 179, 0.3);
}

.contact-float:hover .contact-icon {
    transform: translateZ(60px) rotateY(15deg); /* Ícone sai mais e compensa rotação */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.contact-float:hover .contact-icon-wrapper::before {
    transform: translateZ(50px) scale(1.2);
    opacity: 0.3;
}

.contact-float:hover .contact-icon-wrapper::after {
    transform: translateZ(-20px) scale(2);
    opacity: 0.4;
}

.contact-float:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    right: 110px;
    transform: translateY(-50%) translateZ(100px) scale(1);
}

/* Mobile */
@media (max-width: 768px) {
    .contact-float { 
        bottom: 25px; 
        right: 25px; 
    }
    .contact-icon-wrapper { 
        width: 60px; 
        height: 60px; 
    }
    .contact-tooltip { 
        display: none !important;
    }
    
    /* Menu de ação - apenas visível no mobile */
    .contact-action-menu {
        display: flex;
    }
}

/* Desktop: esconder menu de ação */
@media (min-width: 769px) {
    .contact-action-menu {
        display: none !important;
    }
}

/* ===== ATTENTION CALL ANIMATION ===== */
.contact-float.attention-call .contact-icon-wrapper {
    animation: attention-pulse 0.8s ease-in-out 3;
}

.contact-float.attention-call {
    animation: attention-shake 0.4s ease-in-out 2;
}

@keyframes attention-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.05),
            0 0 30px rgba(0, 168, 179, 0.8);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.8),
            inset 0 0 25px rgba(255, 255, 255, 0.15),
            0 0 60px rgba(0, 168, 179, 1);
    }
}

@keyframes attention-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ===== MOBILE NAVIGATION ===== */

/* Hambúrguer Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Escondido por padrão (desktop) */
    position: relative;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    margin-left: auto;
}

.mobile-menu-toggle .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
    transform-origin: center;
}

/* Mobile Menu Overlay (escondido por padrão) */
 .mobile-menu-overlay {
     display: block; /* Sempre renderizado, controlado por right */
     position: fixed;
     top: 0;
     right: -100%; /* Escondido à direita */
     width: 100%;
     max-width: 400px;
     height: 100vh;
     background: rgba(0, 0, 0, 0.98);
     backdrop-filter: blur(30px);
     -webkit-backdrop-filter: blur(30px);
     border-left: 1px solid var(--accent-cyan);
     z-index: 9997;
     transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     padding-top: 100px;
     box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
 }

 .mobile-menu-close {
     position: absolute;
     top: 20px;
     right: 20px;
     width: 44px;
     height: 44px;
     background: transparent;
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     z-index: 10;
     padding: 0;
 }

 .mobile-menu-close:hover {
     border-color: var(--accent-cyan);
     color: var(--accent-cyan);
     box-shadow: 0 0 20px rgba(0, 168, 179, 0.6);
     transform: scale(1.1) rotate(90deg);
 }

 .mobile-menu-close:active {
     transform: scale(0.95) rotate(90deg);
 }

 .mobile-menu-close:focus {
     outline: 2px solid var(--accent-cyan);
     outline-offset: 2px;
 }

 .close-icon {
     width: 24px;
     height: 24px;
     stroke-width: 2;
 }

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    gap: 25px;
}

.mobile-menu-item {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 6px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu-item:hover::before,
.mobile-menu-item.active::before {
    width: 100%;
}

.mobile-menu-item:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan);
    transform: translateX(10px);
}

/* ===== MENU DE AÇÃO MOBILE ===== */
.contact-action-menu {
    position: fixed;
    bottom: 120px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9998;
    pointer-events: none;
}

.contact-action-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--accent-cyan);
    border-radius: 10px;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    outline: none;
}

.menu-option:hover,
.menu-option:active {
    background: rgba(0, 168, 179, 0.2);
    border-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 168, 179, 0.5);
}

.menu-option .option-icon {
    width: 22px;
    height: 22px;
    stroke: var(--accent-cyan);
    stroke-width: 2;
    flex-shrink: 0;
}

/* Mobile - Garantir que tooltip permaneça escondido */
@media (max-width: 768px) {
    .contact-tooltip {
        display: none !important;
    }

    .contact-action-menu {
        bottom: 100px;
        right: 20px;
    }

    .menu-option {
        padding: 12px 16px;
        min-width: 160px;
        font-size: 0.7rem;
    }

    .menu-option .option-icon {
        width: 18px;
        height: 18px;
    }

    /* Mobile Navigation */
    header {
        padding: 10px 15px;
    }

    .glass-nav {
        padding: 8px 15px;
    }

    .glass-nav ul {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        font-size: 1.4rem;
        letter-spacing: 5px;
    }

    /* Responsive Mobile Menu Overlay Width */
    .mobile-menu-overlay {
        width: min(100%, 320px);
        max-width: none; /* Remove conflito */
    }
}





