* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #c84b8a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.1);
}

.bubble:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    font-size: 80px;
    color: #667eea;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #c84b8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.link-card:hover::before {
    left: 0;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.link-card.telegram {
    background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
}

.link-card.whatsapp {
    background: linear-gradient(135deg, #c84b8a 0%, #a8305e 100%);
}

.link-icon {
    font-size: 40px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-content h2 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.link-content p {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 400;
}

.arrow {
    font-size: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(5px);
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 13px;
}

/* Responsividade - Tablet */
@media (max-width: 768px) {
    .content {
        padding: 30px 20px;
    }

    .avatar {
        width: 110px;
        height: 110px;
        border-width: 4px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 15px;
    }

    .link-card {
        padding: 18px;
    }

    .link-icon {
        width: 50px;
        height: 50px;
        font-size: 35px;
    }

    .link-content h2 {
        font-size: 16px;
    }

    .link-content p {
        font-size: 12px;
    }
}

/* Responsividade - Mobile */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        max-width: 100%;
    }

    .content {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .header {
        margin-bottom: 30px;
    }

    .avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
        border-width: 4px;
    }

    .title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 14px;
    }

    .links-section {
        gap: 12px;
        margin-bottom: 20px;
    }

    .link-card {
        padding: 15px;
        border-radius: 12px;
    }

    .link-icon {
        width: 45px;
        height: 45px;
        font-size: 30px;
        margin-right: 15px;
    }

    .link-content h2 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .link-content p {
        font-size: 11px;
    }

    .arrow {
        font-size: 18px;
        margin-left: 10px;
    }

    .footer {
        font-size: 12px;
        padding-top: 15px;
    }

    .bubble:nth-child(1) {
        width: 60px;
        height: 60px;
        top: 5%;
        left: 5%;
    }

    .bubble:nth-child(2) {
        width: 100px;
        height: 100px;
        bottom: 10%;
        right: 5%;
    }

    .bubble:nth-child(3) {
        width: 50px;
        height: 50px;
        bottom: 5%;
        left: 40%;
    }
}

/* Responsividade - Mobile Pequeno */
@media (max-width: 360px) {
    .content {
        padding: 20px 12px;
    }

    .avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
        margin-bottom: 12px;
    }

    .title {
        font-size: 22px;
    }

    .link-card {
        padding: 12px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        font-size: 25px;
        margin-right: 12px;
    }

    .link-content h2 {
        font-size: 15px;
    }

    .link-content p {
        font-size: 10px;
    }
}

/* Efeitos JavaScript */

/* Ripple Effect */
.ripple, .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animação de entrada */
.link-card {
    position: relative;
    overflow: hidden;
}

.animate-in {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    }

    body.dark-mode .content {
        background: rgba(30, 30, 30, 0.95);
        color: #f0f0f0;
    }

    body.dark-mode .title {
        color: #f0f0f0;
    }

    body.dark-mode .subtitle {
        color: #b0b0b0;
    }

    body.dark-mode .footer {
        color: #777;
        border-top-color: #444;
    }

    body.dark-mode .link-content h2 {
        color: #fff;
    }

    body.dark-mode .link-content p {
        color: #e0e0e0;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Melhorias de touch */
@media (hover: none) and (pointer: coarse) {
    .link-card:active {
        transform: scale(0.98);
    }

    .link-card:active {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}
