
        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Cairo', sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
            overflow-y: auto;
            background: linear-gradient(135deg, #4A0E0E 0%, #6B1423 25%, #800020 50%, #6B1423 75%, #4A0E0E 100%);
            background-size: 400% 400%;
            animation: gradientShift 20s ease infinite;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
            -webkit-overflow-scrolling: touch;
        }

        @keyframes gradientShift {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* FLOATING HEARTS */
        .floats-container {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .float-item {
            position: absolute;
            bottom: -80px;
            opacity: 0;
            animation: floatUp 14s infinite ease-in-out;
            filter: drop-shadow(0 0 15px rgba(255,182,193,0.8));
        }

        @keyframes floatUp {
            0%   { transform: translateY(0) rotate(0deg) scale(0.5); opacity: 0; }
            10%  { opacity: 0.9; }
            50%  { opacity: 0.8; }
            90%  { opacity: 0.5; }
            100% { transform: translateY(-110vh) rotate(20deg) scale(1.2); opacity: 0; }
        }

        .float-item:nth-child(1) { left: 5%;  font-size: 38px; animation-delay: 0s;   animation-duration: 13s; }
        .float-item:nth-child(2) { left: 18%; font-size: 32px; animation-delay: 2.5s; animation-duration: 16s; }
        .float-item:nth-child(3) { left: 35%; font-size: 44px; animation-delay: 5s;   animation-duration: 12s; }
        .float-item:nth-child(4) { left: 55%; font-size: 34px; animation-delay: 7s;   animation-duration: 15s; }
        .float-item:nth-child(5) { left: 72%; font-size: 40px; animation-delay: 1s;   animation-duration: 14s; }
        .float-item:nth-child(6) { left: 88%; font-size: 30px; animation-delay: 9s;   animation-duration: 11s; }

        /* MAIN */
        .login-container {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
            width: 100%;
        }

        /* HEART */
        .heart-container {
            position: relative;
            width: 650px;
            height: 600px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .big-heart {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 550px;
            animation: heartBeat 2.5s infinite;
            filter: drop-shadow(0 0 15px rgba(0,0,0,0.9)) drop-shadow(0 15px 35px rgba(0,0,0,0.8)) drop-shadow(0 25px 50px rgba(0,0,0,0.6));
            will-change: transform;
        }

        .big-heart::before {
            content: "❤️";
            background: linear-gradient(135deg, #C41E3A 0%, #B91C30 25%, #A01828 50%, #B91C30 75%, #C41E3A 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        @keyframes heartBeat {
            0%, 100% { transform: scale(1); }
            10%, 30% { transform: scale(1.05); }
            20%, 40% { transform: scale(1); }
        }

        /* CONTENT INSIDE HEART */
        .login-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 65%;
            z-index: 3;
            padding: 30px 25px;
        }

        /* CIRCULAR PHOTO */
        .photo-circle-wrap {
            display: flex;
            justify-content: center;
            margin-bottom: 14px;
        }

        .photo-circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 4px solid rgba(255,182,193,0.5);
            box-shadow: 0 0 0 3px rgba(255,182,193,0.3), 0 8px 25px rgba(0,0,0,0.4), 0 0 20px rgba(255,182,193,0.4);
            overflow: hidden;
            animation: photoGlow 3s ease-in-out infinite alternate;
        }

        @keyframes photoGlow {
            0%   { box-shadow: 0 0 0 3px rgba(255,182,193,0.3), 0 8px 25px rgba(0,0,0,0.3), 0 0 15px rgba(255,182,193,0.3); }
            100% { box-shadow: 0 0 0 6px rgba(255,182,193,0.8), 0 8px 30px rgba(0,0,0,0.5), 0 0 30px rgba(255,182,193,0.7); }
        }

        .photo-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .photo-circle-wrap.hidden {
            display: none;
        }

        /* TITLES */
        .login-title {
            font-size: 1.9em;
            color: #FFE5EC;
            font-weight: 900;
            margin-bottom: 4px;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.7), 0 0 20px rgba(255,182,193,0.6);
            letter-spacing: 1px;
        }

        .login-subtitle {
            font-size: 0.95em;
            color: #FFD1DC;
            margin-bottom: 20px;
            font-weight: 600;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
            letter-spacing: 2px;
        }

        .error-msg {
            background: rgba(255,100,100,0.15);
            border: 2px solid rgba(255,100,100,0.3);
            color: #cc0000;
            padding: 10px;
            border-radius: 12px;
            margin-bottom: 14px;
            font-size: 0.9em;
        }

        /* FORM */
        .input-group { margin-bottom: 16px; }

        .input-group label {
            display: block;
            margin-bottom: 7px;
            color: #FFE5EC;
            font-size: 0.92em;
            font-weight: 700;
            text-align: right;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        }

        .input-group input {
            width: 80%;
            padding: 8px 12px;
            border: 2px solid rgba(255,182,193,0.4);
            border-radius: 14px;
            font-size: 1.6em;
            font-weight: 900;
            font-family: 'Cairo', sans-serif;
            background: rgba(255,255,255,0.15);
            transition: all 0.3s ease;
            color: #FFE5EC;
            text-align: center;
            backdrop-filter: blur(10px);
            letter-spacing: 3px;
        }

        .input-group input:focus {
            outline: none;
            border-color: #FFB6C1;
            background: rgba(255,255,255,0.25);
            box-shadow: 0 5px 20px rgba(255,182,193,0.5);
            transform: translateY(-2px);
        }

        .input-group input::placeholder {
            color: #FFD1DC;
            opacity: 0.8;
        }

        
        .login-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #800020, #6B1423, #4A0E0E);
            border: 3px solid rgba(255,182,193,0.3);
            border-radius: 14px;
            color: #FFE5EC;
            font-size: 1.15em;
            font-weight: 900;
            cursor: pointer;
            font-family: 'Cairo', sans-serif;
            box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(255,182,193,0.3);
            transition: all 0.4s ease;
            margin-top: 8px;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .login-btn::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }

        .login-btn:hover::before { left: 100%; }
        .login-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 30px rgba(255,182,193,0.6);
            background: linear-gradient(135deg, #6B1423, #800020, #6B1423);
        }
        .login-btn:active { transform: translateY(-1px); }

       
        @media (max-width: 768px) {
            body { padding: 20px 15px; }
            .heart-container { width: 400px; height: 400px; }
            .big-heart { font-size: 350px; animation: none; transform: translateZ(0) scale(1); }
            .login-content { width: 75%; padding: 20px; }
            .photo-circle { width: 75px; height: 75px; animation: none; }
            .login-title { font-size: 1.45em; }
            .login-subtitle { font-size: 0.82em; margin-bottom: 16px; }
            .input-group { margin-bottom: 13px; }
            .input-group label { font-size: 0.88em; }
            .input-group input { padding: 11px 13px; font-size: 0.92em; }
            .login-btn { padding: 13px; font-size: 1.05em; }
        }

        @media (max-width: 480px) {
            .heart-container { width: 320px; height: 320px; }
            .big-heart { font-size: 280px; }
            .login-content { width: 80%; padding: 14px; }
            .photo-circle { width: 62px; height: 62px; }
            .login-title { font-size: 1.25em; }
            .login-subtitle { font-size: 0.8em; }
        }
    
@media (max-width: 900px) {
  input, textarea, select { font-size: 16px !important; }
}
input, textarea { -webkit-appearance: none; border-radius: inherit; }

.float-item, .heart, .petal, .bubble, .sparkle {
  will-change: transform, opacity; 
  contain: layout style paint;     
}
@media (prefers-reduced-motion: reduce) {
  .float-item, .heart, .petal, .bubble, .sparkle { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; }
}

.float-item {
  will-change: transform, opacity;
  backface-visibility: hidden;
}


@media (max-width: 820px) {
 
  .float-item:nth-child(n+11) { display: none; }
  
  body { animation: none !important; background-size: 100% 100% !important; }
  
  .photo-circle img, .photo-circle { animation: none !important; }

  * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
