
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
    --primary-color: #0f172a;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --bg-gradient-start: #f8fafc;
    --bg-gradient-end: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-color: #334155;
    --heading-color: #1e293b;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
}

[data-theme="salasa"] {
    --primary-color: #4a044e;
    --secondary-color: #d946ef;
    --accent-color: #f59e0b;
    --bg-gradient-start: #fdf4ff;
    --bg-gradient-end: #fae8ff;
    --card-bg: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-color);
    line-height: 1.8;
    direction: rtl;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h3 {
    color: var(--heading-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

ul {
    list-style-type: none;
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    position: absolute;
    right: -1.5em;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
}
