/* === DMCA PAGE STYLE – AniPiece === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* === GLOBAL === */
body {
  margin: 0;
  background-color: #0f0422;
  color: #eee;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6a0dad, #9b30ff);
  border-radius: 6px;
  border: 3px solid #1a1a1a;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9b30ff, #6a0dad);
}

/* === PRELOADER === */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #010101;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.spinner {
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid #6a0dad;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === MAIN === */
main {
  margin-top: 40px;
  padding: 40px 20px;
}
.terms-container {
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === HERO === */
.terms-hero {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #6a0dad, #9b30ff, #370242);
  border-radius: 25px;
  margin-bottom: 50px;
  box-shadow: 0 15px 50px rgba(155, 48, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.terms-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse-bg 8s infinite;
}
@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.6; }
}
.terms-hero h1 {
  font-size: 2.6rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}
.hero-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* === CONTENT BOX === */
.terms-content {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 50px 40px;
  border: 1px solid rgba(155, 48, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.terms-section {
  margin-bottom: 60px;
}
.section-icon {
  font-size: 3.5rem;
  display: inline-block;
  margin-bottom: 15px;
  animation: bounce 2.5s infinite;
  filter: drop-shadow(0 5px 10px rgba(155, 48, 255, 0.4));
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.terms-section h2 {
  font-size: 2.2rem;
  color: #9b30ff;
  border-left: 6px solid #00d9ff;
  padding-left: 20px;
  margin-bottom: 25px;
}
.terms-section h3 {
  font-size: 1.5rem;
  color: #00d9ff;
  margin-top: 25px;
}
.terms-section p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* === STYLED LIST === */
.styled-list {
  list-style: none;
  padding-left: 0;
}
.styled-list li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  transition: transform 0.2s;
}
.styled-list li:hover {
  transform: translateX(5px);
}
.styled-list li::before {
  content: "⚙️";
  position: absolute;
  left: 0;
  top: 5px;
}

/* === INFO BOX === */
.info-box {
  background: rgba(0, 217, 255, 0.1);
  border: 2px dashed #00d9ff;
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
}
.info-box a {
  color: #00d9ff;
  text-decoration: none;
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* === DISCORD BOX === */
.discord-box {
  background: rgba(88, 101, 242, 0.15);
  border: 2px solid #5865f2;
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}
.discord-box i {
  font-size: 3rem;
  color: #5865f2;
  margin-bottom: 15px;
}
.discord-box h4 {
  color: #5865f2;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.discord-btn {
  display: inline-block;
  background: #5865f2;
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}
.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

/* === THANK YOU BOX === */
.thank-you-box {
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.2), rgba(0, 217, 255, 0.2));
  border: 3px solid #9b30ff;
  border-radius: 25px;
  padding: 40px;
  margin: 35px 0;
  text-align: center;
  box-shadow: 0 15px 50px rgba(155, 48, 255, 0.4);
}

.thank-you-box p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 25px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}
.social-btn.discord {
  background: #5865f2;
  color: white;
}
.social-btn.discord:hover {
  background: #4752c4;
  transform: translateY(-5px);
}
.social-btn.home {
  background: #9b30ff;
  color: white;
}
.social-btn.home:hover {
  background: #6a0dad;
  transform: translateY(-5px);
}
.social-btn.anime {
  background: #00d9ff;
  color: #0f0422;
}
.social-btn.anime:hover {
  background: #00b8d4;
  transform: translateY(-5px);
}

/* === DIVIDER === */
.divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #9b30ff, #00d9ff, transparent);
  margin: 60px 0;
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* === FINALE === */
.finale {
  text-align: center;
}
.finale h2 {
  color: #00d9ff;
}
.finale p em {
  color: #a0a0a0;
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .terms-hero h1 { font-size: 2rem; }
  .terms-content { padding: 30px 20px; }
  .social-links { flex-direction: column; }
  .social-btn { justify-content: center; }
}
@media (max-width: 480px) {
  .terms-hero h1 { font-size: 1.6rem; }
  .terms-section h2 { font-size: 1.5rem; }
}
