/* Sekrety Serca — styles.css
   Clean, modern responsive design. One smooth gradient throughout.
*/
:root{
  --bg:#fff8f6;
  --card:#ffffff;
  --accent:#ff6b8a;
  --accent-2:#7c4dff;
  --muted:#6b6b6b;
  --radius:14px;
  --maxw:1100px;
  --shadow: 0 10px 30px rgba(23,18,38,0.08);
  --glass: rgba(255,255,255,0.6);
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  /* Bardzo jasny, delikatny róż od samej góry */
  background: linear-gradient(180deg, #fff5f8 0%, #ffe6f2 100%);
  color: #1b1b1b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-size: 16px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-img {
  width: 250px;
  height: 100px;
  border-radius: 12px;
}
.brand {
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.main-nav a {
  margin-left: 10px;
  text-decoration: none;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-primary.large {
  padding: 14px 20px;
  font-size: 18px;
  border-radius: 16px;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 48px 0;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}
.hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.hero-left {
  flex: 1;
}
.hero-right {
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  margin: 0 0 18px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  color: var(--muted);
}

/* Card preview */

.cards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  position: relative;
  width: 200px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
}

.card .question-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scratch-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  border-radius: 12px;
}

/* Cardd preview*/

.card-preview {
  position: relative;
  width: 300px;
  height: 420px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-preview img {
  max-width: 92%;
  height: auto;
}
.sticker {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
}

/* Random section */
.random-section {
  padding: 40px 0;
  background: transparent;
  border-top: 1px dashed rgba(0,0,0,0.03);
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.select {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.select select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}
.question-box {
  margin-top: 16px;
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#question-text {
  font-size: 18px;
  font-weight: 600;
}
.question-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.favorites {
  margin-top: 14px;
}
.favorites h3 {
  margin: 8px 0;
}
#fav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#fav-list li {
  background: linear-gradient(90deg, #fff, #fffaf0);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.03);
}

/* How */
.how {
  padding: 40px 0;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.how-step {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Extras & FAQ */
.extras {
  padding: 28px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-direction: column;
}
.extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.testimonial {
  margin-top: 10px;
}
blockquote {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: transparent;
  border-radius: 8px;
}
cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.03);
  padding: 18px 0;
  margin-top: 30px;
  background: transparent;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width:900px){
  .hero-inner{flex-direction:column-reverse;align-items:stretch}
  .hero-right{width:100%}
  .how-grid{grid-template-columns:1fr}
  .wrap{padding:18px}
}

@media print{
  body{background:white;color:black}
  header,footer,button,.controls,.features-list,.testimonial{display:none}
  .card-print{page-break-inside:avoid}
}
