/* style.css - Estilo Profesional Negro, Rojo y Blanco */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --red: #cc0000;
    --red-dark: #990000;
    --red-light: #ff1a1a;
    --white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.carousel-item img {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Navbar */
.navbar {
    background: var(--dark);
    padding: 12px 0;
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    pointer-events: none;
}

.navbar-brand span {
    color: var(--red);
}

.navbar-toggler {
    border: 1px solid var(--red);
    padding: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(204, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 50%, var(--gray) 100%);
    padding: 40px 0 30px;
    text-align: center;
}

.hero-logo {
    max-width: 120px;
    margin-bottom: 15px;
    pointer-events: none;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 0 15px;
}

/* Carrusel */
.slider-container {
    max-width: 100%;
    margin: 20px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    background: var(--dark);
}

.slider-container .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark);
    min-height: 200px;
}

.slider-container .carousel-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.slider-container .carousel-item img:hover {
    transform: scale(1.02);
}

.carousel-control-prev,
.carousel-control-next {
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--red);
}

.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
    margin: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--red);
    width: 12px;
    height: 12px;
}

/* Features */
.features {
    padding: 40px 0;
    background: var(--dark);
}

.feature-item {
    text-align: center;
    padding: 20px 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 10px;
}

.feature-item h5 {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin: 0;
}

/* Apps Section */
.apps-section {
    padding: 40px 0;
    background: var(--black);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--red);
}

.app-card {
    background: var(--dark);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.app-card:hover {
    background: var(--gray);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: contain;
    margin-bottom: 15px;
    pointer-events: none;
}

.app-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-info h3 span {
    color: var(--red);
}

.app-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.app-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-download {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-download:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
}

/* Rating - Barras estilo Play Store */
.rating-section {
    margin: 15px 0;
}

.rating-bars {
    background: var(--gray);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 10px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.rating-bar-item .star-label {
    color: #ffd700;
    font-size: 0.75rem;
    min-width: 25px;
    text-align: right;
}

.rating-bar-item .bar-track {
    flex: 1;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    min-width: 60px;
}

.rating-bar-item .bar-fill {
    height: 100%;
    background: #ffd700;
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.rating-bar-item .bar-count {
    color: var(--text-gray);
    font-size: 0.7rem;
    min-width: 30px;
    text-align: left;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.rating-summary .big-star {
    font-size: 2.5rem;
    color: #ffd700;
    line-height: 1;
}

.rating-summary .average-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.rating-summary .total-votes {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.voto-mensaje {
    font-size: 0.8rem;
    color: #4CAF50;
    margin-top: 5px;
    display: none;
    text-align: center;
}

.voto-mensaje.show {
    display: block;
}

.rating-stars {
    margin: 12px 0;
    text-align: center;
}

.rating-stars .star {
    color: #555;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 3px;
}

.rating-stars .star.active {
    color: #ffd700;
}

.rating-stars .star:hover {
    transform: scale(1.15);
}

.rating-stars .star.votado {
    color: #ffd700;
}

/* Reviews */
.reviews-section {
    padding: 40px 0;
    background: var(--dark);
}

.review-item {
    background: var(--gray);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.review-item:hover {
    background: var(--light-gray);
}

.review-app {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-app img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
    pointer-events: none;
}

.review-app-name {
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-user {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 30px 0;
    border-top: 1px solid var(--gray);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 30px;
    width: auto;
    pointer-events: none;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo span:first-of-type {
    color: var(--red);
}

.footer p {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 8px;
    font-size: 1.2rem;
}

.footer a:hover {
    color: var(--red);
}

/* Responsive */
@media (min-width: 576px) {
    .slider-container .carousel-item img {
        max-height: 500px;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    .hero-logo {
        max-width: 150px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .slider-container .carousel-item img {
        max-height: 550px;
    }
    .features {
        padding: 60px 0;
    }
    .app-card {
        padding: 35px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .app-icon {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .app-info {
        flex: 1;
    }
    .app-info h3 {
        font-size: 1.6rem;
    }
    .rating-summary {
        justify-content: flex-start;
    }
    .rating-bars {
        margin-left: 0;
        margin-right: 0;
    }
    .rating-stars {
        text-align: left;
    }
    .voto-mensaje {
        text-align: left;
    }
    .apps-section {
        padding: 60px 0;
    }
    .reviews-section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .slider-container .carousel-item img {
        max-height: 650px;
    }
    .app-icon {
        width: 120px;
        height: 120px;
    }
}