/* style.css – gaucho.mom */
/* ألوان الكحلي الغامق (سماء الليل) */

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

body {
    background-color: #0a0f1a; /* كحلي غامق جداً */
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

/* النصوص البيضاء */
h1, h2, h3, p, button, input, textarea, a {
    color: #ffffff;
}

/* رأس الموقع */
.site-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #1e2a3a;
    padding-bottom: 0.5rem;
}

.site-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* حقل كتابة القصة */
.story-field {
    margin-bottom: 2rem;
}

.story-textarea {
    width: 100%;
    background-color: #0f1622; /* كحلي أغمق بدرجة */
    border: 1px solid #1f2c3f; /* كحلي أفتح بدرجة */
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    transition: border 0.2s;
}

.story-textarea:focus {
    outline: none;
    border-color: #3a4b65;
}

.story-tools {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.tool-btn {
    background: transparent;
    border: 1px solid #1f2c3f;
    border-radius: 30px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
    opacity: 0.9;
}

.tool-btn:hover {
    border-color: #3e5670;
    opacity: 1;
}

/* أزرار التصنيفات */
.categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #1e2a3a;
    padding-bottom: 1.5rem;
}

.cat-btn {
    background: transparent;
    border: 1px solid #1f2c3f;
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
    opacity: 0.85;
}

.cat-btn:hover {
    border-color: #4a6382;
    opacity: 1;
}

.cat-btn.active {
    border-color: #6d8ab0;
    opacity: 1;
}

/* محتوى القصة */
.story-content {
    margin-bottom: 2.5rem;
}

.prose {
    font-size: 0.95rem;
    opacity: 0.95;
}

.story-part {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* سؤال تفاعلي */
.interactive-question {
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #1e2a3a;
    border-bottom: 1px solid #1e2a3a;
}

.question-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.8;
    cursor: pointer;
}

.option input {
    accent-color: #5a759b;
    width: 16px;
    height: 16px;
}

.question-feedback {
    font-size: 0.85rem;
    min-height: 1.5rem;
    color: #aac3e0;
    margin-top: 0.5rem;
}

/* أزرار المشاركة */
.share-section {
    margin: 2rem 0;
}

.share-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    background: transparent;
    border: 1px solid #1f2c3f;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s;
    display: inline-block;
    opacity: 0.85;
}

.share-btn:hover {
    border-color: #5f7da5;
    opacity: 1;
}

/* التاريخ والوقت */
.datetime {
    margin: 2rem 0 1rem;
    font-size: 0.75rem;
    opacity: 0.6;
    text-align: left;
    border-top: 1px solid #1e2a3a;
    padding-top: 1.5rem;
}

/* تذييل الخصوصية */
.site-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.7rem;
    opacity: 0.6;
    line-height: 1.6;
    border-top: 1px solid #1e2a3a;
}

.privacy-note, .gift-note {
    margin-bottom: 0.3rem;
}

/* للشاشات الصغيرة */
@media (max-width: 480px) {
    body { padding: 1.5rem 1rem; }
    .options { gap: 1rem; }
    .share-buttons { gap: 0.75rem; }
}
