/* ============================================
   SLOTNARRATIVE.XYZ - Arabian Nights Casino Theme
   Oman Market - Arabic/English
   © 2025 SlotNarrative.xyz
   ============================================ */

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

:root {
    --oman-gold: #D4AF37;
    --oman-royal-blue: #003366;
    --desert-sand: #F4E4C1;
    --night-sky: #0A1128;
    --emerald: #50C878;
    --ruby-red: #E0115F;
    --pearl-white: #F8F6F0;
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: linear-gradient(135deg, var(--night-sky) 0%, #1a1a3e 50%, var(--oman-royal-blue) 100%);
    background-attachment: fixed;
    direction: ltr;
}

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial Black', 'Tahoma', sans-serif;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: var(--oman-gold);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.7rem; }

.arabic-text {
    font-family: 'Traditional Arabic', 'Tahoma', 'Arial', sans-serif;
    letter-spacing: 0;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--oman-gold);
    text-shadow: 0 0 15px var(--emerald);
}

/* === HEADER === */
header {
    background: linear-gradient(180deg, var(--oman-royal-blue) 0%, #002147 100%);
    color: var(--oman-gold);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 4px solid var(--oman-gold);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" opacity="0.05">🌙</text></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

header h1 {
    font-size: 3.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    animation: goldenGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes goldenGlow {
    from {
        text-shadow: 0 0 15px var(--oman-gold),
                     0 0 25px var(--oman-gold),
                     0 0 35px var(--oman-gold),
                     2px 2px 8px rgba(0, 0, 0, 0.9);
    }
    to {
        text-shadow: 0 0 25px var(--oman-gold),
                     0 0 40px var(--oman-gold),
                     0 0 50px var(--oman-gold),
                     2px 2px 8px rgba(0, 0, 0, 0.9);
    }
}

header h1 a {
    color: var(--oman-gold);
}

.tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--desert-sand);
    font-weight: 300;
}

/* === NAVIGATION === */
nav {
    background: rgba(0, 0, 0, 0.85);
    padding: 1.2rem;
    text-align: center;
    border-bottom: 3px solid var(--oman-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

nav a {
    color: var(--oman-gold);
    padding: 0.9rem 1.8rem;
    margin: 0 0.4rem;
    display: inline-block;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
}

nav a:hover {
    background: linear-gradient(135deg, var(--ruby-red), #B00037);
    border-color: var(--oman-gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.4);
}

/* === MAIN CONTENT === */
main {
    max-width: 1300px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--ruby-red) 0%, #8B0037 100%);
    color: var(--pearl-white);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-dark);
    border: 3px solid var(--oman-gold);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-section h2 {
    color: var(--oman-gold);
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 1.3rem;
    line-height: 1.9;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* === CASINO COMPARISON === */
.casino-comparison {
    background: rgba(255, 255, 255, 0.97);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-dark);
    border: 4px solid var(--oman-gold);
}

.casino-comparison h2,
.casino-comparison h3 {
    color: var(--oman-royal-blue);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.casino-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--desert-sand) 100%);
    border: 4px solid var(--oman-gold);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '🎰';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.casino-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    border-color: var(--emerald);
}

.casino-card h3 {
    color: var(--ruby-red);
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
}

.casino-card .bonus {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--oman-royal-blue);
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--oman-gold), #F4D03F);
    border-radius: 10px;
    border: 2px solid var(--oman-royal-blue);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.casino-card .features {
    list-style: none;
    text-align: left;
    margin: 1.8rem 0;
    padding: 0;
}

.casino-card .features li {
    padding: 0.7rem 0;
    color: #333;
    font-size: 0.98rem;
    line-height: 1.7;
    border-bottom: 1px dotted var(--oman-gold);
}

.casino-card .features li:last-child {
    border-bottom: none;
}

/* === CTA BUTTON === */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald) 0%, #3BA35D 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 3px solid var(--oman-gold);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(80, 200, 120, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #45D17E, var(--emerald));
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    color: var(--pearl-white);
}

/* === NEWSLETTER & CONTACT === */
.newsletter-section,
.contact-section {
    background: linear-gradient(135deg, var(--oman-gold) 0%, #C5A028 100%);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3.5rem;
    text-align: center;
    box-shadow: var(--shadow-dark);
    border: 3px solid var(--oman-royal-blue);
}

.newsletter-section h2,
.contact-section h2 {
    color: var(--oman-royal-blue);
    margin-bottom: 1.5rem;
}

.newsletter-section p,
.contact-section p {
    color: #1a1a1a;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.newsletter-form,
.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 280px;
    padding: 1.2rem;
    border: 3px solid var(--oman-royal-blue);
    border-radius: 50px;
    font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border: 3px solid var(--oman-royal-blue);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form button {
    width: 100%;
}

/* === BLOG POST === */
.blog-post {
    background: rgba(255, 255, 255, 0.97);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
    border: 3px solid var(--oman-gold);
}

.blog-post h2 {
    color: var(--oman-royal-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--oman-gold);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-content {
    color: #2c2c2c;
    line-height: 1.9;
}

.post-content h3 {
    color: var(--ruby-red);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.post-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.post-content a {
    color: var(--oman-royal-blue);
    font-weight: bold;
    border-bottom: 2px dotted var(--emerald);
    padding-bottom: 2px;
}

.post-content a:hover {
    color: var(--ruby-red);
    border-bottom-color: var(--ruby-red);
}

/* === COMMENTS === */
.comments-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 4px solid var(--oman-gold);
}

.comments-section h3 {
    color: var(--oman-royal-blue);
    margin-bottom: 2rem;
}

.comment {
    background: var(--desert-sand);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--emerald);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.comment-author {
    color: var(--ruby-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.comment-date {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.comment-text {
    color: #333;
    line-height: 1.7;
}

/* === FOOTER === */
footer {
    background: var(--night-sky);
    color: var(--oman-gold);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--oman-gold);
    margin-top: 4rem;
}

footer p {
    margin: 0.8rem 0;
}

footer a {
    color: var(--oman-gold);
    margin: 0 0.8rem;
}

footer a:hover {
    color: var(--emerald);
}

.footer-links {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--desert-sand);
    margin-top: 1.5rem;
    font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    nav a {
        display: block;
        margin: 0.6rem 0;
    }

    .casino-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .blog-post {
        padding: 2rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
}

/* === RTL SUPPORT === */
[dir="rtl"] .casino-card .features {
    text-align: right;
}

[dir="rtl"] .post-content {
    text-align: right;
}

/* === UTILITY === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: fadeInUp 0.7s ease-out;
}

/* === PRINT === */
@media print {
    body {
        background: white;
        color: black;
    }

    header, nav, footer, .newsletter-section, .contact-section {
        display: none;
    }

    .blog-post {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
