:root {
    --adev-primary: #8a2be2; /* BlueViolet */
    --adev-secondary: #00d4ff; /* Cyan */
    --adev-dark: #0b0c15; /* Casi negro */
    --adev-surface: #161b2e; /* Azul oscuro profundo */
    --adev-accent: #ff0055; /* Radical Red */
    --adev-text: #e0e6ed;
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: var(--adev-text); 
    background-color: var(--adev-dark);
    overflow-x: hidden; 
}

#particles-js { position: fixed; width: 100%; height: 100%; z-index: -1; background-color: var(--adev-dark); }
.navbar { 
    background-color: rgba(11, 12, 21, 0.95) !important; 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-section{
    background: linear-gradient(to bottom, rgba(11,12,21,0), var(--adev-dark)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    padding: 160px 0 120px; 
    color: #fff; 
    position: relative;
}
.hero-section h1 {
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Modern Premium Dark Card Design */
.card {
    border: 1px solid rgba(255,255,255,0.05); /* Sutil borde */
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(22, 27, 46, 0.7); /* Surface color with opacity */
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: var(--adev-text);
}
.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4); /* Glow effect */
    border-color: rgba(138, 43, 226, 0.5);
    z-index: 10;
}
.card-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.card-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(22, 27, 46, 0.9));
}
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-img-container img {
    transform: scale(1.1);
}

/* Card Text Fixes */
.card-header {
    position: relative;
    background: transparent;
    padding: 1.2rem 1.2rem 0;
    border: none;
    z-index: 2;
}
.card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.card-body {
    padding: 1.2rem;
    z-index: 2;
    position: relative;
}

.course-desc {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #b0c4de;
}
.course-desc li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}
.course-desc li::before {
    content: '>';
    color: var(--adev-secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-family: monospace;
}

.btn-adev {
    background: linear-gradient(90deg, var(--adev-primary), #6021a3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px; /* Less rounded for gamer look */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.btn-adev:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--adev-primary);
    color: #fff;
    border-color: #fff;
}

.section-title {
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--adev-secondary);
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--adev-secondary);
}

/* Video Section & Media Box */
.media-box {
    background: rgba(22, 27, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.media-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    font-weight: 600;
    color: var(--adev-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bg-dark-custom {
    background-color: transparent; /* Changed: Let particles show through */
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #25d366;
}

.section {
    position: relative;
    z-index: 1;
}

@keyframes gameFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(-120vh) translateX(80vw) rotate(720deg); }
}

/* --- EXTRACTED FROM INDEX.PHP --- */
body {
    overflow-x: hidden;
}

/* --- FLASH OVERLAY --- */
#flash-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: white;
    z-index: 9999; 
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
}

/* --- INTRO OVERLAY --- */
#intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #050505;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
#intro-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
#play-btn-container {
    position: relative;
    z-index: 10001;
    text-align: center;
}
.play-btn {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00d4ff;
    color: #00d4ff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 1rem auto;
}
.play-btn:hover {
    background: #00d4ff;
    color: #050505;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
    transform: scale(1.1);
}
.play-ripple {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 1px solid #00d4ff;
    animation: ripple 2s linear infinite;
    pointer-events: none;
}
@keyframes ripple {
    0% { width: 100px; height: 100px; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

#bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.text-glow {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.hero-title-wrapper { opacity: 0; }

.reveal, .hero-element { visibility: hidden; }

.card-3d-container { perspective: 1000px; }
.card-3d { transform-style: preserve-3d; }

.hero-overlay {
    background: radial-gradient(circle at center, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.95) 100%);
}

.letter {
    display: inline-block;
    line-height: 1em;
    transform-origin: center center;
    backface-visibility: hidden;
    position: relative; 
}

/* Responsive Title Text */
.responsive-title-text {
    font-size: clamp(1.8rem, 5vw, 5rem);
    line-height: 1.1;
    word-wrap: normal;
    overflow-wrap: normal;
    white-space: nowrap; 
}

