:root {
    --primary-red: #DC143C;
    --dark-red: #8B0000;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.brand-highlight {
    background: linear-gradient(135deg, var(--primary-red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
    border-color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Carousel Section */
.carousel-section {
    margin-top: 80px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-red) 50%, var(--primary-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.carousel-content .highlight-text {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.offer-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.price-section {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.old-price {
    font-size: 2rem;
    color: var(--light-gray);
    text-decoration: line-through;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.currency {
    font-size: 1.5rem;
    color: var(--gold);
}

.offer-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, var(--dark-gold), var(--gold));
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.3);
    border: 2px solid var(--gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: var(--gold);
    color: var(--black);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--gold);
    width: 30px;
    border-radius: 10px;
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    border-radius: 2px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2a2a2a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
    border-color: var(--gold);
}

.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--dark-gray), var(--primary-red));
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.post-content p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.post-actions {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-action:hover {
    color: var(--primary-red);
}

.post-action.liked {
    color: var(--primary-red);
}

.post-action i {
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--dark-gray);
}

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

.benefit-card {
    background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    border: 3px solid var(--gold);
}

.benefit-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--light-gray);
}

/* Platform Section */
.platform-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.platform-text p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.platform-features {
    list-style: none;
}

.platform-features li {
    padding: 0.7rem 0;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
}

.platform-features li i {
    color: var(--primary-red);
    font-size: 1.3rem;
}

.platform-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Simulacro Section */
.simulacro-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
}

.simulacro-section .section-title {
    color: var(--white);
}

.simulacro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.simulacro-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.simulacro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.simulacro-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--white), #fffef0);
    transform: scale(1.05);
}

.simulacro-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.simulacro-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.simulacro-badge.gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
}

.simulacro-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
}

.simulacro-card h3 {
    color: var(--black);
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.simulacro-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.simulacro-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.simulacro-card li {
    padding: 0.7rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.simulacro-card li i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.price-tag {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-tag::before {
    content: '💬 Contactar por WhatsApp';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem;
}

.price-tag:hover::before {
    opacity: 1;
}

.price-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.featured-price {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    font-size: 1.8rem;
}

.blue-price {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: var(--white);
}

.green-price {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: var(--white);
}

/* Ranking Section */
.ranking-section {
    padding: 80px 0;
    background: var(--dark-gray);
}

.ranking-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.ranking-table thead {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
}

.ranking-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--gold);
}

.ranking-table th.total-score {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white) !important;
    font-weight: 900;
    font-size: 1.05rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.ranking-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ranking-table tbody tr:hover {
    background: rgba(220, 20, 60, 0.1);
    transform: scale(1.02);
}

.rank-row.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(218, 165, 32, 0.1) 100%);
}

.rank-row.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15) 0%, rgba(169, 169, 169, 0.1) 100%);
}

.rank-row.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(184, 115, 51, 0.1) 100%);
}

.ranking-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    color: var(--light-gray);
    font-size: 1rem;
}

.rank-position {
    width: 100px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.rank-badge.gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: var(--black);
    box-shadow: 0 5px 15px rgba(192, 192, 192, 0.4);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #B8733B);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.4);
}

.rank-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.student-name {
    text-align: left !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.05rem;
}

.ranking-table td.total-score {
    color: var(--gold) !important;
    font-size: 1.2rem;
    background: rgba(255, 215, 0, 0.1);
}

.ranking-table td.total-score strong {
    font-size: 1.4rem;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Ranking Pagination */
.ranking-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pagination-btn {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border: 2px solid var(--gold);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--dark-gray);
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination-info {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
    border-top-color: var(--gold);
    border-color: var(--gold);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--light-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--white);
    margin-bottom: 0.3rem;
}

.testimonial-author span {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background: var(--dark-gray);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--black), var(--primary-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    transition: all 0.3s ease;
}

.video-card:hover .video-placeholder {
    background: linear-gradient(135deg, var(--primary-red), var(--gold));
}

.video-card h4 {
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    color: #ccc;
    text-align: center;
    font-size: 0.9rem;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-overlay i {
    font-size: 4rem;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.video-card:hover .video-play-overlay i {
    transform: scale(1.2);
    color: var(--gold);
}

.video-info {
    padding: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modal-content {
    width: 90%;
    max-width: 1200px;
    background: var(--dark-gray);
    border-radius: 15px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    position: relative;
}

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

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
}

#videoPlayerContainer {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    background: #000;
}

#videoPlayerContainer iframe,
#videoPlayerContainer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-info {
    padding: 2rem;
    background: var(--dark-gray);
}

.video-modal-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-modal-info p {
    color: #ccc;
    line-height: 1.6;
}

/* Responsive Video Modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .video-modal-info {
        padding: 1.5rem;
    }
    
    .video-modal-info h3 {
        font-size: 1.2rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #2a2a2a 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--light-gray);
    margin: 0;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

.footer-section p {
    color: var(--light-gray);
}

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

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

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--light-gray);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Mobile Login Button */
.mobile-login-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: right 0.3s ease;
        padding: 100px 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(220, 20, 60, 0.2);
        padding-left: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions .btn-login {
        display: none;
    }

    .mobile-login-btn {
        display: block;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }

    .mobile-login-btn .btn-login {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        border-radius: 10px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .new-price {
        font-size: 2.5rem;
    }

    .old-price {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .platform-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .simulacro-card.featured {
        transform: scale(1);
    }

    .simulacro-card.featured:hover {
        transform: translateY(-10px);
    }

    .ranking-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ranking-table {
        min-width: 700px;
    }

    .ranking-table th,
    .ranking-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .rank-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        gap: 0.3rem;
    }

    .student-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
    }

    .benefits-grid,
    .simulacro-grid,
    .testimonials-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .price-section {
        flex-direction: column;
        gap: 0.5rem;
    }

    .new-price {
        font-size: 2rem;
    }
}