/* 
 * DobleSena Landing Page Styles
 * Estilos principales para la landing page del juego de dominó venezolano
 */

/* Variables globales */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #26a69a;
    --accent-color: #ffc107;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

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

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

ul {
    list-style: none;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #1565c0;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #00897b;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Header y navegación */
.hero {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: var(--text-light);
    padding: 20px 0 0;
    position: relative;
    overflow: hidden;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Contenido del hero */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Estadísticas del hero */
.hero-stats {
    display: flex;
    justify-content: space-around;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sección de características */
.features {
    padding: 80px 5%;
    background-color: var(--light-color);
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 80px;
    height: 80px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
}

/* Sección cómo jugar */
.how-to-play {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--primary-color);
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin: 15px;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.step h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Sección premium */
.premium-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: var(--text-light);
}

.premium-section .section-title {
    color: var(--text-light);
}

.premium-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.premium-text {
    flex: 1;
    min-width: 300px;
}

.premium-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.premium-features {
    margin-top: 20px;
}

.premium-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.premium-plans {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    min-width: 300px;
}

.plan-card {
    background-color: white;
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 250px;
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.plan-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.plan-save {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-card ul {
    margin: 20px 0;
    text-align: left;
}

.plan-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.plan-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.premium-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}

/* Sección de torneos */
.tournaments {
    padding: 80px 5%;
    background-color: var(--light-color);
}

.tournaments-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.tournament-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.tournament-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tournament-text {
    flex: 1;
    min-width: 300px;
}

.tournament-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tournament-features {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tournament-feature {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tournament-feature h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Sección de testimonios */
.testimonials {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial {
    padding: 20px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Sección de descarga */
.download {
    padding: 80px 5%;
    background-color: var(--light-color);
}

.download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.download-text {
    flex: 1;
    min-width: 300px;
}

.download-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.device-compatibility {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.device {
    text-align: center;
}

.device img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.download-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.download-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* Sección de FAQ */
.faq {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f5f5f5;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links a {
    display: block;
    color: var(--text-light);
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Utilidades */
.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-color);
}
