/* ===== VARIABLES ===== */
:root {
    /* Colores principales - Paleta japonesa */
    --primary-color: #E63946;
    --primary-dark: #C5303D;
    --primary-light: #FF5A67;
    
    --secondary-color: #F4A261;
    --accent-color: #2A9D8F;
    
    /* Colores neutros */
    --bg-color: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-dark: #1A1A1A;
    
    --text-primary: #2B2D42;
    --text-secondary: #5A5A5A;
    --text-light: #8D99AE;
    
    /* Colores japoneses tradicionales */
    --sakura: #FFB7C5;
    --indigo: #264653;
    --gold: #F1C40F;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-japanese: 'Noto Sans JP', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Contenedor */
    --container-width: 1200px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    font-size: 1.2em;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente para el header */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scroll-header {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: 40px; /* Ajusta el tamaño del logo */
    width: auto;
    margin-right: 5px;
}

/* Estilos para las novedades */
.novedades__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.novedad-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.novedad-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.novedad-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.novedad-text h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.novedad-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.novedad-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav__list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav__link {
    font-weight: 500;
    color: white;
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/header-background.jpg") center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '🌸';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    top: -5%;
    right: -5%;
    animation: float 20s ease-in-out infinite;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.05), transparent 50%);
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.hero__welcome-text {
    color: white;
}

.hero__description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero__ip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.ip-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.ip-address {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.ip-copy {
    padding: 8px 12px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ip-copy:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.hero__image {
    position: relative;
}

.floating-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.floating-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== MODALIDADES SECTION ===== */
.modalidades {
    background: linear-gradient(180deg, white 0%, var(--bg-color) 100%);
}

.modalidades__grid {
    display: grid;
    gap: var(--spacing-xl);
}

.mode-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.mode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mode-card__image {
    position: relative;
    overflow: hidden;
}

.mode-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.mode-card:hover .mode-card__image img {
    transform: scale(1.05);
}

.mode-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.mode-card__badge--soon {
    background: var(--secondary-color);
}

.mode-card__content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mode-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.mode-card__description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.mode-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.feature-tag {
    padding: 6px 12px;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid #E0E0E0;
}

.mode-card--coming {
    grid-template-columns: 1fr;
}

.coming-soon-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-color), #FFE8EC);
}

.coming-soon-icon {
    font-size: 6rem;
    opacity: 0.3;
}

/* ===== NOVEDADES SECTION ===== */
.novedades {
    background: white;
}

.novedades__content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px; /* Altura mínima para el placeholder */
}

.novedades__placeholder {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.novedades__placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.novedades__placeholder p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== COMUNIDAD SECTION ===== */
.comunidad {
    background: linear-gradient(135deg, var(--indigo), var(--primary-dark));
    color: white;
}

.comunidad__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.comunidad__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.comunidad__description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.comunidad__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.discord-preview {
    background: #36393F;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.discord-preview__header {
    padding: var(--spacing-md);
    background: #202225;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
}

.discord-logo {
    font-size: 1.5rem;
}

.discord-preview__content {
    padding: var(--spacing-md);
}

.discord-channel {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    opacity: 0.7;
}

.discord-channel:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.discord-channel.active {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.channel-icon {
    color: #8E9297;
    font-weight: 700;
}

.discord-preview__footer {
    padding: var(--spacing-md);
    background: #202225;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #43B581;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer__description {
    opacity: 0.8;
    line-height: 1.7;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer__links a {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer__links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 4px;
}

.footer__ip {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}

.footer__credits {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    .hero__content,
    .modalidades__grid .mode-card,
    .reportes__content,
    .comunidad__content {
        grid-template-columns: 1fr;
    }
    
    .mode-card__image {
        height: 250px;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .comunidad__stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        padding: var(--spacing-xl);
        transition: var(--transition-normal);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: var(--spacing-xl);
    }
    
    .nav__close {
        display: block;
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
        font-size: 2rem;
        color: var(--text-primary);
    }
    
    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    
    .nav__toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: var(--transition-fast);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero {
        min-height: auto;
        padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .hero__image {
        order: -1;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .comunidad__stats {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero__ip {
        flex-direction: column;
        text-align: center;
    }
    
    .mode-card__features {
        justify-content: center;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
}
