/* Cazeus Casino - Main Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1f3a;
    --secondary: #ffd700;
    --accent: #ff6b35;
    --text: #333;
    --light: #f8f9fa;
    --success: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f7a 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.cta-btn {
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

main {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26,31,58,0.95) 0%, rgba(42,63,122,0.95) 50%, rgba(26,31,58,0.95) 100%), url('../images/hero-zeus-casino.png') center/cover no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '⚡';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.bonus-badge {
    display: inline-block;
    background: var(--accent);
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f7a 100%);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    margin-top: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.slot-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slot-card:hover {
    transform: translateY(-5px);
}

.slot-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slot-info {
    padding: 1.5rem;
}

.slot-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.rtp-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Winners */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.winner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.winner-card:hover {
    transform: translateY(-5px);
}

.winner-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success);
    margin: 0.5rem 0;
}

.winner-game {
    color: #666;
    font-style: italic;
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-right: 5px;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% { 
        opacity: 0.3; 
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}

/* FAQ */
.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--secondary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.review-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

.review-stars {
    color: var(--secondary);
    font-size: 1.2rem;
}

.review-text {
    color: #666;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.review-verified {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-badge img {
    height: 60px;
    margin-bottom: 0.5rem;
}

/* Registration Form Styles */
.registro-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f7a 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.registro-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.registro-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-step {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
}

.cta-btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.registro-bonus {
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f7a 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.registro-bonus h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.registro-bonus ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.registro-bonus li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
}

.security-badge span {
    font-size: 2rem;
}

.security-badge strong {
    display: block;
    margin-bottom: 0.2rem;
}

.security-badge p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.why-register {
    background: #f8f9fa;
    padding: 4rem 0;
}

.why-register h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* SEO Content Section */
.seo-content {
    background: white;
    padding: 4rem 0;
}

.seo-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.seo-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: #333;
}

.seo-content strong {
    color: var(--primary);
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-terms {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* WebP support with fallback */
.picture-container {
    position: relative;
    overflow: hidden;
}

.picture-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design - Mobile First */

/* Tablet - 768px */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none; /* Implementar menú hamburguesa */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid,
    .slots-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bonus-amount {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .registro-hero h1 {
        font-size: 2rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .security-badges {
        flex-direction: column;
    }
    
    .seo-content h2 {
        font-size: 2rem;
    }
    
    .seo-content h3 {
        font-size: 1.5rem;
    }
    
    .seo-content p {
        font-size: 1rem;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bonus-badge {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .winners-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .seo-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .seo-content h3 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .form-step h2 {
        font-size: 1.5rem;
    }
    
    .registro-bonus h3 {
        font-size: 1.3rem;
    }
    
    /* Touch-friendly improvements */
    .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .slot-card {
        padding: 1rem;
    }
    
    /* Better spacing for mobile */
    .hero {
        padding: 2rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile-specific grid improvements */
    .features-grid,
    .slots-grid,
    .games-grid {
        gap: 1rem;
    }
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }
}

/* Extra small mobile - 320px */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .bonus-badge {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .feature-card,
    .slot-card {
        padding: 1rem;
    }
}

/* Large screens - 1200px+ */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print styles */
@media print {
    .nav-links,
    .cta-btn,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .bonus-badge {
        border: 2px solid black;
        background: none;
        color: black;
    }
}