
/* General Styles */

/* ===== HERO SECTION Minecraft ===== */
.mc-hero-section {
    background: transparent;
    padding: 3.5rem 0 2.5rem 0;
    color: #000000;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.mc-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.mc-hero-text {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 600px;
}

.mc-hero-rating {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
}
.mc-stars i {
    color: #00B479;
}
.mc-trustpilot {
    color: #00B479;
    font-weight: 600;
}
.mc-rating-reviews {
    color: #cacbd2;
}
.mc-rating-value {
    color: #cacbd2;
}
.mc-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 0.7rem;
    color: #cacbd2;
}

.mc-hero-desc {
    font-size: 1.18rem;
    color: #cacbd2;
    margin-bottom: 1.3rem;
    line-height: 1.4;
}

.mc-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 2.1rem;
    color: #cacbd2;
}
.mc-hero-features li {
    font-size: 1.04rem;
    color: #cacbd2;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.1rem;
}
.mc-hero-features i {
    color: #be2edd;
    font-size: 1.12em;
    border-radius: 50%;
    margin-right: 0.2em;
}

.mc-hero-image {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    max-width: 620px;
}

.mc-img-wrapper img {
    width: 500px;
    height: auto;
    max-width: 100%;
    max-height: 700px;
    background: transparent;
}
.mc-img-badge {
    position: absolute;
    top: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 14px;
    padding: 0.28em 1.2em;
    box-shadow: 0 2px 12px rgba(46,204,113,0.16);
    letter-spacing: 0.04em;
    z-index: 2;
    border: 2px solid #fff;
}

@media (max-width: 1325px) {
    .mc-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    
    .mc-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px;
    }
    
    .mc-hero-features {
        justify-content: center;
    }
}

@media (max-width: 450px) {
    .mc-hero-rating {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .rating-value-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 150%;
        margin: 0.3rem 0;
    }
    
    .mc-rating-value {
        display: inline-block;
        margin: 0;
    }
    
    .mc-rating-reviews {
        display: inline-block;
        margin: 0;
    }
    
    .mc-trustpilot {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1150px) {
    .mc-hero-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    .mc-hero-image {
        display: none;
    }
}

@media (max-width: 600px) {
    .mc-hero-section {
        padding: 2rem 0 1.2rem 0;
    }
    .mc-hero-title {
        font-size: 2.1rem;
    }
    .mc-hero-content {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        margin: 10px;
    }
    .mc-img-wrapper img {
        display: none;
    }
}
/* ===== END HERO SECTION Minecraft ===== */
:root {
    /* Colores base */
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --gray-color: #333;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --text-color: #cacbd2;

    /* Colores para Vanilla (Verde) */
    --vanilla-primary: #2ecc71;
    --vanilla-secondary: #27ae60;
    --vanilla-accent: #27ae60;

    /* Colores para Mods (Azul) */
    --mods-primary: #3498db;
    --mods-secondary: #2980b9;
    --mods-accent: #e74c3c;

    /* Colores para Comunidades (Rosa) */
    --community-primary: #e84393;
    --community-secondary: #be2edd;
    --community-accent: #e74c3c;
    
    --vanilla-bg-primary: #2ecc7115;
    --mods-bg-primary: #3498db15;
    --community-bg-primary: #e8439315;
    /* Valores por defecto (usando Vanilla) */
    --primary-color: var(--vanilla-primary);
    --secondary-color: var(--vanilla-secondary);
    --accent-color: var(--vanilla-accent);
}

body {

    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #141C2A;
    margin: 0;
    padding: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(20, 28, 42, 0.9), rgba(20, 28, 42, 0.95)), 
              url('/icons/images/minecraft.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px);
  z-index: -1;
  opacity: 0.5;
}

/* Header Section */
.header-section {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #cacbd2;
    margin-bottom: 2rem;
}

.header-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #cacbd2;
}

.header-section .subtitle {
    font-size: 1.2rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
}

/* Section Title and Description */
.category-title {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding-top: 0.5rem;
    font-weight: 700;
}

/* Category Sections */
.category-section {
    position: relative;
    padding: 4rem 1rem;
    margin: 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.category-overlay {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Background Images with Gradient Overlays */
.vanilla-bg {
    background: linear-gradient(to top, rgba(26, 63, 26, 0.9), rgba(42, 90, 42, 0.7)), 
                url('/images/minecraft/vanilla-bg.webp');
    background-size: cover;
    background-position: center;
}

.mods-bg {
    background: linear-gradient(to top, rgba(26, 26, 63, 0.9), rgba(42, 42, 90, 0.7)), 
                url('/images/minecraft/mods-bg.webp');
    background-size: cover;
    background-position: center;
}

.community-bg {
    background: linear-gradient(to top, rgba(63, 26, 63, 0.9), rgba(90, 42, 90, 0.7)), 
                url('/images/minecraft/community-bg.webp');
    background-size: cover;
    background-position: center;
}



/* Text colors for better contrast */
.vanilla-category .category-title,
.vanilla-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mods-category .category-title,
.mods-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.community-category .category-title,
.community-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.category-section {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-overlay {
    position: relative;
    z-index: 2;
}

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

.category-title {
    text-align: center;
    color: #cacbd2;
    margin-bottom: 1rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.category-description {
    text-align: center;
    color: #eee;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Plan Cards */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Estilos específicos para cada categoría */
.vanilla-category .plan-card {
    border: 2px solid var(--vanilla-primary);
    background-color: var(--vanilla-bg-primary);
}

.mods-category .plan-card {
    border: 2px solid var(--mods-primary);
    background-color: var(--mods-bg-primary);
}

.community-category .plan-card {
    border: 2px solid var(--community-primary);
    background-color: var(--community-bg-primary);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.8;
}

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

.plan-card.featured {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 1);
}

.vanilla-category .plan-card.featured {
    border: 2px solid var(--vanilla-primary);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.2);
    background: #2ecc7115;
}

.mods-category .plan-card.featured {
    border: 2px solid var(--mods-primary);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
    background: #3498db15;
}

.community-category .plan-card.featured {
    border: 2px solid var(--community-primary);
    box-shadow: 0 8px 30px rgba(232, 67, 147, 0.2);
    background: #e8439315;
}

.vanilla-category .plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.3);
}

.mods-category .plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.3);
}

.community-category .plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 12px 40px rgba(232, 67, 147, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 3px;
}

.vanilla-category .plan-header::after {
    background: var(--vanilla-primary);
}

.mods-category .plan-header::after {
    background: var(--mods-primary);
}

.community-category .plan-header::after {
    background: var(--community-primary);
}

.plan-header h3 {
    font-size: 1.4rem;
    color: #cacbd2;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-header h3 img {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    line-height: 1;
    margin: 0.3rem 0 1rem;
    position: relative;
}

.price-original-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.price-original {
    text-decoration: line-through;
    color: #cacbd2;
    font-size: 1rem;
    line-height: 1.2;
}

.price-discount {
    background: #ff4444;
    color: #cacbd2 !important;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
    line-height: 1.2;
    position: relative;
    top: -1px;
}

.featured .price-discount {
    background: #ff6b6b;
    font-size: 0.8rem;
    padding: 0.2rem 0.7rem;
}

.vanilla-category .price .amount,
.vanilla-category .price  {
    background: var(--vanilla-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: #2ecc71;
}

.mods-category .price .amount,
.mods-category .price  {
    background: var(--mods-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: #3498db;
}

.community-category .price .amount,
.community-category .price  {
    background: var(--community-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: #e84393;
}

.price .period {
    font-size: 1.1rem;
    color: #cacbd2;
    font-weight: 500;
    margin-left: 0.3rem;
    background: none;
    -webkit-text-fill-color: #cacbd2;
    align-self: flex-end;
    margin-bottom: 0.15rem;
}

.price-final {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
}

.plan-specs {
    margin: 0.5rem 0 0.75rem;
    flex-grow: 1;
    padding: 0.25rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    background: transparent;
    border-radius: 8px;
    padding: 0.8rem 0.7rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    
    
    position: relative;
    overflow: hidden;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Colores específicos para cada categoría */
.vanilla-category .spec-item::before {
    background: var(--vanilla-primary);
}

.mods-category .spec-item::before {
    background: var(--mods-primary);
}

.community-category .spec-item::before {
    background: var(--community-primary);
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.spec-item:hover::before {
    opacity: 1;
}

.spec-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #cacbd2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.vanilla-category .spec-item i {
    background: var(--vanilla-primary);
}

.mods-category .spec-item i {
    background: var(--mods-primary);
}

.community-category .spec-item i {
    background: var(--community-primary);
}

.spec-item:hover i {
    transform: scale(1.05);
}

.spec-info {
    line-height: 1.3;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: #cacbd2;
    margin-bottom: 1px;
}

.spec-label {
    font-size: 0.65rem;
    color: #cacbd2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    opacity: 0.9;
}

.btn-select {
    width: 100%;
    padding: 0.7rem;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    margin-top: 0.25rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vanilla-category .btn-select {
    background: var(--vanilla-primary);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

.mods-category .btn-select {
    background: var(--mods-primary);
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.community-category .btn-select {
    background: var(--community-primary);
    box-shadow: 0 3px 10px rgba(232, 67, 147, 0.3);
}

.vanilla-category .btn-select:hover {
    background: var(--vanilla-secondary);
}

.mods-category .btn-select:hover {
    background: var(--mods-secondary);
}

.community-category .btn-select:hover {
    background: var(--community-secondary);
}

.btn-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #b720b9;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
    opacity: 0;
}

.plan-badge {
    position: absolute;
    top: -40px;
    right: -85px;
    color: #cacbd2;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    transform-origin: left center;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 200px;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.2;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.plan-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotate(-45deg);
    z-index: -1;
}

.plan-badge span {
    display: inline-block;
    transform: translateX(-10px);
}

.vanilla-category .plan-badge {
    background: var(--vanilla-primary);
}

.mods-category .plan-badge {
    background: var(--mods-primary);
}

.community-category .plan-badge {
    background: var(--community-primary);
}

/* Buttons */
.btn-contact {
    display: block;
    width: 80%;
    margin: 1.5rem auto;
    padding: 0.8rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: #6c757d;
    color: #cacbd2;
}

.btn-contact:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Custom Plan Card */
.custom-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.custom-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.custom-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .plans-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-section h1 {
        font-size: 2rem;
    }
    
    .header-section .subtitle {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .category-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .plans-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: scale(1.02) translateY(-5px);
    }
}

@media (max-width: 1325px) {
    .mc-hero-image {
        display: none;
    }
}
/* Ensure mobile/tablet override comes AFTER the base .vanilla-bg rule */
@media (max-width: 1350px) {
    .vanilla-bg,
    .mods-bg,
    .community-bg {
        background:
            linear-gradient(to top, rgba(26, 26, 26, 0), rgba(42, 42, 42, 0)),
            url('https://i.ibb.co/HLjw62v3/transparente.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 12px;
    }
    
    .category-section {
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin: 1.5rem 0.5rem;
        padding: 1.5rem 0.5rem;
    }
    
    @media (max-width: 768px) {
        .category-section {
            margin: 1rem 0.5rem;
            padding: 1.5rem 0.5rem;
        }
        
        .plans-container {
            padding: 0 0.5rem;
        }
    }

    

    .vanilla-category .category-title,
.vanilla-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mods-category .category-title,
.mods-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.community-category .category-title,
.community-category .category-description {
    color: #cacbd2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
}