/* Reset e variáveis base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F97B79;
    --secondary-color: #008EA7;
    --secondary-dark: #00558D;
    --background-color: #FFFFFF;
    --text-color: #333;
    --text-light: #666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-color) 0%, #f8f9fa 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* GIF em desenvolvimento */
.dev-gif {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
}

.dev-gif-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
    display: block;
}


/* Container principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem 0;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Conteúdo principal */
.main-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    word-break: break-word;
    hyphens: auto;
}

.hero-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* About section */
.about {
    margin-bottom: 3rem;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Social links */
.social-links {
    margin-bottom: 3rem;
}

.social-links h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
}

.social-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.social-link.instagram:hover {
    border-color: #E4405F;
}

.social-link.youtube:hover {
    border-color: #FF0000;
}

.social-link.whatsapp:hover {
    border-color: #25D366;
}

.social-link.email:hover {
    border-color: var(--secondary-color);
}

.link-icon {
    font-size: 1.8rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Credits */
.credits {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.credits a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.credits a:hover {
    color: var(--secondary-dark);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    /* O h2 agora usa clamp, mas mantemos um valor mínimo para mobile */

    .links-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .social-link {
        padding: 1rem;
    }

    .dev-gif {
        padding: 0.5rem;
    }

    .dev-gif-img {
        max-width: 100%;
        width: 100%;
    }

    /* Esconder contador de visitas em mobile para limpar interface */
    .visit-counter {
        display: none;
    }

    /* Ajustar partículas em mobile */
    .particles-container {
        opacity: 0.7;
    }
}

/* Media query para tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .logo {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .social-links h3 {
        font-size: 1.3rem;
    }

    /* Ajustes adicionais para telas muito pequenas */
    .hero h2 {
        font-size: clamp(1.3rem, 6vw, 2rem);
        line-height: 1.2;
    }
}
