 :root {
     --primary: rgb(0, 20, 36);
     --secondary: rgb(255, 255, 255);
     --font: rgb(255, 255, 255);
     --accent: rgb(0, 153, 255);
     --dark-bg: var(--primary);
     --control-bg: rgba(0, 20, 36, 0.7);
     --control-hover: rgba(0, 153, 255, 0.3);
     --control-active: rgba(0, 153, 255, 0.5);
     --control-radius: 12px;
     --url-bar-bg: rgba(0, 20, 36, 0.7);
     --icon-color: var(--accent);
     --backdrop-blur: 10px;
     --transition-speed: 0.3s;
     --search-glow: 0 0 15px rgba(0, 153, 255, 0.5);
     --control-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
     --ripple-color: rgba(0, 153, 255, 0.5);
     --sidebar-width: 250px;
     --nav-height: 60px;
     --tab-height: 40px;
     --accent-glow: 0 0 20px rgba(0, 153, 255, 0.2);
     --card-bg: rgba(0, 153, 255, 0.08);
     --card-border: rgba(0, 153, 255, 0.2);
     --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
 }

 @font-face {
     font-family: "font";
     src: url("../fonts/font.otf");
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "font", sans-serif;
 }

 body {
     background-color: var(--primary);
     color: var(--font);
     width: 100vw;
     height: 100vh;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     margin: 0;
     padding: 0;
     background-image:
         radial-gradient(circle at 10% 20%, rgba(0, 153, 255, 0.05) 0%, transparent 50%),
         radial-gradient(circle at 90% 80%, rgba(0, 153, 255, 0.03) 0%, transparent 40%);
 }

 .header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: var(--nav-height);
     z-index: 100;
     background: rgba(0, 20, 36, 0.8);
     backdrop-filter: blur(10px);
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 20px;
     box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
     border-bottom: 1px solid rgba(0, 153, 255, 0.1);
 }

 .app-branding {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 #app-icon {
     width: 32px;
     height: 32px;
     filter: drop-shadow(0 0 5px rgba(0, 153, 255, 0.5));
 }

 #app-name {
     font-size: 1.2rem;
     font-weight: 600;
     letter-spacing: 0.5px;
     background: linear-gradient(90deg, #fff, #0099ff);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .control-button {
     background: transparent;
     border: none;
     color: var(--icon-color);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: background-color var(--transition-speed),
         transform var(--transition-speed),
         color var(--transition-speed);
     position: relative;
     overflow: hidden;
     position: absolute;
     right: 10px;
     top: 5px;
 }

 .control-button::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     background-color: var(--accent);
     border-radius: 50%;
     transform: translate(-50%, -50%);
     opacity: 0;
     transition: width 0.5s, height 0.5s, opacity 0.5s;
     z-index: -1;
 }

 .control-button:hover {
     background-color: var(--control-hover);
     transform: scale(1.01);
 }

 .control-button:hover::before {
     width: 120%;
     height: 120%;
     opacity: 0.1;
 }

 .control-button:active {
     background-color: var(--control-active);
     transform: scale(0.95);
 }

 .control-button svg {
     width: 22px;
     height: 22px;
     transition: transform var(--transition-speed);
 }

 .control-button:hover svg {
     transform: scale(1.1);
 }

 .container-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding-top: calc(var(--nav-height) + 20px);
     height: 100%;
     gap: 20px;
     max-width: 1000px;
     margin: 0 auto;
     width: 100%;
 }

 .progress-bar {
     display: flex;
     margin-bottom: 10px;
     width: 90%;
     max-width: 400px;
     justify-content: space-between;
     position: relative;
 }

 .progress-bar::before {
     content: '';
     position: absolute;
     height: 2px;
     background: linear-gradient(to right, var(--accent), rgba(0, 153, 255, 0.3));
     width: 100%;
     top: 50%;
     transform: translateY(-50%);
     z-index: 0;
 }

 .progress-step {
     width: 30px;
     height: 30px;
     border-radius: 50%;
     background: var(--card-bg);
     border: 2px solid var(--accent);
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: bold;
     position: relative;
     z-index: 1;
     box-shadow: 0 0 10px rgba(0, 153, 255, 0.2);
     transition: all 0.3s ease;
 }

 .progress-step.active {
     background: var(--accent);
     color: var(--primary);
     transform: scale(1.1);
 }

 .form-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 20px;
     width: 90%;
     max-width: 1000px;
 }

 .card {
     flex: 1;
     min-width: 280px;
     background: var(--card-bg);
     border-radius: 20px;
     padding: 25px;
     display: flex;
     flex-direction: column;
     align-items: center;
     box-shadow: var(--card-shadow);
     border: 1px solid var(--card-border);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 3px;
     background: linear-gradient(90deg, transparent, var(--accent), transparent);
     opacity: 0.7;
 }

 .card:hover {
     transform: translateY(-5px);
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
 }

 .card-icon {
     width: 40px;
     height: 40px;
     margin-bottom: 15px;
     color: var(--accent);
 }

 .card h2 {
     font-size: 1.2rem;
     margin-bottom: 15px;
     text-align: center;
     background: linear-gradient(90deg, #fff, #0099ff);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 .input-wrapper {
     position: relative;
     width: 100%;
     margin-top: 10px;
 }

 .input {
     background-color: rgba(0, 20, 36, 0.6);
     color: var(--font);
     border: 1px solid rgba(0, 153, 255, 0.2);
     border-radius: 12px;
     padding: 12px 15px;
     font-size: 0.9rem;
     outline: none;
     width: 100%;
     transition: all 0.3s ease;
 }

 .input:focus {
     border-color: var(--accent);
     box-shadow: 0 0 10px rgba(0, 153, 255, 0.3);
 }

 .input::placeholder {
     color: rgba(255, 255, 255, 0.5);
 }

 .input-icon {
     position: absolute;
     right: 12px;
     top: 50%;
     transform: translateY(-50%);
     color: var(--accent);
     pointer-events: none;
     opacity: 0.7;
 }

 #install-button-container {
     width: 100%;
     display: flex;
     justify-content: center;
     margin-top: 30px;
 }

 #install-button {
     background: linear-gradient(45deg, rgba(0, 153, 255, 0.8), rgba(0, 102, 204, 0.8));
     color: white;
     border: none;
     border-radius: 12px;
     padding: 15px 30px;
     font-size: 1rem;
     font-weight: bold;
     letter-spacing: 1px;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
     position: relative;
     overflow: hidden;
     width: auto;
     min-width: 200px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
 }

 #install-button::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
     transition: 0.5s;
 }

 #install-button:hover {
     transform: translateY(-3px);
     box-shadow: 0 7px 20px rgba(0, 153, 255, 0.5);
 }

 #install-button:hover::before {
     left: 100%;
 }

 #install-button:active {
     transform: translateY(1px);
     box-shadow: 0 3px 10px rgba(0, 153, 255, 0.4);
 }

 .custom-tooltip {
     position: fixed;
     background-color: rgba(0, 20, 36, 0.9);
     backdrop-filter: blur(5px);
     color: #fff;
     padding: 8px 12px;
     border-radius: 8px;
     font-size: 0.8rem;
     z-index: 9999;
     pointer-events: none;
     opacity: 0;
     transition: opacity 0.2s;
     border: 1px solid rgba(0, 153, 255, 0.3);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
 }

 @media (max-width: 768px) {
     .form-container {
         flex-direction: column;
     }

     .progress-bar {
         width: 80%;
     }

     .control-button {
         width: 36px;
         height: 36px;
     }

     .control-button svg {
         width: 18px;
         height: 18px;
     }

     #install-button {
         padding: 12px 24px;
         font-size: 0.9rem;
     }
 }

 /* Installation animation */
 .installing {
     position: relative;
     pointer-events: none;
 }

 .installing #install-button {
     background-color: var(--primary);
     color: var(--secondary);
     border: 1px solid var(--accent);
     position: relative;
     overflow: hidden;
 }

 .installing #install-button::before {
     content: "";
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg,
             transparent,
             rgba(0, 153, 255, 0.2),
             transparent);
     animation: install-progress 1.5s infinite ease-in-out;
 }

 .installing #install-button svg {
     animation: spin 1.5s infinite linear;
     transform-origin: center;
 }

 .install-success #install-button {
     background-color: rgba(0, 180, 0, 0.8);
     color: white;
     border-color: rgba(0, 180, 0, 0.3);
 }

 .install-success #install-button svg {
     animation: pop 0.5s ease-out;
 }

 .install-error #install-button {
     background-color: rgba(180, 0, 0, 0.8);
     color: white;
     border-color: rgba(180, 0, 0, 0.3);
 }

 @keyframes install-progress {
     0% {
         left: -100%;
     }

     100% {
         left: 100%;
     }
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 @keyframes pop {
     0% {
         transform: scale(0.8);
     }

     50% {
         transform: scale(1.2);
     }

     100% {
         transform: scale(1);
     }
 }