/* ===========================
   RESET Y CONFIGURACIÓN BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background: var(--section-bg-color-1);
    min-height: 100vh;
}

h1 {
    font-size: 4rem;
    margin: 0;
}

h1 > .highlight {
    font-size: 5rem;
}

h2 {
    font-size: 3rem;
    margin: 0;
}

.highlight {
    color: var(--primary-color);
    font-family: var(--font-family-assent);
}
/* Tamaños de iconos */
.icon-xs {
    font-size: 1em!important;
}

.icon-s {
    font-size: 2em!important;
}

.icon-m {
    font-size: 2.5em!important;
}

.icon-l {
    font-size: 4em!important;
}

.icon-xl {
    font-size: 7em!important;
}

.icon-xxl {
    font-size: 10em!important;
}

/* Gamevitation */
.gamevitation {
    font-size: 4.5rem;
    color: var(--primary-color);
    font-family: Coiny;
    text-align: center;
    letter-spacing: 2px;
}

/* ===========================
   CONTENEDOR PRINCIPAL
   =========================== */
.invitation-container {
    min-height: 100vh;
    position: relative;
}

/* ===========================
   SECCIONES BASE
   =========================== */
.invitation-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -1px;
}

.section-container {
    max-width: 1200px;
}

.invitation-section-center {
    justify-content: center;
    align-items: center;
}

/* ===========================
   SECCIÓN WELCOME
   =========================== */
#section-welcome {
    position: relative;
    overflow: hidden;
    padding-bottom: 8%;
}

#section-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--section-bg-color-1) 0%, var(--section-bg-color-2) 100%);
    clip-path: polygon(22% 0, 25% 15%, 25% 41%, 32% 58%, 43% 64%, 51% 75%, 65% 80%, 77% 79%, 86% 85%, 95% 89%, 100% 100%, 0 100%, 0 0);
    z-index: -1;
}

.welcome-content {
    text-align: center;
    margin: 0 auto;
}

.welcome-text {
    font-size: 1.5rem;
    margin-top: 40px;
    text-align: center;
}


/* ===========================
   REVEAL EVENT SECTION LAYOUT
   =========================== */

#section-reveal-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--section-bg-color-1) 0%, var(--section-bg-color-2) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 64% 92%, 71% 88%, 79% 84%, 87% 75%, 90% 53%, 88% 25%, 78% 12%, 67% 10%, 56% 13%, 45% 11%, 34% 10%, 25% 10%, 16% 11%, 9% 7%);
    z-index: -1;
}
.reveal-title-container {
    text-align: center;

}

.reveal-title {
    font-size: 5rem;
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family);
}

.reveal-content-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* Imagen a la izquierda */
.image-container {
    flex: 0 0 auto;
    position: relative;
    max-width: 500px;
}

.magical-image {
    width: 100%;
    height: auto;
    clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background: var(--section-bg-color-2);
}

.magical-image:hover {
    transform: scale(1.05);
}

/* Contenido a la derecha */
.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 500px;
}

.couple-names-container {
    text-align: center;
}

.name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.couple-name {
    font-size: 4.5rem;
    font-family: var(--font-family-assent);
    color: var(--primary-color);
    font-weight: 600;
}

.heart-connector {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 10%, 20% 0%, 0% 25%, 0% 50%, 25% 75%, 50% 100%, 75% 75%, 100% 50%, 100% 25%, 80% 0%);
    position: relative;
    animation: heartbeat 2s infinite;
}

.event-description {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--card-bg-color);
    clip-path: polygon(1rem 0%, calc(100% - 1rem) 0%, 100% 1rem, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 1rem 100%, 0% calc(100% - 1rem), 0% 1rem);
    backdrop-filter: blur(10px);
}

.quote-mark {
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: serif;
    line-height: 1;
    text-align: left;
}

.quote-mark.closing {
    text-align: right;
}

.description-text {
    font-size: 1.1rem;
    margin: 1rem 0;
    line-height: 1.6;
    font-style: italic;
}

/* ===========================
   GAME SECTION LAYOUT
   =========================== */

#section-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--section-bg-color-1) 0%, var(--section-bg-color-2) 100%);
    clip-path: polygon(60% 0, 100% 0, 95% 19%, 90% 30%, 90% 47%, 86% 66%, 80% 87%, 73% 100%, 10% 100%, 17% 83%, 21% 67%, 24% 48%, 30% 30%, 40% 15%, 50% 6%);
    z-index: -1;
}

.game-section-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 70vh;
}

.game-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game-section-title {
    margin: 0;
    color: var(--text-color)!important;
    line-height: normal;
}

.game-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 600px;
}

.game-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    background: var(--card-bg-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-border-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.corner-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.corner-decoration.top-left {
    top: 10px;
    left: 10px;
}

.corner-decoration.top-right {
    top: 10px;
    right: 10px;
}

.corner-decoration.bottom-left {
    bottom: 10px;
    left: 10px;
}

.corner-decoration.bottom-right {
    bottom: 10px;
    right: 10px;
}

.game-motivation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
}

.motivation-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* ===========================
   MEDIA QUERIES
   =========================== */

/* Responsive Design */
@media (max-width: 768px) {
    .reveal-content-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-top: 2em;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    .content-column {
        max-width: 100%;
    }
    
    .couple-name {
        font-size: 2rem;
    }
    
    .reveal-title {
        font-size: 2.5rem;
    }
    
    /* Game section responsive */
    .game-section-flex {
        gap: 2rem;
        padding: 1rem;
        min-height: 60vh;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .game-description {
        padding: 1.5rem;
    }
    
    .game-text {
        font-size: 1rem;
    }
    
    .game-container {
        padding: 1.5rem;
    }
    
    .game-motivation {
        margin-top: 1rem;
        padding: 0.75rem;
    }
    
    .motivation-text {
        font-size: 1rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===========================
   SECCIÓN FECHA DEL EVENTO
   =========================== */

#section-date-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--section-bg-color-1) 0%, var(--section-bg-color-2) 100%);
    clip-path: polygon(10% 0, 73% 0, 61% 16%, 54% 35%, 53% 56%, 57% 75%, 64% 89%, 75% 100%, 0 100%, 0 72%, 1% 49%, 4% 31%, 9% 13%);
    z-index: -1;
}

.date-event-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
    width: 100%;
    margin: 0 auto;
}

/* Título centrado y grande */
.countdown-header {
    text-align: center;
    width: 100%;
}

.countdown-title {
    font-size: 3.5rem;
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family);
}

/* Contador regresivo en una fila */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.countdown-circle:hover {
    transform: scale(1.1);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enlaces a ceremonia y celebración en otra fila */
.events-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.event-card-wrapper {    
    filter: drop-shadow(6px 6px 5px var(--box-shadow-color));
}

.event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--card-bg-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-width: 280px;
    flex: 1;
    max-width: 350px;
    clip-path: polygon(2rem 0%, calc(100% - 2rem) 0%, 100% 2rem, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 2rem 100%, 0% calc(100% - 2rem), 0% 2rem);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.event-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.event-icon {
    color: rgba(255,255,255,.9)!important;
}

.event-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-type {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-family);
}

.event-datetime {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.event-location {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    font-style: italic;
}
.event-started-message h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-family-assent);

}

/* Media queries para responsive */
@media (max-width: 768px) {
    .date-event-container {
        gap: 2rem;
        padding: 1rem;
    }
    
    .countdown-title {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        gap: 1rem;
        padding: 1.5rem;
        flex-wrap: wrap;
    }
    
    .countdown-circle {
        width: 60px;
        height: 60px;
    }
    
    .countdown-number {
        font-size: 1.4rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .events-container {
        flex-direction: column;
        gap: 1rem;
        width: auto;
    }
    
    .event-card {
        min-width: auto;
        max-width: 100%;
    }
}

/* ===========================
   SECCIÓN CONFIRMACIÓN
   =========================== */

#section-confirmation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--section-bg-color-1) 0%, var(--section-bg-color-2) 100%);
    clip-path: polygon(0% 0, 75% 0, 90% 9%, 100% 21%, 100% 100%, 0% 100%);
    z-index: -1;
}

.confirmation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    margin: 0 auto;
}

/* Título centrado y grande */
.confirmation-header {
    text-align: center;
    width: 100%;
}

.confirmation-title {
    font-size: 3.5rem;
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family);
}

/* Texto de confirmación centrado */
.confirmation-description {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.description-text {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.description-subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
}

/* Lista de confirmaciones de invitados */
.guest-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guest-confirmation-wrapper {
    filter: drop-shadow(6px 6px 5px var(--box-shadow-color));
}

.guest-confirmation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg-color);
    clip-path: polygon(2rem 0%, calc(100% - 2rem) 0%, 100% 2rem, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 2rem 100%, 0% calc(100% - 2rem), 0% 2rem);
    transition: transform 0.3s ease;
}

.guest-confirmation:hover {
    transform: translateY(-3px);
}

.guest-header {
    text-align: center;
    border-bottom: 2px solid var(--section-bg-color-1);
    padding-bottom: 1rem;
}

.guest-name {
    font-size: 2.5rem;
    margin: 0;
    color: var(--text-color);
    font-family: var(--font-family);
    font-weight: 600;
}

/* Opciones de respuesta */
.radio-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.radio-option-container {
    position: relative;
}

.radio-option-container input[type="radio"] {
    display: none;
}

.radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.radio-option-container input[type="radio"]:checked + .radio-option {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    transform: scale(1.05);
}


.option-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Media queries para responsive */


@media (max-width: 1024px) {
    .section-container {
        padding: 0 1rem;
    }
    .image-container {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }

    .gamevitation {
        font-size: 3rem;
    }
    h1 {
        font-size: 3rem;
    }

    h1 > .highlight {
        font-size: 3.2rem;
    }

    .welcome-text {
        font-size: 1.2rem;
    }

    .confirmation-container {
        gap: 2rem;
        padding: 1rem;
    }
    
    .confirmation-title {
        font-size: 2.5rem;
    }
    
    .description-text {
        font-size: 1.1rem;
    }
    
    .description-subtitle {
        font-size: 1rem;
    }
    
    .guest-confirmation {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .guest-name {
        font-size: 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .radio-option {
        min-width: auto;
        width: 100%;
    }
    
    .final-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    
    .gamevitation {
        font-size: 2rem;
    }

    .event-description {
        padding: 1rem;
    }
}