 :root {
      --primary: #00b894;
      --primary-dark: #00a085;
      --primary-light: rgba(0, 184, 148, 0.1);
      --secondary: #6c5ce7;
      --secondary-dark: #5b4fcf;
      --dark: #1a1a2e;
      --darker: #16213e;
      --light: #f8f9fa;
      --gray: #6c757d;
      --gray-light: #e9ecef;
      --success: #00b894;
      --error: #ff7675;
      --warning: #fdcb6e;
      --info: #0984e3;
      
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
      --shadow-glow: 0 0 20px rgba(0, 184, 148, 0.15);
      
      --border-radius-sm: 8px;
      --border-radius-md: 12px;
      --border-radius-lg: 16px;
      --border-radius-xl: 24px;
      
      --transition-fast: 0.2s ease;
      --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
       background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
      color: var(--light);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* Floating Particles Background */
    .particles-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      overflow: hidden;
    }

    .particle {
      position: absolute;
      background: rgba(0, 184, 148, 0.05);
      border-radius: 50%;
      animation: float 20s infinite linear;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.3;
      }
      90% {
        opacity: 0.3;
      }
      100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
      }
    }

    /* Modern Navbar */
    .navbar {
      background: rgba(26, 26, 46, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--light);
      text-decoration: none;
    }

    .logo-img {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .logo-img img {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-link {
      color: var(--gray-light);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transition-normal);
      position: relative;
      padding: 0.5rem 0;
    }

    .nav-link:hover {
      color: var(--light);
    }

    .nav-link.active {
      color: var(--primary);
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      animation: underline 0.3s ease;
    }

    @keyframes underline {
      from { width: 0; }
      to { width: 100%; }
    }

    .upload-badge {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      animation: badge-pulse 3s infinite;
    }

    @keyframes badge-pulse {
      0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
      }
      50% {
        box-shadow: 0 4px 20px rgba(0, 184, 148, 0.5);
      }
    }

    /* Main Content */
    .main-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
    }

    .upload-hero {
      text-align: center;
      margin-bottom: 3rem;
      animation: fade-up 0.8s ease;
    }

    @keyframes fade-up {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .upload-hero h1 {
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 1rem;
    }

    .upload-hero p {
      font-size: 1.1rem;
      color: var(--gray-light);
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* Upload Container */
    .upload-container {
      background: rgba(26, 26, 46, 0.7);
      backdrop-filter: blur(10px);
      border-radius: var(--border-radius-xl);
      padding: 2.5rem;
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(255, 255, 255, 0.05);
      margin-bottom: 2rem;
      animation: scale-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    @keyframes scale-in {
      from {
        opacity: 0;
        transform: scale(0.95);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .upload-area {
      border: 2px dashed rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius-lg);
      padding: 3rem 2rem;
      text-align: center;
      transition: var(--transition-normal);
      cursor: pointer;
      margin-bottom: 2rem;
      position: relative;
      overflow: hidden;
    }

    .upload-area:hover {
      border-color: var(--primary);
      background: rgba(0, 184, 148, 0.03);
      transform: translateY(-2px);
    }

    .upload-area.dragover {
      border-color: var(--primary);
      background: rgba(0, 184, 148, 0.08);
      box-shadow: var(--shadow-glow);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% {
        box-shadow: var(--shadow-glow);
      }
      50% {
        box-shadow: 0 0 30px rgba(0, 184, 148, 0.25);
      }
    }

    .upload-area i {
      font-size: 4rem;
      color: var(--primary);
      margin-bottom: 1.5rem;
      display: block;
      animation: float-icon 3s ease-in-out infinite;
    }

    @keyframes float-icon {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    .upload-area h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .upload-area p {
      color: var(--gray);
      margin-bottom: 1.5rem;
    }

    .browse-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      background: rgba(0, 184, 148, 0.1);
      color: var(--primary);
      border: 1px solid var(--primary);
      padding: 0.75rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-normal);
    }

    .browse-btn:hover {
      background: var(--primary);
      color: white;
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
    }

    .file-info {
      background: rgba(255, 255, 255, 0.03);
      border-radius: var(--border-radius-lg);
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      display: none;
      animation: slide-up 0.4s ease;
    }

    @keyframes slide-up {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .file-info.show {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .file-details {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .file-icon {
      font-size: 2rem;
      color: var(--primary);
    }

    .file-name {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .file-size {
      color: var(--gray);
      font-size: 0.9rem;
    }

    .remove-file {
      background: rgba(255, 118, 117, 0.1);
      color: var(--error);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition-normal);
    }

    .remove-file:hover {
      background: var(--error);
      color: white;
      transform: rotate(90deg);
    }

    /* Preview Container */
    .preview-container {
      background: rgba(255, 255, 255, 0.03);
      border-radius: var(--border-radius-lg);
      padding: 1.5rem;
      margin-bottom: 2rem;
      display: none;
      animation: fade-in 0.5s ease;
    }

    @keyframes fade-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .preview-container.show {
      display: block;
    }

    .preview-container h4 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .preview-content {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .image-preview {
      max-width: 300px;
      max-height: 200px;
      border-radius: var(--border-radius-md);
      object-fit: cover;
      box-shadow: var(--shadow-md);
      animation: image-reveal 0.8s ease;
    }

    @keyframes image-reveal {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .file-stats {
      flex: 1;
      min-width: 250px;
    }

    .stat-item {
      display: flex;
      justify-content: space-between;
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .stat-label {
      color: var(--gray);
    }

    .stat-value {
      font-weight: 600;
    }

    /* Progress Bar */
    .progress-container {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 50px;
      height: 10px;
      overflow: hidden;
      margin: 1.5rem 0;
      display: none;
    }

    .progress-container.show {
      display: block;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      border-radius: 50px;
      width: 0%;
      transition: width 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .progress-bar::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
      animation: shimmer 1.5s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .progress-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
    }

    .progress-percentage {
      font-weight: 700;
      color: var(--primary);
    }

    /* Upload Button */
    .upload-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      width: 100%;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      border: none;
      padding: 1rem;
      border-radius: var(--border-radius-md);
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-normal);
      position: relative;
      overflow: hidden;
    }

    .upload-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3);
    }

    .upload-btn:active:not(:disabled) {
      transform: translateY(0);
    }

    .upload-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .upload-btn i {
      transition: var(--transition-normal);
    }

    .upload-btn:hover:not(:disabled) i {
      transform: translateX(5px);
    }

    /* Result Container */
    .result-container {
      background: rgba(26, 26, 46, 0.7);
      backdrop-filter: blur(10px);
      border-radius: var(--border-radius-xl);
      padding: 2.5rem;
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(255, 255, 255, 0.05);
      display: none;
      animation: slide-up 0.5s ease;
    }

    .result-container.show {
      display: block;
    }

    .result-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .result-header h3 {
      font-size: 1.5rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .result-header h3 i {
      color: var(--success);
    }

    .copy-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(108, 92, 231, 0.1);
      color: var(--secondary);
      border: 1px solid var(--secondary);
      padding: 0.5rem 1.25rem;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-normal);
    }

    .copy-btn:hover {
      background: var(--secondary);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    }

    .copy-btn.copied {
      background: var(--success);
      color: white;
      border-color: var(--success);
    }

    .url-container {
      background: rgba(255, 255, 255, 0.03);
      border-radius: var(--border-radius-md);
      padding: 1rem 1.25rem;
      font-family: monospace;
      word-break: break-all;
      border: 1px solid rgba(255, 255, 255, 0.05);
      margin-bottom: 1.5rem;
      animation: highlight 1s ease;
    }

    @keyframes highlight {
      0% { background: rgba(0, 184, 148, 0.2); }
      100% { background: rgba(255, 255, 255, 0.03); }
    }

    .error-container {
      background: rgba(255, 118, 117, 0.1);
      border-radius: var(--border-radius-md);
      padding: 1rem 1.25rem;
      border: 1px solid rgba(255, 118, 117, 0.2);
      color: var(--error);
      margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer {
      background: rgba(15, 23, 42, 0.9);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 4rem;
      padding: 3rem 2rem 1.5rem;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .footer-logo-img {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-logo-text {
      font-weight: 700;
      font-size: 1.5rem;
    }

    .footer-about {
      color: var(--gray);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .footer-social {
      display: flex;
      gap: 1rem;
    }

    .social-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--light);
      text-decoration: none;
      transition: var(--transition-normal);
    }

    .social-icon:hover {
      background: var(--primary);
      transform: translateY(-3px);
    }

    .footer-links h3 {
      font-size: 1.2rem;
      margin-bottom: 1.25rem;
      color: var(--light);
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.75rem;
    }

    .footer-links a {
      color: var(--gray);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transition: var(--transition-normal);
    }

    .footer-links a:hover {
      color: var(--light);
      transform: translateX(5px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--gray);
      font-size: 0.9rem;
    }

    /* Utility Classes */
    .hidden {
      display: none !important;
    }

    .flex {
      display: flex;
    }

    .flex-col {
      flex-direction: column;
    }

    .items-center {
      align-items: center;
    }

    .justify-between {
      justify-content: space-between;
    }

    .gap-2 {
      gap: 0.5rem;
    }

    .gap-4 {
      gap: 1rem;
    }

    .mb-1 {
      margin-bottom: 0.25rem;
    }

    .mb-2 {
      margin-bottom: 0.5rem;
    }

    .mb-3 {
      margin-bottom: 0.75rem;
    }

    .mb-4 {
      margin-bottom: 1rem;
    }

    .mb-6 {
      margin-bottom: 1.5rem;
    }

    .mt-2 {
      margin-top: 0.5rem;
    }

    .mt-4 {
      margin-top: 1rem;
    }

    .mt-6 {
      margin-top: 1.5rem;
    }

    .text-center {
      text-align: center;
    }

    .text-sm {
      font-size: 0.875rem;
    }

    .text-gray {
      color: var(--gray);
    }

    .text-primary {
      color: var(--primary);
    }

    .text-success {
      color: var(--success);
    }

    .text-error {
      color: var(--error);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
      }
      
      .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .upload-hero h1 {
        font-size: 2rem;
      }
      
      .upload-container {
        padding: 1.5rem;
      }
      
      .preview-content {
        flex-direction: column;
      }
      
      .image-preview {
        max-width: 100%;
      }
    }

    /* Ripple Effect */
    .ripple {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transform: scale(0);
      animation: ripple-animation 0.6s linear;
    }

    @keyframes ripple-animation {
      to {
        transform: scale(4);
        opacity: 0;
      }
    }