/* BLOX FRUITS SCRIPTS PAGE */
/* Design matches Discord/Key page patterns */

/* HERO — compact */
.scripts-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 28px 20px 32px;
  text-align: center;
}

.scripts-hero .divider { display: none; }

.scripts-hero__content {
  max-width: 700px;
  margin: 0 auto;
}

.scripts-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.35);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  color: #a8b1ff;
  margin-bottom: 12px;
}

.scripts-hero__badge svg {
  width: 14px;
  height: 14px;
}

.scripts-hero h1 {
  font-family: var(--font-poppins);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.scripts-hero__subtitle {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.5;
  margin: 0 auto 12px;
}

.scripts-hero__meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8a919c;
}

.scripts-hero__meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.scripts-hero__meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* SCRIPTS LIST */
.scripts-section {
  background: #f8f9fa;
  padding: 60px 20px;
}

.scripts-section__container {
  max-width: 900px;
  margin: 0 auto;
}

.scripts-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.scripts-section__header h2 {
  font-family: var(--font-poppins);
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.scripts-section__header p {
  font-family: var(--font-base);
  font-size: 15px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.scripts-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SCRIPT CARD — full-width horizontal layout */
.script-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.script-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.script-card__image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  background: #e9ecef;
}

.script-card__body {
  padding: 24px;
  flex: 1;
}

.script-card__title {
  font-family: var(--font-poppins);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.script-card__description {
  font-family: var(--font-base);
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CODE PREVIEW */
.script-card__code-wrap {
  position: relative;
  margin-bottom: 20px;
}

.script-card__code {
  background: #0f0f23;
  color: #69db7c;
  padding: 18px 20px;
  border-radius: 10px;
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* CARD ACTIONS */
.script-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.script-card__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.script-card__copy-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.script-card__copy-btn.copied {
  background: #40c057;
}

.script-card__copy-btn svg {
  width: 18px;
  height: 18px;
}

/* RATING BUTTONS */
.script-card__ratings {
  display: flex;
  gap: 10px;
  align-items: center;
}

.script-card__rate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-base);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.script-card__rate-btn svg {
  width: 18px;
  height: 18px;
}

.script-card__rate-btn--working {
  background: rgba(64, 192, 87, 0.1);
  color: #2b8a3e;
  border-color: rgba(64, 192, 87, 0.25);
}

.script-card__rate-btn--working:hover,
.script-card__rate-btn--working.active {
  background: rgba(64, 192, 87, 0.2);
  border-color: #40c057;
}

.script-card__rate-btn--not-working {
  background: rgba(255, 107, 107, 0.1);
  color: #c92a2a;
  border-color: rgba(255, 107, 107, 0.25);
}

.script-card__rate-btn--not-working:hover,
.script-card__rate-btn--not-working.active {
  background: rgba(255, 107, 107, 0.2);
  border-color: #ff6b6b;
}

/* NO SCRIPTS */
.scripts-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 16px;
}

/* FEATURES SECTION */
.scripts-features {
  background: #fff;
  padding: 50px 20px;
}

.scripts-features__container {
  max-width: 900px;
  margin: 0 auto;
}

.scripts-features__container h3 {
  font-family: var(--font-poppins);
  font-size: 24px;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.scripts-features__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.scripts-features__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-base);
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.scripts-features__list li img {
  flex-shrink: 0;
}

.scripts-features__container > p {
  font-family: var(--font-base);
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* INFO SECTION (What is / How to) */
.scripts-info {
  background: #f8f9fa;
  padding: 50px 20px;
}

.scripts-info__container {
  max-width: 900px;
  margin: 0 auto;
}

.scripts-info__container h2 {
  font-family: var(--font-poppins);
  font-size: 26px;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.scripts-info__container p {
  font-family: var(--font-base);
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.scripts-info__container h3 {
  font-family: var(--font-poppins);
  font-size: 20px;
  color: #1a1a2e;
  margin-top: 24px;
  margin-bottom: 10px;
}

.scripts-info__container a {
  color: #5865F2;
  text-decoration: underline;
}

.scripts-info__container ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.scripts-info__container ul li {
  font-family: var(--font-base);
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* HOW TO EXECUTE */
.scripts-howto {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 60px 20px;
}

.scripts-howto__container {
  max-width: 800px;
  margin: 0 auto;
}

.scripts-howto__header {
  text-align: center;
  margin-bottom: 40px;
}

.scripts-howto__header h2 {
  font-family: var(--font-poppins);
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}

.scripts-howto__header p {
  font-family: var(--font-base);
  font-size: 15px;
  color: #8a919c;
}

.scripts-howto__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scripts-howto__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.scripts-howto__step-num {
  width: 44px;
  height: 44px;
  background: #5865F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.scripts-howto__step-content h4 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.scripts-howto__step-content p {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.6;
}

.scripts-howto__step-content a {
  color: #a8b1ff;
  text-decoration: underline;
}

.scripts-howto__step-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0;
  color: #b0b7c3;
}

.scripts-howto__step-content ul li {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.6;
  margin-bottom: 4px;
}

.scripts-howto__step-content ol {
  list-style: decimal;
  padding-left: 20px;
  margin: 8px 0;
  color: #b0b7c3;
}

.scripts-howto__step-content ol li {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.6;
  margin-bottom: 4px;
}

.scripts-howto__note {
  font-family: var(--font-base);
  font-size: 14px;
  color: #b0b7c3;
  line-height: 1.7;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(88, 101, 242, 0.1);
  border-radius: 10px;
  border-left: 3px solid #5865F2;
}

/* CONCLUSION */
.scripts-conclusion {
  background: #fff;
  padding: 50px 20px;
}

.scripts-conclusion__container {
  max-width: 800px;
  margin: 0 auto;
}

.scripts-conclusion__text {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border: 1px solid #e9ecef;
  border-left: 4px solid #5865F2;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.scripts-conclusion__text h3 {
  font-family: var(--font-poppins);
  font-size: 20px;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.scripts-conclusion__text p {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

.scripts-conclusion__text p:last-child {
  margin-bottom: 0;
}

.scripts-conclusion__text ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.scripts-conclusion__text ul li {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}

.scripts-conclusion__cta {
  text-align: center;
}

.scripts-conclusion__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.scripts-conclusion__btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4);
  text-decoration: none;
}

/* FAQ */
.scripts-faq {
  background: #fff;
  padding: 60px 20px;
}

.scripts-faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.scripts-faq__header {
  text-align: center;
  margin-bottom: 40px;
}

.scripts-faq__header h2 {
  font-family: var(--font-poppins);
  font-size: 28px;
  color: #1a1a2e;
}

.scripts-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scripts-faq__item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
}

.scripts-faq__item h3 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.scripts-faq__item p {
  font-family: var(--font-base);
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.scripts-faq__item a {
  color: #5865F2;
  text-decoration: underline;
}

.scripts-faq__item h3 a {
  color: #5865F2;
  text-decoration: none;
}

.scripts-faq__item h3 a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media screen and (min-width: 768px) {
  .scripts-hero h1 {
    font-size: 28px;
  }

  /* Horizontal card layout on larger screens */
  .script-card {
    flex-direction: row;
  }

  .script-card__image {
    width: 280px;
    max-height: none;
    flex-shrink: 0;
  }

  .scripts-section__header h2,
  .scripts-howto__header h2,
  .scripts-faq__header h2 {
    font-size: 32px;
  }
}

@media screen and (min-width: 1024px) {
  .script-card__image {
    width: 320px;
  }

  .scripts-section__header h2,
  .scripts-howto__header h2,
  .scripts-faq__header h2 {
    font-size: 36px;
  }
}
