/**
 * CASINOFABLE.XYZ - Qatar Pearl Theme
 * Modern Qatari Luxury Casino Design
 * © 2010-2025 CasinoFable.xyz
 */

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

/* ========================================
   QATAR PEARL COLOR PALETTE
======================================== */
:root {
    /* Qatar Pearl Colors */
    --pearl-white: #F8F8F8;
    --pearl-cream: #FFF5E6;
    --doha-gold: #C9A962;
    --qatar-maroon: #8D1B3D;
    --corniche-blue: #006994;
    --desert-beige: #E8D5B7;
    --midnight-navy: #0F1419;
    --pearl-silver: #C0C0C0;
    --ruby-accent: #CC2936;
    --emerald-green: #048243;
    
    /* Gradients */
    --pearl-gradient: linear-gradient(135deg, #FFF5E6 0%, #E8D5B7 100%);
    --gold-gradient: linear-gradient(135deg, #C9A962 0%, #8D6F3E 100%);
    --maroon-gradient: linear-gradient(135deg, #8D1B3D 0%, #6B1530 100%);
}

/* ========================================
   BODY & TYPOGRAPHY
======================================== */
body {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
    background: linear-gradient(135deg, #0F1419 0%, #1A2332 50%, #0F1419 100%);
    color: var(--pearl-white);
    line-height: 1.7;
    min-height: 100vh;
    direction: ltr;
}

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

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

/* ========================================
   HEADER & NAVIGATION
======================================== */
header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--doha-gold);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s 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: 20px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(201, 169, 98, 0.5);
    letter-spacing: 2px;
}

.logo-ar {
    font-size: 1.8rem;
    margin-right: 10px;
}

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

nav a {
    color: var(--pearl-cream);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--doha-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--doha-gold);
}

nav a:hover::after {
    width: 80%;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(rgba(15, 20, 25, 0.7), rgba(15, 20, 25, 0.7)),
                url('../images/qatar-pearl.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    border-bottom: 5px solid var(--doha-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(201, 169, 98, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(201, 169, 98, 0.6);
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--pearl-cream);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-ar {
    font-size: 1.6rem;
    color: var(--doha-gold);
    margin-bottom: 40px;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ========================================
   CASINO GRID
======================================== */
.casinos-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A2332 0%, #0F1419 50%, #1A2332 100%);
}

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

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--doha-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.casino-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    border: 2px solid var(--doha-gold);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

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

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

.casino-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.4);
    border-color: var(--doha-gold);
}

.casino-name {
    font-size: 1.8rem;
    color: var(--doha-gold);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.casino-bonus {
    background: var(--maroon-gradient);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(141, 27, 61, 0.4);
    position: relative;
    z-index: 2;
}

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

.casino-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--pearl-cream);
}

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

.cta-button {
    display: block;
    background: var(--gold-gradient);
    color: var(--midnight-navy);
    text-align: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.6);
}

/* ========================================
   BLOG SECTION
======================================== */
.blog-section {
    padding: 80px 20px;
    background: rgba(15, 20, 25, 0.95);
}

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

.blog-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(15, 20, 25, 0.9) 100%);
    border: 1px solid var(--doha-gold);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(201, 169, 98, 0.3);
}

.blog-title {
    font-size: 1.4rem;
    color: var(--doha-gold);
    margin-bottom: 15px;
}

.blog-meta {
    color: var(--pearl-silver);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.read-more {
    color: var(--doha-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--pearl-cream);
}

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

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

.form-box {
    background: rgba(26, 35, 50, 0.9);
    border: 2px solid var(--doha-gold);
    border-radius: 15px;
    padding: 40px;
}

.form-title {
    font-size: 2rem;
    color: var(--doha-gold);
    margin-bottom: 25px;
    text-align: center;
}

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

label {
    display: block;
    color: var(--pearl-cream);
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--doha-gold);
    border-radius: 5px;
    background: rgba(15, 20, 25, 0.8);
    color: var(--pearl-white);
    font-size: 1rem;
}

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

button[type="submit"] {
    width: 100%;
    background: var(--gold-gradient);
    color: var(--midnight-navy);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 169, 98, 0.5);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: rgba(15, 20, 25, 0.98);
    border-top: 3px solid var(--doha-gold);
    padding: 40px 20px;
    text-align: center;
}

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

.footer-links a {
    color: var(--pearl-cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--doha-gold);
}

.copyright {
    color: var(--pearl-silver);
    font-size: 0.95rem;
}

.copyright-ar {
    color: var(--doha-gold);
    margin-top: 10px;
    font-weight: 600;
}

/* ========================================
   BLOG POST PAGE
======================================== */
.post-header {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(26, 35, 50, 0.9) 100%);
    border-bottom: 3px solid var(--doha-gold);
}

.post-title {
    font-size: 2.5rem;
    color: var(--doha-gold);
    margin-bottom: 20px;
    text-align: center;
}

.post-meta {
    text-align: center;
    color: var(--pearl-silver);
    font-size: 1rem;
}

.post-content {
    padding: 60px 20px;
    background: rgba(15, 20, 25, 0.95);
}

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

.post-body h2 {
    color: var(--doha-gold);
    font-size: 2rem;
    margin: 40px 0 20px;
}

.post-body h3 {
    color: var(--pearl-cream);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

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

.post-body a {
    color: var(--doha-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--doha-gold);
    transition: all 0.3s ease;
}

.post-body a:hover {
    color: var(--pearl-cream);
    border-color: var(--pearl-cream);
}

/* ========================================
   COMMENTS SECTION
======================================== */
.comments-section {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: rgba(26, 35, 50, 0.9);
    border: 2px solid var(--doha-gold);
    border-radius: 15px;
}

.comments-title {
    font-size: 2rem;
    color: var(--doha-gold);
    margin-bottom: 30px;
}

.comment {
    background: rgba(15, 20, 25, 0.8);
    padding: 20px;
    border-left: 3px solid var(--doha-gold);
    margin-bottom: 20px;
    border-radius: 8px;
}

.comment-author {
    color: var(--doha-gold);
    font-weight: 700;
    margin-bottom: 5px;
}

.comment-date {
    color: var(--pearl-silver);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

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

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

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