/* -------------------------------
   Name Numerology Calculator – Theme A
   Soft Cream | Warm Brown | Elegant
-------------------------------- */

.nn-wrapper {
    max-width: 620px;
    margin: 26px auto;
    padding: 0 18px;
    font-family: "Georgia", "Times New Roman", serif;
    color: #3A281A;
    line-height: 1.5;
}

.nn-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #3A281A;
}

.nn-subtitle {
    text-align: center;
    font-size: 15px;
    margin-bottom: 18px;
    color: #67574b;
}

.nn-box {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(42, 28, 20, 0.06);
}

.nn-row {
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.nn-col-input { flex: 1; }

.nn-label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #4b372c;
    font-weight: 700;
}

.nn-input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e6ddd7;
    background: #fffaf7;
    font-size: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
    color: #3a281a;
}

.nn-hint {
    display: block;
    font-size: 12px;
    color: #9a8577;
    margin-top: -6px;
    margin-bottom: 10px;
}

.nn-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg,#3A281A,#543b30);
    color: #fff;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(58,40,26,0.12);
    transition: transform .15s, box-shadow .15s;
}

.nn-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(58,40,26,0.16);
}

/* result */
.nn-result { margin-top: 18px; opacity: 0; transform: translateY(6px); transition: all .25s ease; }
.nn-result:not(:empty) { opacity: 1; transform: translateY(0); }

.nn-card {
    background: #fbf5f1;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(58,40,26,0.06);
    overflow: hidden;
}

.nn-number {
    font-size: 30px;
    font-weight: 900;
    color: #3A281A;
    background: rgba(58,40,26,0.04);
    padding: 6px 10px;
    border-radius: 8px;
}

/* sections */
.nn-section { margin-bottom: 12px; }
.nn-sec-title { font-size: 15px; font-weight: 700; color: #5a4035; margin-bottom: 6px; }
.nn-meaning { color: #4b372c; font-size: 15px; margin-bottom: 8px; }

/* grid for colors/days */
.nn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.nn-col { background: rgba(58,40,26,0.02); padding: 12px; border-radius: 10px; }

/* lists */
.nn-list { list-style: none; margin: 0; padding-left: 8px; }
.nn-list li { padding: 6px 0; font-size: 14px; color: #4b372c; border-bottom: 1px dashed rgba(74,53,45,0.06); }

/* two columns */
.nn-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }

/* PDF button */
.nn-pdf-btn {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    background: #3A281A;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(58,40,26,0.12);
}
.nn-pdf-btn:hover { transform: translateY(-2px); background: #5a3c27; }

/* sharing */
.nn-share-box { margin-top: 12px; }
.nn-share-title { font-weight:700; color:#5a4035; margin-bottom:8px; }
.nn-share-btn {
    display: inline-block; margin: 6px 8px 6px 0; padding: 8px 12px; border-radius: 8px;
    background:#f1e7e0; color:#3a281a; border:1px solid #d8c9c0; cursor:pointer;
}
.nn-share-btn:hover { background:#e7d8cf; }

/* errors */
.nn-error { padding: 12px; border-radius: 10px; background: #fff0ef; color: #7b2f2f; border-left: 4px solid #d2695a; }

/* animation */
.nn-pop { animation: nnPop 360ms cubic-bezier(.2,.9,.3,1); }
@keyframes nnPop { 0%{transform:translateY(12px) scale(.997);opacity:0}60%{transform:translateY(-6px) scale(1.01);opacity:1}100%{transform:translateY(0) scale(1);opacity:1} }

/* responsive */
@media (max-width: 640px) {
    .nn-row { flex-direction: column; }
    .nn-grid, .nn-two-col { grid-template-columns: 1fr; }
    .nn-wrapper { padding: 0 12px; }
    .nn-number { font-size: 26px; }
}