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

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 50%, #fdf2f8 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Elements */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    will-change: transform;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ec4899, #f472b6);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 60%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f472b6, #fbbf24);
    border-radius: 50%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    bottom: 20%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    border-radius: 20% 80% 20% 80% / 80% 20% 80% 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: breathe 4s ease-in-out infinite;
}

/* Logo Container */
.logo-container {
    margin-bottom: 2.5rem;
    animation: logoEntrance 1.5s ease-out;
    z-index: 6;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(236, 72, 153, 0.25));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes logoEntrance {
    0% { opacity: 0; transform: translateY(-30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Fixed Rectangular Liquid Glass Card */
.glass-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: min(900px, 90%);
    max-width: 900px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 30px 70px -20px rgba(168, 85, 247, 0.12),
        0 15px 30px -10px rgba(0, 0, 0, 0.08),
        inset 0 2px 6px rgba(255, 255, 255, 0.5),
        inset 0 -2px 6px rgba(168, 85, 247, 0.06);
    overflow: hidden;
    animation: liquidFloat 8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

/* subtle moving glossy highlight */
.glass-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 10%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.06), transparent 12%);
    transform: translate3d(0,0,0);
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Liquid morphing (subtle) */
@keyframes liquidFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); border-radius: 18px; }
    25% { transform: translate(-50%, -50%) translateY(-6px); border-radius: 22px; }
    50% { transform: translate(-50%, -50%) translateY(0); border-radius: 18px; }
    75% { transform: translate(-50%, -50%) translateY(6px); border-radius: 16px; }
}

/* Typography */
.main-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #be185d, #a855f7);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #374151;
    margin-top: 0.25rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    opacity: 0.95;
}

/* Stripe Pattern */
.stripe-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        45deg,
        #ec4899,
        #ec4899 1px,
        transparent 1px,
        transparent 20px
    );
    pointer-events: none;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container { margin-bottom: 1.5rem; }
    .glass-card {
        padding: 2rem 1.5rem;
        width: min(720px, 94%);
    }
    .main-title { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
}

@media (max-width: 480px) {
    .glass-card {
        width: calc(100% - 32px);
        padding: 1.5rem;
        left: 50%;
    }
    .main-title { font-size: 1.6rem; }
    .subtitle { font-size: 0.95rem; }
}

/* Loading Animation */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

/* تغییرات برای لوگو */
.logo {
    max-width: 200px !important; /* بزرگ‌تر */
    z-index: 1000; /* بالاتر از همه */
    position: relative;
}
