/* CSS Variables - Mobile First */
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --orange-primary: #ff8c00;
    --orange-secondary: #ff7700;
    --orange-light: #ffb347;
    --orange-dark: #cc7000;
}

/* Global Styles - Modern Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    position: relative;
}

/* Glassmorphism Background Elements */
.container::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Header - Modern Design */
.header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 32px 24px;
    text-align: center;
    border-radius: 24px;
    margin: 0 10px 30px 10px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 119, 0, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
}

.header-logo {
    width: 140px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.header-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 6px 20px rgba(255, 140, 0, 0.4));
}

.header h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    opacity: 0.8;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Profile Section - Mobile First */
.profile-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-primary);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 140, 0, 0.4);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.profile-name h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.verified-badge {
    color: #1da1f2;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(29, 161, 242, 0.3));
}

.profile-status {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.profile-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-item i {
    color: var(--orange-primary);
    font-size: 0.9rem;
}

/* Gallery Sections - Mobile First */
.gallery-section {
    margin: 20px 10px;
    background: var(--secondary-bg);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

/* Margem extra para a última galeria (galeria 2) para espaço da notificação */
.gallery-section:last-child {
    margin-bottom: 100px;
}

/* Ajustes da margem para diferentes tamanhos de tela */
@media (max-width: 768px) {
    .gallery-section:last-child {
        margin-bottom: 85px;
    }
    
    /* Profile tablet */
    .profile-section {
        padding: 20px;
        margin-bottom: 28px;
    }
    
    .profile-container {
        gap: 18px;
    }
    
    .avatar-img {
        width: 85px;
        height: 85px;
    }
    
    .online-indicator {
        width: 20px;
        height: 20px;
        bottom: 3px;
        right: 3px;
    }
    
    .profile-name h3 {
        font-size: 1.35rem;
    }
    
    .verified-badge {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-section:last-child {
        margin-bottom: 75px;
    }
    
    /* Profile mobile estilo Instagram */
    .profile-section {
        padding: 20px 16px;
        margin-bottom: 24px;
        border-radius: 16px;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        align-items: center;
    }
    
    .profile-avatar {
        margin-bottom: 8px;
    }
    
    .avatar-img {
        width: 90px;
        height: 90px;
        border: 4px solid var(--orange-primary);
        box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25);
    }
    
    .online-indicator {
        width: 22px;
        height: 22px;
        bottom: 4px;
        right: 4px;
        border: 4px solid white;
    }
    
    .profile-info {
        width: 100%;
        max-width: 280px;
    }
    
    .profile-name {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .profile-name h3 {
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -0.4px;
    }
    
    .verified-badge {
        font-size: 1.3rem;
    }
    
    .profile-status {
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.4;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 20px;
        flex-wrap: nowrap;
    }
    
    .stat-item {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
        text-align: center;
        min-width: 60px;
    }
    
    .stat-item i {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
}

.gallery-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    padding-bottom: 8px;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
    border-radius: 2px;
}

.gallery-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Gallery Tabs - Filter Design */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 10;
    pointer-events: auto;
}

.tab-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.tab-btn span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.tab-btn:hover i {
    transform: scale(1.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    color: white;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active i {
    transform: scale(1.1);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

/* Gallery Grid - Modern Design */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    padding: 0 4px;
}

.media-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Hidden Media - Initially hidden */
.hidden-media {
    display: none;
}

/* Show More Button - SVG Design */
.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 24px auto;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.15);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.show-more-btn:hover::before {
    opacity: 1;
}

.show-more-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 48px rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.4);
}

.show-more-btn:active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 140, 0, 0.2);
}

.show-more-btn svg {
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-more-btn.expanded {
    transform: rotate(45deg);
}

.show-more-btn.expanded svg {
    transform: rotate(-45deg);
}

/* Tailwind-like utilities for the SVG */
.stroke-orange-400 {
    stroke: #fb923c;
}

.fill-none {
    fill: none;
}

.group-hover\:fill-orange-800:hover {
    fill: #9a3412;
}

.group-active\:stroke-orange-200:active {
    stroke: #fed7aa;
}

.group-active\:fill-orange-600:active {
    fill: #ea580c;
}

.group-active\:duration-0:active {
    transition-duration: 0s;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:rotate-90:hover {
    transform: rotate(90deg);
}

.cursor-pointer {
    cursor: pointer;
}

.outline-none {
    outline: none;
}

/* Private Overlay for Gallery 2 - Removido para evitar conflitos */

.media-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.15);
    border-radius: 24px;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video Play Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 8px;
    border-radius: 12px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.media-item:hover .video-overlay {
    opacity: 1;
}

/* Video Preview Styling */
.media-item video {
    transition: all 0.3s ease;
}

.media-item:hover video {
    transform: scale(1.05);
}

/* Private Gallery Modern Blur Effect */
.gallery-private .media-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-private .media-item img,
.gallery-private .media-item video {
    filter: blur(12px) brightness(0.7);
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.gallery-private .media-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 165, 0, 0.2);
}

.gallery-private .media-item:hover img,
.gallery-private .media-item:hover video {
    filter: blur(8px) brightness(0.5);
}

.gallery-private .media-item .private-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 165, 0, 0.9) 0%, 
        rgba(255, 140, 0, 0.8) 50%, 
        rgba(255, 165, 0, 0.9) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    gap: 8px;
    z-index: 2;
    border-radius: 20px;
    text-align: center;
}

.gallery-private .media-item .private-overlay i {
    font-size: 3rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.gallery-private .media-item .private-overlay span {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    line-height: 1;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Telegram CTA - Mobile First */
.telegram-cta {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    margin: 20px 10px;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--orange-dark);
}

.telegram-cta h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.telegram-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.telegram-btn::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.6s ease;
    z-index: 1;
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #006699, #004d73);
}

.telegram-btn:hover::before {
    left: 100%;
}

.telegram-btn span,
.telegram-btn i {
    position: relative;
    z-index: 2;
}

/* Animação automática de brilho */
.telegram-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Modal - Modern Glassmorphism Design */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to { opacity: 1; backdrop-filter: blur(20px); }
}

.modal-content {
    background: transparent;
    padding: 0;
    border-radius: 24px;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes modalSlideIn {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    line-height: 1;
}

.modal-close:hover {
    color: #ff8c00;
    background: rgba(255, 140, 0, 0.2);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 140, 0, 0.3);
}

.modal img,
.modal video {
    max-height: 90vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    display: block;
}

.modal img {
    background: transparent;
}

.modal-media-container {
    position: relative;
    display: inline-block;
}

/* Estilos específicos para controles de vídeo */
.modal video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 24px 24px;
    backdrop-filter: blur(10px);
}

.modal video::-webkit-media-controls-play-button,
.modal video::-webkit-media-controls-volume-slider,
.modal video::-webkit-media-controls-timeline,
.modal video::-webkit-media-controls-current-time-display,
.modal video::-webkit-media-controls-time-remaining-display {
    filter: brightness(1.3);
}

/* Remover botão de download */
.modal video::-webkit-media-controls-download-button {
    display: none;
}

.modal video::-webkit-media-controls-overflow-button {
    display: none;
}

.modal video {
    outline: none;
    border-radius: 24px;
}

/* Media queries para mobile */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal img,
    .modal video {
        max-height: 85vh;
        max-width: 95vw;
        border-radius: 16px;
    }
    

}

@media (max-width: 480px) {
    .modal-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .modal img,
    .modal video {
        max-height: 90vh;
        max-width: 98vw;
        border-radius: 12px;
    }
    

}

/* Media Counter */
.media-counter {
    text-align: center;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    z-index: 1001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip.show {
    opacity: 1;
}

.tooltip i {
    color: var(--warning-orange);
}

/* Additional Styles for Better Contrast */
.gallery-description {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.public-gallery .gallery-description {
  color: var(--text-secondary);
}

.private-gallery .gallery-description {
  color: var(--text-secondary);
  font-style: italic;
}

/* Enhanced CTA Section */
.telegram-cta h3 {
  color: white;
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.telegram-cta p {
  color: white;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .main-title {
        font-size: var(--font-size-2xl);
    }
    
    /* Profile responsivo */
    .profile-section {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .profile-container {
        gap: 16px;
    }
    
    .avatar-img {
        width: 70px;
        height: 70px;
    }
    
    .online-indicator {
        width: 18px;
        height: 18px;
    }
    
    .profile-name h3 {
        font-size: 1.2rem;
    }
    
    .profile-stats {
        gap: 12px;
    }
    
    .header-logo {
        width: 120px;
    }
    
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .telegram-cta {
        padding: var(--spacing-xl);
    }
    
    .cta-title {
        font-size: var(--font-size-lg);
    }
    
    .telegram-btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
    }
    

    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* Media Query Extra para Logo Mobile */
@media screen and (max-width: 600px) {
    .header-logo {
        width: 120px !important;
        height: auto !important;
    }
}

/* Media Queries Específicas para Mobile */
@media (max-width: 480px) {
    /* Header Mobile */
    .header {
        padding: 12px 8px;
    }
    
    .header-logo {
        width: 120px !important;
        margin-bottom: 8px;
    }
    
    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 3px;
    }
    
    .header p {
        font-size: 0.8rem;
    }
    
    /* Gallery Sections Mobile */
    .gallery-section {
        margin: 15px 8px;
        padding: 12px;
        border-radius: 10px;
    }
    
    .gallery-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
    
    .gallery-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    /* Grid Mobile */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        margin-top: 12px;
    }
    
    .media-item {
        border-radius: 6px;
    }
    
    /* Private Gallery Mobile */
    .private-gallery .media-item::after {
        font-size: 0.8rem;
    }
    
    /* Telegram CTA Mobile */
    .telegram-cta {
        margin: 15px 8px;
        padding: 15px 12px;
        border-radius: 10px;
    }
    
    .telegram-cta h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .telegram-cta p {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    /* Show More Button Mobile */
    .show-more-btn {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        margin: 20px auto;
        padding: 0;
        font-size: inherit;
    }
    
    .show-more-btn:hover {
        transform: translateY(-2px) scale(1.05);
    }
    
    .show-more-btn:active {
        transform: translateY(0) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .show-more-btn svg {
        width: 45px;
        height: 45px;
    }
    
    .telegram-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 22px;
    }
    
    /* Modal Mobile */
    .modal {
        padding: 5px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 12px;
        width: 98%;
        border-radius: 10px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 26px;
    }
    

    
    .modal img,
    .modal video {
        max-height: 50vh;
        border-radius: 6px;
    }
    
    .media-counter {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    body {
        font-size: 13px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .header p {
        font-size: 0.75rem;
    }
    
    .gallery-title {
        font-size: 1rem;
    }
    
    .gallery-description {
        font-size: 0.75rem;
    }
    
    /* Grid Extra Small */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
        margin-top: 10px;
    }
    
    .telegram-cta h3 {
        font-size: 1rem;
    }
    
    .telegram-cta p {
        font-size: 0.75rem;
    }
    
    .telegram-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .media-item {
        transition: none;
    }
    
    .media-item:active {
        transform: scale(0.98);
    }
    
    .telegram-btn:active {
        transform: scale(0.98);
    }
    
    .modal-close:active {
        transform: scale(0.95);
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 10px;
    }
    
    .header-logo {
        width: 100px !important;
        margin-bottom: 5px;
    }
    
    .header h1 {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .modal img,
    .modal video {
        max-height: 70vh;
    }
}

/* Mobile Optimizations - Modern Design */
@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .media-item {
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    
    .media-item:hover {
        transform: translateY(-4px) scale(1.01);
        border-radius: 20px;
    }
    
    .show-more-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        margin: 18px auto;
        touch-action: manipulation;
    }
    
    .show-more-btn:hover {
        transform: translateY(-1px) scale(1.02);
    }
    
    .show-more-btn:active {
        transform: translateY(0) scale(0.96);
        transition: all 0.1s ease;
    }
    
    .show-more-btn svg {
        width: 40px;
        height: 40px;
    }
    
    .header {
        padding: 16px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .header-logo {
        width: 120px !important;
    }
    
    .modal-content {
        width: 98%;
        height: 98%;
        padding: 16px;
        border-radius: 24px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 24px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-item {
    animation: fadeIn var(--transition-normal) ease-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--telegram-blue);
}

/* Sistema de Notificações Promocionais */
.promo-notification {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: linear-gradient(135deg, #0088cc, #229ed9);
    color: white;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.25);
    z-index: 10000;
    max-width: 240px;
    min-width: 220px;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse-glow 2s infinite alternate;
    backdrop-filter: blur(10px);
}

.promo-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.promo-notification.hide {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
    }
    100% {
        box-shadow: 0 15px 40px rgba(0, 136, 204, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

.promo-notification .close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.promo-notification .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.promo-notification .title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.promo-notification .message {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.promo-notification .cta-button {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #0088cc;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-notification .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.promo-notification .timer {
    position: absolute;
    bottom: 3px;
    right: 6px;
    font-size: 9px;
    opacity: 0.8;
    font-weight: 500;
}

.promo-notification .highlight {
    color: #ffeb3b;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.promo-notification .urgent {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .promo-notification {
        width: calc(100vw - 20px);
        max-width: none;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        font-size: 12px;
        padding: 12px;
        border-radius: 8px;
        min-height: auto;
    }
    
    .promo-notification.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .promo-notification.hide {
        transform: translateX(-50%) translateY(100%);
    }
    
    .promo-notification .title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .promo-notification .message {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .promo-notification .cta-button {
        padding: 8px 12px;
        font-size: 11px;
        font-weight: 600;
    }
    
    .promo-notification .timer {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .promo-notification .close-btn {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .promo-notification {
        width: calc(100vw - 16px);
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        max-width: none;
        min-width: auto;
        padding: 10px;
        font-size: 11px;
    }
    
    .promo-notification.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .promo-notification.hide {
        transform: translateX(-50%) translateY(100%);
    }
    
    .promo-notification .title {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .promo-notification .message {
        font-size: 10px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .promo-notification .cta-button {
        padding: 6px 10px;
        font-size: 10px;
        border-radius: 4px;
    }
    
    .promo-notification .timer {
        font-size: 8px;
        bottom: 2px;
        right: 4px;
    }
    
    .promo-notification .close-btn {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: 4px;
        right: 4px;
    }
}