@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

    * {
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe, #00f2fe);
      background-size: 500% 500%;
      animation: gradientBg 25s ease infinite;
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
/* Developer Info (from previous request) */
        @media (max-width: 768px) {
  .mobile-hidden-section {
    display: none;
  }
}
        .developer-info {
                position: fixed;
				top: 8%;
				left: 115px;
				transform: translateY(-50%);
				text-align: center;
				color: #ffffff;
				z-index: 10;
        }

        .developer-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            
        }

        .developer-info h4 {
            margin: 0;
            font-size: 1.2em;
            font-weight: 600;
        }

        .developer-info p {
            
            font-size: 0.9em;
            opacity: 0.7;
        }
.hide-on-scroll {
  opacity: 0; /* Starts hidden */
  transform: translateY(-50px); /* Optional: moves it slightly off-screen */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition */
}

.show-on-scroll {
  opacity: 1; /* Becomes visible */
  transform: translateY(0); /* Returns to original position */
}
    @keyframes gradientBg {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .glow-orb {
      position: fixed;
      pointer-events: none;
      border-radius: 50%;
      z-index: 1;
      filter: blur(80px);
      opacity: 0.6;
    }

    .orb-1 {
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
      top: -100px;
      left: -100px;
      animation: float1 20s ease-in-out infinite;
    }

    .orb-2 {
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(240, 147, 251, 0.4) 0%, transparent 70%);
      bottom: -50px;
      right: -50px;
      animation: float2 25s ease-in-out infinite;
    }

    .orb-3 {
      width: 350px;
      height: 350px;
      background: radial-gradient(circle, rgba(79, 172, 254, 0.4) 0%, transparent 70%);
      top: 50%;
      right: -100px;
      animation: float3 22s ease-in-out infinite;
    }

    @keyframes float1 {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(50px, 50px); }
    }

    @keyframes float2 {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-50px, -50px); }
    }

    @keyframes float3 {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-80px, 80px); }
    }

    .container-wrapper {
      position: relative;
      z-index: 10;
      width: 100%;
      padding: 20px;
     
      overflow-y: auto;
    }

    .main-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

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

    .title {
      font-size: 3.5rem;
      font-weight: 900;
      background: linear-gradient(147deg, #667eea 0%, #0c6928 25%, #f093fb 50%, #efff06 75%, #4facfe 100%);
      background-size: 300% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: shimmer 5s linear infinite;
      letter-spacing: -1.5px;
      line-height: 1.1;
      margin-bottom: 12px;
    }

    @keyframes shimmer {
      0% { background-position: -300% center; }
      100% { background-position: 300% center; }
    }

    .subtitle {
      font-size: 0.95rem;
      color: #ffff;
      font-weight: 500;
      letter-spacing: 0.3px;
      text-transform: uppercase;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      margin-bottom: 20px;
    }

    @media (min-width: 1024px) {
      .content-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .panel {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      border: 1.5px solid rgba(255, 255, 255, 0.6);
      border-radius: 32px;
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.7);
      padding: 40px;
      position: relative;
      overflow: hidden;
    }

    .panel::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
      pointer-events: none;
    }

    .panel::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
      pointer-events: none;
      animation: rotate 20s linear infinite;
    }

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

    .panel-content {
      position: relative;
      z-index: 11;
    }

    .panel-title {
      font-size: 1.4rem;
      font-weight: 800;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section {
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.08) 100%);
      border: 2px solid rgba(255, 255, 255, 0.8);
      border-radius: 24px;
      padding: 24px;
      margin-bottom: 20px;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
      overflow: hidden;
    }

    .section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
    }

    .section:hover {
      transform: translateY(-5px);
      border-color: rgba(102, 126, 234, 0.5);
      box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    }

    .section:hover::before {
      opacity: 1;
    }

    .label {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      font-size: 0.95rem;
      font-weight: 700;
      color: #222;
    }

    .badge {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      font-weight: 800;
      font-size: 14px;
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
      flex-shrink: 0;
    }

    .btn {
      position: relative;
      width: 100%;
      padding: 16px 28px;
      font-size: 1rem;
      font-weight: 700;
      border: none;
      border-radius: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      letter-spacing: 0.3px;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.45);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
      pointer-events: none;
    }

    .btn:hover::before {
      width: 350px;
      height: 350px;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
    }

    .btn:active {
      transform: translateY(-1px);
    }

    .btn-upload {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
    }

    .btn-resize {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      color: white;
    }

    .btn-download {
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      color: white;
    }

    .btn-move {
      background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
      color: white;
      padding: 10px 20px;
      font-size: 0.9rem;
      font-weight: 600;
      width: auto;
      box-shadow: 0 8px 20px rgba(67, 233, 123, 0.3);
      border-radius: 10px;
    }

    .btn-move::before {
      display: none;
    }

    .btn-move:hover {
      transform: scale(1.1) translateY(-2px);
      box-shadow: 0 12px 28px rgba(67, 233, 123, 0.4);
    }

    .error-box {
      background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
      border: 2px solid rgba(244, 63, 94, 0.35);
      border-radius: 14px;
      padding: 14px 18px;
      color: #d32f2f;
      font-weight: 600;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 10px;
      animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      margin-bottom: 20px;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-15px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .preview-img {
      max-width: 100%;
      height: auto;
      max-height: 240px;
      border-radius: 14px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
      display: block;
      margin: 0 auto;
      transition: transform 0.3s ease;
    }

    .preview-img:hover {
      transform: scale(1.02);
    }

    .resized-box {
      background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
      border: 2px dashed rgba(79, 172, 254, 0.3);
      border-radius: 16px;
      padding: 24px;
      text-align: center;
      margin-bottom: 20px;
    }

    .move-box {
      background: rgba(255, 255, 255, 0.7);
      border: 2px solid rgba(67, 233, 123, 0.25);
      border-radius: 16px;
      padding: 20px;
      backdrop-filter: blur(10px);
    }

    .input-file {
      display: none;
    }

    .info {
      display: inline-block;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(240, 147, 251, 0.12) 100%);
      border: 1px solid rgba(102, 126, 234, 0.25);
      border-radius: 10px;
      padding: 8px 14px;
      font-size: 0.85rem;
      font-weight: 600;
      color: #667eea;
      margin-top: 12px;
      animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.93);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .size-text {
      font-size: 1.4rem;
      font-weight: 800;
      background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin: 16px 0;
      animation: fadeIn 0.5s ease;
    }

    .disabled-btn {
      opacity: 0.45 !important;
      cursor: not-allowed !important;
    }

    .icon-small {
      width: 20px;
      height: 20px;
    }

    .panel-icon {
      width: 24px;
      height: 24px;
      color: #667eea;
    }

    .right-panel-icon {
      color: #4facfe;
    }

    @media (max-width: 1023px) {
      .title {
        font-size: 2.5rem;
      }

      .panel {
        padding: 30px;
      }

      .section {
        padding: 20px;
      }

      .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
      }
    }
     /* New Footer Style */
        .page-footer {
            margin-top: 20px;
            padding: 15px;
            text-align: center;
            color: #6c757d;
            font-size: 0.9em;
            width: 100%;
            max-width: 1400px;
        }
        
        .page-footer a {
            color: #007bff;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .page-footer a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

