/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111827;
}

/* Layout principal */
.main-container {
    min-height: 100dvh;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

/* Grid background */
.grid-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* Animación de fondo */
.background-animation {
    position: absolute;
    inset: 0;
}

.pulse-dots {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.float-dots {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.pulse-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #60a5fa;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.floating-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #06b6d4;
    border-radius: 50%;
    animation: floating 3s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-5px) translateX(-5px);
        opacity: 1;
    }

    75% {
        transform: translateY(-15px) translateX(3px);
        opacity: 0.5;
    }
}

/* Container principal */
.container {
    max-width: 384px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 20;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 16px;
    opacity: 0;
}

.header-content {
    margin-bottom: 16px;
    background-color: white;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 4px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-title {
    font-size: 2rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 0px;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.subtitle {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Total de seguidores */
.total-followers {
    text-align: center;
    margin-bottom: 16px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.followers-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.followers-icon {
    width: 20px;
    height: 20px;
    color: #2563eb;
}

.followers-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

.total-counter {
    font-size: 1.5rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.followers-text {
    color: #6b7280;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Enlaces sociales */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: block;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    opacity: 0;
}

.social-link:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.01);
}

.social-link-content {
    display: flex;
    align-items: center;
    height: 56px;
}

.social-icon-container {
    width: 56px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: white;
}

/* Colores de redes sociales - SOLO para el contenedor del icono */
.social-icon-container.youtube {
    background-color: #ef4444;
}

.social-icon-container.instagram {
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
}

.social-icon-container.tiktok {
    background-color: #000000;
}

.social-icon-container.facebook {
    background-color: #2563eb;
}

.social-icon-container.twitter {
    background-color: #00acee;
}

.social-icon-container.bluesky {
    background-color: #60a5fa;
}

.social-icon-container.twitch {
    background-color: #6441a5;
}

.social-icon-container.discord {
    background-color: #7289da;
}

.social-icon-container.whatsapp {
    background-color: #22c55e;
}

.social-icon-container.telegram {
    background-color: #3b82f6;
}

.social-info {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}

.platform-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
}

.platform-handle {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
}

.followers-info {
    text-align: right;
    flex-shrink: 0;
    padding: 0 8px;
}

.follower-count {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

.followers-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    padding-top: 16px;
}

.footer p {
    font-family: 'Inter', sans-serif;
}

/* Animaciones */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.animate-pulse-custom {
    animation: pulse-custom 1s ease-in-out;
}

@keyframes pulse-custom {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.opacity-0 {
    opacity: 0;
}

/* Media Queries - Responsive Design */
@media (min-width: 640px) {
    .container {
        max-width: 448px;
        padding: 32px;
    }

    .header {
        margin-bottom: 20px;
    }

    .header-content {
        margin-bottom: 20px;
        padding: 16px 24px;
    }

    .logo-container {
        width: 96px;
        height: 96px;
        margin-bottom: 6px;

    }

    .main-title {
        font-size: 2.5rem;
        margin-bottom: 0px;
        line-height: 1;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .total-followers {
        margin-bottom: 20px;
        padding: 24px;
    }

    .followers-header {
        gap: 12px;
        margin-bottom: 6px;
    }

    .followers-icon {
        width: 24px;
        height: 24px;
    }

    .followers-title {
        font-size: 1.25rem;
    }

    .total-counter {
        font-size: 1.875rem;
        margin-bottom: 4px;
        line-height: 1;
    }

    .social-links {
        gap: 10px;
    }

    .social-link-content {
        height: 64px;
    }

    .social-icon-container {
        width: 64px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .social-info {
        padding: 0 12px;
    }

    .platform-name {
        font-size: 1rem;
    }

    .platform-handle {
        font-size: 0.875rem;
    }

    .followers-info {
        padding: 0 12px;
    }

    .follower-count {
        font-size: 1rem;
    }

    .footer {
        font-size: 0.875rem;
        padding-top: 20px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 576px;
        padding: 48px;
    }

    .main-title {
        font-size: 3rem;
        line-height: 1;
    }

    .total-counter {
        font-size: 2.25rem;
        line-height: 1;
    }
}