/**
 * CASINOFABLE.XYZ/SAUDIARABIA - Royal Desert Theme
 * Luxury Saudi Casino Design
 * © 2010-2025 CasinoFable.xyz/SaudiArabia
 */

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

/* ========================================
   SAUDI ROYAL DESERT COLOR PALETTE
======================================== */
:root {
    /* Saudi Royal Colors */
    --saudi-green: #006C35;
    --royal-gold: #D4AF37;
    --desert-sand: #EDC9AF;
    --riyadh-beige: #F5DEB3;
    --palace-white: #FAF9F6;
    --emerald-dark: #004225;
    --gold-light: #FFD700;
    --luxury-bronze: #CD7F32;
    --midnight-black: #0A0A0A;
    --pearl-cream: #FFF8DC;
    
    /* Gradients */
    --saudi-gradient: linear-gradient(135deg, #006C35 0%, #004225 100%);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --desert-gradient: linear-gradient(135deg, #EDC9AF 0%, #F5DEB3 100%);
}

/* ========================================
   BODY & TYPOGRAPHY
======================================== */
body {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', 'Simplified Arabic', sans-serif;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    background-attachment: fixed;
    color: var(--palace-white);
    line-height: 1.8;
    min-height: 100vh;
    direction: ltr;
}

body[dir="rtl"] {
    direction: rtl;
    font-family: 'Simplified Arabic', 'Tahoma', 'Arial', sans-serif;
}

/* Las Vegas Strip Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/vegas-strip.jpg') center/cover no-repeat fixed;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
header {
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.98) 0%, rgba(0, 66, 37, 0.98) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 4px solid var(--royal-gold);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-ar {
    font-size: 2rem;
    margin-left: 15px;
    color: var(--palace-white);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    flex-wrap: wrap;
}

nav a {
    color: var(--palace-white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

nav a:hover::before {
    left: 0;
}

nav a:hover {
    color: var(--midnight-black);
    transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('../images/riyadh-skyline.jpg') center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    border-bottom: 6px solid var(--royal-gold);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 25px rgba(212, 175, 55, 0.7);
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--desert-sand);
    margin-bottom: 35px;
    font-weight: 600;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero-ar {
    font-size: 1.8rem;
    color: var(--royal-gold);
    margin-bottom: 45px;
    font-weight: 700;
    animation: fadeInUp 1.2s ease-out 0.6s backwards;
    letter-spacing: 1px;
}

/* ========================================
   CASINO GRID
======================================== */
.casinos-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 50%, #1A1A1A 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 900;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--royal-gold);
    margin: 25px auto 0;
    border-radius: 3px;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.5);
}

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

.casino-card {
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.15) 0%, rgba(0, 66, 37, 0.15) 100%);
    border: 3px solid var(--royal-gold);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.casino-card::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%);
    transition: all 0.8s ease;
    opacity: 0;
}

.casino-card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.casino-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.5);
    border-color: var(--gold-light);
}

.casino-name {
    font-size: 2rem;
    color: var(--royal-gold);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.casino-bonus {
    background: var(--saudi-gradient);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 108, 53, 0.5);
    position: relative;
    z-index: 2;
    border: 2px solid var(--royal-gold);
}

.casino-features {
    list-style: none;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.casino-features li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--pearl-cream);
    font-weight: 500;
}

.casino-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--royal-gold);
    font-size: 1.3rem;
}

.cta-button {
    display: block;
    background: var(--gold-gradient);
    color: var(--midnight-black);
    text-align: center;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-transform: uppercase;
}

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

.cta-button:hover::before {
    width: 350px;
    height: 350px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.7);
}

/* ========================================
   BLOG SECTION
======================================== */
.blog-section {
    padding: 90px 20px;
    background: rgba(0, 0, 0, 0.85);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.2) 0%, rgba(0, 66, 37, 0.2) 100%);
    border: 2px solid var(--royal-gold);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--gold-light);
}

.blog-title {
    font-size: 1.5rem;
    color: var(--royal-gold);
    margin-bottom: 18px;
    font-weight: 700;
}

.blog-meta {
    color: var(--desert-sand);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.blog-excerpt {
    color: var(--pearl-cream);
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-more {
    color: var(--royal-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

/* ========================================
   CONTACT & NEWSLETTER
======================================== */
.forms-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
}

.form-box {
    background: rgba(0, 108, 53, 0.15);
    border: 3px solid var(--royal-gold);
    border-radius: 20px;
    padding: 45px;
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 2.2rem;
    color: var(--royal-gold);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: var(--pearl-cream);
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.05rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--royal-gold);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--palace-white);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

button[type="submit"] {
    width: 100%;
    background: var(--gold-gradient);
    color: var(--midnight-black);
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: rgba(0, 108, 53, 0.95);
    border-top: 4px solid var(--royal-gold);
    padding: 50px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--palace-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--royal-gold);
    transform: translateY(-2px);
}

.copyright {
    color: var(--desert-sand);
    font-size: 1rem;
    line-height: 1.6;
}

.copyright-ar {
    color: var(--royal-gold);
    margin-top: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   BLOG POST PAGE
======================================== */
.post-header {
    padding: 70px 20px;
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.9) 0%, rgba(0, 66, 37, 0.9) 100%);
    border-bottom: 4px solid var(--royal-gold);
}

.post-title {
    font-size: 2.8rem;
    color: var(--royal-gold);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 800;
}

.post-meta {
    text-align: center;
    color: var(--desert-sand);
    font-size: 1.05rem;
    font-weight: 600;
}

.post-content {
    padding: 70px 20px;
    background: rgba(0, 0, 0, 0.9);
}

.post-body {
    max-width: 850px;
    margin: 0 auto;
    color: var(--pearl-cream);
    font-size: 1.15rem;
    line-height: 1.9;
}

.post-body h2 {
    color: var(--royal-gold);
    font-size: 2.2rem;
    margin: 45px 0 25px;
    font-weight: 800;
}

.post-body h3 {
    color: var(--desert-sand);
    font-size: 1.7rem;
    margin: 35px 0 20px;
    font-weight: 700;
}

.post-body p {
    margin-bottom: 25px;
}

.post-body a {
    color: var(--royal-gold);
    text-decoration: none;
    border-bottom: 2px solid var(--royal-gold);
    transition: all 0.3s ease;
    font-weight: 600;
}

.post-body a:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

/* ========================================
   COMMENTS SECTION
======================================== */
.comments-section {
    max-width: 850px;
    margin: 70px auto 0;
    padding: 45px;
    background: rgba(0, 108, 53, 0.15);
    border: 3px solid var(--royal-gold);
    border-radius: 20px;
}

.comments-title {
    font-size: 2.2rem;
    color: var(--royal-gold);
    margin-bottom: 35px;
    font-weight: 800;
}

.comment {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-left: 4px solid var(--royal-gold);
    margin-bottom: 25px;
    border-radius: 10px;
}

.comment-author {
    color: var(--royal-gold);
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.comment-date {
    color: var(--desert-sand);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.comment-text {
    color: var(--pearl-cream);
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-ar {
        font-size: 1.4rem;
    }
    
    nav ul {
        gap: 18px;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    header, footer, .forms-section, .comments-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
