* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0a0f1e;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 198, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 114, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Main Container */
.container {
  background: rgba(18, 25, 40, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 40px;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  animation: containerAppear 0.8s ease;
}

@keyframes containerAppear {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Title */
.title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff 0%, #a0b0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Status Badge */
.statusText {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  color: white;
  display: inline-block;
  -webkit-text-fill-color: white;
}

.statusText.connected {
  background: linear-gradient(135deg, #00c853, #00e676);
}

.statusText.disconnected {
  background: linear-gradient(135deg, #ff1744, #ff5252);
}

.statusText.loading {
  background: linear-gradient(135deg, #ffaa00, #ffc400);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* About Link */
.aboutLink {
  position: absolute;
  top: 20px;
  right: 25px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s;
}

.aboutLink:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 114, 255, 0.5);
}

.btn.success {
  background: linear-gradient(135deg, #00c853, #69f0ae);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Code Box */
.codeBox {
  margin-top: 25px;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s ease;
}

.codeBox.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.codeBox p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.codeBox h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 8px;
  background: linear-gradient(135deg, #fff, #a0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

/* Copy Button */
.copyCodeBtn {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 40px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copyCodeBtn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.copyCodeBtn.copied {
  background: #00c853;
}

/* Pair Section */
.pairSection {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: slideUp 0.6s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
  transform: translateY(20px);
}

/* Input Field */
input {
  padding: 16px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 4px;
  transition: 0.3s;
  outline: none;
  width: 100%;
}

input:focus {
  border-color: #00c6ff;
  background: rgba(255,255,255,0.1);
}

/* Navigation Links */
.goText {
  margin-top: 10px;
  color: #00c6ff;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.goText:hover {
  color: white;
  transform: translateX(5px);
}

/* ========== TEXT PAGES ========== */
.textContainer {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  background: #0a0f1e;
  color: white;
  position: relative;
}

.textHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(18, 25, 40, 0.5);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.05);
}

.textTitle {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #a0b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

/* Back Button */
.backBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.backBtn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

/* Send Button */
.sendBtn {
  padding: 10px 25px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.sendBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
}

/* Text Area */
.bigTextArea {
  width: 100%;
  height: calc(100vh - 140px);
  padding: 20px;
  border-radius: 25px;
  border: 2px solid rgba(255,255,255,0.05);
  background: rgba(18, 25, 40, 0.6);
  color: white;
  font-size: 16px;
  line-height: 1.6;
  resize: none;
  outline: none;
  transition: 0.3s;
}

.bigTextArea:focus {
  border-color: #00c6ff;
}

/* ========== RECEIVE PAGE ========== */
.receiveContainer {
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  background: #0a0f1e;
  color: white;
}

.receiveHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(18, 25, 40, 0.5);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.05);
}

.receiveTitle {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #a0b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

/* Messages Container */
.receivedMessages {
  background: rgba(18, 25, 40, 0.3);
  border-radius: 25px;
  padding: 20px;
  height: calc(100vh - 120px);
  overflow-y: auto;
}

/* Empty State */
.emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.6;
  text-align: center;
}

.emptyState i {
  font-size: 60px;
  color: #00c6ff;
  margin-bottom: 20px;
  opacity: 0.5;
}

.emptyState p {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  margin: 5px 0;
}

.emptyState p:first-of-type {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
}

/* Message Block */
.messageBlock {
  background: linear-gradient(135deg, #1a2740, #1f2f4a);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 18px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
  animation: messageAppear 0.3s ease;
}

@keyframes messageAppear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.messageNumber {
  position: absolute;
  top: -8px;
  left: -8px;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba(255, 87, 34, 0.3);
}

.messageText {
  font-size: 15px;
  line-height: 1.5;
  margin: 5px 0 10px 0;
  padding-right: 10px;
  word-wrap: break-word;
}

.messageTime {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

/* Copy Button in Receive Page */
.messageCopyBtn {
  padding: 6px 15px;
  border-radius: 30px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.1);
}

.messageCopyBtn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.messageCopyBtn.copied {
  background: #00c853;
}

/* Typing Indicator */
#typingIndicator {
  color: #00c6ff;
  padding: 8px 16px;
  font-style: italic;
  font-size: 13px;
  background: rgba(0, 198, 255, 0.1);
  border-radius: 40px;
  margin-bottom: 15px;
  display: inline-block;
  animation: typingPulse 1.5s infinite;
}

@keyframes typingPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ========== ABOUT MODAL ========== */
.aboutModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.aboutContent {
  background: linear-gradient(165deg, #1a2740, #1f2f4a);
  width: 500px;
  max-width: 100%;
  padding: 35px;
  border-radius: 30px;
  color: white;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.aboutModal.show .aboutContent {
  transform: scale(1);
  opacity: 1;
}

.closeBtn {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  transition: 0.3s;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.closeBtn:hover {
  color: white;
  background: rgba(255,255,255,0.15);
  transform: rotate(90deg);
}

.aboutContent h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.aboutParagraph {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
  text-align: left;
}

.developerInfo {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.developerInfo strong {
  font-size: 18px;
  color: #00c6ff;
  display: block;
  margin: 5px 0;
}

.developerInfo br {
  display: none;
}

/* ========== POPUP ========== */
.popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  color: white;
  transition: 0.4s ease;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  font-size: 14px;
  text-align: center;
  max-width: 90%;
}

.popup.show {
  transform: translateX(-50%) translateY(0);
}

.popup.success {
  background: linear-gradient(135deg, #00c853, #69f0ae);
}

.popup.error {
  background: linear-gradient(135deg, #ff1744, #ff5252);
}

.popup.warning {
  background: linear-gradient(135deg, #ffaa00, #ffc400);
}

/* ========== ANIMATIONS ========== */
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE FOR ALL DEVICES ========== */

/* Mobile Phones (320px - 480px) */
@media screen and (max-width: 480px) {
  .container {
    padding: 25px 15px;
  }
  
  .title {
    font-size: 26px;
  }
  
  .codeBox h2 {
    font-size: 36px;
    letter-spacing: 4px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  input {
    padding: 14px 15px;
    font-size: 16px;
  }
  
  .textHeader, .receiveHeader {
    padding: 10px 15px;
  }
  
  .textTitle, .receiveTitle {
    font-size: 18px;
  }
  
  .backBtn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .sendBtn {
    padding: 8px 20px;
    font-size: 14px;
  }
  
  .aboutContent {
    padding: 25px 20px;
  }
  
  .aboutContent h2 {
    font-size: 24px;
  }
  
  .aboutParagraph {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .developerInfo strong {
    font-size: 16px;
  }
  
  .popup {
    font-size: 13px;
    padding: 10px 20px;
  }
}

/* Tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .container {
    max-width: 90%;
  }
  
  .codeBox h2 {
    font-size: 42px;
  }
  
  .textTitle, .receiveTitle {
    font-size: 20px;
  }
}

/* Small Laptops (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 420px;
  }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .container {
    padding: 20px;
  }
  
  .title {
    margin-bottom: 15px;
  }
  
  .codeBox h2 {
    font-size: 32px;
    margin-bottom: 5px;
  }
  
  .pairSection {
    margin-top: 15px;
  }
  
  .bigTextArea {
    height: 60vh;
  }
  
  .receivedMessages {
    height: 60vh;
  }
}

/* High Resolution Screens */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 480px;
  }
  
  .title {
    font-size: 36px;
  }
  
  .codeBox h2 {
    font-size: 52px;
  }
  
  .textTitle, .receiveTitle {
    font-size: 26px;
  }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
}
/* Enter Code Section */
.enterCodeSection {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.enterCodeSection input {
  width: 100%;
}

.enterCodeSection .btn {
  width: 100%;
  background: linear-gradient(135deg, #ff9800, #ff5722);
}

.enterCodeSection .btn:hover {
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.5);
}

/* Generate button specific */
#generateBtn {
  margin-bottom: 10px;
}
/* OR Divider */
.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0 20px 0;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00c6ff, #0072ff, #00c6ff, transparent);
}

.or-divider span {
  background: rgba(0, 198, 255, 0.1);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 14px;
  color: #00c6ff;
  border: 1px solid rgba(0, 198, 255, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
  animation: orPulse 2s infinite;
}

@keyframes orPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 114, 255, 0.5); }
}
/* ========== NAVIGATION CARDS ========== */
.nav-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-card::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;
}

.nav-card:hover::before {
  left: 100%;
}

.nav-card:hover {
  transform: translateX(5px);
}

/* Text Field Card - Blue Theme */
.nav-card.text-card {
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.15), rgba(0, 114, 255, 0.25));
  border-left: 4px solid #00c6ff;
}

.nav-card.text-card .nav-icon {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3);
}

.nav-card.text-card .nav-arrow {
  color: #00c6ff;
}

/* Receive Card - Orange Theme */
.nav-card.receive-card {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 87, 34, 0.25));
  border-left: 4px solid #ff9800;
}

.nav-card.receive-card .nav-icon {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.nav-card.receive-card .nav-arrow {
  color: #ff9800;
}

/* Left Section */
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Icon */
.nav-icon {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  transition: 0.3s;
}

.nav-card:hover .nav-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Text Content */
.nav-content {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.nav-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Right Arrow */
.nav-arrow {
  font-size: 20px;
  transition: 0.3s;
}

.nav-card:hover .nav-arrow {
  transform: translateX(8px);
}

/* Text Card Specific Hover */
.nav-card.text-card:hover {
  box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
}

/* Receive Card Specific Hover */
.nav-card.receive-card:hover {
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
  .nav-card {
    padding: 14px 16px;
  }
  
  .nav-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .nav-title {
    font-size: 15px;
  }
  
  .nav-subtitle {
    font-size: 11px;
  }
}
/* ========== ABOUT MODAL - FINAL FIXED ========== */
.aboutModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  display: none;
  justify-content: center;
  align-items: flex-start; /* 🔥 Center ki jagah top se start */
  z-index: 9999;
  padding: 30px 20px;
  overflow-y: auto; /* 🔥 Scroll enable */
}

.aboutContent {
  background: linear-gradient(165deg, #1a1f2e, #0f1a2f);
  width: 100%;
  max-width: 700px; /* 🔥 Badhayi width */
  margin: 40px auto; /* 🔥 Top-bottom margin */
  border-radius: 40px;
  color: white;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0, 198, 255, 0.2), 0 0 30px rgba(0, 198, 255, 0.3);
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.aboutModal.show .aboutContent {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Animated Background */
.aboutContent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 198, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Header Section */
.aboutHeader {
  background: linear-gradient(135deg, #00c6ff20, #0072ff20);
  padding: 50px 40px 30px 40px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aboutHeader h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #fff, #a0b0ff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  letter-spacing: -0.5px;
}

/* Close Button */
.closeBtn {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.closeBtn:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  transform: rotate(90deg) scale(1.1);
  border-color: #00c6ff;
  box-shadow: 0 0 20px #00c6ff;
}

/* Logo Section */
.aboutLogo {
  display: flex;
  justify-content: center;
  margin: -45px 0 25px 0;
  position: relative;
  z-index: 2;
}

.logoCircle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 114, 255, 0.5);
  border: 4px solid rgba(255,255,255,0.2);
  animation: logoPulse 2s infinite;
}

.logoCircle i {
  font-size: 50px;
  color: white;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 114, 255, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0, 198, 255, 0.8); }
}

/* Body Section */
.aboutBody {
  padding: 30px 40px 20px 40px;
  position: relative;
  z-index: 1;
}

/* Stats Cards */
.aboutStats {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.statCard {
  flex: 1;
  min-width: 120px;
  background: rgba(255,255,255,0.03);
  border-radius: 25px;
  padding: 20px 15px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.statCard:hover {
  background: rgba(0, 198, 255, 0.1);
  transform: translateY(-5px);
  border-color: #00c6ff;
}

.statCard i {
  font-size: 30px;
  color: #00c6ff;
  margin-bottom: 12px;
}

.statCard .statValue {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.statCard .statLabel {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Description */
.aboutDescription {
  background: rgba(255,255,255,0.02);
  border-radius: 25px;
  padding: 25px 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.05);
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  position: relative;
}

.aboutDescription i {
  color: #00c6ff;
  margin-right: 8px;
  font-size: 18px;
}

/* Developer Card */
.developerCard {
  background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.15));
  border-radius: 30px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid rgba(0, 198, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.developerCard::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
}

.developerAvatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 4px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.developerAvatar i {
  font-size: 45px;
  color: white;
}

.developerCard h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.developerTitle {
  color: #00c6ff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.developerTitle i {
  margin-right: 5px;
}

.developerBadge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  padding: 10px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.developerBadge i {
  color: #ffd700;
  font-size: 16px;
}

.developerBadge span {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

/* Footer */
.aboutFooter {
  padding: 20px 40px 40px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.version {
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  letter-spacing: 1px;
}

.version i {
  color: #00c6ff;
  margin: 0 8px;
  font-size: 12px;
}

/* Scrollbar Styling */
.aboutModal::-webkit-scrollbar {
  width: 8px;
}

.aboutModal::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.aboutModal::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 10px;
}

.aboutModal::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
}

/* Responsive */
@media (max-width: 768px) {
  .aboutHeader {
    padding: 40px 25px 25px 25px;
  }
  
  .aboutHeader h2 {
    font-size: 28px;
  }
  
  .aboutBody {
    padding: 20px 25px;
  }
  
  .aboutStats {
    gap: 12px;
  }
  
  .statCard {
    min-width: 100px;
    padding: 15px 10px;
  }
  
  .statCard i {
    font-size: 24px;
  }
  
  .statCard .statValue {
    font-size: 20px;
  }
  
  .aboutDescription {
    padding: 20px;
    font-size: 15px;
  }
  
  .developerAvatar {
    width: 80px;
    height: 80px;
  }
  
  .developerAvatar i {
    font-size: 40px;
  }
  
  .developerCard h3 {
    font-size: 22px;
  }
  
  .aboutFooter {
    padding: 15px 25px 30px 25px;
  }
}

@media (max-width: 480px) {
  .aboutHeader {
    padding: 35px 20px 20px 20px;
  }
  
  .aboutHeader h2 {
    font-size: 24px;
  }
  
  .closeBtn {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 20px;
    font-size: 20px;
  }
  
  .logoCircle {
    width: 80px;
    height: 80px;
  }
  
  .logoCircle i {
    font-size: 40px;
  }
  
  .aboutStats {
    flex-direction: column;
    gap: 10px;
  }
  
  .statCard {
    width: 100%;
  }
  
  .developerBadge {
    flex-direction: column;
    gap: 5px;
    padding: 12px 20px;
  }
}