:root {
  --bg-deep: #050505;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-white: #ffffff;
  --text-muted: #a0a0a0;
  --grad-black-white: linear-gradient(180deg, #555 0%, #fff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Playwrite NZ Basic", cursive;
}

body {
  background-color: var(--bg-deep);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.glow-1 {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  z-index: -1;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.gradient-text {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  background: var(--grad-black-white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.brand-container {
  width: 90%;
  max-width: 1000px;
  margin: 20px 0;
  padding: 15px clamp(15px, 3vw, 30px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.main-container {
  width: 90%;
  max-width: 600px;
  padding: clamp(20px, 5vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 12px 15px;
  border-radius: 10px;
  color: white;
  outline: none;
  transition: 0.3s;
  font-size: clamp(0.9rem, 2vw, 1rem);
  width: 100%;
  margin-bottom: 15px;
}

input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.addBtn {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: white;
  color: black;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: clamp(0.9rem, 2vw, 1rem);
  width: 100%;
}

.addBtn:active {
  transform: scale(0.98);
}

.ripple-span {
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  animation: ripple-anim 0.6s linear;
}

@keyframes ripple-anim {
  from {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  to {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

.social-icon {
  color: white;
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-left: clamp(10px, 2vw, 20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.list-wrapper {
  width: 95%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 clamp(10px, 3vw, 20px);
}

.articleList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 100px;
}

.article-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: clamp(15px, 4vw, 25px) clamp(20px, 5vw, 35px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.01);
}

.card-content {
  width: 100%;
}

.card-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.card-content p {
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
  word-wrap: break-word;
}

.del-btn {
  background: transparent;
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: clamp(0.85rem, 2vw, 1rem);
  align-self: flex-start;
}

.del-btn:hover {
  background: rgba(255, 77, 77, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .article-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .card-content p {
    max-width: 80%;
  }

  .del-btn {
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .glow-1 {
    width: 500px;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .brand-container {
    justify-content: center;
    text-align: center;
  }

  .social-icon {
    margin-left: 10px;
  }

  .gradient-text {
    font-size: 1.8rem;
  }
}
.watermark-container p {
  opacity: 0.4;
}
