/* style.css - Luminous Project (Final Elite Version) */

:root {
    --primary-color: #9d00ff;
    --secondary-color: #d600ff;
    --accent-color: #e000ff; 
    --primary-glow: rgba(224, 0, 255, 0.8);
    --dark-bg: #030005;
    --card-bg: rgba(20, 0, 30, 0.6);
    --glass-border: rgba(189, 0, 255, 0.3);
    --text-light: #ffffff;
    --text-gray: #bda0c7;
    --nav-bg: rgba(10, 0, 20, 0.85);
    --gradient-text: linear-gradient(to right, #ffffff 0%, #e600ff 100%);
    --gradient-btn: linear-gradient(90deg, #bd00ff 0%, #9900ff 100%);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
input, textarea, select { -webkit-user-select: text !important; user-select: text !important; cursor: text; }
img { pointer-events: none; max-width: 100%; }

/* CANVAS DE FUNDO */
#canvas-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: radial-gradient(circle at 50% 50%, #1a0024 0%, #030005 100%); }

body { background-color: var(--dark-bg); color: var(--text-light); line-height: 1.7; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; cursor: pointer; }
ul { list-style: none; }

/* ESTILOS DE ERRO E BLOQUEIO */
.text-error {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
    min-height: 20px;
}

.lockout-timer {
    color: #ffcccc;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
    padding: 12px;
    background: rgba(139, 0, 0, 0.35); 
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
}

/* POPUP */
.elegant-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 9999; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.popup-content { background: linear-gradient(135deg, rgba(20, 0, 30, 0.95) 0%, rgba(10, 0, 20, 0.98) 100%); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem; width: 90%; max-width: 450px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(224, 0, 255, 0.2), inset 0 0 30px rgba(157, 0, 255, 0.1); position: relative; overflow: hidden; transform: translateY(-20px) scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.popup-content::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(224, 0, 255, 0.15) 0%, transparent 70%); z-index: 0; }
.popup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.popup-header h3 { font-size: 1.5rem; font-weight: 700; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 20px rgba(224, 0, 255, 0.5); }
.popup-close { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-gray); width: 32px; height: 32px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.popup-close:hover { color: #fff; border-color: var(--accent-color); background: rgba(224, 0, 255, 0.1); transform: rotate(90deg); }
.popup-body { text-align: center; margin-bottom: 2rem; position: relative; z-index: 1; }
.popup-body p { color: var(--text-light); font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.popup-icon { font-size: 4rem; margin: 1.5rem 0; background: linear-gradient(135deg, #ffffff 0%, #e600ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 15px rgba(224, 0, 255, 0.7)); animation: pulse 2s infinite; }
.popup-subtitle { color: var(--text-gray) !important; font-size: 0.95rem !important; font-style: italic; margin-top: 1rem !important; }
.popup-footer { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; }
.popup-btn { padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; min-width: 120px; }
.popup-btn.primary { background: var(--gradient-btn); color: white; box-shadow: 0 0 20px var(--primary-glow); }
.popup-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--primary-glow); }
.popup-btn.secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-light); border: 1px solid rgba(255, 255, 255, 0.2); }
.popup-btn.secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

/* HEADER */
header { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1100px; padding: 0.6rem 1.2rem; background: var(--nav-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 100px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; box-shadow: 0 0 20px rgba(189, 0, 255, 0.2); transition: all 0.4s ease; }
header.scrolled { top: 10px; background: rgba(5, 0, 10, 0.95); border-color: var(--primary-color); }
.logo-spacer { width: 200px; display: block; height: 1px; }
.header-btn-container { width: 200px; display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1; }
nav { position: static !important; flex: 1; display: flex; justify-content: center; align-items: center; z-index: 2; margin: 0 20px; }
nav ul { display: flex; flex-direction: row !important; gap: 5px; background: rgba(255, 255, 255, 0.02); padding: 4px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05); align-items: center; position: relative; z-index: 2; }
nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-gray); padding: 8px 20px; border-radius: 30px; display: block; position: relative; z-index: 2; cursor: pointer; }
nav a:hover { color: #fff; text-shadow: 0 0 8px var(--primary-color); background: rgba(255,255,255,0.05); }
nav a.active { color: #fff; background: linear-gradient(90deg, rgba(189,0,255,0.2), rgba(224,0,255,0.2)); border: 1px solid rgba(224,0,255,0.4); box-shadow: 0 0 15px var(--primary-glow); position: relative; z-index: 2; }
.mobile-toggle, .mobile-only { display: none !important; }

.header-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; min-height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: rgba(255, 255, 255, 0.5); box-shadow: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); padding: 0; position: relative; z-index: 1; }
.header-btn svg { width: 20px; height: 20px; fill: currentColor; filter: none; transition: all 0.3s ease; }
.header-btn:hover { background: rgba(255, 255, 255, 0.15); color: #ffffff; border-color: #ffffff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1); transform: scale(1.08); }
.user-btn-fancy { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, rgba(150, 0, 255, 0.2), rgba(224, 0, 255, 0.2)); border: 1px solid rgba(224, 0, 255, 0.5); padding: 6px 18px 6px 10px; border-radius: 50px; color: #fff; font-weight: 600; font-size: 0.9rem; cursor: pointer; box-shadow: 0 0 15px rgba(224, 0, 255, 0.3); transition: all 0.3s ease; white-space: nowrap; position: relative; z-index: 1; max-width: 180px; }
.user-avatar-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 0.9rem; color: #fff; background: rgba(255, 255, 255, 0.2); border-radius: 50%; }
.user-btn-fancy:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 0 25px rgba(255, 255, 255, 0.5); }
.user-wrapper { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; top: 140%; right: 0; width: 160px; background: rgba(15, 5, 25, 0.95); border: 1px solid rgba(224, 0, 255, 0.3); border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); backdrop-filter: blur(15px); z-index: 1100; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
.dropdown-menu.show { display: block; opacity: 1; transform: translateY(0); }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; right: 20px; width: 10px; height: 10px; background: rgba(15, 5, 25, 0.95); border-top: 1px solid rgba(224, 0, 255, 0.3); border-left: 1px solid rgba(224, 0, 255, 0.3); transform: rotate(45deg); z-index: 1101; }
.logout-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; color: #e0e0e0; font-size: 0.9rem; font-weight: 500; border-radius: 8px; cursor: pointer; transition: all 0.2s; background: transparent; }
.logout-item:hover { background: rgba(224, 0, 255, 0.15); color: #fff; padding-left: 15px; }

/* SPA / LAYOUT */
.tab-content { display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; min-height: 80vh; width: 100%; }
.tab-content.active { display: block; opacity: 1; transform: translateY(0); animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInPage { 0% { opacity: 0; transform: translateY(20px) scale(0.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
main { min-height: 100vh; width: 100%; flex: 1; }
.page-container { padding: 140px 5% 100px; max-width: 1200px; margin: 0 auto; width: 100%; }

/* --- HERO SECTION --- */
@keyframes techFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes titleReveal { 0% { opacity: 0; transform: translateY(50px) skewY(10deg); filter: blur(10px); } 100% { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); } }
@keyframes sloganChange { 0% { opacity: 0; transform: translateY(20px) rotateX(-90deg); } 10%, 30% { opacity: 1; transform: translateY(0) rotateX(0); } 40%, 100% { opacity: 0; transform: translateY(-20px) rotateX(90deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; } 50% { transform: translateX(-50%) translateY(50px); opacity: 1; } }
@keyframes particleFloat { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translate(var(--tx), var(--ty)) rotate(360deg); opacity: 0; } }
@keyframes textCycle { 0%, 30% { opacity: 1; content: "SYSTEM"; } 33%, 63% { opacity: 1; content: "READY"; } 66%, 96% { opacity: 1; content: "SECURE"; } 31%, 32%, 64%, 65%, 97%, 100% { opacity: 0; } }

#inicio { padding: 120px 5% 80px; min-height: 100vh; position: relative; overflow: hidden; background: transparent !important; z-index: 1; }
.hero-content { position: relative; z-index: 3; max-width: 1400px; margin: 0 auto; padding: 40px 20px; background: rgba(5, 0, 10, 0.4); backdrop-filter: blur(8px); border-radius: 30px; border: 1px solid rgba(157, 0, 255, 0.2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }

/* TECH GRID */
.tech-grid-container { position: relative; margin-bottom: 60px; z-index: 2; }
.tech-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 25px; position: relative; }

.tech-logo { position: relative; width: 200px; height: 130px; background: rgba(20, 0, 30, 0.95); border: 1px solid rgba(189, 0, 255, 0.5); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; box-shadow: 0 0 15px rgba(157, 0, 255, 0.15); }
.tech-logo:nth-child(odd) { animation: techFloat 6s ease-in-out infinite; }
.tech-logo:nth-child(even) { animation: techFloat 7s ease-in-out infinite 1s; }
.tech-logo:hover { transform: translateY(-5px) scale(1.02); border-color: #e000ff; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(224, 0, 255, 0.5), inset 0 0 40px rgba(157, 0, 255, 0.2); background: rgba(30, 0, 45, 0.98); z-index: 10; }
.tech-icon { position: relative; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: all 0.4s ease; z-index: 2; }
.tech-logo:hover .tech-icon { transform: translateY(-10px) scale(1.1); }
.tech-logo-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
.tech-logo-fallback { position: absolute; font-size: 2rem; font-weight: 800; color: #e000ff; opacity: 0; }
.tech-logo-img:not([src]) + .tech-logo-fallback, .tech-logo-img[src=""] + .tech-logo-fallback { opacity: 1; text-shadow: 0 0 20px currentColor; }

.idle-status { position: absolute; bottom: 15px; font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; color: #ffffff; text-transform: uppercase; opacity: 1; transition: opacity 0.3s ease; display: flex; align-items: center; gap: 6px; }
.idle-status::before { content: ''; width: 5px; height: 5px; background-color: #00ff88; border-radius: 50%; box-shadow: 0 0 5px #00ff88; animation: blink 2s infinite; }
.idle-text-content { position: relative; }
.idle-text-content::after { content: "ACTIVE"; animation: textCycle 4s infinite steps(1); }
.tech-logo:hover .idle-status { opacity: 0; transform: translateY(10px); }

.tech-info { position: absolute; bottom: 12px; text-align: center; opacity: 0; transform: translateY(20px); transition: all 0.3s ease 0.1s; width: 100%; padding: 0 10px; z-index: 3; }
.tech-logo:hover .tech-info { opacity: 1; transform: translateY(0); }
.tech-name { display: block; font-size: 0.85rem; font-weight: 800; color: #fff; margin-bottom: 2px; text-shadow: 0 0 10px rgba(224, 0, 255, 0.6); }
.tech-desc { display: block; font-size: 0.6rem; color: #d0b0e0; font-weight: 500; }
.tech-glow { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 80px; background: radial-gradient(circle, var(--tech-color) 0%, transparent 70%); opacity: 0.15; filter: blur(20px); transition: all 0.4s ease; z-index: 1; }
.tech-logo:hover .tech-glow { opacity: 0.3; filter: blur(25px); }
.tech-logo[data-tech="cpp"] { --tech-color: #00599C; } .tech-logo[data-tech="lua"] { --tech-color: #000080; } .tech-logo[data-tech="python"] { --tech-color: #3776AB; } .tech-logo[data-tech="csharp"] { --tech-color: #9b4f96; } .tech-logo[data-tech="cheatengine"] { --tech-color: #FF6B00; } .tech-logo[data-tech="assembly"] { --tech-color: #bd00ff; } .tech-logo[data-tech="idapro"] { --tech-color: #F7DF1E; } .tech-logo[data-tech="unreal"] { --tech-color: #fff; }

/* Hero Typography */
.hero-title { text-align: center; margin-bottom: 20px; }
.main-title { font-size: 3.8rem; font-weight: 900; line-height: 1; margin-bottom: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); perspective: 1000px; transform-style: preserve-3d; }
.title-word { display: inline-block; white-space: nowrap; transform-style: preserve-3d; }
.title-letter { display: inline-block; transform-style: preserve-3d; backface-visibility: hidden; opacity: 0; animation: letterReveal 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, letterSpin 5s ease-in-out infinite 1s; }
@keyframes letterReveal { 0% { opacity: 0; transform: translateY(50px) rotateX(-90deg); } 100% { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes letterSpin { 0%, 30% { transform: rotateY(0); color: inherit; } 40% { transform: rotateY(180deg); color: var(--accent-color); } 50% { transform: rotateY(360deg); color: inherit; } 100% { transform: rotateY(360deg); } }
.title-word-1 .title-letter { color: #ffffff; } .title-word-2 .title-letter { color: var(--text-gray); } .title-word-3 .title-letter { color: #00ff88; text-shadow: 0 0 15px rgba(0, 255, 136, 0.4); } .title-word-4 .title-letter { color: #bd00ff; text-shadow: 0 0 15px rgba(189, 0, 255, 0.4); }
.title-subtitle { display: flex; flex-direction: column; gap: 5px; opacity: 0; transform: translateY(20px); animation: titleReveal 0.8s ease forwards; animation-delay: 1s; }
.subtitle-line { font-size: 1.2rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.subtitle-line-1 { color: var(--text-gray); } .subtitle-line-2 { color: var(--accent-color); font-weight: 600; }
.dynamic-slogan { text-align: center; margin: 50px 0; height: 100px; display: flex; align-items: center; justify-content: center; }
.slogan-container { display: flex; align-items: center; gap: 15px; font-size: 3rem; font-weight: 700; background: rgba(10, 0, 20, 0.5); padding: 20px 40px; border-radius: 20px; border: 1px solid rgba(157, 0, 255, 0.2); backdrop-filter: blur(10px); }
.slogan-static { color: #ffffff; position: relative; text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
.slogan-static::after { content: ''; position: absolute; right: -10px; top: 0; height: 100%; width: 3px; background: var(--accent-color); animation: blink 1s infinite; }
.slogan-dynamic { position: relative; width: 300px; height: 60px; overflow: hidden; }
.slogan-word { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #ff0080, #9d00ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; animation: sloganChange 15s infinite; text-shadow: 0 0 20px rgba(157, 0, 255, 0.3); }
.slogan-word:nth-child(1) { animation-delay: 0s; } .slogan-word:nth-child(2) { animation-delay: 3s; } .slogan-word:nth-child(3) { animation-delay: 6s; } .slogan-word:nth-child(4) { animation-delay: 9s; } .slogan-word:nth-child(5) { animation-delay: 12s; }

.hero-description { max-width: 700px; margin: 0 auto 50px; text-align: center; opacity: 0; transform: translateY(30px); animation: titleReveal 0.8s ease forwards; animation-delay: 1.2s; background: rgba(10, 0, 20, 0.6); padding: 30px; border-radius: 20px; border: 1px solid rgba(157, 0, 255, 0.3); backdrop-filter: blur(10px); box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); }
.description-line { font-size: 1.2rem; line-height: 1.6; margin-bottom: 15px; color: #d0b0e0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.text-underline { position: relative; color: #ffffff; font-weight: 600; }
.text-underline::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent-color), transparent); }
.text-highlight { color: #00ff88; font-weight: 600; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }

/* VIDEO STYLES HERO */
.video-frame { margin-top: 25px; position: relative; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); transform: scaleY(0); transform-origin: center; animation: videoUnfold 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 2s; background: #000; }
@keyframes videoUnfold { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }
.tech-video { width: 100%; display: block; object-fit: cover; filter: contrast(1.1) saturate(1.1); pointer-events: auto; cursor: pointer; }
.video-overlay-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; cursor: pointer; background: #000; transition: opacity 0.5s ease; }
.video-thumb-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.5s ease; }
.video-scanlines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 50%); background-size: 100% 4px; pointer-events: none; z-index: 2; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(157, 0, 255, 0.3); border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(157, 0, 255, 0.6); backdrop-filter: blur(5px); transition: all 0.3s ease; z-index: 3; }
.play-icon { font-size: 30px; color: #fff; margin-left: 5px; }
.video-overlay-wrapper:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(157, 0, 255, 0.6); box-shadow: 0 0 50px rgba(157, 0, 255, 0.9); }
.video-frame::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 0 20px rgba(157, 0, 255, 0.3); z-index: 4; pointer-events: none; animation: borderPulse 3s infinite; }
@keyframes borderPulse { 0%, 100% { box-shadow: inset 0 0 10px rgba(157, 0, 255, 0.2); border: 1px solid rgba(157, 0, 255, 0.2); } 50% { box-shadow: inset 0 0 25px rgba(157, 0, 255, 0.5); border: 1px solid rgba(157, 0, 255, 0.6); } }

.hero-stats { display: flex; justify-content: center; gap: 60px; margin: 50px auto; max-width: 800px; opacity: 0; transform: translateY(30px); animation: titleReveal 0.8s ease forwards; animation-delay: 1.4s; padding: 20px; background: rgba(15, 0, 25, 0.4); border-radius: 20px; backdrop-filter: blur(10px); border: 1px solid rgba(157, 0, 255, 0.2); }
.stat-item { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 800; background: linear-gradient(45deg, #ffffff, var(--accent-color)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; line-height: 1; text-shadow: 0 0 20px rgba(157, 0, 255, 0.3); }
.stat-label { font-size: 0.9rem; color: var(--text-gray); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* DEPOIMENTOS */
.testimonials-section { margin-top: 60px; margin-bottom: 40px; width: 100%; opacity: 0; animation: titleReveal 0.8s ease forwards 1.6s; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.testimonial-card { background: rgba(20, 0, 30, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(189, 0, 255, 0.3); border-radius: 16px; padding: 20px; transition: transform 0.3s ease, border-color 0.3s ease; position: relative; overflow: hidden; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.user-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.user-avatar-placeholder { width: 40px; height: 40px; background: linear-gradient(135deg, #bd00ff, #9d00ff); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff; box-shadow: 0 0 10px rgba(189, 0, 255, 0.4); }
.user-info-text { display: flex; flex-direction: column; }
.user-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.user-role { font-size: 0.75rem; color: var(--text-gray); }
.stars-container { margin-bottom: 12px; }
.star { color: #FFD700; font-size: 1rem; display: inline-block; opacity: 0; transform: scale(0) rotate(-180deg); animation: rollStar 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes rollStar { to { opacity: 1; transform: scale(1) rotate(0deg); } }
.aos-animate .star:nth-child(1) { animation-delay: 0.1s; } .aos-animate .star:nth-child(2) { animation-delay: 0.2s; } .aos-animate .star:nth-child(3) { animation-delay: 0.3s; } .aos-animate .star:nth-child(4) { animation-delay: 0.4s; } .aos-animate .star:nth-child(5) { animation-delay: 0.5s; }
.testimonial-text { font-size: 0.9rem; color: #d0d0d0; line-height: 1.5; font-style: italic; }

.hero-cta { display: flex; gap: 20px; justify-content: center; margin: 40px auto 60px; opacity: 0; transform: translateY(30px); animation: titleReveal 0.8s ease forwards; animation-delay: 1.8s; }
.cta-btn { padding: 1.2rem 3rem; border-radius: 50px; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all 0.4s ease; border: none; position: relative; overflow: hidden; letter-spacing: 1px; }
@keyframes shine-btn { 0% { left: -100%; } 100% { left: 100%; } }
@keyframes pulse-btn { 0% { box-shadow: 0 0 20px var(--primary-glow); } 50% { box-shadow: 0 0 40px var(--primary-glow); } 100% { box-shadow: 0 0 20px var(--primary-glow); } }
.cta-primary { background: linear-gradient(45deg, #ff0080, #9d00ff); color: white; box-shadow: 0 0 30px rgba(157, 0, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1); position: relative; z-index: 2; animation: pulse-btn 3s infinite ease-in-out; }
.cta-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shine-btn 3s infinite; }
.cta-primary:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 0 60px rgba(157, 0, 255, 0.9); letter-spacing: 3px; }
.cta-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cta-icon { font-size: 1.2rem; transition: transform 0.3s ease; }
.cta-btn:hover .cta-icon { transform: rotate(15deg) scale(1.2); }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0; animation: titleReveal 0.8s ease forwards; animation-delay: 2s; z-index: 3; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent 0%, var(--accent-color) 50%, transparent 100%); position: relative; }
.scroll-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; background: var(--accent-color); border-radius: 50%; animation: bounce 2s infinite; }

/* ESTILOS AREA DE MEMBRO (VIP) */
.member-content-wrapper { text-align: center; padding: 40px; background: rgba(10, 0, 20, 0.8); border: 1px solid #bd00ff; border-radius: 20px; box-shadow: 0 0 50px rgba(189, 0, 255, 0.2); max-width: 800px; margin: 0 auto; margin-top: 50px; opacity: 0; animation: titleReveal 1s ease forwards; }
.member-icon-large { font-size: 4rem; margin-bottom: 20px; text-shadow: 0 0 20px #bd00ff; }
.member-welcome-text { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.member-subtitle { font-size: 1.1rem; color: #d0b0e0; margin-bottom: 30px; }
.btn-member-area { background: #bd00ff; color: #fff; padding: 1.2rem 3rem; border: none; border-radius: 50px; font-weight: 700; font-size: 1.2rem; cursor: pointer; position: relative; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 0 30px rgba(189, 0, 255, 0.5); }
.btn-member-area:hover { transform: scale(1.05); box-shadow: 0 0 50px rgba(189, 0, 255, 0.8); }

/* SEÇÕES RESTANTES */
.glass-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 3rem; transition: all 0.4s ease; position: relative; overflow: hidden; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 100%; }
.glass-card:hover { transform: translateY(-8px); border-color: var(--secondary-color); box-shadow: 0 0 30px rgba(230, 0, 255, 0.4); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; color: #fff; text-shadow: 0 0 20px var(--primary-color); }
.grid-cursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.price-card { background: var(--card-bg); padding: 3rem 2rem; border-radius: 24px; width: 350px; text-align: center; border: 1px solid var(--glass-border); position: relative; transition: all 0.4s ease; }
.price-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.price-card.featured { border: 2px solid var(--primary-color); transform: scale(1.05); background: linear-gradient(145deg, rgba(30, 0, 40, 0.9), rgba(10, 0, 20, 0.9)); box-shadow: 0 0 40px rgba(189, 0, 255, 0.4); }
.form-container { max-width: 500px; margin: 0 auto; width: 100%; }
.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; margin-bottom: 0.6rem; color: #d0b0e0; font-size: 0.9rem; font-weight: 500; }
.input-field { width: 100%; padding: 1rem 1.2rem; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(189,0,255,0.3); border-radius: 12px; color: #fff; font-size: 1rem; outline: none; transition: all 0.3s ease; }
textarea.input-field { min-height: 120px; resize: vertical; }
.input-field:focus { border-color: var(--secondary-color); box-shadow: 0 0 15px rgba(230, 0, 255, 0.3); background: rgba(10, 0, 20, 0.6); }
.btn-glow { background: var(--gradient-btn); color: white; padding: 1rem 2.5rem; border-radius: 100px; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; transition: all 0.4s ease; border: none; box-shadow: 0 0 20px var(--primary-glow); cursor: pointer; text-decoration: none; }
.btn-glow:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--primary-glow); }
.btn-secondary { padding: 1rem 2.5rem; border-radius: 100px; color: #fff; font-weight: 600; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.4s ease; text-decoration: none; display: inline-block; text-align: center; }
.btn-secondary:hover { border-color: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.3); transform: translateY(-2px); }
.link-accent { color: var(--accent-color) !important; font-weight: 600; text-decoration: none; cursor: pointer; }
.link-accent:hover { text-decoration: underline; text-shadow: 0 0 10px var(--accent-color); }

/* --- ÁREA DE MEMBROS: GRID & ANIMAÇÕES --- */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; width: 100%; margin-top: 40px; }
.member-card { background: rgba(20, 0, 30, 0.7); border: 1px solid rgba(189, 0, 255, 0.3); border-radius: 16px; overflow: hidden; position: relative; backdrop-filter: blur(15px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0; transform: translateY(20px); animation: cardEntrance 0.6s ease forwards; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); animation: cardEntrance 0.6s ease forwards, cardFloat 6s ease-in-out infinite 0.6s; }
@keyframes cardEntrance { to { opacity: 1; transform: translateY(0); } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.member-card:hover { transform: translateY(-10px) scale(1.02); border-color: #00ff88; box-shadow: 0 0 30px rgba(0, 255, 136, 0.25), inset 0 0 20px rgba(0, 255, 136, 0.05); z-index: 10; animation-play-state: paused; }
.card-image-wrapper { width: 100%; height: 180px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 0.5s ease; }
.member-card:hover .card-image-wrapper img { transform: scale(1.1); }
.card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 0%, rgba(3, 0, 5, 0.9) 100%); opacity: 0.7; }
.card-content { padding: 25px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 180px); }
.member-card h3 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; text-shadow: 0 0 10px rgba(189, 0, 255, 0.5); transition: color 0.3s ease; }
.member-card:hover h3 { color: #00ff88; text-shadow: 0 0 20px rgba(0, 255, 136, 0.8); }
.member-card p { color: #bda0c7; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.btn-access-module { width: 100%; padding: 12px; background: transparent; border: 1px solid rgba(189, 0, 255, 0.5); color: #fff; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; position: relative; overflow: hidden; }
.member-card:hover .btn-access-module { background: #00ff88; color: #030005; border-color: #00ff88; box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); font-weight: 800; transform: translateY(-2px); }

/* =========================================
   ESTILO PLAYER "LUMINOUS ELITE" (ATUALIZADO)
   ========================================= */

/* Fundo com gradiente sutil para destacar o vidro */
#player-area {
    background: radial-gradient(circle at 30% 40%, rgba(80, 0, 120, 0.15), transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(0, 255, 136, 0.05), transparent 40%);
    min-height: 100vh;
}

/* 1. Botão de Voltar (Estilo Neon Glass) */
.btn-back-modules {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* --- ALTERAÇÃO AQUI --- */
    margin-top: 10px;    /* Empurra o botão para baixo (descola do menu) */
    margin-bottom: 40px; /* Mantém o espaço entre o botão e o vídeo */
    /* ---------------------- */

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    
    /* As animações iniciais que fizemos continuam funcionando aqui */
    opacity: 0;
    transform: translateX(150px);
    will-change: transform, opacity;
}

.btn-back-modules:hover {
    background: rgba(189, 0, 255, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(189, 0, 255, 0.4);
    transform: translateX(-5px);
}

/* 2. Layout Principal */
.player-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* Playlist um pouco mais estreita */
    gap: 30px;
    align-items: start;
}

@media (max-width: 1100px) {
    .player-layout { grid-template-columns: 1fr; }
}

/* 3. Container do Vídeo (Esquerda) - EFEITO GLASS APLICADO */
.video-container-main {
    background: rgba(20, 0, 30, 0.3); /* Transparência ajustada */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Borda superior mais clara p/ efeito luz */
    border-radius: 24px;
    padding: 20px;
    backdrop-filter: blur(25px); /* O BLUR FORTE IGUAL DA HOME */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUpFade 0.8s ease-out forwards;
}

/* Estilo do Player igual da Home (Cyber Frame) */
.cyber-video-frame {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.2); /* Glow Roxo */
    background: #000;
}

/* Efeito de Scanlines (Linhas de TV) sobre o vídeo */
/* ALTERADO: display: none remove as listras para limpar a imagem */
.cyber-video-frame::after {
    display: none; 
}

.video-wrapper-ui video {
    width: 100%;
    display: block;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

.video-info-box {
    margin-top: 20px;
    padding: 0 10px;
}

.video-main-title {
    font-size: 2rem;
    font-weight: 800;
    /* Gradiente no texto */
    background: linear-gradient(90deg, #fff, #e000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* 4. Container da Playlist (Direita) - EFEITO GLASS APLICADO */
.playlist-container {
    background: rgba(20, 0, 30, 0.3); /* Transparente igual ao vídeo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    max-height: 700px; /* Limite de altura */
    backdrop-filter: blur(25px); /* BLUR FORTE */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUpFade 0.8s ease-out forwards 0.2s; /* Delay na entrada */
}

.playlist-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent);
}

.playlist-header h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ícone de pasta brilhando */
.playlist-header h3::before {
    content: '📁';
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.playlist-items-scroll {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar Personalizada */
.playlist-items-scroll::-webkit-scrollbar { width: 5px; }
.playlist-items-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.playlist-items-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.playlist-items-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* 5. ITEM DA PLAYLIST (Animações e Elegância) */
.playlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02); /* Quase invisível */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Efeito Hover Elegante */
.playlist-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(189, 0, 255, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Estado ATIVO (Verde Neon) */
.playlist-item.active {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.02));
    border: 1px solid rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}

/* Barra lateral indicadora no ativo */
.playlist-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
}

.play-icon-box {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.playlist-item.active .play-icon-box {
    background: #00ff88;
    color: #000;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0,255,136,0.6);
    animation: pulseIcon 2s infinite;
}

.playlist-info { display: flex; flex-direction: column; gap: 4px; }
.playlist-video-title { font-size: 0.95rem; font-weight: 500; color: #ccc; transition: color 0.3s; }
.playlist-item.active .playlist-video-title { color: #fff; font-weight: 700; }
.playlist-video-dur { font-size: 0.75rem; color: #666; font-family: 'Consolas', monospace; }

/* Animações Keyframes */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseIcon {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* ============================================================= */
/* TÍTULO DO MÓDULO - ROTAÇÃO INDIVIDUAL POR CARACTERE          */
/* Elegante, glow roxo neon, hover interativo                  */
/* ============================================================= */

.playlist-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(224, 0, 255, 0.02), transparent);
}

.module-title-animated {
    font-size: 1.25rem !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 25px;
    transition: all 0.4s ease;
}

/* Ícone de pasta com glow e pulsação */
.module-title-animated::before {
    content: '📁';
    font-size: 1.5rem;
    filter: drop-shadow(0 0 12px rgba(224, 0, 255, 0.8));
    animation: pulseFolder 8s infinite alternate ease-in-out;
}

/* Container do texto */
.title-text {
    text-shadow: 

        0 0 10px rgba(224, 0, 255, 0.6),
        0 0 20px rgba(224, 0, 255, 0.4),
        0 0 35px rgba(224, 0, 255, 0.2);
    animation: pulseGlowText 8s infinite alternate ease-in-out;
}

/* Hover: glow mais intenso */
.module-title-animated:hover .title-text {
    text-shadow: 
        0 0 15px rgba(224, 0, 255, 0.9),
        0 0 30px rgba(224, 0, 255, 0.7),
        0 0 50px rgba(224, 0, 255, 0.5);
}

/* Cada caractere em span com rotação individual */
.title-text span {
    display: inline-block;
    animation: rotateChar 14s linear infinite;
    transform-origin: center;
}

/* Delay progressivo por caractere (efeito ondulante suave) */
.title-text span:nth-child(1)  { animation-delay: 0s; }
.title-text span:nth-child(2)  { animation-delay: 0.25s; }
.title-text span:nth-child(3)  { animation-delay: 0.5s; }
.title-text span:nth-child(4)  { animation-delay: 0.75s; }
.title-text span:nth-child(5)  { animation-delay: 1s; }
.title-text span:nth-child(6)  { animation-delay: 1.25s; }
.title-text span:nth-child(7)  { animation-delay: 1.5s; }
.title-text span:nth-child(8)  { animation-delay: 1.75s; }
.title-text span:nth-child(9)  { animation-delay: 2s; }
.title-text span:nth-child(10) { animation-delay: 2.25s; }
.title-text span:nth-child(11) { animation-delay: 2.5s; }
.title-text span:nth-child(12) { animation-delay: 2.75s; }
.title-text span:nth-child(13) { animation-delay: 3s; }
.title-text span:nth-child(14) { animation-delay: 3.25s; }
.title-text span:nth-child(15) { animation-delay: 3.5s; }
.title-text span:nth-child(16) { animation-delay: 3.75s; }
.title-text span:nth-child(17) { animation-delay: 4s; }
.title-text span:nth-child(18) { animation-delay: 4.25s; }
.title-text span:nth-child(19) { animation-delay: 4.5s; }
.title-text span:nth-child(20) { animation-delay: 4.75s; }
/* Para títulos mais longos */
.title-text span:nth-child(n+21) { animation-delay: calc(0.25s * (n - 1)); }

/* Hover: acelera a rotação de cada caractere */
.module-title-animated:hover .title-text span {
    animation-duration: 7s; /* Mais rápido no hover */
}

/* Animações */
@keyframes rotateChar {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes pulseGlowText {
    0% { 
        text-shadow: 0 0 10px rgba(224, 0, 255, 0.6), 0 0 20px rgba(224, 0, 255, 0.4), 0 0 35px rgba(224, 0, 255, 0.2);
    }
    100% { 
        text-shadow: 0 0 15px rgba(224, 0, 255, 0.8), 0 0 30px rgba(224, 0, 255, 0.6), 0 0 45px rgba(224, 0, 255, 0.4);
    }
}

@keyframes pulseFolder {
    0% { filter: drop-shadow(0 0 12px rgba(224, 0, 255, 0.8)); }
    100% { filter: drop-shadow(0 0 20px rgba(224, 0, 255, 1)); }
}

/* --- ANIMAÇÕES OTIMIZADAS DO PLAYER-AREA (ZERO LAG) --- */

/* 1. Estado Inicial */
#player-area .video-container-main,
#player-area .playlist-container,
#player-area .btn-back-modules {
    opacity: 0;
    /* Começa deslocado para a direita */
    transform: translateX(50px); 
    /* AVISA AO NAVEGADOR QUE VAI ANIMAR (Isso elimina travadas) */
    will-change: transform, opacity;
}

/* 2. Gatilhos de Animação */

/* Vídeo Principal */
#player-area.active .video-container-main {
    /* Usando 'ease-out' para movimento natural e rápido */
    animation: slide-in-smooth 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.1s;
}

/* Playlist Lateral */
#player-area.active .playlist-container {
    animation: slide-in-smooth 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}

/* Botão Voltar */
#player-area.active .btn-back-modules {
    animation: slide-in-smooth 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

/* --- KEYFRAMES SIMPLIFICADOS --- */
/* Removemos skew e blur para garantir 60FPS constantes */
@keyframes slide-in-smooth {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- ESTILOS NOVOS PARA A ABA CURSOS --- */

.price-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- ATUALIZAÇÕES NO STYLE.CSS --- */

/* Aumenta a altura da caixa de módulos */
.module-list-container {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    /* MUDANÇA AQUI: Aumentado de 150px para 300px */
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px; /* Mais espaço abaixo da caixa */
}

/* --- AJUSTES DE LAYOUT DO CABEÇALHO DO CARD --- */

.card-header-row {
    display: flex;
    align-items: center; /* Centraliza o ícone verticalmente com o texto */
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

/* Ajuste do Ícone da Espada */
.glass-card .card-icon {
    font-size: 3.5rem; /* Mantendo o tamanho grande que você pediu */
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(157, 0, 255, 0.8);
    line-height: 1;
    
    /* O SEGREDO: Impede o ícone de encolher ou ser esmagado pelo texto longo */
    flex-shrink: 0; 
}

/* Container do Título */
.card-title-animated {
    /* O SEGREDO: Faz o texto ocupar todo o espaço que sobra, respeitando o ícone */
    flex: 1; 
    min-width: 0; /* Truque do CSS para evitar que o texto estoure a caixa */
}

/* --- EFEITO SCANNER + FONTE (COM AUTO-AJUSTE) --- */

.text-scan-effect {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    
    /* EFEITO DE COR (Verde andando) */
    background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #ffffff 40%, 
        #00ff88 50%, 
        #ffffff 60%, 
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: greenScan 3s linear infinite;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.1));
}

/* Ajuste específico para o Título (H3) */
.card-title-animated h3 {
    /* CLAMP: O tamanho mínimo é 1.1rem, o ideal é 1.4rem, o máximo 1.6rem.
       Isso ajuda a fonte a se acomodar melhor */
    font-size: clamp(1.1rem, 5vw, 1.4rem); 
    
    margin: 0;
    
    /* Altura da linha mais apertada para títulos de 3 linhas ficarem bonitos */
    line-height: 1.1; 
    
    /* Quebra a palavra se for absurdamente longa (segurança) */
    word-wrap: break-word; 
}

/* Ajuste específico para o Preço */
.price-display-animated {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    margin-left: 0;
    line-height: 1;
}

/* Garante que as letras individuais girem dentro dos cards */
.card-title-animated .title-word,
.price-display-animated .title-word {
    display: inline-block;
    animation: wordRotate 2.5s infinite ease-in-out;
    animation-delay: calc(var(--i) * 0.1s);
}

/* Cores específicas para o preço (usando o verde como base) */
.price-word {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

/* Custom Scrollbar para a lista */
.module-list-container::-webkit-scrollbar { width: 4px; }
.module-list-container::-webkit-scrollbar-thumb { background: #00ff88; border-radius: 4px; }

.module-list-item {
    color: #d0b0e0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Botão de Compra Verde Reluzente */
.btn-buy-green {
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    color: #030005;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transition: all 0.3s ease;
    animation: pulseGreen 2s infinite;
}

.btn-buy-green:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.9);
    background: linear-gradient(90deg, #00ff88, #5affad);
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 136, 0.8); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); }
}

/* --- EFEITO SCANNER (LUZ VERDE) - FONTE CORRIGIDA --- */

.text-scan-effect {
    /* Força a fonte original do site, bem grossa */
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important; /* Extra Bold para ficar igual a foto */
    text-transform: uppercase;   /* Garante letras maiúsculas */
    letter-spacing: -0.5px;      /* Um leve ajuste para ficar compacto igual a foto */
    
    /* O gradiente: Branco -> Luz Verde -> Branco */
    background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #ffffff 40%, 
        #00ff88 50%, 
        #ffffff 60%, 
        #ffffff 100%
    );
    
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    animation: greenScan 3s linear infinite;
    
    /* Sombra para garantir legibilidade e o "peso" da fonte */
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.1));
}

@keyframes greenScan {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- AJUSTES DE TAMANHO (IGUAL FOTO) --- */

.card-title-animated h3 {
    font-size: 1.6rem; /* Tamanho robusto */
    margin: 0;
    line-height: 1.1;
    /* A classe .text-scan-effect vai cuidar da fonte e cor */
}

.price-display-animated {
    font-size: 2.2rem;
    margin-bottom: 20px;
    margin-left: 0; /* Alinhado a esquerda junto com o titulo */
    /* A classe .text-scan-effect vai cuidar da fonte e cor */
}

/* Container dos itens do cabeçalho */
.card-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* --- AUMENTAR EMOJI DE ESPADA --- */
.glass-card .card-icon {
    font-size: 3.1rem; /* Tamanho aumentado */
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(157, 0, 255, 0.8); /* Aumentei um pouco o brilho também */
    line-height: 1; /* Garante que não empurre muito o layout verticalmente */
}

/* --- NOVO LAYOUT DO CARD (COM FAIXA ESCURA) --- */

/* --- AJUSTE NO CARD PARA PERMITIR ELEMENTOS PARA FORA --- */
.glass-card {
    /* MUDANÇA CRÍTICA: Visible permite que o badge saia da caixa */
    overflow: visible !important; 
    
    padding: 0 !important;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- AJUSTE NO CABEÇALHO PARA ARREDONDAR CANTOS SUPERIORES --- */
.card-highlight-header {
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    
    /* MUDANÇA CRÍTICA: Arredonda o topo manualmente para acompanhar o card */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

/* --- O CORPO DO CARD (MÓDULOS + BOTÃO) --- */
.card-body-content {
    padding: 25px; /* Devolve o espaçamento para o resto do conteúdo */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- ESTILOS DE TEXTO (SEM ÍCONE) --- */

.card-title-animated h3 {
    /* Auto-ajuste de fonte (Clamp) */
    font-size: clamp(1.2rem, 5vw, 1.5rem); 
    line-height: 1.2;
    margin: 0;
    word-wrap: break-word;
}

.price-display-animated {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0; /* Margem controlada pelo gap do pai */
}

/* --- EFEITO SCANNER (Mantido igual) --- */
.text-scan-effect {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #00ff88 50%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: greenScan 3s linear infinite;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.1));
}

/* Ajuste na lista de módulos para caber no novo layout */
.module-list-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

/* --- 1. AUMENTAR O TAMANHO GERAL DO CARD --- */

/* No grid, aumentamos a largura mínima de 340px para 380px e o espaçamento entre eles */
.grid-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
    gap: 3rem; /* Mais espaço entre os cards */
    margin-bottom: 50px;
}

/* No card, definimos uma altura mínima para ele ficar imponente */
.glass-card {
    padding: 0 !important;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    min-height: 650px; /* FORÇA O CARD A SER ALTO/GRANDE */
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- 2. ESPAÇAMENTO INTERNO E DO BOTÃO --- */

.card-body-content {
    /* Padding: Topo | Direita | BAIXO (Aumentado) | Esquerda */
    /* Aumentei o terceiro valor para 45px para desgrudar o botão da borda final */
    padding: 30px 30px 50px 30px; 
    
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Isso ajuda a empurrar o botão para baixo se sobrar espaço */
}

.module-list-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* MUDANÇA: Aumentado para 40px para criar o espaço vazio entre a lista e o cupom */
    margin-bottom: 40px; 
}

/* --- 3. BOTÃO DE COMPRA (ESPAÇAMENTO E TAMANHO) --- */

.btn-buy-green {
    width: 100%;
    padding: 1.2rem; /* Botão mais gordo */
    border-radius: 50px;
    border: none;
    font-weight: 800;
    font-size: 1.2rem; /* Letra maior */
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    color: #030005;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transition: all 0.3s ease;
    animation: pulseGreen 2s infinite;
    
    /* AQUI ESTÁ A "RESPIRADA" ENTRE OS MÓDULOS E O BOTÃO */
    margin-top: 50px; 
}

/* --- FAIXA DO TOPO (Mantém igual, só conferindo) --- */
.card-highlight-header {
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px; /* Aumentei um pouco o padding aqui também */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* --- ESTILO DA FAIXA "RECOMENDADO" (RIBBON) --- */

/* --- NOVO ESTILO: BADGE "RECOMENDADO" PEQUENO --- */

/* --- NOVO ESTILO: BADGE "RECOMENDADO" (CANTO SUPERIOR DIREITO) --- */

/* --- NOVO ESTILO: BADGE PREENCHIDO (IGUAL REFERÊNCIA) --- */

/* --- BADGE "RECOMENDADO" - VERSÃO VERDE SÓBRIO (MENOS BRILHANTE) --- */

.recommended-badge {
    position: absolute;
    /* Mantém a posição de "furar" a borda */
    top: -15px; 
    right: 30px; 
    z-index: 20;
    
    /* MUDANÇA: Gradiente Verde mais fechado e elegante (menos neon) */
    background: linear-gradient(90deg, #00b359, #009e4f);
    
    /* Geometria */
    padding: 8px 16px;
    border-radius: 8px;
    
    /* MUDANÇA: Brilho muito mais suave e contido */
    box-shadow: 0 0 15px rgba(0, 179, 89, 0.4);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    animation: floatingBadge 3s ease-in-out infinite;
}

.recommended-text {
    /* MUDANÇA: Volta para branco */
    color: #ffffff; 
    
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    /* Sombra suave para garantir leitura no fundo verde */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); 
}

/* Animação com brilho VERDE SUAVE */
@keyframes floatingBadge {
    0%, 100% { 
        transform: translateY(0); 
        /* Brilho inicial fraco */
        box-shadow: 0 0 15px rgba(0, 179, 89, 0.4); 
    }
    50% { 
        transform: translateY(-3px); 
        /* Brilho pulsando, mas ainda contido (não explode como antes) */
        box-shadow: 0 0 20px rgba(0, 179, 89, 0.6); 
    }
}

/* --- CORREÇÃO DOS FORMULÁRIOS (LOGIN, CADASTRO, SUPORTE) --- */

/* Como a classe .glass-card agora tem padding 0 (para os cursos),
   precisamos forçar o padding de volta quando for um formulário (.form-container)
*/
.glass-card.form-container {
    padding: 3rem !important; /* Devolve o espaço interno */
    min-height: auto !important; /* Remove a altura fixa gigante de 650px */
    height: auto !important;
    
    /* Centraliza o conteúdo visualmente */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CORREÇÃO DO AUTO-PREENCHIMENTO (AUTOFILL) DO NAVEGADOR 
   Isso remove aquele fundo branco/azul feio que aparece quando
   o navegador completa o usuário e senha automaticamente.
*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    /* Troca a cor do texto para branco */
    -webkit-text-fill-color: #ffffff !important;
    /* Troca o fundo branco por um fundo escuro que combina com o site */
    -webkit-box-shadow: 0 0 0px 1000px rgba(10, 0, 20, 0.9) inset !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: white;
}

/* --- NOVOS ESTILOS: BLOQUEIO DE MÓDULOS --- */

/* Card Bloqueado: Fica mais escuro */
.member-card.locked-card {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Imagem em Preto e Branco quando bloqueado */
.member-card.locked-card .card-image-wrapper img {
    filter: grayscale(100%) brightness(0.5);
}

/* Ícone de Cadeado sobre a imagem */
.lock-overlay-icon {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px #000;
}

/* Botão Desabilitado */
.btn-access-module.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-access-module.disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   POPUP DE SUCESSO (ROXO ELEGANTE / ELITE)
   ========================================= */

.cyber-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 0, 5, 0.9); /* Fundo um pouco mais escuro para destaque */
    backdrop-filter: blur(12px);
    z-index: 9999; display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}

.cyber-modal-overlay.active { display: flex; opacity: 1; }

.cyber-modal-box {
    /* Fundo roxo muito profundo */
    background: linear-gradient(145deg, rgba(20, 0, 30, 0.95), rgba(10, 0, 20, 0.98));
    border: 1px solid rgba(189, 0, 255, 0.4); /* Borda Roxo Vidro */
    box-shadow: 0 0 50px rgba(157, 0, 255, 0.25), inset 0 0 30px rgba(157, 0, 255, 0.05);
    padding: 40px; border-radius: 20px;
    text-align: center; max-width: 400px; width: 90%; 
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative;
}

.cyber-modal-overlay.active .cyber-modal-box { transform: scale(1) translateY(0); }

.cyber-modal-icon {
    width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%;
    border: 2px solid #bd00ff; /* Borda Roxa */
    display: flex; align-items: center; justify-content: center;
    color: #e000ff; /* Ícone Roxo Neon */
    background: rgba(189, 0, 255, 0.05);
    box-shadow: 0 0 30px rgba(224, 0, 255, 0.4);
    animation: pulseIconPurple 2s infinite;
}

@keyframes pulseIconPurple {
    0% { box-shadow: 0 0 0 0 rgba(224, 0, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(224, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 0, 255, 0); }
}

.cyber-modal-icon svg { width: 42px; height: 42px; filter: drop-shadow(0 0 5px #e000ff); }

/* Animação do check desenhando */
.checkmark-path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawCheck 1s ease forwards 0.3s; stroke: #e000ff; }
.checkmark-check { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawCheck 1s ease forwards 0.8s; stroke: #fff; }

.cyber-modal-title {
    background: linear-gradient(to right, #ffffff 0%, #e600ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800; font-size: 1.6rem; margin-bottom: 10px;
    text-transform: uppercase; letter-spacing: 1px;
}

.cyber-modal-text { 
    color: #bda0c7; /* Texto cinza arroxeado */
    margin-bottom: 30px; 
    line-height: 1.5;
    font-size: 0.95rem;
}

.cyber-modal-btn {
    background: transparent; 
    color: #fff; 
    border: 1px solid rgba(189, 0, 255, 0.5); 
    padding: 12px 35px; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.1);
}

.cyber-modal-btn:hover { 
    background: linear-gradient(90deg, #bd00ff 0%, #9900ff 100%); /* Gradiente do tema */
    border-color: transparent;
    color: #fff; 
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.6); 
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* --- MANUTENÇÃO / SYSTEM OFFLINE STYLES --- */

.maintenance-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 0, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none; /* Oculto por padrão */
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}

.maintenance-overlay.active { display: flex; opacity: 1; }

.maintenance-box {
    background: rgba(20, 0, 0, 0.9);
    border: 1px solid #ff003c;
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.2), inset 0 0 50px rgba(255, 0, 60, 0.1);
    padding: 40px; border-radius: 12px;
    text-align: center; max-width: 450px; width: 90%;
    transform: scale(0.9);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: shakeBox 0.5s ease-in-out;
}

.maintenance-overlay.active .maintenance-box { transform: scale(1); }

.maintenance-icon {
    font-size: 3rem; margin-bottom: 15px;
    animation: pulseRed 1.5s infinite;
}

.maintenance-title {
    color: #ff003c; font-size: 2rem; font-weight: 900;
    margin-bottom: 10px; letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.1);
    position: relative;
}

/* Efeito Glitch no Texto */
.maintenance-title::before, .maintenance-title::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.maintenance-title::before {
    left: 2px; text-shadow: -1px 0 #00ffff; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.maintenance-title::after {
    left: -2px; text-shadow: -1px 0 #ff003c; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

.maintenance-msg { color: #ffcccc; margin-bottom: 20px; font-size: 1rem; }

.maintenance-code {
    font-family: 'Courier New', monospace; font-size: 0.8rem;
    color: #ff003c; border: 1px dashed rgba(255, 0, 60, 0.3);
    padding: 5px; margin-bottom: 25px; display: inline-block;
}

.maintenance-btn {
    background: transparent; color: #ff003c;
    border: 1px solid #ff003c; padding: 10px 30px;
    font-weight: 700; cursor: pointer; transition: all 0.3s;
    text-transform: uppercase; letter-spacing: 1px;
}
.maintenance-btn:hover { background: #ff003c; color: #000; box-shadow: 0 0 20px #ff003c; }

/* Animações Keyframes */
@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
@keyframes pulseRed { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes glitch-anim { 0% { clip: rect(38px, 9999px, 81px, 0); } 20% { clip: rect(3px, 9999px, 5px, 0); } 40% { clip: rect(24px, 9999px, 93px, 0); } 60% { clip: rect(54px, 9999px, 4px, 0); } 80% { clip: rect(65px, 9999px, 42px, 0); } 100% { clip: rect(89px, 9999px, 5px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(4px, 9999px, 19px, 0); } 20% { clip: rect(98px, 9999px, 16px, 0); } 40% { clip: rect(10px, 9999px, 60px, 0); } 60% { clip: rect(31px, 9999px, 83px, 0); } 80% { clip: rect(89px, 9999px, 2px, 0); } 100% { clip: rect(48px, 9999px, 47px, 0); } }

/* --- ESTILO DO CUPOM DE DESCONTO --- */
.coupon-wrapper {
    margin-top: auto; /* Empurra para baixo junto com o botão */
    margin-bottom: 15px; /* Espaço entre o input e o botão comprar */
    position: relative;
    width: 100%;
}

.coupon-input {
    width: 100%;
    background: rgba(10, 0, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px; /* Arredondado igual ao botão */
    padding: 12px 20px;
    color: #00ff88; /* Texto verde neon */
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    outline: none;
}

.coupon-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
}

.coupon-input:focus {
    background: rgba(0, 0, 0, 0.8);
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

/* --- ESTILO CUPOM ELITE (ATUALIZADO) --- */

.coupon-wrapper {
    width: 100%;
    margin-top: auto;      /* Mantém empurrado para o fundo */
    
    /* MUDANÇA: Reduzido para 5px para ficar bem pertinho do botão */
    margin-bottom: 5px;    
    
    position: relative;
    z-index: 5;
}

.coupon-input {
    width: 60%; /* Reduzido de 100% para 60% (mais elegante) */
    display: block; /* Garante que respeite as margens */
    margin: 0 auto; /* Centraliza o input no meio do card */
    
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Borda redonda completa */
    padding: 10px 20px; /* Um pouco mais compacto */
    
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    outline: none;
}

/* Placeholder (TextHint) Branco */
.coupon-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important; /* Branco com leve transparência */
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
}

/* Efeito ao focar */
.coupon-input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
}

/* --- ESTILOS DE PREÇO (DESCONTO) --- */

.price-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre o valor velho e o novo */
}

/* Valor antigo (Riscado) */
.price-old {
    font-size: 1.4rem;
    color: #888; /* Cinza para apagar ele */
    text-decoration: line-through; /* O Risco */
    font-weight: 600;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Valor novo (Com desconto) */
.price-new {
    font-size: 2.2rem;
    color: #00ff88; /* Verde Neon */
    font-weight: 900;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    animation: pulseGreenPrice 2s infinite;
}

@keyframes pulseGreenPrice {
    0% { text-shadow: 0 0 15px rgba(0, 255, 136, 0.6); }
    50% { text-shadow: 0 0 25px rgba(0, 255, 136, 0.9); }
    100% { text-shadow: 0 0 15px rgba(0, 255, 136, 0.6); }
}

/* --- BOTÃO DE COMPRA (BRILHO SUAVIZADO) --- */
.btn-buy-green {
    width: 100%;
    padding: 1.2rem;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    color: #030005;
    
    /* MUDANÇA: Sombra reduzida (menos espalhada e mais transparente) */
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); 
    
    transition: all 0.3s ease;
    animation: pulseGreen 2s infinite;
    margin-top: 0; /* Mantém colado no cupom */
}

.btn-buy-green:hover {
    transform: translateY(-3px) scale(1.02);
    /* MUDANÇA: Hover também menos agressivo */
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6); 
    background: linear-gradient(90deg, #00ff88, #5affad);
}

/* MUDANÇA: Animação de pulso muito mais discreta */
@keyframes pulseGreen {
    0% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
}

/* --- FOOTER CENTRALIZADO E TRANSPARENTE (ELITE) --- */

footer {
    width: 100%;
    display: flex;
    justify-content: center; /* Centraliza a caixa horizontalmente */
    align-items: center;
    padding: 60px 0 40px; /* Espaço para não colar no conteúdo acima */
    position: relative;
    z-index: 10;
}

.footer-box {
    /* --- EFEITO GLASS (Igual aos Cards) --- */
    background: var(--card-bg); /* Fundo escuro transparente */
    border: 1px solid var(--glass-border); /* Borda roxa sutil */
    backdrop-filter: blur(10px); /* O desfoque do vidro */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra para profundidade */
    
    /* --- FORMATO E TEXTO --- */
    padding: 15px 50px; /* Espaçamento interno */
    border-radius: 50px; /* Borda bem redonda (estilo pílula) */
    text-align: center;
    
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    
    /* Pequena animação ao passar o mouse (opcional, para dar vida) */
    transition: all 0.3s ease;
}

.footer-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}
/* --- ESTILO NOVO: PLAYER CENTRALIZADO --- */

.video-container-full {
    width: 100%;
    max-width: 1100px; /* Largura máxima grande */
    margin: 20px auto; /* Centraliza na tela */
    background: rgba(20, 0, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUpFade 0.6s ease-out forwards;
}

/* --- DESTRAVAR LARGURA MÁXIMA NA ÁREA DO PLAYER (AJUSTADO) --- */
#player-area .page-container {
    /* Aumenta de 1200px (padrão) para 1400px */
    /* Isso deixa o vídeo grande, mas mantém margens laterais elegantes */
    max-width: 1400px !important; 
}

/* --- ESTILO DO PLAYER (Tamanho Grande, mas Contido) --- */
.video-container-full {
    width: 100%; /* Ocupa todo o espaço do container de 1400px */
    max-width: 100%; 
    margin: 0 auto;
    
    background: rgba(20, 0, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px; /* Padding confortável */
    
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUpFade 0.6s ease-out forwards;
}

/* Ajuste nos cards de aula para diferenciar visualmente (opcional) */
.lesson-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Ícone de Play sobre o card da aula */
.lesson-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 3rem;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px var(--primary-color);
    z-index: 5;
}

.member-card:hover .lesson-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Escurecer a imagem ao passar o mouse para destacar o Play */
.member-card:hover .card-image-wrapper img {
    filter: brightness(0.4);
}

/* --- BOTÃO DE DOWNLOAD DO PROJETO (ELITE) --- */

.btn-download-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

/* --- ESTADO HABILITADO (COM LINK) --- */
.btn-download-project.active {
    /* Gradiente Roxo Elite */
    background: linear-gradient(135deg, #9d00ff 0%, #7b00ff 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
    animation: pulseDownload 2s infinite;
}

.btn-download-project.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.7);
    letter-spacing: 2px; /* Efeito de expansão de texto */
}

/* Ícone de download (adicionado via CSS se não quiser no HTML) */
.btn-download-project.active::before {
    content: '⬇';
    margin-right: 5px;
}

/* --- ESTADO DESABILITADO (SEM PROJETO / NULL) --- */
.btn-download-project.disabled {
    background: rgba(255, 255, 255, 0.03);
    color: #444;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none; /* Garante que não clica */
}

/* Animação de Pulso */
@keyframes pulseDownload {
    0% { box-shadow: 0 0 15px rgba(157, 0, 255, 0.4); }
    50% { box-shadow: 0 0 25px rgba(157, 0, 255, 0.6); }
    100% { box-shadow: 0 0 15px rgba(157, 0, 255, 0.4); }
}

/* --- TÍTULO DO VÍDEO (BRANCO COM SCANNER ROXO) --- */
.video-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    
    /* O Efeito: Fundo Branco com uma faixa Roxa no meio */
    background: linear-gradient(
        90deg, 
        #ffffff 0%, 
        #ffffff 40%, 
        #d600ff 50%, /* Roxo Neon Vibrante */
        #ffffff 60%, 
        #ffffff 100%
    );
    
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* Animação contínua */
    animation: purpleScan 3s linear infinite;
    
    /* Sombra suave roxa para dar profundidade no fundo escuro */
    filter: drop-shadow(0 0 2px rgba(157, 0, 255, 0.5));
}

/* Animação do Scanner Roxo */
@keyframes purpleScan {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- AJUSTE DE POSIÇÃO: DESCER BOTÃO E TÍTULO --- */

/* 1. Aplica margem no botão dentro da área do player */
#player-area .btn-back-modules {
    /* Aumente este valor se quiser descer mais */
    margin-top: 60px !important; 
    margin-bottom: 0;
}

/* 2. Aplica EXATAMENTE a mesma margem no título para manter alinhado */
#player-area #moduleTitleHeader {
    /* Tem que ser o mesmo valor do botão acima */
    margin-top: 60px !important; 
}

/* --- ESTILO DOS BOTÕES DO MODAL DE LOGOUT --- */

/* Container dos botões */
.modal-actions {
    display: flex;
    gap: 15px; /* Espaço entre os botões */
    justify-content: center;
    margin-top: 25px;
}

/* Botão Cancelar (Transparente com borda) */
.modal-btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; /* Texto branco */
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Botão Confirmar (Roxo Neon Cheio) */
.modal-btn-confirm {
    background: linear-gradient(135deg, #9d00ff 0%, #d600ff 100%);
    border: none;
    color: #fff; /* Texto branco */
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.4); /* Brilho roxo */
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.modal-btn-confirm:hover {
    transform: translateY(-2px); /* Sobe um pouquinho ao passar o mouse */
    box-shadow: 0 6px 20px rgba(157, 0, 255, 0.6);
}

/* --- REMOVER ÍCONE DE LOGIN QUANDO DESLOGADO --- */
.header-btn[onclick*="cliqueIconeUsuario"]:not(.user-btn-fancy) {
    display: none !important;
}

/* Garantir que o contêiner não fique vazio */
.header-btn-container.user-wrapper:has(.header-btn:not(.user-btn-fancy)) {
    min-width: 0;
    width: auto;
}

/* --- LADO ESQUERDO (Seta/Logo) --- */
/* Tira do fluxo para não empurrar o menu, e fixa na esquerda */
.logo-spacer, 
.mobile-toggle {
    position: absolute !important;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    
    /* Se você quiser que a seta verde suma, use a linha abaixo: */
    /* opacity: 0; pointer-events: none; */
}

/* --- LADO DIREITO (Usuário Logado / Login) --- */
/* Tira do fluxo para não empurrar o menu, e fixa na direita */
.header-btn-container {
    position: absolute !important;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    
    /* AQUI ESTAVA O ERRO: */
    /* Mudamos de 'display: none' para 'display: flex' para o usuário aparecer */
    display: flex !important; 
    align-items: center;
    justify-content: flex-end;
    
    /* Garante que o container tenha largura para caber o nome */
    width: auto; 
    min-width: 0;
}

/* --- TELA DE SUCESSO CYBERPUNK (ROXO ELITE) --- */

.success-container {
    max-width: 600px !important;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(189, 0, 255, 0.4);
    background: linear-gradient(160deg, rgba(20, 0, 30, 0.8) 0%, rgba(10, 0, 20, 0.95) 100%);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.15);
}

.success-icon-wrapper {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid #bd00ff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.3);
    animation: pulseIconSuccess 2s infinite;
}

@keyframes pulseIconSuccess {
    0% { box-shadow: 0 0 0 0 rgba(189, 0, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(189, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(189, 0, 255, 0); }
}

.success-check-icon {
    font-size: 2.5rem; color: #fff;
    text-shadow: 0 0 10px #e000ff;
}

.success-title {
    font-size: 2.2rem; font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #e000ff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.success-desc {
    color: #bda0c7; font-size: 1rem; margin-bottom: 30px;
}

/* CAIXA DE ALERTA */
.token-alert-box {
    background: rgba(255, 0, 60, 0.1);
    border-left: 4px solid #ff003c;
    padding: 15px;
    text-align: left;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 0.9rem; color: #ffcccc;
}

.token-alert-box strong { color: #ff003c; text-transform: uppercase; }

/* INPUT DO TOKEN ANIMADO */
.token-display-wrapper {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
    cursor: pointer;
}

.token-display-wrapper label {
    display: block; color: #e000ff; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 8px; letter-spacing: 1px;
}

.token-input {
    width: 100%;
    background: rgba(10, 0, 20, 0.9);
    border: 2px dashed rgba(189, 0, 255, 0.5);
    padding: 15px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.token-display-wrapper:hover .token-input {
    background: rgba(20, 0, 40, 1);
    border-color: #e000ff;
    box-shadow: 0 0 20px rgba(224, 0, 255, 0.2);
    letter-spacing: 1px;
}

/* Feedback de cópia */
.copy-feedback {
    position: absolute;
    right: 15px; top: 60%;
    transform: translateY(-50%) scale(0.8);
    background: #00ff88; color: #000;
    padding: 4px 10px; border-radius: 4px;
    font-weight: 800; font-size: 0.75rem;
    opacity: 0; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* BOTÃO ROXO ELEGANTE LOGIN */
.btn-glow-purple {
    background: linear-gradient(90deg, #bd00ff, #7b00ff);
    color: white; padding: 1.2rem;
    border-radius: 50px; border: none;
    font-weight: 800; font-size: 1.1rem;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
    cursor: pointer; transition: all 0.3s ease;
    animation: pulsePurpleBtn 3s infinite;
}

.btn-glow-purple:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.7);
    background: linear-gradient(90deg, #d600ff, #9d00ff);
}

@keyframes pulsePurpleBtn {
    0% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.4); }
    50% { box-shadow: 0 0 35px rgba(157, 0, 255, 0.6); }
    100% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.4); }
}

/* --- 1. AJUSTE DO BOTÃO "FAZER LOGIN" (MENOR E MAIS BRILHANTE) --- */

.btn-glow-purple {
    /* Ajuste de Tamanho */
    width: auto !important;         /* Deixa o tamanho se ajustar ao texto */
    min-width: 200px;               /* Tamanho mínimo para não ficar muito pequeno */
    max-width: 300px;               /* Limite para não esticar demais */
    margin: 2rem auto 0 auto;       /* Centraliza horizontalmente */
    display: block;                 /* Necessário para o margin auto funcionar */
    
    /* Cores e Brilho */
    background: linear-gradient(135deg, #bd00ff 0%, #7b00ff 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Sombra Neon Inicial */
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
    
    /* Animação Constante */
    animation: pulseGlowElite 2s infinite ease-in-out;
}

/* Efeito Hover (Ao passar o mouse) */
.btn-glow-purple:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #d600ff, #9d00ff);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.8), 0 0 10px #fff;
    border-color: #fff;
}

/* Animação de Pulso Intenso */
@keyframes pulseGlowElite {
    0% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.5); }
    50% { box-shadow: 0 0 35px rgba(157, 0, 255, 0.8), 0 0 10px rgba(157, 0, 255, 0.4); }
    100% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.5); }
}

/* --- 2. ESTILO DO NOVO POPUP DE MENSAGEM (ERRO/AVISO) --- */

.msg-modal-box {
    background: rgba(15, 0, 25, 0.95);
    border: 1px solid rgba(255, 0, 60, 0.5); /* Borda avermelhada por padrão (erro) */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Quando ativo, cresce e balança */
.cyber-modal-overlay.active .msg-modal-box {
    transform: scale(1);
    animation: shakeModal 0.4s ease-out;
}

.msg-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.6));
}

.msg-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.msg-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.msg-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
}

.msg-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Animação de Shake para erros */
@keyframes shakeModal {
    0% { transform: scale(1) translateX(0); }
    25% { transform: scale(1) translateX(-5px); }
    50% { transform: scale(1) translateX(5px); }
    75% { transform: scale(1) translateX(-5px); }
    100% { transform: scale(1) translateX(0); }
}

/* --- ESTILO DA CAIXA DE RECUPERAÇÃO DE DADOS --- */

.credentials-box {
    margin-top: 30px;
    background: rgba(0, 20, 10, 0.6);
    border: 1px solid #00ff88;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    animation: slideUpFade 0.5s ease-out;
}

.cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.cred-row span:first-child {
    color: #bda0c7;
    font-size: 0.8rem;
    font-weight: 700;
}

.cred-value {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Efeito de Borrar a Senha (Privacidade) */
.blur-effect {
    filter: blur(5px);
    cursor: pointer;
    user-select: none;
    transition: filter 0.3s ease;
}

.blur-effect:hover {
    filter: blur(3px); /* Desborra um pouco ao passar o mouse */
}

/* Animação de entrada */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.video-frame { 
    margin-top: 25px; 
    position: relative; 
    width: 100%; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); 
    transform: scaleY(0); 
    transform-origin: center; 
    animation: videoUnfold 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 2s; 
    background: #000; 
    
    /* ADICIONE ESTA LINHA: Força o formato retangular Widescreen */
    aspect-ratio: 16 / 9; 
}

/* Adicione isso ao seu style.css para garantir a forma do vídeo */
.video-frame {
    margin-top: 25px;
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    background: #000;
    
    /* ESSA LINHA É CRÍTICA PARA MANTER O FORMATO */
    aspect-ratio: 16 / 9; 
    
    /* Mantém a animação de entrada que você já tinha */
    transform: scaleY(0);
    transform-origin: center;
    animation: videoUnfold 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 2s;
}

/* Garante que o iframe ocupe tudo */
#promoVideoContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   MOBILE & TABLET - VERSÃO FINAL (FEEDBACK AJUSTADO + MENU ROXO)
   Substitua todo o bloco @media anterior por este.
   ========================================================================== */

@media screen and (max-width: 1024px) {

    /* --- 1. HEADER (TOPO FIXO) --- */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        
        border-radius: 0 !important;
        transform: none !important; 
        
        background: rgba(5, 0, 10, 0.9) !important;
        backdrop-filter: blur(15px);
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 3000;
        
        overflow: visible !important; 
    }

    .logo-spacer { display: none !important; }

    .mobile-toggle {
        display: flex !important;
        font-size: 1.8rem;
        color: #fff;
        width: 45px; height: 45px;
        align-items: center; justify-content: center;
        cursor: pointer;
        z-index: 3002;
    }

    /* --- 2. MENU LATERAL (ROXO ELITE) --- */
    #nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        
        width: 85% !important;
        height: 100vh !important;
        
        background: rgba(8, 0, 15, 0.95) !important; /* Fundo mais sólido */
        backdrop-filter: blur(30px) !important;
        
        border-right: 1px solid rgba(157, 0, 255, 0.15) !important;
        box-shadow: 10px 0 50px rgba(0,0,0,0.8);
        
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 90px !important;
        
        transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 3001;
        
        border-radius: 0 !important;
        transform: none !important;
    }

    #nav-menu.active { left: 0 !important; }

    #nav-menu.active::before {
        content: ''; position: fixed; top: 0; left: 100%; 
        width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.7); backdrop-filter: blur(2px);
    }

    #nav-menu ul { 
        width: 100%; padding: 0 25px; gap: 15px; 
        display: flex !important; flex-direction: column !important;
        background: transparent !important; border: none !important;
    }

    nav a {
        display: block !important; width: 100%; 
        padding: 18px 20px !important;
        font-size: 1.1rem !important;
        text-align: left !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 0 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        transition: all 0.3s ease;
    }

    /* DESTAQUE ROXO NO MENU */
    nav a.active, nav a:active {
        color: #fff !important;
        background: linear-gradient(90deg, rgba(157, 0, 255, 0.1), transparent) !important;
        border-left: 3px solid #e000ff !important; /* Roxo Neon */
        border-bottom-color: transparent !important;
        padding-left: 25px !important;
        text-shadow: 0 0 10px rgba(157, 0, 255, 0.8);
    }

    /* --- 3. FEEDBACK / DEPOIMENTOS (CORREÇÃO PEDIDA) --- */
    .testimonials-section {
        margin-top: 50px !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .testimonials-grid {
        /* Muda de Grid para Flex Coluna (Empilhado) */
        display: flex !important;
        flex-direction: column !important; 
        gap: 25px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .testimonial-card {
        width: 100% !important; /* Ocupa a largura total */
        margin: 0 !important;
        padding: 30px 25px !important; /* Mais espaço interno */
        min-height: auto !important;
        
        /* Ajuste visual para mobile */
        background: rgba(20, 0, 30, 0.8) !important;
        border: 1px solid rgba(157, 0, 255, 0.2) !important;
    }

    .testimonial-text {
        font-size: 1rem !important; /* Fonte legível */
        line-height: 1.6 !important;
    }

    /* --- 4. TECH GRID (Mantido Centralizado) --- */
    .tech-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 0 10px;
    }

    .tech-logo {
        width: 30% !important; 
        height: auto !important;
        aspect-ratio: 1/1; 
        min-height: 90px;
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .tech-logo-img { width: 40px !important; height: 40px !important; margin-bottom: 5px !important; }
    .tech-name { font-size: 0.7rem !important; }
    .tech-desc { display: none !important; }

    /* --- 5. AJUSTES GERAIS --- */
    .header-btn-container {
        position: relative !important; right: auto !important; top: auto !important;
        transform: none !important; margin-left: auto !important;
    }
    
    .page-container { padding: 90px 15px 50px !important; width: 100% !important; overflow-x: hidden; }
    .main-title { font-size: 2rem !important; }
    
    .slogan-container {
        width: 100% !important; flex-wrap: wrap !important;
        justify-content: center !important; padding: 15px !important; height: auto !important;
    }
    
    .hero-stats { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 15px !important; }
    .stat-item { width: 45% !important; }
    
    .glass-card { min-height: auto !important; padding: 25px 20px !important; }
    .video-frame { aspect-ratio: 16/9 !important; height: auto !important; }
    
    /* Botão Adquirir Curso (CTA) Ajustado */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* Esconde o texto curto no PC */
.m-text { display: none; } 
/* Mostra o texto longo no PC */
.d-text { display: inline; }

/* ==========================================================================
   MOBILE & TABLET - LOGIN & CADASTRO ELITE
   ========================================================================== */

@media screen and (max-width: 1024px) {

    /* --- 1. CONTAINER DE FORMULÁRIO (LOGIN/CADASTRO) --- */
    .glass-card.form-container {
        padding: 2.5rem 1.5rem !important; /* Espaçamento interno mais equilibrado */
        width: 95% !important;
        max-width: 400px !important;
        margin: 20px auto !important;
        min-height: auto !important;
        border-radius: 20px !important;
        background: rgba(15, 0, 25, 0.8) !important; /* Fundo levemente mais escuro */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(157, 0, 255, 0.1) !important;
    }

    .form-container h2 {
        font-size: 1.8rem !important; /* Título mais proporcional */
        letter-spacing: 1px;
    }

    .form-container p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem;
    }

    /* --- 2. CAMPOS DE ENTRADA (INPUTS) --- */
    .input-group {
        margin-bottom: 1.2rem !important;
    }

    .input-group label {
        font-size: 0.8rem !important;
        letter-spacing: 1px;
        margin-bottom: 8px !important;
        color: var(--accent-color) !important; /* Roxo nas labels para destaque */
    }

    .input-field {
        padding: 0.9rem 1rem !important;
        font-size: 0.95rem !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(157, 0, 255, 0.3) !important;
    }

    /* --- 3. BOTÃO DE LOGIN/ENTRAR --- */
    #btnLogin, #btnSubmit {
        padding: 1rem !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-radius: 12px !important;
        margin-top: 0.5rem !important;
        background: linear-gradient(90deg, #bd00ff, #e000ff) !important;
        box-shadow: 0 5px 20px rgba(157, 0, 255, 0.4) !important;
    }

    /* --- 4. LINKS ADICIONAIS --- */
    .recovery-link-container {
        margin-top: 15px !important;
    }

    .link-accent {
        font-size: 0.85rem !important;
    }

    /* --- 5. TIMER DE BLOQUEIO --- */
    .lockout-timer {
        font-size: 0.8rem !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }
}

@media screen and (max-width: 1024px) {
    /* Esconde a descrição apenas no mobile */
    #member-hero .member-subtitle {
        display: none !important;
    }
    
    /* Ajusta o título para não ficar gigante */
    .member-welcome-text {
        font-size: 1.6rem !important;
        text-align: center;
    }
}

@media screen and (max-width: 1024px) {
    /* Esconde a descrição APENAS no mobile */
    #member-hero .member-subtitle {
        display: none !important;
    }

    /* Garante que o título não fique gigante no celular */
    .member-welcome-text {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
}

@media screen and (max-width: 1024px) {
    /* ... outros códigos que já existiam aqui dentro ... */

    /* Aqui fazemos a inversão apenas para celular */
    .d-text { display: none !important; } /* Esconde o texto de PC */
    .m-text { display: inline !important; } /* Mostra o texto 'ÁREA VIP' */

    /* Esconde a descrição longa no celular */
    #member-hero .member-subtitle {
        display: none !important;
    }
} /* Certifique-se de que esta chave fecha o @media */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(5, 0, 10, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    border: 1px solid rgba(157, 0, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* ADICIONE ESTAS 3 LINHAS ABAIXO */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza a altura */
    min-height: 600px;      /* Define uma altura mínima para o box de fundo */
}

.member-content-wrapper {
    text-align: center;
    padding: 40px;
    background: rgba(10, 0, 20, 0.8);
    border: 1px solid #bd00ff;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(189, 0, 255, 0.2);
    max-width: 800px;
    margin: 0 auto; /* Mantém apenas centralizado horizontalmente */
    opacity: 0;
    animation: titleReveal 1s ease forwards;
    
    /* REMOVA OU COMENTE A LINHA ABAIXO SE ELA EXISTIR: */
    /* margin-top: 50px; */
}

/* ==========================================================================
   MOBILE & TABLET - CORREÇÃO DE ALTURA E FONTES
   ========================================================================== */

@media screen and (max-width: 1024px) {

  /* 1. CENTRALIZAÇÃO VERTICAL DO NÚCLEO DA ELITE - CORRIGIDO */
#inicio.active {
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 80px 15px !important;
}

/* Garante que quando NÃO estiver ativo, ele não force altura */
#inicio:not(.active) {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

    /* Garante a troca de texto do botão de login do popup */
    .popup-btn.primary .d-text { display: none !important; }
    .popup-btn.primary .m-text { display: inline !important; }
    
    /* Ajuste extra de brilho para mobile (opcional) */
    .popup-btn.primary {
        box-shadow: 0 0 10px rgba(157, 0, 255, 0.4) !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .cta-primary {
        /* No mobile o brilho costuma parecer mais forte, então reduzimos um pouco mais */
        box-shadow: 0 0 10px rgba(157, 0, 255, 0.3) !important;
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }

    .hero-content {
        width: 100% !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Centraliza o conteúdo dentro do box */
        padding: 40px 20px !important;
    }

    .member-content-wrapper {
        margin-top: 0 !important; /* Remove margens que empurram para baixo */
        width: 100% !important;
    }

    /* 2. CORREÇÃO DAS FONTES (VOLTANDO PARA BRANCO) */
    .input-group label {
        color: #ffffff !important; /* Força as labels a serem brancas no mobile */
        font-size: 0.8rem !important;
        text-shadow: none !important;
    }

    .input-field {
        color: #ffffff !important; /* Garante que o texto digitado seja branco */
        border: 1px solid rgba(157, 0, 255, 0.4) !important; /* Mantém apenas a borda roxa */
    }

    .form-container h2 {
        color: #ffffff !important;
        text-shadow: 0 0 10px rgba(157, 0, 255, 0.5) !important;
    }

    .form-container p {
        color: #bda0c7 !important; /* Texto cinza claro para descrição */
    }

    /* 3. AJUSTE DO BOTÃO VIP NO MOBILE */
    .member-welcome-text {
        font-size: 1.8rem !important;
        color: #ffffff !important;
    }

    .d-text { display: none !important; }
    .m-text { display: inline !important; }
}

/* Botão Roxo Padrão */
.btn-glow {
    /* ... outras propriedades mantidas ... */
    background: var(--gradient-btn);
    /* Diminuindo a opacidade e o alcance da sombra */
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glow:hover {
    transform: scale(1.05);
    /* Brilho no hover mais contido */
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.6); 
}

/* Botão Roxo de Login/Token */
.btn-glow-purple {
    /* ... outras propriedades mantidas ... */
    box-shadow: 0 0 12px rgba(157, 0, 255, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.05);
    animation: pulseGlowEliteSutil 3s infinite ease-in-out;
}

.btn-glow-purple:hover {
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes pulseGlowEliteSutil {
    0% { box-shadow: 0 0 10px rgba(157, 0, 255, 0.3); }
    50% { box-shadow: 0 0 18px rgba(157, 0, 255, 0.5); }
    100% { box-shadow: 0 0 10px rgba(157, 0, 255, 0.3); }
}

.btn-member-area {
    /* ... outras propriedades mantidas ... */
    background: #bd00ff;
    /* Sombra reduzida de 30px para 12px */
    box-shadow: 0 0 12px rgba(189, 0, 255, 0.3); 
}

.btn-member-area:hover {
    transform: scale(1.05);
    /* Sombra no hover reduzida de 50px para 25px */
    box-shadow: 0 0 25px rgba(189, 0, 255, 0.5); 
}

/* Botão Principal do Popup e outros botões Glow */
.popup-btn.primary, .btn-glow {
    background: var(--gradient-btn);
    color: white;
    /* Brilho reduzido: de 20px para 8px e opacidade de 0.8 para 0.4 */
    box-shadow: 0 0 8px rgba(157, 0, 255, 0.4); 
    transition: all 0.3s ease;
}

.popup-btn.primary:hover, .btn-glow:hover {
    transform: translateY(-2px);
    /* Brilho no hover contido: de 30px para 15px */
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.6); 
}

/* Botão Roxo de Login/Token (Sucesso) */
.btn-glow-purple {
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
    animation: pulseGlowEliteSutil 3s infinite ease-in-out;
}

@keyframes pulseGlowEliteSutil {
    0% { box-shadow: 0 0 8px rgba(157, 0, 255, 0.3); }
    50% { box-shadow: 0 0 15px rgba(157, 0, 255, 0.5); }
    100% { box-shadow: 0 0 8px rgba(157, 0, 255, 0.3); }
}

/* Botão Principal da Home */
.cta-primary {
    background: linear-gradient(45deg, #ff0080, #9d00ff);
    color: white;
    /* Brilho reduzido: de 30px para 12px e opacidade de 0.5 para 0.3 */
    box-shadow: 0 0 12px rgba(157, 0, 255, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1); 
    position: relative;
    z-index: 2;
    /* Usando a animação sutil */
    animation: pulse-btn-sutil 3s infinite ease-in-out; 
}

.cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    /* Brilho no hover reduzido: de 60px para 25px */
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.6); 
    letter-spacing: 3px;
}

@keyframes pulse-btn-sutil {
    0% { box-shadow: 0 0 12px rgba(157, 0, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.5); }
    100% { box-shadow: 0 0 12px rgba(157, 0, 255, 0.3); }
}

@media screen and (max-width: 1024px) {
    /* 1. Container de cabeçalho do Player */
    #view-lesson-grid > div:first-child {
        display: flex !important;
        flex-direction: column !important; /* Empilha na ordem Título -> Botão */
        align-items: center !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
        width: 100% !important;
    }

    /* 2. TÍTULO NO TOPO (Item 1) */
    #moduleTitleHeader {
        order: 1 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        font-size: 1.5rem !important;
        text-align: center !important;
        line-height: 1.2;
        width: 100%;
    }

    /* 3. BOTÃO VOLTAR LOGO ABAIXO DO TÍTULO (Item 2) */
    .btn-back-modules {
        order: 2 !important;
        width: auto !important;
        min-width: 240px;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    /* 4. GRID DE CARDS ABAIXO (Item 3) */
    #videoGrid {
        order: 3 !important;
        margin-top: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Ajuste extra para os cards não ficarem gigantes */
    .lesson-card {
        width: 100% !important;
        min-height: auto !important;
    }
}

/* --- CSS PARA O MENU DE CURSOS (VERTICAL) --- */

/* 1. Container que força o layout "Um em Cima, Outro em Baixo" */
.vertical-stack-container {
    display: flex;
    flex-direction: column; /* Pilha vertical */
    gap: 20px; /* Espaço entre os botões */
    width: 100%;
}

/* 2. Visual do Botão (Idêntico ao Menu Principal) */
.menu-card {
    background: rgba(20, 0, 40, 0.6); /* Fundo Escuro Glass */
    border: 1px solid var(--container-border); /* Borda padrão do tema */
    border-radius: 12px;
    padding: 25px 20px;
    
    display: flex;       /* Alinha ícone e texto lado a lado */
    align-items: center;
    gap: 20px;
    
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    width: 100%; /* Garante que estique na caixa */
}

/* 3. Efeito Hover (Ao passar o mouse) */
.menu-card:hover {
    background: rgba(153, 51, 255, 0.15);
    border-color: var(--accent-primary); /* Brilha na cor Neon */
    transform: translateY(-5px); /* Sobe levemente */
    box-shadow: 0 5px 20px rgba(111, 0, 255, 0.25); /* Sombra Neon */
}

/* 4. Estilo do Ícone Quadrado */
.card-icon {
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* Impede que o ícone esmague */
}

/* 5. Estilo dos Textos */
.card-text {
    flex: 1;
    text-align: left;
}

.card-text h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-text p {
    color: #bbb; /* Cinza claro */
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* --- TRAVAMENTO DE DIMENSÕES (ABA PRODUTOS) --- */
#abaProdutosGrid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
}

.card-gemeo-curso {
    width: 380px !important;      /* Largura exata */
    min-width: 380px !important;
    max-width: 380px !important;
    height: 580px !important;     /* Altura fixa */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.card-gemeo-curso .module-list-container {
    flex-grow: 1;
    overflow-y: auto;
    margin: 15px 0;
}

/* --- CORREÇÃO DE DIMENSÃO PARA ABA PRODUTOS --- */
#abaProdutosGrid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* Centraliza o card se houver apenas um */
    gap: 30px !important;
    padding: 20px 0;
}

/* Classe para clonar o tamanho exato da aba Cursos */
.card-formato-curso {
    width: 380px !important;      /* Largura fixa igual ao curso */
    min-width: 380px !important;
    max-width: 380px !important;
    
    height: 580px !important;     /* Altura fixa para manter o padrão */
    min-height: 580px !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 !important;
}

/* Garante que a lista interna não estique o card */
.card-formato-curso .module-list-container {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 280px;
    margin: 15px 0;
    padding-right: 5px;
}

/* Scrollbar fina para a lista interna */
.card-formato-curso .module-list-container::-webkit-scrollbar { width: 4px; }
.card-formato-curso .module-list-container::-webkit-scrollbar-thumb { background: #00ff88; border-radius: 4px; }

/* --- CENTRALIZAÇÃO VERTICAL PERFEITA --- */
.card-formato-curso {
    width: 380px !important;
    height: 580px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    overflow: hidden;
}

/* O conteúdo do corpo ocupa todo o espaço restante abaixo do preço */
.card-formato-curso .card-body-content {
    flex: 1 !important; 
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    /* justify-content: space-between garante o botão no fim e a lista flutuando */
    justify-content: space-between !important; 
}

/* O "Quadrado" de módulos agora flutua no centro do espaço disponível */
.card-formato-curso .module-list-container {
    margin: auto 0 !important; /* MÁGICA: Centraliza verticalmente no espaço vazio */
    max-height: 220px !important; /* Altura controlada para não empurrar o botão */
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* --- AJUSTE DE ESPAÇAMENTO: ABA CURSOS --- */
#productsGrid, .grid-cursos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* Mantém o bloco todo centralizado na tela */
    gap: 15px !important; /* O SEGREDO: Reduzi o espaço entre os cards para 15px */
    padding: 20px 0 !important;
}

/* --- REGRA NUCLEAR COMPLETA (LINHA E ESPAÇAMENTO) --- */
    
    /* 1. OBRIGA OS GRIDS A USAREM ESPAÇO PEQUENO */
    #productsGrid, 
    #abaProdutosGrid, 
    .grid-cursos {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important; /* Força bruta: apenas 15px de espaço */
        padding: 20px 0 !important;
    }

    /* 2. OBRIGA O CARD A ESTICAR E NÃO QUEBRAR LINHA */
    .glass-card, 
    .card-formato-curso,
    div[class*="card-formato"] {
        width: fit-content !important; /* Estica conforme o conteúdo */
        min-width: 380px !important;
        max-width: 90vw !important;
        margin: 0 !important; /* Remove margens externas que afastam os cards */
    }

    /* 3. TÍTULO NUNCA QUEBRA */
    .card-highlight-header h3,
    .card-title-animated h3,
    .text-scan-effect {
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* 4. AJUSTE DE SEGURANÇA NO CABEÇALHO */
    .card-highlight-header {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-bottom: 60px !important; /* Mantém o respiro interno */
    }
	
	/* --- REGRA NUCLEAR 2: ALINHAMENTO DOS MÓDULOS NO TOPO --- */

    /* 1. O Corpo do Card: Começa do topo, não espalha mais */
    .card-body-content {
        justify-content: flex-start !important; /* Manda tudo pro teto */
        gap: 20px !important; /* Espaço mínimo entre os itens */
    }

    /* 2. O Box de Módulos: Remove a centralização */
    .module-list-container {
        margin: 0 !important; /* Remove o 'auto' que centralizava */
        width: 100% !important;
        flex-grow: 0 !important; /* Não deixa ele tentar ocupar espaço extra à toa */
    }

    /* 3. A Mágica do Rodapé: Empurra Cupom e Botão para o fundo */
    .coupon-wrapper {
        margin-top: auto !important; /* Isso empurra o cupom (e o botão abaixo dele) pro final */
        width: 100% !important;
    }

    /* Caso o produto não tenha cupom, o botão se empurra sozinho */
    .btn-buy-green {
        margin-top: auto !important; /* Se não tiver cupom, o botão desce sozinho */
    }
	
	
	/* --- REGRA NUCLEAR 3: ALINHAMENTO PERFEITO (Módulos Topo / Cupom+Botão Fundo) --- */

    .card-body-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Começa do topo */
        padding-bottom: 30px !important; /* Garante espaço no fim */
    }

    .module-list-container {
        width: 100% !important;
        margin: 0 !important; 
        
        /* O SEGREDO ESTÁ AQUI: */
        /* Dizemos para a caixa de módulos: "Use todo o espaço vazio ABAIXO de você" */
        /* Isso empurra o Cupom e o Botão para o final do card */
        margin-bottom: auto !important; 
    }

    /* O Cupom agora não empurra mais nada, ele só obedece o empurrão de cima */
    .coupon-wrapper {
        margin-top: 20px !important; /* Um pequeno respiro da lista, se ela estiver cheia */
        margin-bottom: -5px !important; /* Cola no botão de baixo */
        width: 100% !important;
    }

    /* O Botão fica fixo no fim */
    .btn-buy-green {
        margin-top: 0 !important; /* Não precisa mais de auto, o módulo já empurrou ele */
    }
	
	/* --- REGRA NUCLEAR SUPREMA: ALINHAMENTO TOPO --- */

    /* 1. OBRIGA o corpo do card a alinhar tudo NO TOPO */
    .card-body-content, 
    .glass-card .card-body-content,
    .card-formato-curso .card-body-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* ISSO É O SEGREDO: Começa do topo */
        gap: 15px !important; /* Distância entre a lista e o próximo item */
        height: 100% !important;
    }

    /* 2. A LISTA DE MÓDULOS: Cola no topo e empurra o resto */
    .module-list-container {
        order: 1 !important; /* Posição 1: Topo */
        margin-top: 0 !important; /* Cola no título */
        margin-bottom: auto !important; /* A MÁGICA: Empurra o botão lá pro fundo */
        flex-grow: 0 !important; /* Não deixa a caixa esticar sozinha */
        width: 100% !important;
    }

    /* 3. O CUPOM: Fica logo acima do botão */
    .coupon-wrapper {
        order: 2 !important;
        margin-top: 20px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    /* 4. O BOTÃO: Fica preso no fundo */
    .btn-buy-green {
        order: 3 !important;
        margin-top: 10px !important;
        flex-shrink: 0 !important; /* Garante que o botão não encolha */
    }
	
	/* --- REGRA DE OURO: ORDEM DOS ELEMENTOS --- */

    /* 1. O Corpo do Card: Organiza em coluna, começando do topo */
    .card-body-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 20px !important; /* Um pequeno espaço da linha do título */
    }

    /* 2. MÓDULOS: Ordem -1 (Sempre Primeiro/Topo) */
    .module-list-container {
        order: -1 !important; /* Força bruta para ir para o topo */
        margin-top: 0 !important;
        margin-bottom: auto !important; /* Empurra o botão para o fundo */
        width: 100% !important;
    }

    /* 3. CUPOM: Ordem 0 (Fica no meio, depois dos módulos) */
    .coupon-wrapper {
        order: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 5px !important;
        width: 100% !important;
    }

    /* 4. BOTÃO: Ordem 99 (Sempre Último/Fundo) */
    .btn-buy-green {
        order: 99 !important; /* Força bruta para ir para o final */
        margin-top: 0 !important;
    }
	
	/* --- ATUALIZAÇÃO: CAIXA DE MÓDULOS MAIOR (ATÉ A LINHA VERMELHA) --- */

/* --- CORREÇÃO DE LIMITE: NÃO EMPURRAR O BOTÃO --- */

.module-list-container {
    order: -1 !important; 
    margin-top: 0 !important;
    margin-bottom: auto !important; 
    
    width: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* CORREÇÃO: Reduzido de 520px para 420px */
    /* Isso impede que o botão seja empurrado para fora do card */
    max-height: 420px !important; 
    overflow-y: auto !important; 
}

/* --- ESTILO CYBERPUNK: BOTÃO ROXO E MODAL --- */

/* --- ATUALIZAÇÃO: BOTÃO SAIBA MAIS (VERDE CYBERPUNK) --- */

/* --- ATUALIZAÇÃO: BOTÃO SAIBA MAIS (VERDE PULSANTE) --- */

/* 1. Criamos a animação de "Respiração/Pulso" */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        box-shadow: 0 0 15px 10px rgba(0, 255, 136, 0); /* Expande a sombra e desaparece */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

/* 2. Estilo do Botão */
.btn-saiba-mais {
    /* Fundo Verde Neon (Gradiente sutil para profundidade) */
    background: linear-gradient(90deg, #00bd68, #00ff88);
    
    /* Fonte PRETA (Para contraste máximo) */
    color: #000000 !important; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none; /* Remove sombra do texto para ficar nítido */
    
    border: none;
    padding: 12px 0;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 10px;
    
    /* APLICA A ANIMAÇÃO QUE CRIAMOS ACIMA */
    animation: pulseGreen 2s infinite;
    
    transition: all 0.3s ease;
    order: 99 !important;
}

.btn-saiba-mais:hover {
    background: linear-gradient(90deg, #00ff88, #33ff99); /* Fica mais claro ao passar o mouse */
    transform: scale(1.02); /* Aumenta levemente */
    color: #000 !important;
}

/* --- PACOTE VISUAL DO MODAL (TEMA VERDE/BRANCO) --- */

/* 1. Animação Verde Exclusiva */
@keyframes scanGreen {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --- CSS DO MODAL (TEMA VERDE/BRANCO - SEM ANIMAÇÃO NO TÍTULO) --- */

/* 1. Estrutura do Modal */
.cyber-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.cyber-modal-overlay.active { opacity: 1; visibility: visible; }

.cyber-modal-content {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid rgba(0, 255, 136, 0.3); /* Borda Verde Sutil */
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15), inset 0 0 20px rgba(0,0,0,0.8);
    padding: 40px; border-radius: 20px; width: 90%; max-width: 500px;
    text-align: center; position: relative;
    transform: translateY(50px); transition: transform 0.3s ease;
}
.cyber-modal-overlay.active .cyber-modal-content { transform: translateY(0); }

/* 2. TÍTULO: Branco Sólido */
.modal-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    text-align: center !important;
    
    /* DEFINIÇÃO DE COR SIMPLES */
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3); /* Leve brilho verde opcional */
    animation: none !important; /* Garante que nada se mexa */
}

/* Garante que se a classe 'text-scan-effect' vier do JS, ela seja anulada aqui dentro */
.cyber-modal-content .text-scan-effect {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    animation: none !important;
}

/* 3. LABELS: Branco */
.modal-label {
    color: #ffffff !important; 
    font-size: 0.9rem; font-weight: bold; text-transform: uppercase;
    display: block; margin-bottom: 5px; opacity: 0.9;
}

/* 4. VALORES: Verde Neon */
.modal-value {
    color: #00ff88;
    font-size: 1.1rem; font-weight: 300;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.4);
}

.modal-info-row {
    margin-bottom: 15px; text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}

/* Botão Fechar */
.modal-close {
    position: absolute; top: 15px; right: 20px; color: #fff;
    font-size: 24px; cursor: pointer; transition: 0.3s;
}
.modal-close:hover { color: #00ff88; }

/* --- ESTILO DEFINITIVO DOS CARDS (GRID E ALINHAMENTO) --- */

/* 1. O GRID (Conteiner dos Cards) */
#productsGrid, 
#abaProdutosGrid, 
.grid-cursos {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; /* Cria colunas automáticas */
    gap: 25px !important;
    padding: 20px 10px !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

