/* ==========================================================================
   PORTFÓLIO GAMER PHZGRIMM - DESIGN SYSTEM (CSS)
   ========================================================================== */

/* Importação de Fontes Premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;900&display=swap');

/* Reset e Variáveis Globais */
:root {
    --bg-primary: #040407;
    --bg-secondary: #0a0911;
    --bg-tertiary: #100f1c;
    
    --accent-purple: #9d4edd;
    --accent-purple-glow: rgba(157, 78, 221, 0.4);
    --accent-purple-neon: #c77dff;
    --accent-cyan: #240046; /* Base escura do gradiente */
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-glow: rgba(157, 78, 221, 0.15);
    --border-glow-active: rgba(199, 125, 255, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple-glow);
}

/* Layout Utilitários */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 8rem 0;
}

/* Textos e Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-purple-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.glow-text {
    text-shadow: 0 0 15px var(--accent-purple-glow);
}

/* Efeito de Fade-In no Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   1. HEADER & NAVBAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 4, 7, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.1);
    transition: var(--transition-fast);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(4, 4, 7, 0.9);
    border-bottom: 1px solid rgba(157, 78, 221, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(157, 78, 221, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-fast);
}

header.scrolled .nav-container {
    height: 65px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-purple-neon);
    text-shadow: 0 0 10px var(--accent-purple-glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple-neon);
    box-shadow: 0 0 8px var(--accent-purple-neon);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--accent-purple-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburguer Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
    border-radius: 2px;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #0c0919 0%, #040407 100%);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(4,4,7,0.2) 0%, rgba(4,4,7,0.8) 80%, rgba(4,4,7,1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 1.5rem;
    margin-top: 50px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-purple-neon);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 50px;
    background: rgba(157, 78, 221, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 10px rgba(157, 78, 221, 0.1);
    animation: pulseBorder 3s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    position: relative;
    animation: heroGlow 2.5s ease-in-out infinite alternate;
}

.hero-title span {
    background: linear-gradient(to right, #ffffff, var(--accent-purple-neon), #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Botões Customizados */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-purple);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 0 20px var(--accent-purple-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

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

.btn-primary:hover {
    background: var(--accent-purple-neon);
    box-shadow: 0 0 30px rgba(199, 125, 255, 0.7);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(10, 9, 17, 0.5);
    color: var(--text-primary);
    border: 1px solid rgba(157, 78, 221, 0.4);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--accent-purple-neon);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 20px var(--accent-purple-glow);
    transform: translateY(-3px);
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* ==========================================================================
   3. SEÇÃO DE VÍDEOS (GRID)
   ========================================================================== */
.videos-section {
    background: var(--bg-primary);
    position: relative;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.video-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: inset 0 0 15px rgba(157, 78, 221, 0);
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 2;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: rgba(199, 125, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(157, 78, 221, 0.15);
}

.video-card:hover::before {
    box-shadow: inset 0 0 15px rgba(157, 78, 221, 0.15);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Aspect Ratio 16:9 */
    overflow: hidden;
    background: #000;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.08);
}

.video-overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 7, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 3;
    cursor: pointer;
}

.video-overlay-btn i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 10px var(--accent-purple));
    transition: var(--transition-fast);
}

.video-card:hover .video-overlay-btn {
    opacity: 1;
}

.video-overlay-btn:hover i {
    transform: scale(1.15);
}

.video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em; /* Altura de duas linhas */
}

.video-metadata {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.video-metadata span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.video-metadata i {
    color: var(--accent-purple-neon);
}

/* ==========================================================================
   4. SEÇÃO DE SHORTS (CAROUSEL / SCROLL VERTICAL)
   ========================================================================== */
.shorts-section {
    background: var(--bg-secondary);
    position: relative;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2rem;
}

.short-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.short-card:hover {
    transform: translateY(-8px);
    border-color: rgba(199, 125, 255, 0.45);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(157, 78, 221, 0.2);
}

.short-thumbnail-container {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* Aspect Ratio 9:16 para Vertical */
    overflow: hidden;
    background: #000;
}

.short-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.short-card:hover .short-thumbnail {
    transform: scale(1.06);
}

.short-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(4, 4, 7, 0.9) 0%, rgba(4, 4, 7, 0.2) 50%, rgba(4, 4, 7, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    z-index: 3;
}

.short-play-btn {
    align-self: flex-end;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--accent-purple-glow);
    transition: var(--transition-fast);
    opacity: 0.8;
}

.short-card:hover .short-play-btn {
    transform: scale(1.1);
    background: var(--accent-purple-neon);
    opacity: 1;
}

.short-play-btn i {
    font-size: 1rem;
    color: #fff;
    margin-left: 2px;
}

.short-info {
    width: 100%;
}

.short-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.short-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.short-meta i {
    color: var(--accent-purple-neon);
}

/* ==========================================================================
   5. SOBRE O CRIADOR
   ========================================================================== */
.about-section {
    background: var(--bg-primary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, var(--accent-purple-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.about-features i {
    color: var(--accent-purple-neon);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px var(--accent-purple-glow));
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-purple), transparent 70%, var(--accent-purple-neon));
    box-shadow: 0 0 35px var(--accent-purple-glow);
    z-index: 5;
    animation: orbitPulse 6s ease-in-out infinite alternate;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
    background: var(--bg-secondary);
}

.visual-decor {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px dashed rgba(157, 78, 221, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

/* ==========================================================================
   6. ESTATÍSTICAS
   ========================================================================== */
.stats-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    border-bottom: 1px solid rgba(157, 78, 221, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(10, 9, 17, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.08);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(199, 125, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(157, 78, 221, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-purple-neon);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--accent-purple-glow));
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ==========================================================================
   7. CONTATO
   ========================================================================== */
.contact-section {
    background: var(--bg-primary);
    position: relative;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid rgba(157, 78, 221, 0.1);
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.form-control {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple-neon);
    background: rgba(157, 78, 221, 0.04);
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.25);
}

textarea.form-control {
    resize: none;
    min-height: 150px;
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 3rem;
}

.submit-message {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.submit-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.submit-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
    background: #030305;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.15em;
}

.footer-logo span {
    color: var(--accent-purple-neon);
    text-shadow: 0 0 12px var(--accent-purple-glow);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-5px);
    border-color: var(--accent-purple-neon);
    box-shadow: 0 0 20px var(--accent-purple-glow);
}

.social-icon.youtube:hover {
    background: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border-color: #ff0000;
}

.social-icon.twitch:hover {
    background: #6441a5;
    box-shadow: 0 0 20px rgba(100, 65, 165, 0.4);
    border-color: #6441a5;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 20px rgba(220, 39, 67, 0.4);
    border-color: transparent;
}

.social-icon.tiktok:hover {
    background: #010101;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.social-icon.discord:hover {
    background: #5865f2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    border-color: #5865f2;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    padding-top: 2rem;
}

/* ==========================================================================
   9. VIDEO PLAYER MODAL E LAYOVER
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(4, 4, 7, 0.95);
    backdrop-filter: blur(8px);
    display: none; /* Controlado via JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 50px rgba(157, 78, 221, 0.25);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content-short {
    max-width: 450px;
    border-radius: 20px;
}

.player-aspect-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.player-aspect-wrapper.short-aspect {
    padding-top: 177.77%; /* 9:16 */
}

.player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent-purple-neon);
    text-shadow: 0 0 10px var(--accent-purple-neon);
    transform: scale(1.1);
}

/* ==========================================================================
   10. ANIMAÇÕES (KEYFRAMES)
   ========================================================================== */
@keyframes heroGlow {
    from {
        text-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
    }
    to {
        text-shadow: 0 0 45px rgba(199, 125, 255, 0.7), 0 0 10px rgba(199, 125, 255, 0.4);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

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

@keyframes orbitPulse {
    from {
        box-shadow: 0 0 25px var(--accent-purple-glow);
    }
    to {
        box-shadow: 0 0 45px rgba(199, 125, 255, 0.6);
        transform: scale(1.02);
    }
}

@keyframes pulseBorder {
    0%, 100% {
        border-color: rgba(157, 78, 221, 0.3);
        box-shadow: inset 0 0 10px rgba(157, 78, 221, 0.1);
    }
    50% {
        border-color: var(--accent-purple-neon);
        box-shadow: inset 0 0 15px rgba(157, 78, 221, 0.2), 0 0 10px var(--accent-purple-glow);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   11. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Grandes / Ultra-wide */
@media (min-width: 1400px) {
    :root {
        --max-width: 1320px;
    }
}

/* Notebooks / Desktops normais */
@media (max-width: 1199px) {
    .about-grid {
        gap: 3rem;
    }
    .hero-title {
        font-size: 5rem;
    }
}

/* Tablets e iPads */
@media (max-width: 991px) {
    .section-padding {
        padding: 5rem 0;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .about-features {
        max-width: 500px;
        margin: 2rem auto 0 auto;
    }
    .about-visual {
        order: -1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 4rem;
    }
}

/* Celulares de tamanho médio e grande */
@media (max-width: 768px) {
    /* Mobile Navbar Toggles */
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 2rem;
        flex-direction: column;
        background: rgba(4, 4, 7, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.3s ease;
        z-index: 1050;
        border-right: 1px solid rgba(157, 78, 221, 0.15);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
    .submit-btn {
        width: 100%;
    }
    .modal-close-btn {
        top: -40px;
        right: 10px;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .btn {
        width: 100%;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .shorts-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .avatar-wrapper {
        width: 250px;
        height: 250px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}
