/* =========================================
   SERVICIOS: HERO SECTION & CANVASES
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at center, #1f2833 0%, #0b0c10 100%);
}

#tech-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, var(--bg-dark) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
    position: relative;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }

    h1.h4 {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }

    p.lead {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }
}

.hero-content {
    z-index: 2;
}

/* =========================================
   SERVICIOS: RECITEC MODULE
   ========================================= */
.moneda-3d {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: flotar 3s ease-in-out infinite;
}

.moneda-inner {
    width: 100%;
    height: 100%;
    border: 2px dashed #8b6914;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes flotar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.market-card {
    background: #0f1014;
    border: 1px solid #1f2833;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.market-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.market-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #000;
    font-weight: bold;
    padding: 2px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.resultado-validado {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.resultado-error {
    color: #ff4444;
}

/* =========================================
   SERVICIOS: ESTADISTICAS HUD EFECTO
   ========================================= */
.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00ff88 !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 255, 136, 0.3);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-box h2 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    font-family: 'Arial', sans-serif;
    letter-spacing: -1px;
}

.neon-text {
    color: #fff !important;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
}

/* =========================================
   SERVICIOS: MAPA DARK MODE
   ========================================= */
.map-container {
    height: 100%;
    min-height: 450px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.google-map-dark {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(90%);
    transition: filter 0.3s ease;
}

.map-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 1rem;
    padding: 1rem;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 8px;
    max-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.map-icon-circle {
    background-color: var(--accent) !important;
    color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 0 10px var(--accent);
}

/* =========================================
   SERVICIOS: SOCIAL HUB & CARRUSELES
   ========================================= */
.social-card {
    background-color: #0a0a0a;
    transition: all 0.4s ease;
    z-index: 1;
}

.social-card:hover {
    transform: translateY(-5px);
}

.glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.youtube-glow {
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
}

.youtube-card:hover {
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.youtube-card:hover .glow-bg {
    opacity: 1;
}

.insta-glow {
    background: radial-gradient(circle, rgba(188, 24, 136, 0.15) 0%, transparent 70%);
}

.insta-card:hover {
    border-color: rgba(188, 24, 136, 0.5) !important;
    box-shadow: 0 10px 30px rgba(188, 24, 136, 0.1);
}

.insta-card:hover .glow-bg {
    opacity: 1;
}

.video-mockup img,
.ratio img {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.social-card:hover img {
    transform: scale(1.05);
    opacity: 1 !important;
}

.play-btn {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.youtube-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    color: #ff0000 !important;
}

.feed-item:hover {
    border-color: var(--accent) !important;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.button-overlay-fix {
    background: linear-gradient(to top, #000000 80%, rgba(0, 0, 0, 0) 100%);
    padding-top: 50px;
    z-index: 10;
}

.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    #social-media .col-lg-4 {
        height: 500px !important;
    }
}

.video-thumb {
    position: relative;
    min-width: 160px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.video-thumb:hover {
    border-color: #00ff88;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.video-thumb:hover img {
    filter: brightness(1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.video-thumb:hover .play-overlay {
    opacity: 1;
}

.video-carousel::-webkit-scrollbar {
    height: 6px;
}

.video-carousel::-webkit-scrollbar-track {
    background: #000;
}

.video-carousel::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.video-carousel::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
}

.feed-item {
    height: 120px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feed-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.infinite-scroll-track {
    display: block !important;
    width: 100% !important;
}

.slider {
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    display: flex;
    width: calc(350px * 14);
    animation: scroll 60s linear infinite;
}

.slide {
    height: 100%;
    width: 350px;
    padding: 0 15px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 7));
    }
}

.slide-track:hover {
    animation-play-state: paused;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}