body {
  margin: 0;
  background-color: #121212;
  background-image: url("images/naruto02.jpg");
  background-repeat:repeat; 
  background-blend-mode: overlay;
  font-family: 'Poppins', sans-serif;
  color: white;
  
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
  
 
}

.logo img {
  height: 150px;
  margin-top: -30px;
  margin-left: -50px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: -70px;
}


nav button, nav input, nav a {
  background: linear-gradient(45deg, #ff0000, #ff4500);
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-decoration: none;
}
nav button:hover, nav input:hover, nav a:hover {
  background: linear-gradient(45deg, #ff0000, #ff4500);
  scale: 1.05;
  transition: 0.06s ease;
}



.copyright {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 50px;
    padding: 20px;
    font-weight: 400;
    background-color: transparent;
}


body.tracemoe {
    background-image: url("images/naruto02.jpg");
    background-color: #121212cc;
}

.tracecontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.traceblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, #2e2e2e, #1a1a1a);
    border-radius: 20px;
    padding: 30px;
    width: 800px;
    max-width: 90vw;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inputblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,0.2);
}

.inputblock:hover {
    border-color: #ff0000;
    background-color: rgba(255, 140, 0, 0.1);
}

.block {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(170, 166, 166, 0.2);
    border-radius: 15px;
    min-height: 150px;
}

.watch {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.watchlink, .addlink {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    background: linear-gradient(45deg, #ff0000, #ff4500);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.watchlink:hover, .addlink:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 0, 0, 0.4);
}

/* Download section styling */
.download-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0 20px;
  width: 100%;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid #ea6666;
  border-radius: 30px;
  background: linear-gradient(135deg, #ea6666, #a24b4b);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  min-width: 200px;
  max-width: 300px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 27, 27, 0.4);
  background: linear-gradient(135deg, #d85a5a, #936b4c);
}

.download-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(243, 104, 80, 0.991);
}

/* Disabled state for download button */
.download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(135deg, #999, #888);
  border-color: #999;
}

.download-btn:disabled:hover {
  transform: none;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #999, #888);
}

/* Ensure button text is properly styled */
.download-btn span {
  white-space: nowrap;
  font-size: inherit;
  color: inherit;
  line-height: 1;
}

/* Counter styling within button */
.download-btn #tracemoe-count {
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  margin-left: 2px;
}

/* Badge for document count - Global styling */
span#tracemoe-count {
  transition: all 0.2s ease;
  display: inline-block;
}

/* Success notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.notification.error {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}