/* General Styles */ body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #6a11cb 25%, #2575fc 100%); color: #333; box-sizing: border-box; transition: background 0.3s ease-in-out, color 0.3s ease-in-out; } .container { text-align: center; background-color: #ffffff; padding: 32px; border-radius: 10px; box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.2); max-width: 600px; margin: 0 auto; position: relative; box-sizing: border-box; } .container h1 { margin-bottom: 1px; color: #88171a; } button { padding: 12px 24px; background-color: #0078D7; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; font-weight: bold; margin: 15px 5px 5px 5px; transition: all ease-in 0.3s; } .download-btn { display: none; margin: 7px auto; } .telegram { padding: 5px 5px; background-color: #fff; } .telegram:hover { background-color: #dddddd; } button:hover { background-color: #005A9E; transform: scale(1.08); box-shadow: 0 0 20px rgba(0, 123, 255, 0.7); } .config-box { width: 100%; height: 190px; border: 1px solid #ccc; border-radius: 5px; padding: 10px; resize: none; margin-bottom: 15px; font-family: monospace; opacity: 0; transition: opacity 0.5s ease-in-out; } #v2rayBox { height: 100px; } .config-box.visible { opacity: 1; } .copy-button { padding: 10px 20px; background-color: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; } .copy-button:hover { background-color: #45a049; } .spinner { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 4px solid #f3f3f3; border-top: 4px solid #0078D7; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; z-index: 9999; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .popup-message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #4CAF50; color: white; padding: 8px 16px; border-radius: 5px; animation: fadeOut 2s forwards; z-index: 9999; } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }