/* ------------------------------------
   RESET & BASE
------------------------------------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fc;
    color: #1f2937;
    line-height: 1.6;

    background: 
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.88) 0%,     /* góra – prawie biała */
            rgba(255, 255, 255, 0.78) 50%,    /* środek – lekko przezroczysta */
            rgba(255, 255, 255, 0.82) 100%    /* dół – znów jaśniejsza */
        ),
        url('back2.jpg') 
        center center / cover no-repeat fixed;
    // color: #e2e8f0;
    min-height: 100vh;
}

#app {
    max-width: 820px;
    margin: 40px auto;
    padding: 20px;
}


/* ------------------------------------
   TYPOGRAPHY
------------------------------------ */
h1 {
    font-size: 2.4em;
    color: #1e40af;
    text-align: center;
    margin-bottom: 16px;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
}


/* ------------------------------------
   QUESTION BLOCKS
------------------------------------ */
.question_relation {
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.question_relation h3 {
    color: #1e40af;
    margin-bottom: 16px;
    font-size: 1.3em;
}

.question {
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.question h3 {
    color: #1e40af;
    margin-bottom: 16px;
    font-size: 1.3em;
}


/* ------------------------------------
   FORM ELEMENTS
------------------------------------ */
select,
.checkbox-group label {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
}

.checkbox-group label {
    display: block;
    margin: 10px 0;
    padding: 14px;
    background: #f9fafb;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}


/* ------------------------------------
   BUTTONS
------------------------------------ */
button,
#submitBtn {
    padding: 16px 40px;
    background: #1e40af;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s;
}

button:hover,
#submitBtn:hover {
    background: #1e3a8a;
}

button:disabled,
#submitBtn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}


/* ------------------------------------
   ERRORS
------------------------------------ */
.error {
    background: #fee2e2;
    color: #dc2626;
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
}


/* ------------------------------------
   RESULT ITEMS
------------------------------------ */
#result-container {
    text-align: center;
}

#items-list .item {
    background: #fff;
    padding: 22px;
    margin: 18px 0;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    line-height: 1.6;
    display: none;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
    position: relative;
    border-left: 5px solid #1e40af;
}

#items-list .item.visible {
    display: block;
    transform: none;
}

#items-list .number {
    color: #1e40af;
    font-weight: 900;
    margin-right: 10px;
    font-size: 20px;
}

.gift-title {
    color: #1e40af;
    font-weight: 700;
    font-size: 19px;
}

.gift-desc {
    color: #374151;
    font-weight: normal;
}


/* ------------------------------------
   SHOW MORE BUTTON
------------------------------------ */
#show-more-wrapper {
    text-align: center;
    margin: 30px 0;
}

#showMore {
    background: #10b981 !important;
    padding: 16px 36px !important;
    font-size: 18px !important;
}

#showMore .remaining {
    font-size: 14px;
    opacity: 0.9;
}


/* ------------------------------------
   FOOTER
------------------------------------ */
footer {
    margin-top: 80px;
    padding: 30px 20px;
    background: #1e293b;
    color: #e2e8f0;
    text-align: center;
    border-radius: 16px;
    font-size: 16px;
}

footer strong {
    font-size: 24px;
    color: #60a5fa;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    // font-weight: 500;
    transition: all 0.25s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

footer a:hover {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

