.kashkick-offerwall {
  margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.kashkick-offerwall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.kashkick-offerwall-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 28px;
  font-weight: 700;
}

.kashkick-offerwall-count {
  background: #00c853;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Grid Layout */

.kashkick-layout-grid .kashkick-offers-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}

.kashkick-columns-1 .kashkick-offers-container {
  grid-template-columns: repeat(1, 1fr);
}

.kashkick-columns-2 .kashkick-offers-container {
  grid-template-columns: repeat(2, 1fr);
}

.kashkick-columns-3 .kashkick-offers-container {
  grid-template-columns: repeat(3, 1fr);
}

.kashkick-columns-4 .kashkick-offers-container {
  grid-template-columns: repeat(4, 1fr);
}

.kashkick-columns-5 .kashkick-offers-container {
  grid-template-columns: repeat(5, 1fr);
}

.kashkick-columns-6 .kashkick-offers-container {
  grid-template-columns: repeat(6, 1fr);
}

/* List Layout */

.kashkick-layout-list .kashkick-offers-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kashkick-offer-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.kashkick-offer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kashkick-layout-list .kashkick-offer-item {
  display: flex;
}

.kashkick-layout-list .kashkick-offer-inner {
  display: flex;
  flex: 1;
  gap: 20px;
}

.kashkick-layout-list .kashkick-offer-image {
  flex: 0 0 200px;
}

.kashkick-offer-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.kashkick-offer-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kashkick-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.kashkick-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
}

.kashkick-promo-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  flex: 1;
}

.kashkick-play-now-button {
  display: inline-block;
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.kashkick-play-now-button:hover {
  background: linear-gradient(135deg, #c1121f 0%, #a1121f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.kashkick-offer-info {
  padding: 20px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kashkick-offer-name {
  margin: 0 0 8px 0;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.kashkick-offer-description {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.kashkick-offer-footer {
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.kashkick-earn-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgb(12, 122, 32);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  height: 47px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.kashkick-earn-button:hover {
  background-color: rgb(10, 100, 26);
  color: #fff;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.modal.fade {
  transition: opacity 0.3s linear;
}

.modal.fade:not(.show) {
  opacity: 0;
}

.modal.show {
  display: block;
}

.modal.fade.show {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
}

.modal.fade:not(.show) .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.fade.show .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, 0);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-title {
  margin: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.modal-footer .btn {
  margin-left: 0.5rem;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.close:hover {
  opacity: 0.75;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal-backdrop.fade.show {
  opacity: 0.5;
}

.modal-open {
  overflow: hidden;
}

.kashkick-signup-modal {
  max-width: 450px;
}

.kashkick-signup-content {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(10px);
}

.kashkick-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kashkick-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.kashkick-signup-container {
  padding: 30px 25px;
  background: #d8d8d8;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.kashkick-signup-header {
  text-align: center;
  margin-bottom: 25px;
}

.kashkick-signup-title {
  font-size: 32px;
  font-weight: 700;
  color: #7629a2;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.kashkick-signup-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

.kashkick-reward-counter {
  text-align: center;
  margin-bottom: 30px;
}

.kashkick-reward-label {
  font-size: 13px;
  color: #999;
  margin: 0 0 15px 0;
}

.kashkick-reward-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.kashkick-reward-digit {
  background: #fff;
  border: 2px dashed #667eea;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  min-width: 35px;
  text-align: center;
}

.kashkick-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.kashkick-social-btn, .kashkick-submit-btn, .kashkick-show-hide-inputs-btn, .kashkick-form-submit-btn {
  display: flex;
  font-family: Poppins, sans-serif;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.kashkick-google-btn {
  background: #fff;
  color: #333;
  border: 2px solid #e0e0e0;
}

.kashkick-google-btn:hover {
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kashkick-paypal-btn {
  background: #642a8e;
  color: #fff;
}

.kashkick-paypal-btn:hover {
  background: #8032b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.kashkick-facebook-btn {
  background: #4267b2;
  color: #fff;
}

.kashkick-facebook-btn:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.kashkick-social-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.kashkick-paypal-icon svg,
.kashkick-facebook-icon svg {
  fill: #fff;
}

.kashkick-or-separator {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
}

.kashkick-or-line {
  flex: 1;
  height: 1px;
  background: #7f76bb;
}

.kashkick-or-text {
  font-size: 13px;
  color: #3a373f;
  font-weight: 600;
}

.kashkick-signup-form {
  margin-bottom: 20px;
}

.kashkick-form-group {
  margin-bottom: 15px;
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease, transform 0.4s ease;
  transform: translateY(-10px);
}

.kashkick-form-group.kashkick-form-group-visible {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 15px;
  transform: translateY(0);
}

.kashkick-form-group[hidden] {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transform: translateY(-10px);
}

.kashkick-form-input {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.kashkick-form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kashkick-form-input.kashkick-input-error {
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.kashkick-form-input.kashkick-input-error:focus {
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.kashkick-field-error {
  display: none;
  color: #e63946;
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.6;
  clear: both;
}

.kashkick-field-error ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.kashkick-field-error li {
  margin-bottom: 4px;
}

.kashkick-field-error:not(:empty) {
  display: block;
}

.kashkick-password-group {
  position: relative;
}

.kashkick-password-group .kashkick-form-input {
  padding-right: 50px;
}

.kashkick-password-toggle {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: 0;
}

.kashkick-password-toggle:hover {
  opacity: 0.7;
}

.kashkick-eye-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.kashkick-eye-icon-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.kashkick-eye-fallback {
  font-size: 20px;
  line-height: 1;
}

.kashkick-show-hide-inputs-btn, .kashkick-submit-btn {
  transform: translateY(0);
  color: #fff;
  width: 100%;
  background-color: #7629a2;
}

.kashkick-submit-btn[hidden], .kashkick-show-hide-inputs-btn[hidden] {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-10px);
}

.kashkick-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.kashkick-submit-btn:hover:not(:disabled), .kashkick-show-hide-inputs-btn:hover:not(:disabled) {
  background: #8032b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.kashkick-submit-btn.kashkick-btn-loading {
  pointer-events: none;
}

.kashkick-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: kashkick-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes kashkick-spin {

  to {
    transform: rotate(360deg);
  }
}

.kashkick-signup-footer {
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  margin-top: 20px;
}

.kashkick-powered-by a {
  color: #00c853;
  text-decoration: none;
  font-weight: 600;
}

.kashkick-signup-footer a {
  color: #667eea;
  text-decoration: underline;
}

.kashkick-powered-by a:hover {
  text-decoration: underline;
}

.kashkick-signup-footer a:hover {
  color: #5568d3;
}

@media (max-width: 576px) {

  .kashkick-signup-modal {
    max-width: 100%;
    margin: 0;
  }

  .kashkick-signup-container {
    padding: 25px 20px;
    max-height: 95vh;
  }

  .kashkick-signup-title {
    font-size: 24px;
  }

  .kashkick-reward-digit {
    font-size: 20px;
    padding: 6px 10px;
    min-width: 30px;
  }
}

.kashkick-arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

.kashkick-offerwall-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.kashkick-disclaimer {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.kashkick-powered-by {
  color: #999;
  font-size: 13px;
}

.kashkick-error {
  background: #ffebee;
  color: #c62828;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 30px 0;
}

.kashkick-debug {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-family: monospace;
  font-size: 13px;
}

.kashkick-offerwall-loader {
  text-align: center;
  padding: 60px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.kashkick-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #7629a2;
  border-radius: 50%;
  animation: kashkick-spin 1s linear infinite;
}

@keyframes kashkick-spin {

  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.kashkick-loading-text {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.kashkick-offerwall-error {
  background: #ffebee;
  color: #c62828;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 30px 0;
}

.kashkick-offerwall-error p {
  margin: 0;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1200px) {

  .kashkick-columns-4 .kashkick-offers-container,
  .kashkick-columns-5 .kashkick-offers-container,
  .kashkick-columns-6 .kashkick-offers-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {

  .kashkick-offerwall-title {
    font-size: 24px;
  }

  .kashkick-layout-grid .kashkick-offers-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .kashkick-columns-3 .kashkick-offers-container,
  .kashkick-columns-4 .kashkick-offers-container,
  .kashkick-columns-5 .kashkick-offers-container,
  .kashkick-columns-6 .kashkick-offers-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .kashkick-offerwall-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kashkick-layout-list .kashkick-offer-inner {
    flex-direction: column;
  }

  .kashkick-layout-list .kashkick-offer-image {
    flex: 0 0 150px;
  }
}

@media (max-width: 576px) {

  .kashkick-layout-grid .kashkick-offers-container {
    grid-template-columns: 1fr;
  }

  .kashkick-offer-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .kashkick-offer-actions {
    flex-direction: column;
  }
}
