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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #06b6d4 0%, #f59e0b 50%, #f97316 100%);
    min-height: 100vh;
    padding: 20px;
}

.gerador-nick-ff-container {
    max-width: 1400px;
    margin: 0 auto;
}

.nick-input-section {
    margin-bottom: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2), 0 15px 40px rgba(6, 182, 212, 0.15);
    animation: slideDown 0.6s ease;
    border: 3px solid transparent;
    background-image: 
        linear-gradient(145deg, #ffffff, #f0fdfa),
        linear-gradient(135deg, #06b6d4, #f97316);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    position: relative;
}

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

.nick-input {
    width: 100%;
    min-height: 90px;
    padding: 35px 40px 25px 40px;
    font-size: 20px;
    border: none;
    border-bottom: 3px solid #e2e8f0;
    background: transparent;
    resize: none;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0f172a;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.nick-input::placeholder {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.nick-input:hover {
    border-bottom-color: #06b6d4;
}

.nick-input:focus {
    outline: none;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #06b6d4, #f97316) 1;
}

.nick-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 25px 40px 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%);
    border-top: 2px solid rgba(6, 182, 212, 0.1);
}

.nick-stats span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nick-stats strong {
    background: linear-gradient(135deg, #06b6d4, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.share-section {
    margin-bottom: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.share-section strong {
    background: linear-gradient(135deg, #06b6d4, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.category-section {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease;
}

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

.category-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    padding: 22px 35px;
    border-radius: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 6px solid #06b6d4;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.style-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.style-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #06b6d4 0%, #f59e0b 50%, #f97316 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.style-item:hover::before {
    transform: scaleX(1);
}

.style-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25), 0 10px 30px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
}

.style-name {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 18px 0;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.style-result {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%);
    padding: 20px;
    border-radius: 16px;
    font-size: 24px;
    min-height: 90px;
    word-wrap: break-word;
    word-break: break-word;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Arial Unicode MS', Arial, sans-serif;
    border: 2px solid rgba(6, 182, 212, 0.15);
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.style-item:hover .style-result {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.1);
}

.copy-btn {
    width: 100%;
    padding: 14px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #0891b2 0%, #ea580c 100%);
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
}

.end-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 24px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.end-message p {
    font-size: 22px;
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 18px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .styles-grid {
        grid-template-columns: 1fr;
    }
    
    .nick-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .nick-input-section,
    .share-section {
        padding: 25px;
    }
    
    .style-item {
        padding: 20px;
    }
    
    .category-title {
        font-size: 24px;
        padding: 18px 25px;
    }
}