.flip-container {
    perspective: 1000px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.flip-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), height 0.4s ease-out;
    transform-style: preserve-3d;
    min-height: 100%;
}

.flip-inner.flipped {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    backface-visibility: hidden;
    width: 100%;
}

.flip-front {
    transform: rotateY(0deg);
}

.flip-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
}

/* Glassmorphism Input */
.glass-input {
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.glass-input:focus {
    background: rgba(2, 6, 23, 0.6);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Glassmorphism Button */
.glass-button {
    background: rgba(99, 102, 241, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(99, 102, 241, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-button:active {
    transform: scale(0.95);
}

/* Video Background */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay para melhor legibilidade */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* Error Message Styling */
.error-message {
    display: none !important;
}

/* Input error state */
.glass-input.border-red-500 {
    background: rgba(127, 29, 29, 0.2);
    border-color: rgba(239, 68, 68, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Menu Mobile com Overlay */
#mobileMenu {
    transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

#mobileMenu.visible {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 1rem !important;
    margin: 1rem !important;
}

/* Botão Hamburger Animado */
#menuToggle {
    transition: transform 0.3s ease;
    position: relative;
}

#menuToggle.active {
    transform: rotate(90deg);
}

#menuToggle svg {
    transition: stroke 0.3s ease;
}

#menuToggle.active svg {
    stroke: #fbbf24;
}

/* Gradiente animado tipo Aurora */
@keyframes gradient-rotation {
    0% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(15deg);
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

/* ========== Responsive Design ========== */
#visualizacao{
  width: 100%;       /* Largura total do espaço disponível na sua UI */
  height: 500px;     /* Altura que você deseja para o preview */
  overflow: hidden;  /* Esconde o que sobrar do iframe gigante */
  position: relative;
  border-radius: 8px;
}
#visualizacao iframe{
  /* Definimos um tamanho real de Desktop aqui */
  width: 1280px; 
  height: 800px;
  
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  
  /* A mágica acontece aqui: */
  transform: scale(0.6); /* Ajuste esse valor (ex: 0.3, 0.5) até caber */
  transform-origin: top left; /* Garante que ele encolha a partir do canto superior */
}

#profilePhotoContainer{
    min-height: 400px;
}

body.admin-gradient {
    background: radial-gradient(
        ellipse 150% 150% at 50% 50%,
        #0a1e4d 0%,
        #3d2645 15%,
        #6b2d7f 25%,
        #d946ef 40%,
        #ff6b6b 55%,
        #ff9a56 70%,
        #0066ff 85%,
        #000a1f 100%
    );
    background-attachment: fixed;
    animation: gradient-rotation 8s ease-in-out infinite;
}
/* ========== Botão Flutuante WhatsApp ========== */

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button svg {
    width: 60px;
    height: 60px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}