* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; color: #333; } .container { max-width: 1200px; margin: 0 auto; } header { text-align: center; color: white; margin-bottom: 40px; animation: fadeInDown 0.6s ease-out; } header h1 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); } .subtitle { font-size: 1.1rem; opacity: 0.95; } main { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: fadeInUp 0.6s ease-out; } .content-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; } .form-section { display: flex; flex-direction: column; gap: 25px; } .input-group { display: flex; flex-direction: column; gap: 10px; } .input-group label { font-weight: 600; color: #555; display: flex; align-items: center; gap: 8px; font-size: 1rem; } .hint { display: block; margin-top: 5px; color: #10b981; font-size: 0.85rem; font-style: italic; } .icon { font-size: 1.3rem; } input[type="text"], input[type="url"] { padding: 15px 18px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1.05rem; transition: all 0.3s ease; font-family: inherit; } input[type="text"]:focus, input[type="url"]:focus { outline: none; border-color: #1e3a8a; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); } .btn-generate { padding: 15px 30px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; width: 100%; margin-top: 10px; } .btn-generate:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); } .btn-generate:active { transform: translateY(0); } .btn-download { padding: 15px 30px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: inherit; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; width: 100%; margin-top: 20px; opacity: 0.5; pointer-events: none; } .btn-download:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4); } .btn-download:active { transform: translateY(0); } .preview-section { display: flex; flex-direction: column; gap: 20px; } .qr-container { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 20px; padding: 40px; text-align: center; position: relative; border: 3px solid #cbd5e1; box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; } .qr-container h3 { margin-bottom: 25px; color: #1e3a8a; font-size: 1.3rem; font-weight: 700; width: 100%; } #qrcode { display: flex; align-items: center; justify-content: center; position: relative; padding: 25px; background: white; border-radius: 15px; box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15); width: 450px; height: 450px; max-width: 100%; overflow: hidden; } #qrcode canvas { display: block !important; margin: 0 auto !important; width: 400px !important; height: 400px !important; max-width: 100% !important; max-height: 100% !important; image-rendering: pixelated !important; image-rendering: -moz-crisp-edges !important; image-rendering: crisp-edges !important; } #qrcode img { display: none !important; } #logoOverlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 8px 16px; border-radius: 8px; font-weight: bold; font-size: 14px; color: #667eea; box-shadow: 0 2px 10px rgba(0,0,0,0.2); pointer-events: none; z-index: 10; display: none; } .download-section { text-align: center; margin-top: 20px; } footer { text-align: center; color: white; margin-top: 30px; opacity: 0.9; } /* Animations */ @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } /* Responsive Design */ @media (max-width: 968px) { .content-wrapper { grid-template-columns: 1fr; } #qrcode { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 450px; } #qrcode canvas { width: 100% !important; height: auto !important; max-width: 400px !important; aspect-ratio: 1 / 1 !important; } } @media (max-width: 480px) { body { padding: 10px; } header h1 { font-size: 1.8rem; } main { padding: 20px; } .qr-container { padding: 20px; } #qrcode { padding: 15px; width: 100%; max-width: 350px; } #qrcode canvas { width: 100% !important; height: auto !important; max-width: 100% !important; } }