﻿/*
Theme Name: Mayhus
Theme URI: https://mayhus.com
Author: Mayhus Team
Description: Tema de Sorteos (HTML a WP)
Version: 1.0
*/
/* =========================================
   VARIABLES & GLOBAL ESTILOS
========================================= */
:root {
    --color-bg: #0d0d0d;
    --color-bg-darker: #050505;
    --color-gold: #cba135;
    --color-gold-light: #f5d061;
    --color-red: #d32f2f;
    --color-red-dark: #8e1818;
    --color-text: #f0f0f0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --glow-shadow: 0 0 15px rgba(203, 161, 53, 0.6);
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-text);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-red { color: var(--color-red); }
.text-green { color: #25d366; }
.text-white { color: #fff; }
.bg-darker { background-color: var(--color-bg-darker); }
.bg-red-dark { background-color: var(--color-red-dark); }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.w-100 { width: 100%; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(203, 161, 53, 0.3);
}

/* =========================================
   BOTONES
========================================= */
button {
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    outline: none;
}

.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-red-dark), var(--color-red));
    color: #fff;
    border: 1px solid var(--color-red);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--color-red), #ff4c4c);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: #000;
    box-shadow: var(--glow-shadow);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.btn-primary.lg, .btn-secondary.lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.glow-effect {
    box-shadow: var(--glow-shadow);
    animation: goldGlow 2s infinite alternate;
}

@keyframes goldGlow {
    from { box-shadow: 0 0 5px var(--color-gold); }
    to { box-shadow: 0 0 20px var(--color-gold-light); }
}

/* =========================================
   HEADER
========================================= */
header {
    background: rgba(5, 5, 5, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--color-gold);
    padding: 10px 0;
}

.header-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px var(--color-gold));
}

.logo h1 {
    color: var(--color-gold);
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
}

.logo span {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
}

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

nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--color-gold);
    text-shadow: 0 0 5px var(--color-gold);
}

.menu-toggle {
    display: none;
    background: none;
    color: var(--color-gold);
    font-size: 1.5rem;
}

/* =========================================
   HERO / BANNER PRINCIPAL
========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(13,13,13,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.casino-text {
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--color-red), -2px -2px 0 var(--color-gold), 0 0 20px rgba(255,255,255,0.5);
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 900;
}

.hero p {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   PRÃ“XIMO SORTEO
========================================= */
.countdown-section {
    background: #111;
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    padding: 20px 0;
}

.glow-border {
    box-shadow: inset 0 0 20px rgba(203, 161, 53, 0.2);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-gold);
}

.time-box {
    background: var(--color-bg-darker);
    border: 2px solid var(--color-red);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    min-width: 90px;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.4);
}

.time-box small {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
}

/* =========================================
   BUSCADOR Y FILTROS
========================================= */
.filters-section {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid var(--color-gold);
    background: #1a1a1a;
    color: #fff;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-bar button {
    padding: 12px 25px;
    background: var(--color-gold);
    color: #000;
    border: 2px solid var(--color-gold);
    border-radius: 0 5px 5px 0;
    font-size: 1.2rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 20px;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-gold);
    color: #000;
}

/* =========================================
   RIFAS 
========================================= */
.rifas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rifa-card {
    background: #141414;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    position: relative;
}

.rifa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(203, 161, 53, 0.3);
    border-color: var(--color-gold);
}

.rifa-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.placeholder-auto { background-image: url('https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=600&q=80'); }
.placeholder-moto { background-image: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?auto=format&fit=crop&w=600&q=80'); }
.placeholder-dinero { background-image: url('https://images.unsplash.com/photo-1580519542036-ed47f3e82ebd?auto=format&fit=crop&w=600&q=80'); }

.rifa-content {
    padding: 20px;
}

.rifa-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.rifa-content .price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.progress-container {
    background: #222;
    border-radius: 10px;
    height: 12px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--color-gold), var(--color-red));
    height: 100%;
    border-radius: 10px;
}

.progress-text {
    font-size: 0.8rem;
    color: #ccc;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.badge {
    background: var(--color-red);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 10px;
}

/* =========================================
   PREMIOS CAROUSEL/GRID
========================================= */
.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.premio-item {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    border: 1px dashed var(--color-gold);
    transition: var(--transition);
}

.premio-item:hover {
    background: var(--color-gold);
}

.premio-item:hover h4, .premio-item:hover i {
    color: #000;
}

.glow-icon {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(203,161,53,0.8));
}

/* =========================================
   PASOS / CÃ“MO PARTICIPAR
========================================= */
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.paso-card {
    background: #111;
    padding: 40px 20px;
    border-radius: 10px;
    position: relative;
    border-top: 3px solid var(--color-red);
}

.paso-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #000;
}

.paso-card i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

/* =========================================
   MÃ‰TODOS DE PAGO
========================================= */
.pagos-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.pagos-logos span {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   GANADORES
========================================= */
.ganadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ganador-card {
    background: #1a1a1a;
    border-left: 4px solid var(--color-gold);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 5px;
}

.ganador-avatar {
    font-size: 4rem;
    color: #444;
}

.ticket-number {
    background: var(--color-red);
    padding: 2px 6px;
    border-radius: 3px;
    color: white;
    font-weight: bold;
}

/* =========================================
   CONTACTO
========================================= */
.contacto-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contacto-info, .contacto-form {
    flex: 1;
    min-width: 300px;
}

.contacto-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-form input, .contacto-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-body);
}

.contacto-form input:focus, .contacto-form textarea:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: #000;
    border-top: 1px solid #333;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-top: 0;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.logo-img-footer {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.redes-sociales a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #222;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.redes-sociales a:hover {
    background: var(--color-gold);
    color: #000;
}

.footer-bottom {
    background: #050505;
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

/* =========================================
   FLOTANTES & TOAST
========================================= */
.btn-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: var(--transition);
}

.btn-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #25d366;
}

.cart-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--color-gold);
    color: #000;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}

.cart-count {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--color-red);
    color: white;
    border-radius: 50%;
    width: 25px; height: 25px;
    display: flex; justify-content: center; align-items: center;
    font-size: 14px;
    font-weight: bold;
}

.toast-message {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(37, 211, 102, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-message.show {
    bottom: 40px;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
    .casino-text { font-size: 2.5rem; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.98);
        padding: 20px 0;
        flex-direction: column;
        display: none;
        border-bottom: 2px solid var(--color-gold);
    }
    nav.active { display: block; }
    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    nav ul li { margin-bottom: 15px; }
    .menu-toggle { display: block; }
    .header-actions { display: none; }
    
    .countdown-timer { font-size: 1.5rem; flex-wrap: wrap; }
    .time-box { min-width: 70px; padding: 10px; }
    .cart-float { bottom: 20px; left: 20px; right: auto; }
}

