* { margin: 0; padding: 0; box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

/* Ocultar barra do Google Translate */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.goog-te-spinner-pos,
.goog-te-spinner,
img[src*="translate.google.com"],
img[src*="translate.googleapis.com"],
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.skiptranslate,
#goog-gt-tt,
.goog-te-gadget,
.goog-te-menu-value span,
.goog-te-menu-value,
.goog-te-gadget-simple,
.goog-te-menu2,
.goog-te-menu2-item,
.goog-te-menu2-item div,
.goog-te-menu2-item:link,
.goog-te-menu2-item:visited,
.goog-te-menu2-item:active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

body {
    top: 0px !important;
    position: static !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh; overflow: hidden;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 25%, #00ff88 50%, #00c6ff 75%, #0072ff 100%);
    background-size: 400% 400%; animation: gradientMove 10s ease infinite;
    margin-top: 0px !important;
}

body.translated-ltr {
    top: 0px !important;
    margin-top: 0px !important;
}

.translated-ltr {
    margin-top: 0px !important;
}

iframe.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
    height: 0px !important;
    width: 0px !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    padding: 10px 15px; display: flex; align-items: center;
    justify-content: space-between; z-index: 1000;
}

.header h1 { color: white; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 28px; height: 28px; }
.header-right { display: flex; gap: 8px; }

.icon-btn {
    width: 35px; height: 35px; background: rgba(255,255,255,0.1);
    border: none; border-radius: 50%; color: white; font-size: 16px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    position: relative;
}

.icon-btn:hover { background: rgba(255,255,255,0.2); }

.notif-badge {
    position: absolute; top: -5px; right: -5px; background: #667eea;
    color: white; border-radius: 50%; min-width: 18px; height: 18px;
    font-size: 11px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; padding: 0 4px;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-12deg); }
    20%, 40%, 60%, 80% { transform: rotate(12deg); }
}

.bell-shake { animation: bellShake 0.6s ease-in-out infinite; }

.profile-pic {
    width: 35px; height: 35px; border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer; border: 2px solid white; overflow: hidden;
}

.content { position: absolute; top: 60px; bottom: 180px; left: 0; right: 0; overflow-y: auto; padding: 0 0 20px 0; }

.profiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 15px; }

.profile-card { display: flex; flex-direction: column; align-items: center; cursor: pointer; }

.profile-circle {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: white; margin-bottom: 8px;
    border: 3px solid white; overflow: hidden;
}

.profile-circle img, .profile-circle video { width: 100%; height: 100%; object-fit: cover; }

.profile-name {
    font-size: 13px; font-weight: 600; color: white; text-align: center;
    max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.ad-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 180px !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999 !important;
    overflow: hidden !important;
}

.ad-content { color: white; text-align: center; width: 100%; height: 100%; }

.screen {
    background: transparent;
    border-radius: 0;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.screen.full-width {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.screen h2 { color: white; }
.screen p { color: rgba(255,255,255,0.9); }

.btn {
    width: 100%; padding: 15px; background: #667eea; color: white;
    border: none; border-radius: 10px; font-size: 16px; font-weight: 700;
    cursor: pointer; margin-bottom: 10px;
}

.btn-secondary { background: #6c757d; }

.input-group { margin-bottom: 20px; background: white; padding: 15px; border-radius: 10px; }
.input-group label { display: block; color: #666; font-size: 14px; margin-bottom: 8px; font-weight: 600; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 12px; border: 2px solid #e5e7eb;
    border-radius: 8px; font-size: 16px; background: #f9fafb;
}

.char-count { text-align: right; font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 5px; }

.media-preview {
    display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; margin-bottom: 20px;
}

.media-item {
    min-width: 100px; height: 100px; border-radius: 8px; overflow: hidden;
    cursor: pointer; position: relative; background: rgba(255,255,255,0.1);
}

.media-item img, .media-item video { width: 100%; height: 100%; object-fit: cover; }

.media-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95); z-index: 3000; align-items: center; justify-content: center;
}

.media-overlay.active { display: flex; }
.media-overlay img, .media-overlay video { max-width: 90%; max-height: 90%; }

.close-overlay {
    position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.2);
    border: none; color: white; font-size: 30px; width: 50px; height: 50px;
    border-radius: 50%; cursor: pointer;
}

.upload-btn {
    width: 100%; padding: 15px; background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.5); border-radius: 10px;
    color: white; cursor: pointer; text-align: center; margin-bottom: 10px;
}

.upload-btn:hover { background: rgba(255,255,255,0.3); }
.file-input { display: none; }


@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#pullIndicator {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.3s ease;
    z-index: 9999;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.media-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.media-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.media-item img, .media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn {
    background: #667eea;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
}

.file-input {
    display: none;
}


.media-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.media-overlay.active {
    display: flex;
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
}

#mediaOverlayContent {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}


.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-alert-overlay.show {
    opacity: 1;
}

.custom-alert-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
