* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: #0a0a0f;
  background-image: radial-gradient(circle at 30% 10%, rgba(45,45,80,0.3) 0%, transparent 50%);
  font-family: 'Inter', sans-serif;
  color: #ededef;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: 0 1.5rem;
  position: relative;
}
body::before { content: "🥷"; position: fixed; top: 20px; right: 20px; font-size: 2rem; opacity: 0.1; transform: rotate(15deg); pointer-events: none; z-index: -1; }
body::after { content: "🥷"; position: fixed; bottom: 20px; left: 20px; font-size: 2rem; opacity: 0.1; transform: rotate(-15deg); pointer-events: none; z-index: -1; }
.container { max-width: 1200px; margin: 0 auto; padding: 1.5rem 0 3rem; }
.card {
  background: rgba(20,20,30,0.7); backdrop-filter: blur(10px); border: 1px solid rgba(120,120,255,0.25);
  border-radius: 32px; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.9), 0 0 0 2px rgba(180,140,255,0.4) inset; }
.shuriken {
  display: inline-block; width: 24px; height: 24px;
  background: linear-gradient(145deg, #8f7ef0, #5f4bb0);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  margin: 0 0.3rem; animation: float 3s ease-in-out infinite;
}
.shuriken-small {
  width: 16px; height: 16px;
  background: linear-gradient(145deg, #b3aeff, #6f5fcf);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block; margin: 0 0.2rem;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(5deg); } }
@keyframes ninjaGlow { 0%,100% { filter: drop-shadow(0 0 10px rgba(180,140,255,0.5)); } 50% { filter: drop-shadow(0 0 20px rgba(180,140,255,0.8)); } }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0 2.5rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.8rem; font-weight: 600; }
.logo-ninja { font-size: 2.2rem; filter: drop-shadow(0 0 10px rgba(180,140,255,0.5)); animation: ninjaGlow 2s ease-in-out infinite; }
.logo-text { background: linear-gradient(125deg, #ffffff, #b3aeff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }
.logo-domain { font-size: 1rem; background: linear-gradient(125deg, #b3aeff, #8f7ef0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.8; margin-left: 0.3rem; }
h1 { font-size: clamp(2.4rem, 8vw, 4rem); line-height: 1.1; background: linear-gradient(135deg, #ffffff, #c0c0e0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; position: relative; display: inline-block; }
h1::after { content: "🥷"; position: absolute; top: -20px; right: -40px; font-size: 2rem; opacity: 0.3; transform: rotate(20deg); }
h2 { font-size: 2rem; margin-bottom: 1.5rem; background: linear-gradient(135deg, #f0f0ff, #a5b4fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.subtitle { font-size: 1.2rem; color: #9b9baf; max-width: 600px; margin: 0 auto 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 60px; font-weight: 500;
  font-size: 1rem; padding: 0.75rem 1.8rem; border: none; cursor: pointer; transition: all 0.15s ease;
  background: rgba(40,40,60,0.8); color: white; border: 1px solid rgba(120,120,255,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5); position: relative; overflow: hidden;
}
.btn::before { content: "🥷"; position: absolute; left: -20px; opacity: 0; transition: all 0.3s ease; }
.btn:hover::before { left: 10px; opacity: 0.5; }
.btn:hover { padding-left: 2.5rem; }
.btn-primary { background: linear-gradient(145deg, #3a3f9e, #5f3b9e); border: 1px solid #8f7ef0; }
.btn-primary:hover { background: linear-gradient(145deg, #4a4fb0, #6f4bb0); border-color: #b4a6ff; }
.btn-outline-light { background: rgba(20,20,35,0.7); backdrop-filter: blur(8px); border: 1px solid #3f3f6e; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 0.5rem; }
.field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.field-group label { font-size: 0.9rem; font-weight: 500; color: #b9b9df; display: flex; align-items: center; gap: 0.3rem; }
.currency-badge { display: inline-block; background: rgba(100,100,200,0.2); border: 1px solid #4f4f8b; border-radius: 12px; padding: 0.15rem 0.6rem; font-size: 0.7rem; color: #b3aeff; margin-left: 0.5rem; text-transform: uppercase; }
select, input {
  background: rgba(10,10,18,0.8); border: 1px solid #2f2f4a; border-radius: 20px; padding: 0.9rem 1.2rem;
  font-size: 1rem; color: #f0f0ff; outline: none; transition: border 0.15s, box-shadow 0.15s;
  font-family: inherit; backdrop-filter: blur(4px);
}
select:focus, input:focus { border-color: #7f7cf0; box-shadow: 0 0 0 3px rgba(130,120,255,0.3); }
.result-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 2rem; }
.score-container { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.score-text { font-size: 1.2rem; color: #b0b0d0; }
.score-number-wrapper { display: flex; align-items: baseline; gap: 0.2rem; }
.score-number { font-size: 4.5rem; font-weight: 700; line-height: 1; }
.score-total { font-size: 2rem; color: #7f7fa8; font-weight: 400; }
.metric-row { display: flex; flex-wrap: wrap; gap: 2rem; background: rgba(0,0,0,0.25); border-radius: 24px; padding: 1.2rem; margin: 1.5rem 0; }
.metric-item { flex: 1 1 120px; }
.metric-label { font-size: 0.85rem; color: #a0a0c0; text-transform: uppercase; }
.metric-value { font-size: 1.4rem; font-weight: 500; }
.share-section { margin: 2rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid #2f2f4a; }
.share-title { font-size: 1.2rem; color: #b0b0d0; margin-bottom: 1rem; text-align: center; }
.share-card {
  background: linear-gradient(145deg, #1a1a2a, #13131f); border: 2px solid #4f4f8b; border-radius: 24px;
  padding: 1.5rem; margin: 1.5rem 0; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; position: relative;
}
.share-card::before { content: "🥷"; position: absolute; top: -10px; left: -10px; font-size: 2rem; opacity: 0.3; transform: rotate(-15deg); }
.share-card::after { content: "🥷"; position: absolute; bottom: -10px; right: -10px; font-size: 2rem; opacity: 0.3; transform: rotate(15deg); }
.share-card-score { font-size: 3rem; font-weight: 700; }
.share-card-label { font-size: 1.2rem; color: #b0b0d0; }
.share-card-verdict { font-size: 1.5rem; font-weight: 500; }
.share-card-footer { font-size: 0.9rem; color: #7f7fa8; margin-top: 0.5rem; }
.copy-notification { background: #1d1d30; border-radius: 60px; padding: 0.5rem 1.5rem; color: #b0ffd0; border: 1px solid #3e8d6e; font-weight: 500; text-align: center; opacity: 0; transition: opacity 0.3s; margin-top: 1rem; }
.copy-notification.show { opacity: 1; }
.feedback-section { margin: 2rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid #2f2f4a; }
.feedback-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.feedback-btns .btn { flex: 1 1 auto; padding: 0.9rem 1rem; }
.thankyou-msg { background: #1d1d30; border-radius: 60px; padding: 1rem 2rem; color: #b0ffd0; border: 1px solid #3e8d6e; font-weight: 500; }
.rec-list { list-style: none; margin: 1.5rem 0 0.5rem; }
.rec-list li { padding: 0.7rem 0; border-bottom: 1px dashed #2f2f4a; display: flex; gap: 0.8rem; align-items: center; }
.rec-list li::before { content: "🥷"; font-size: 1.2rem; }
.footer-note { margin-top: 4rem; color: #7f7fa8; display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 0.9rem; }
.creator-dashboard { margin-top: 4rem; padding: 2rem; background: #13131f; border-radius: 32px; border: 2px solid #4f4f8b; box-shadow: 0 0 30px rgba(100,100,255,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.stat-card { background: #1a1a2a; padding: 1.5rem; border-radius: 24px; border: 1px solid #3f3f6e; }
.stat-number { font-size: 2.5rem; font-weight: 600; color: #b3aeff; line-height: 1.2; }
.stat-label { color: #9b9baf; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.benchmark-table { background: #1a1a2a; border-radius: 24px; padding: 1.5rem; margin-top: 1.5rem; }
.benchmark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 1rem; }
.sample-size { font-size: 0.7rem; color: #7f7fa8; margin-left: 0.5rem; }
.budget-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 30px; font-size: 0.8rem; font-weight: 600; }
.budget-insufficient { background: rgba(248,113,113,0.2); color: #f87171; border: 1px solid #f87171; }
.budget-acceptable { background: rgba(250,204,21,0.2); color: #facc15; border: 1px solid #facc15; }
.budget-optimal { background: rgba(63,230,184,0.2); color: #3fe6b8; border: 1px solid #3fe6b8; }
.confidence-bar { width: 100%; height: 8px; background: #2f2f4a; border-radius: 4px; margin: 0.5rem 0; overflow: hidden; }
.confidence-fill { height: 100%; background: linear-gradient(90deg, #8f7ef0, #b3aeff); border-radius: 4px; }
.social-proof { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2rem; justify-items: center; margin: 1.5rem 0 2rem; color: #b0b0d0; }
.social-proof-item { text-align: center; }
.social-proof-number { font-size: 1.8rem; font-weight: 700; color: #b3aeff; line-height: 1.2; }
@media (max-width: 700px) { .social-proof { grid-template-columns: 1fr; gap: 1rem; } }
.ninja-rank { font-size: 2rem; margin-top: 0.5rem; font-weight: 600; }
.share-float-container { position: relative; display: flex; justify-content: center; width: 100%; margin: 1.5rem 0; }
#floatShareBtn { width: auto; min-width: 200px; font-size: 1.1rem; padding: 0.8rem 2rem; transition: all 0.3s ease; z-index: 5; }
.share-float-menu {
  display: none; position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  background: #1a1a2a; border: 1px solid #4f4f8b; border-radius: 60px; padding: 0.6rem 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5); z-index: 10; white-space: nowrap;
  animation: floatUp 0.2s ease-out; width: auto; max-width: 90vw;
}
@keyframes floatUp { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.share-float-menu.show { display: block; }
.share-icon-btn { background: transparent; border: none; color: white; font-size: 1.3rem; margin: 0 0.2rem; padding: 0.5rem 0.8rem; border-radius: 30px; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.share-icon-btn:hover { background: #2f2f4a; transform: scale(1.1); }
.share-icon-btn:hover::after { content: attr(title); position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); background: #2f2f4a; color: white; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 12px; white-space: nowrap; border: 1px solid #4f4f8b; z-index: 20; }
@media (max-width: 700px) {
  .share-float-menu { bottom: auto; top: 70px; white-space: normal; width: 90vw; display: flex; flex-wrap: wrap; justify-content: center; border-radius: 30px; padding: 0.6rem; max-width: 380px; }
  .share-float-menu .share-icon-btn { flex: 0 0 auto; margin: 0.1rem; font-size: 1.2rem; padding: 0.4rem 0.6rem; }
  .share-float-menu.show { display: flex; }
}
.follow-section { margin: 4rem 0 2rem; text-align: center; }
.follow-title { font-size: 1.2rem; color: #b0b0d0; margin-bottom: 1.5rem; }
.social-icons { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.social-icon { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; color: #b0b0d0; text-decoration: none; transition: all 0.2s; font-size: 1.1rem; }
.social-icon svg { font-size: 2rem; width: 2rem; height: 2rem; color: #b3aeff; transition: transform 0.2s; }
.social-icon:hover svg { transform: translateY(-3px); color: #d0c0ff; }
.social-icon:hover { color: white; }
.social-icon span { font-size: 0.8rem; }
.import-area { border: 2px dashed rgba(143,126,240,0.3); border-radius: 20px; padding: 1.5rem; text-align: center; margin-bottom: 1.5rem; transition: all 0.2s; cursor: pointer; position: relative; }
.import-area:hover, .import-area.drag-over { border-color: #8f7ef0; background: rgba(143,126,240,0.05); }
.import-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.import-area-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.import-area-title { font-size: 0.95rem; font-weight: 500; color: #ededef; margin-bottom: 0.25rem; }
.import-area-sub { font-size: 0.8rem; color: #7f7fa8; }
.import-preview { background: rgba(63,230,184,0.08); border: 1px solid rgba(63,230,184,0.3); border-radius: 16px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: none; }
.import-preview.show { display: block; }
.import-preview-title { font-size: 0.85rem; font-weight: 500; color: #3fe6b8; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.import-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.75rem; }
.import-preview-item { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 0.5rem 0.75rem; }
.import-preview-label { font-size: 0.75rem; color: #a0a0c0; text-transform: uppercase; }
.import-preview-value { font-size: 1.1rem; font-weight: 500; color: #ededef; }
.import-warning { font-size: 0.8rem; color: #facc15; margin-top: 0.5rem; }
.cookie-overlay { display: none; }
.cookie-modal {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 680px; background: rgba(26,26,42,0.95);
  border: 1px solid #4f4f8b; border-radius: 20px; padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6); backdrop-filter: blur(12px); z-index: 9998;
  display: none; align-items: center; gap: 1rem; flex-wrap: wrap; animation: slideUpBanner 0.3s ease;
}
.cookie-modal.show { display: flex; }
@keyframes slideUpBanner { from { opacity: 0; transform: translateX(-50%) translateY(16px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.cookie-modal p { flex: 1; font-size: 0.88rem; color: #b0b0d0; margin: 0; line-height: 1.5; min-width: 200px; }
.cookie-modal a { color: #b3aeff; text-decoration: none; }
.cookie-modal-btns { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.cookie-timer { font-size: 0.75rem; color: #7f7fa8; min-width: 60px; text-align: center; }
.btn-accept { background: linear-gradient(145deg, #3a3f9e, #5f3b9e); border: 1px solid #8f7ef0; color: white; border-radius: 30px; padding: 0.5rem 1.2rem; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.btn-accept:hover { background: linear-gradient(145deg, #4a4fb0, #6f4bb0); border-color: #b4a6ff; }
.btn-reject { background: transparent; border: 1px solid #3f3f6e; color: #9b9baf; border-radius: 30px; padding: 0.5rem 1.2rem; font-size: 0.88rem; cursor: pointer; transition: all 0.2s; font-family: inherit; white-space: nowrap; }
.btn-reject:hover { border-color: #6f6f9e; color: #c0c0df; }
@media (max-width: 600px) { .cookie-modal { bottom: 16px; width: calc(100% - 32px); padding: 0.9rem 1rem; flex-direction: column; align-items: flex-start; } .cookie-modal-btns { width: 100%; justify-content: flex-end; } }
@media (max-width: 700px) {
  body { padding: 0 1rem; } .form-grid { grid-template-columns: 1fr; } .navbar { flex-direction: column; gap: 1rem; }
  .metric-row { flex-direction: column; gap: 1rem; } .score-number { font-size: 3.5rem; } .score-total { font-size: 1.5rem; }
  h1::after { display: none; } .social-icons { gap: 1rem; }
}
.hidden-init { opacity: 0; height: 0; overflow: hidden; pointer-events: none; margin: 0; transition: opacity 0.3s; }
.visible-card { opacity: 1; height: auto; overflow: visible; pointer-events: all; margin-top: 2.5rem; }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.tooltip { position: relative; display: inline-block; margin-left: 0.3rem; color: #b3aeff; cursor: help; font-size: 0.8rem; font-weight: 400; }
.tooltip .tooltiptext { visibility: hidden; width: 220px; background: #1e1e2e; border: 1px solid #4f4f8b; border-radius: 12px; padding: 0.6rem 0.8rem; position: absolute; z-index: 100; bottom: 150%; left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: #d0d0ff; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.5); backdrop-filter: blur(4px); line-height: 1.4; white-space: normal; pointer-events: none; }
.tooltip:hover .tooltiptext { visibility: visible; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; } }
