/* ============================================
   Tragamonedas Gratis - Template 11 Styles
   Theme: Luxury Red & Gold Casino
   Completely different from all previous templates
   ============================================ */

/* ============================================
   1. CSS Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #8B0000;
    --secondary-gold: #DAA520;
    --accent-cream: #FFF8DC;
    --dark-burgundy: #4A0000;
    --light-gold: #FFD700;
    --text-primary: #FFFFFF;
    --text-secondary: #F5F5DC;
    --bg-dark: #1A0000;
    --bg-section: #2D0A0A;
    --border-gold: #B8860B;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--dark-burgundy) 100%);
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--light-gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* ============================================
   2. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.25rem;
    border-bottom: 3px solid var(--border-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--light-gold);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    text-align: justify;
}

strong {
    color: var(--secondary-gold);
    font-weight: 700;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* ============================================
   3. Header & Navigation
   ============================================ */
header {
    background: linear-gradient(135deg, var(--dark-burgundy) 0%, var(--primary-red) 100%);
    border-bottom: 4px solid var(--secondary-gold);
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.3);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-container img {
    width: 80px;
    height: 80px;
    border: 3px solid var(--secondary-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.6);
}

.brand-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--light-gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Georgia', serif;
}

.nav-link:hover {
    background: rgba(218, 165, 32, 0.2);
    border-color: var(--secondary-gold);
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--light-gold) 100%);
    color: var(--dark-burgundy) !important;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.5);
    border: 3px solid var(--light-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.7);
}

/* ============================================
   4. Container & Layout
   ============================================ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 4rem;
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-gold), transparent);
}

/* ============================================
   5. Hero Section
   ============================================ */
.hero {
    background-image: linear-gradient(rgba(26, 0, 0, 0.7), rgba(74, 0, 0, 0.7)), url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    text-align: center;
    border-radius: 0;
    border: none;
    border-bottom: 6px solid var(--secondary-gold);
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--accent-cream);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--light-gold) 100%);
    color: var(--dark-burgundy) !important;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.6);
    border: 4px solid var(--light-gold);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8);
}

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

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

/* ============================================
   6. Content Blocks
   ============================================ */
.content-block {
    background: rgba(74, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-gold);
    margin-bottom: 2.5rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.content-block h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--border-gold);
    padding-bottom: 0.8rem;
}

.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.image-text-block img {
    width: 100%;
    border-radius: 15px;
    border: 4px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.image-text-content p:first-of-type {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-cream);
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ============================================
   7. Game Cards
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.game-card {
    background: linear-gradient(135deg, var(--dark-burgundy) 0%, var(--primary-red) 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 50px rgba(218, 165, 32, 0.6);
    border-color: var(--light-gold);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-gold);
}

.game-card-content {
    padding: 2rem;
}

.game-card h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    text-align: center;
}

.game-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.game-card-btn {
    display: block;
    text-align: center;
    background: var(--secondary-gold);
    color: var(--dark-burgundy) !important;
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card-btn:hover {
    background: var(--light-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* ============================================
   8. Reviews & Testimonials
   ============================================ */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(74, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gold);
}

.review-author {
    font-weight: 700;
    color: var(--secondary-gold);
    font-size: 1.15rem;
}

.review-location {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.review-rating {
    color: var(--light-gold);
    font-size: 1.3rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-date {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   9. FAQ Section
   ============================================ */
.faq-item {
    background: rgba(74, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-gold);
    margin-bottom: 2rem;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-gold);
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   10. Payment Methods
   ============================================ */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-method {
    background: rgba(74, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-gold);
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    border-color: var(--light-gold);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

.payment-method h4 {
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

/* ============================================
   11. Footer
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--dark-burgundy) 100%);
    border-top: 4px solid var(--secondary-gold);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: var(--light-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-gold);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    text-align: center;
}

/* ============================================
   12. Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--light-gold);
    font-weight: 700;
}

.badge-18 {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid var(--secondary-gold);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ============================================
   13. Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }
    
    .image-text-block {
        grid-template-columns: 1fr;
    }
    
    .two-column, .three-column {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 2rem 1.5rem;
    }
    
    section {
        padding: 2rem 1.5rem;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.5rem;
    }
    
    .logo-container img {
        width: 60px;
        height: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}
