:root {
  --bg-color: #0b0a13;
  --card-bg: rgba(20, 18, 38, 0.45);
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-color: rgba(123, 97, 255, 0.15);
  --accent-color: #7b61ff;
  --accent-glow: rgba(123, 97, 255, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a5a2bc;
  --font-family-h: 'Outfit', sans-serif;
  --font-family-b: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family-b);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Glowing background effect */
.background-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-color) 0%, rgba(11, 10, 19, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.container {
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

/* Glassmorphism Card styling */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
              0 0 30px rgba(123, 97, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-header {
  text-align: center;
  margin-bottom: 35px;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-color);
  box-shadow: 0 8px 16px rgba(123, 97, 255, 0.1);
}

.lock-icon {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.96); opacity: 0.8; }
}

h1 {
  font-family: var(--font-family-h);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 50%, #bcaeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Form & Search Bar styling */
.search-form {
  width: 100%;
  margin-bottom: 25px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 5px 5px 5px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.input-container:focus-within {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px var(--accent-glow),
              inset 0 1px 2px rgba(0,0,0,0.1);
}

.search-icon {
  color: var(--text-secondary);
  margin-right: 12px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.input-container:focus-within .search-icon {
  color: var(--accent-color);
}

#proxy-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family-b);
  font-size: 0.95rem;
  font-weight: 400;
  width: 100%;
  outline: none;
  padding: 10px 0;
}

#proxy-input::placeholder {
  color: rgba(165, 162, 188, 0.5);
}

.submit-btn {
  background: var(--accent-color);
  border: none;
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(123, 97, 255, 0.3);
}

.submit-btn:hover {
  background: #927cff;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(123, 97, 255, 0.4);
}

.submit-btn:active {
  transform: scale(0.95);
}

/* Features List styling */
.features-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.feature-item svg {
  color: var(--accent-color);
  opacity: 0.8;
}

/* Footer Cloak Link styling */
.footer-links {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-family-b);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.footer-btn svg {
  transition: transform 0.2s ease;
}

.footer-btn:hover svg {
  transform: scale(1.1);
}
