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

body {
  background: #f5f5f7;
  color: #111827;
}

/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  height: 75px;

  background: white;

  border-bottom: 1px solid #e5e7eb;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 35px;
}


/* LOGO */

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height:111px;
    width:auto;
    display:block;
}


.heart {
  color: #ef4444;
  margin-right: 6px;
}

.back-btn {
  text-decoration: none;

  background: #111827;
  color: white;

  padding: 12px 18px;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;

  transition: 0.3s;
}

.back-btn:hover {
  background: #374151;
}

/* =========================
   CONTAINER
========================= */

.container {
  width: 100%;
  max-width: 950px;

  margin: 60px auto;

  padding: 0 20px;
}

/* =========================
   TOP CONTENT
========================= */

.top-content {
  text-align: center;

  margin-bottom: 45px;
}

.top-content h1 {
  font-size: 54px;
  font-weight: 800;

  margin-bottom: 20px;
}

.top-content p {
  color: #6b7280;

  font-size: 18px;

  line-height: 1.7;
}

/* =========================
   UPLOAD BOX
========================= */

.upload-box {
  width: 100%;

  min-height: 320px;

  background: white;

  border: 3px dashed #d1d5db;

  border-radius: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  cursor: pointer;

  transition: 0.3s;

  padding: 40px;
}

.upload-box:hover {
  border-color: #ef4444;

  background: #fff7f7;
}

.upload-box.dragover {
  border-color: #ef4444;

  background: #fff1f2;
}

.upload-box i {
  font-size: 80px;

  color: #ef4444;

  margin-bottom: 25px;
}

.upload-box h2 {
  font-size: 34px;
  font-weight: 800;

  margin-bottom: 15px;
}

.upload-box p {
  color: #6b7280;

  font-size: 17px;
}

/* =========================
   FILE LIST
========================= */

.file-list {
  margin-top: 35px;

  display: flex;
  flex-direction: column;

  gap: 16px;
}

.file-item {
  background: white;

  border-radius: 18px;

  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid #e5e7eb;

  transition: 0.3s;
}

.file-item:hover {
  border-color: #ef4444;

  transform: translateY(-2px);
}

.file-left {
  display: flex;
  align-items: center;

  gap: 18px;
}

.file-icon {
  width: 55px;
  height: 55px;

  border-radius: 15px;

  background: #ef4444;

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
}

.file-info h3 {
  font-size: 18px;

  margin-bottom: 5px;
}

.file-info p {
  color: #6b7280;

  font-size: 14px;
}

.remove-btn {
  width: 42px;
  height: 42px;

  border-radius: 12px;

  border: none;

  background: #fee2e2;

  color: #ef4444;

  font-size: 18px;

  cursor: pointer;

  transition: 0.3s;
}

.remove-btn:hover {
  background: #ef4444;
  color: white;
}

/* =========================
   MERGE BUTTON
========================= */

.merge-btn {
  width: 100%;

  margin-top: 35px;

  height: 68px;

  border: none;

  border-radius: 22px;

  background: #ef4444;

  color: white;

  font-size: 20px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}

.merge-btn:hover {
  background: #dc2626;

  transform: translateY(-2px);
}

/* =========================
   LOADER
========================= */

.loader {
  position: fixed;

  inset: 0;

  background: rgba(255,255,255,0.8);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(5px);

  z-index: 2000;
}

.hidden {
  display: none;
}

.spinner {
  width: 70px;
  height: 70px;

  border: 6px solid #f3f4f6;
  border-top-color: #ef4444;

  border-radius: 50%;

  animation: spin 1s linear infinite;

  margin-bottom: 25px;
}

.loader p {
  font-size: 20px;
  font-weight: 700;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .header {
    padding: 0 18px;
  }

  .logo {
    font-size: 24px;
  }

  .top-content h1 {
    font-size: 40px;
  }

  .upload-box {
    min-height: 260px;
  }

  .upload-box i {
    font-size: 60px;
  }

  .upload-box h2 {
    font-size: 28px;
  }

  .merge-btn {
    height: 60px;
    font-size: 18px;
  }

}

@media (max-width: 480px) {

  .top-content h1 {
    font-size: 32px;
  }

  .top-content p {
    font-size: 16px;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
  }

}
/* =========================
   FOOTER
========================= */

.footer{

    background:#111827;

    color:#fff;

    margin-top:80px;
}

.footer-container{

    max-width:1300px;

    margin:auto;

    padding:60px 24px;

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr 1fr;

    gap:40px;
}

.footer-brand img{
    height:81px;

    background:white;

    padding:5px;

    border-radius:5px;
}
.footer-brand p{

    color:#9ca3af;

    line-height:1.8;

    max-width:320px;
}

.footer-column h3{

    margin-bottom:20px;

    font-size:18px;

    font-weight:700;
}

.footer-column{
    display:flex;
    flex-direction:column;
    position:relative;
    padding-left:30px;
}

.footer-column a{

    color:#9ca3af;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;
}

.footer-column a:hover{

    color:#ef4444;
}

.footer-bottom{

    border-top:1px solid #374151;

    text-align:center;

    padding:20px;
}

.footer-bottom p{

    color:#9ca3af;

    font-size:14px;
}

.footer-column::before{

    content:"";

    position:absolute;

    left:0;
    top:10px;

    width:1px;
    height:80%;

    background:rgba(255,255,255,0.12);
}
@media (max-width: 992px){

    .footer-container{

        grid-template-columns:
        repeat(2,1fr);
    }

}
@media (max-width: 768px){

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;
    }

    .footer-brand p{

        max-width:100%;

        margin:auto;
    }

   .footer-brand img{
    height:50px;

    background:white;

    padding:8px;

    border-radius:10px;
}

}

@media (max-width:768px){

    .footer-column::before{
        display:none;
    }

    .footer-column{
        padding-left:0;
    }

}