/* Reyrove Dark Feminine Theme */
:root {
    --dark-bg: #1a1a24;
    --dark-card: #242432;
    --dark-accent: #3a2e3a;
    --pink: #e83f8e;
    --purple: #a56ef0;
    --peach: #ff9e9e;
    --text: #f0e6ef;
    --text-muted: #c4b7c9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    margin: 0;
    margin-left: 40px;
    padding: 0;
    background: var(--dark-bg);
    color: var(--text);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(168, 92, 168, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(232, 63, 142, 0.1) 0%, transparent 25%);
}

header {
    width: 100%;
    height: 749px;
    background-image: url('images/js-girl.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    header {
        height: 500px;
    }
}

@media (max-width: 768px) {
    header {
        height: 300px;
    }
}

@media (max-width: 480px) {
    header {
        height: 200px;
    }
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 30px;
    background: var(--dark-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: "Reyrove";
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1, h2 {
    font-weight: 600;
    position: relative;
}

h1 {
    color: var(--pink);
    border-bottom: 2px solid rgba(232, 63, 142, 0.3);
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-size: 32px;
}

h2 {
    color: var(--purple);
    margin-top: 30px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
    padding-left: 0;
}

li:before {
    content: "●";
    position: absolute;
    right: 0;
    color: var(--pink);
    font-size: 14px;
}

a {
    color: var(--peach);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: var(--pink);
    text-decoration: underline;
}

.tip {
    background: rgba(58, 46, 58, 0.6);
    color: var(--text);
    padding: 15px 20px;
    border-right: 4px solid var(--pink);
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quick-tip {
    background: rgba(58, 46, 58, 0.6);
    color: var(--text);
    padding: 15px 20px;
    border-right: 4px solid var(--purple);
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta {
    background: rgba(58, 46, 58, 0.8);
    color: var(--text);
    padding: 20px;
    border-right: 4px solid var(--peach);
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    position: relative;
}

.cta:after {
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: rgba(255, 158, 158, 0.2);
    font-size: 24px;
    font-weight: bold;
}

p, li {
    color: var(--text);
    font-size: 16px;
}

code {
    background: rgba(58, 46, 58, 0.8);
    color: var(--peach);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid rgba(168, 92, 168, 0.3);
    font-size: 14px;
    direction: ltr;
    text-align: left;
}

pre code {
    display: block;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    line-height: 1.5;
    border-right: 4px solid var(--purple);
    direction: ltr;
    text-align: left;
}

section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px dashed rgba(168, 92, 168, 0.3);
}

.session-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--dark-card);
    border-right: 2px solid var(--purple);
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
    overflow-y: auto;
    z-index: 1000;
}

.session-nav h3 {
    display: none;
}

.session-buttons {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    align-items: center;
}

.session-btn {
    width: 100%;
    padding: 2px 0;
    background: transparent;
    color: var(--text);
    border: none;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.session-btn:hover {
    background: var(--purple);
    color: #fff;
    border-radius: 4px;
}

.decoration {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
    font-size: 200px;
    z-index: 0;
}

.decoration-1 {
    top: -50px;
    right: -30px;
    color: var(--pink);
    transform: rotate(15deg);
}

.decoration-2 {
    bottom: -80px;
    left: -40px;
    color: var(--purple);
    transform: rotate(-10deg);
}

footer {
    color: #ccc;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

footer p {
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

footer span {
    color: #facc15;
    font-weight: bold;
}

footer em {
    font-style: italic;
    color: #fff;
}

footer .mt-4 {
    margin: 1rem 0;
}

footer a {
    color: #60a5fa;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #3b82f6;
}

footer p:last-child {
    font-size: 0.75rem;
    color: #777;
    margin-top: 1.5rem;
}