@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&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
  margin: 0;
  background-color: #0f0422;
  color: #eee;
  font-family: 'Poppins', sans-serif;
}

/* Onemogući selektovanje teksta i slika */
body, img {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
   
}

/* Prilagođeni scrollbar - AnimeKai stil */
::-webkit-scrollbar {
    width: 12px; /* Širina skrolbara */
}

::-webkit-scrollbar-track {
    background: #1a1a1a; /* Tamna pozadina skrolbara */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6a0dad, #9b30ff); /* Ljubičasti gradijent */
    border-radius: 6px;
    border: 3px solid #1a1a1a; /* Ostavlja tamni okvir za efekat */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9b30ff, #6a0dad); /* Efekat pri hoveru */
}

::-webkit-scrollbar-corner {
    background: transparent; /* Uklanja ćošak */
}

#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 CONTENT === */
main {
  margin-top: 40px;
  padding: 40px 20px;
  min-height: calc(100vh - 80px);
}

.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 SEKCIJA === */
.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.8rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  color: #fff;
}

.hero-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  font-weight: 300;
}

/* === CONTENT SEKCIJE === */
.terms-content {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(155, 48, 255, 0.2);
}

.terms-section {
  margin-bottom: 60px;
  position: relative;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.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;
  margin-bottom: 20px;
  color: #9b30ff;
  border-left: 6px solid #00d9ff;
  padding-left: 25px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(155, 48, 255, 0.3);
}

.terms-section h3 {
  font-size: 1.6rem;
  margin: 30px 0 20px;
  color: #00d9ff;
  font-weight: 600;
}

.terms-section h4 {
  font-size: 1.3rem;
  margin: 20px 0 15px;
  color: #fff;
  font-weight: 500;
}

.terms-section p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #ddd;
}

.terms-section em {
  color: #a0a0a0;
  font-style: italic;
}

.terms-section strong {
  color: #fff;
  font-weight: 600;
}

.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;
  }
}

/* === FEATURE BOX === */
.feature-box {
  background: rgba(106, 13, 173, 0.15);
  border: 2px solid #9b30ff;
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(155, 48, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(155, 48, 255, 0.4);
}

.feature-box.premium {
  background: rgba(0, 217, 255, 0.15);
  border-color: #00d9ff;
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.2);
}

.feature-box.premium:hover {
  box-shadow: 0 12px 35px rgba(0, 217, 255, 0.4);
}

.feature-box h3 {
  margin-top: 0;
  color: #9b30ff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-box.premium h3 {
  color: #00d9ff;
}

.feature-box ul {
  list-style: none;
  padding-left: 0;
}

.feature-box li {
  padding: 10px 0;
  padding-left: 35px;
  position: relative;
  font-size: 1.05rem;
  transition: transform 0.2s;
}

.feature-box li:hover {
  transform: translateX(5px);
}

.feature-box li::before {
  position: absolute;
  left: 0;
}

/* === HIGHLIGHT TEXT === */
.highlight-text {
  background: rgba(0, 217, 255, 0.12);
  border-left: 5px solid #00d9ff;
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  font-size: 1.05rem;
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.15);
}

.highlight-text strong {
  color: #00d9ff;
}

.highlight-text i {
  margin-right: 12px;
  color: #00d9ff;
  font-size: 1.2rem;
}

/* === SETTINGS GRID === */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin: 35px 0;
}

.setting-card {
  background: rgba(106, 13, 173, 0.12);
  border: 2px solid #9b30ff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.setting-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(155, 48, 255, 0.4);
  border-color: #00d9ff;
  background: rgba(155, 48, 255, 0.2);
}

.setting-card i {
  font-size: 3rem;
  color: #9b30ff;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s;
}

.setting-card:hover i {
  transform: scale(1.15) rotate(5deg);
  color: #00d9ff;
}

.setting-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #00d9ff;
}

.setting-card p {
  font-size: 0.95rem;
  color: #bbb;
  margin: 0;
  line-height: 1.6;
}

/* === INFO BOX === */
.info-box {
  background: rgba(0, 217, 255, 0.1);
  border: 2px dashed #00d9ff;
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.1);
}

.info-box i {
  color: #00d9ff;
  margin-right: 12px;
  font-size: 1.2rem;
}

.info-box strong {
  color: #00d9ff;
}

/* === LANGUAGE EXPLANATION === */
.language-explanation {
  margin: 35px 0;
}

.audio-option {
  background: rgba(106, 13, 173, 0.08);
  border-radius: 20px;
  padding: 30px;
  margin: 25px 0;
  border-left: 6px solid #9b30ff;
  transition: all 0.3s;
}

.audio-option:hover {
  background: rgba(106, 13, 173, 0.15);
  transform: translateX(8px);
}

.audio-option h4 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.badge-sub {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
}

.badge-dub {
  background: linear-gradient(135deg, #4ecdc4, #44a3b0);
  color: white;
}

.audio-option ul {
  padding-left: 30px;
  margin-top: 15px;
}

.audio-option li {
  margin: 12px 0;
  font-size: 1.05rem;
}

/* === STYLED LIST === */
.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  padding: 15px 0;
  padding-left: 40px;
  position: relative;
  transition: transform 0.2s;
}

.styled-list li:hover {
  transform: translateX(5px);
}

.styled-list li::before {
  position: absolute;
  left: 0;
  color: #9b30ff;
  font-size: 1.3rem;
}

/* === TUTORIAL BOX === */
.tutorial-box {
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.25), rgba(0, 217, 255, 0.25));
  border: 3px solid #9b30ff;
  border-radius: 20px;
  padding: 35px;
  margin: 35px 0;
  box-shadow: 0 10px 40px rgba(155, 48, 255, 0.3);
}

.tutorial-box h4 {
  color: #00d9ff;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 217, 255, 0.3);
}

.tutorial-box ol {
  padding-left: 30px;
  counter-reset: tutorial-counter;
}

.tutorial-box li {
  margin: 18px 0;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  counter-increment: tutorial-counter;
}

.tutorial-box li::marker {
  color: #9b30ff;
  font-weight: bold;
}

.tutorial-box .tip {
  background: rgba(0, 255, 136, 0.12);
  border-left: 5px solid #00ff88;
  padding: 20px;
  margin-top: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.15);
}

.tutorial-box .tip i {
  color: #00ff88;
  margin-right: 12px;
  font-size: 1.2rem;
}

/* === TRANSLATION BOX === */
.translation-box {
  margin: 35px 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin: 30px 0;
  padding: 25px;
  background: rgba(106, 13, 173, 0.08);
  border-radius: 20px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.process-step:hover {
  background: rgba(106, 13, 173, 0.15);
  transform: translateX(12px);
  border-left-color: #9b30ff;
}

.step-number {
  min-width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #6a0dad, #9b30ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(155, 48, 255, 0.4);
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #00d9ff;
  font-size: 1.2rem;
}

.step-content p {
  margin: 0;
  color: #bbb;
  line-height: 1.7;
}

/* === TITLE OPTIONS === */
.title-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 35px 0;
}

.title-card {
  background: rgba(0, 217, 255, 0.12);
  border: 2px solid #00d9ff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.title-card:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.2);
}

.title-card h4 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #00d9ff;
  font-size: 1.2rem;
}

.title-card p {
  margin: 12px 0;
  font-size: 1.05rem;
}

.title-card p:first-of-type {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}

.title-card .description {
  font-size: 0.9rem;
  color: #999;
}

/* === WIP BOX === */
.wip-box {
  background: rgba(255, 170, 0, 0.12);
  border: 3px solid #ffaa00;
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  margin: 35px 0;
  box-shadow: 0 10px 35px rgba(255, 170, 0, 0.2);
}

.wip-box i {
  font-size: 4rem;
  color: #ffaa00;
  margin-bottom: 25px;
  display: block;
  animation: swing 3s infinite;
  filter: drop-shadow(0 5px 15px rgba(255, 170, 0, 0.4));
}

@keyframes swing {
  0%, 100% {
    transform: rotate(-12deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

.wip-box h3 {
  color: #ffaa00;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.progress-text {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
}

.progress-text i {
  font-size: 1rem;
  display: inline;
  animation: none;
}

/* === CALENDAR INFO === */
.calendar-info {
  margin: 35px 0;
}

.timeline-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 35px 0;
  padding: 35px;
  background: rgba(0, 217, 255, 0.08);
  border-radius: 20px;
  flex-wrap: wrap;
  gap: 25px;
  border: 2px solid rgba(0, 217, 255, 0.3);
}

.timeline-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.time-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6a0dad, #9b30ff);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  margin-bottom: 12px;
  box-shadow: 0 5px 20px rgba(155, 48, 255, 0.3);
  font-size: 1.05rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: #bbb;
  margin: 0;
}

.arrow {
  font-size: 2rem;
  color: #9b30ff;
  font-weight: bold;
}

.note {
  background: rgba(255, 170, 0, 0.1);
  border-left: 5px solid #ffaa00;
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
}

.note i {
  color: #ffaa00;
  margin-right: 12px;
  font-size: 1.2rem;
}

.note strong {
  color: #ffaa00;
}

/* === BUG REPORT BOX === */
.bug-report-box {
  background: rgba(255, 68, 68, 0.1);
  border: 3px solid #ff4444;
  border-radius: 20px;
  padding: 35px;
  margin: 35px 0;
  box-shadow: 0 10px 35px rgba(255, 68, 68, 0.2);
}

.bug-report-box h3 {
  color: #ff4444;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.bug-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.bug-list li {
  padding: 12px 0;
  font-size: 1.05rem;
}

.discord-box {
  background: rgba(88, 101, 242, 0.15);
  border: 2px solid #5865f2;
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
}

.discord-box i {
  font-size: 3rem;
  color: #5865f2;
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.discord-box h4 {
  color: #5865f2;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.discord-box ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.discord-box li {
  padding: 10px 0;
}

.discord-link {
  text-align: center;
  margin-top: 25px;
}

.discord-btn {
  display: inline-block;
  background: #5865f2;
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.discord-btn i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.response-time {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
  border-left: 5px solid #00ff88;
}

.response-time i {
  color: #00ff88;
  margin-right: 12px;
  font-size: 1.2rem;
}

/* === RULES BOX === */
.rules-box {
  margin: 35px 0;
}

.rules-box h3 {
  color: #9b30ff;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 25px 0;
  padding: 25px;
  background: rgba(106, 13, 173, 0.08);
  border-radius: 20px;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.rule-item:hover {
  background: rgba(106, 13, 173, 0.15);
  border-left-color: #9b30ff;
  transform: translateX(8px);
}

.rule-item i {
  font-size: 2.5rem;
  color: #9b30ff;
  flex-shrink: 0;
  margin-top: 5px;
}

.rule-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #00d9ff;
  font-size: 1.2rem;
}

.rule-item p {
  margin: 0;
  color: #bbb;
}

.rule-item code {
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
  color: #ff6b6b;
  font-family: 'Courier New', monospace;
}

/* === WARNING BOX === */
.warning-box {
  background: rgba(255, 68, 68, 0.12);
  border: 3px solid #ff4444;
  border-radius: 20px;
  padding: 35px;
  margin: 35px 0;
  box-shadow: 0 10px 35px rgba(255, 68, 68, 0.25);
}

.warning-box i {
  font-size: 3rem;
  color: #ff4444;
  display: block;
  margin-bottom: 20px;
  text-align: center;
  animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.warning-box h3 {
  color: #ff4444;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.warning-box ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.warning-box li {
  padding: 10px 0;
  font-size: 1.05rem;
  text-align: center;
}

/* === 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;
  box-shadow: 0 15px 50px rgba(155, 48, 255, 0.4);
  text-align: center;
}

.final-quote {
  font-size: 1.3rem;
  font-style: italic;
  color: #00d9ff;
  margin: 35px 0;
  padding: 25px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  line-height: 1.8;
}

.final-quote i {
  color: #9b30ff;
  font-size: 1.5rem;
  margin: 0 10px;
}

.cta-text {
  font-size: 1.2rem;
  color: #fff;
  margin: 30px 0;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.discord {
  background: #5865f2;
  color: white;
}

.social-btn.discord:hover {
  background: #4752c4;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.social-btn.home {
  background: #9b30ff;
  color: white;
}

.social-btn.home:hover {
  background: #6a0dad;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(155, 48, 255, 0.6);
}

.social-btn.anime {
  background: #00d9ff;
  color: #0f0422;
}

.social-btn.anime:hover {
  background: #00b8d4;
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
}

.signature {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid rgba(155, 48, 255, 0.3);
  font-size: 1.1rem;
  color: #bbb;
}

.signature strong {
  color: #9b30ff;
  font-size: 1.2rem;
}

.signature em {
  color: #00d9ff;
}

.finale {
  text-align: center;
}



/* === RESPONSIVE === */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }

  .navbar {
    width: 90%;
    padding: 10px 15px;
  }

  .terms-hero h1 {
    font-size: 2rem;
  }

  .hero-quote {
    font-size: 1rem;
  }

  .terms-content {
    padding: 30px 20px;
  }

  .terms-section h2 {
    font-size: 1.8rem;
  }

  .section-icon {
    font-size: 2.5rem;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .timeline-box {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .social-links {
    flex-direction: column;
    align-items: stretch;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .terms-hero h1 {
    font-size: 1.6rem;
  }

  .terms-section h2 {
    font-size: 1.5rem;
  }

  .feature-box, .tutorial-box, .translation-box {
    padding: 20px;
  }
}