/* =================================================================
   @twenty4tim - Offizielles PlayStation 5 Giveaway
   Vibrant Electric Cyan, Neon Blue, Cyber Yellow & Sleek Dark Accents
   ================================================================= */

:root {
  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --ps-blue: #0070d1;
  --neon-cyan: #00d2ff;
  --neon-cyan-hover: #00b8e6;
  --neon-yellow: #ffe600;
  --neon-yellow-hover: #ffd000;
  --ps-dark: #0a0e17;
  --ps-navy: #111827;

  --accent-light: #f0f9ff;
  --accent-border: #bae6fd;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 20px 50px rgba(10, 14, 23, 0.09), 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 10px 28px rgba(0, 210, 255, 0.45);
  --border-radius-card: 28px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, #0a0e17 0%, #111a2e 200px, #f1f5f9 200px, #f8fafc 100%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Top Sticky Announcement Bar */
.top-announcement {
  background: #0a0e17;
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 11px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 210, 255, 0.4);
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.live-pulse {
  width: 9px;
  height: 9px;
  background: #00d2ff;
  border-radius: 50%;
  box-shadow: 0 0 12px #00d2ff;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.highlight-slot {
  color: #ffe600;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.6);
}

.pulse-anim {
  animation: slotPop 0.8s ease-in-out;
}

@keyframes slotPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); color: #ff0055; }
  100% { transform: scale(1); }
}

/* Page Wrapper */
.page-wrapper {
  max-width: 620px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
}

.main-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.2rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

/* Collab Header Tag */
.collab-header {
  margin-bottom: 1.1rem;
}

.collab-tag {
  display: inline-block;
  background: linear-gradient(135deg, #0a0e17 0%, #1e293b 100%);
  color: #00d2ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(0, 210, 255, 0.45);
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.2);
}

/* Profile Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.6rem;
}

.avatar-wrapper {
  position: relative;
  width: 125px;
  height: 125px;
  margin-bottom: 1.1rem;
}

.avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #00d2ff 0%, #ffe600 50%, #0070d1 100%);
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.4), 0 0 15px rgba(255, 230, 0, 0.3);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #000000;
  display: block;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.handle-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.handle-name {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.verified-badge {
  width: 22px;
  height: 22px;
}

.giveaway-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0070d1;
  background: linear-gradient(135deg, #0070d1 0%, #00a8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main CTA Button */
.cta-wrapper {
  margin: 1.2rem 0 2.2rem;
}

.claim-button {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(135deg, #00d2ff 0%, #0084ff 50%, #0050d1 100%);
  color: #ffffff;
  border: 1px solid #70e2ff;
  border-radius: 50px;
  padding: 17px 28px;
  font-size: 1.25rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 132, 255, 0.45), 0 0 20px rgba(0, 210, 255, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.claim-button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shineBtn 3s infinite;
}

@keyframes shineBtn {
  0% { left: -100%; }
  25% { left: 100%; }
  100% { left: 100%; }
}

.claim-button:hover {
  background: linear-gradient(135deg, #26dcff 0%, #1a94ff 50%, #0060e6 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 132, 255, 0.55), 0 0 25px rgba(0, 210, 255, 0.45);
}

.claim-button:active {
  transform: translateY(1px) scale(0.99);
}

.pulse-btn {
  animation: pulseButton 2.2s infinite;
}

@keyframes pulseButton {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.btn-icon {
  display: flex;
  align-items: center;
  color: #ffffff;
}

.btn-text {
  letter-spacing: -0.01em;
}

/* 3-Step Flow */
.steps-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.step-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num-badge {
  width: 24px;
  height: 24px;
  background: #0070d1;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0070d1;
  margin-bottom: 10px;
}

.step-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  opacity: 0.6;
}

/* Showcase Section */
.showcase-section {
  margin-bottom: 2rem;
}

.showcase-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 112, 209, 0.22);
  border: 2px solid rgba(0, 210, 255, 0.4);
  background: #0a0e17;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-img-wrapper:hover .showcase-img {
  transform: scale(1.02);
}

.showcase-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffe600;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 230, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #00d2ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00d2ff;
}

/* Highlights Grid */
.basket-highlights {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.highlights-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.1rem;
  text-align: center;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.highlight-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Trust Footer */
.trust-footer {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.trust-icons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 1rem;
}

.disclaimer-text {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   iOS / TikTok In-App Browser Popup
   ========================================================= */
.ios-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ios-popup-background {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ios-popup-content {
  position: relative;
  background: #111424;
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  max-width: 380px;
  width: 100%;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 210, 255, 0.25);
  text-align: center;
  z-index: 2;
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ios-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  z-index: 5;
}

.ios-popup-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.ios-gif-container {
  margin-bottom: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
}

.ios-instruction-gif {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-instruction-text {
  text-align: center;
}

.ios-title {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.ios-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =========================================================
   Live Winner Toast
   ========================================================= */
.winner-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 210, 255, 0.2);
  transform: translateY(120px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  max-width: 320px;
}

.winner-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-img-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #00d2ff;
  flex-shrink: 0;
}

.toast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toast-text-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toast-text-box strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.toast-text-box span {
  font-size: 0.74rem;
  color: #00d2ff;
}

.toast-text-box small {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 540px) {
  .page-wrapper { margin-top: 0.8rem; padding: 0 0.6rem; }
  .main-card { padding: 1.6rem 1.1rem; border-radius: 22px; }
  .handle-name { font-size: 1.6rem; }
  .giveaway-title { font-size: 1.02rem; }
  .claim-button { font-size: 1.12rem; padding: 15px 20px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .step-desc { font-size: 0.7rem; }
  .winner-toast { left: 12px; right: 12px; max-width: calc(100% - 24px); }
}
