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

body {
    background-color: #FAF8F3;
    background-image: url('../images/Ball-Background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    color: #3F5F57;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem 0;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(60px, 15vw, 120px);
    color: #355E57;
    margin-bottom: -20px;
    line-height: 1;
}

.subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(33px, 8.4vw, 67px);
    color: #8A7F6A;
    line-height: 1;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.content {
    max-width: 700px;
    width: 100%;
}

.info-section {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.info-text {
    font-size: 1.15rem;
    font-weight: 400;
}

.ticket-section {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.ticket-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #355E57;
    font-weight: 700;
}

.ticket-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.date-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    padding: 0.5rem 0.8rem;
    background: #8A7F6A;
    color: #FAF8F3;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 8px;
}

.ticket-info {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.ticket-updated {
    font-size: 0.75rem;
    color: #8A7F6A;
    font-style: italic;
    margin-top: 0.8rem;
}

.footer {
    margin-top: auto;
    width: 100%;
    background: transparent;
    padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(0.5rem, 2vw, 1rem) 0;
    flex-shrink: 0;
}

.footer-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 1rem);
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #3F5F57;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-separator {
    color: #ccc;
}

.back-link {
    text-align: center;
    margin-top: clamp(2rem, 4vw, 2.5rem);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-button:hover {
    color: #3F5F57;
}

.back-button svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.back-button:hover svg {
    transform: translateX(-3px);
}

.flower-decoration {
    position: fixed;
    width: 120px;
    height: auto;
    z-index: -1;
    opacity: 0.3;
    display: block;
}

.flower-left {
    left: -20px;
    bottom: 15%;
}

.flower-right {
    right: -20px;
    top: 10%;
}

@media (min-width: 600px) {
    .flower-decoration {
        width: 180px;
        opacity: 0.5;
    }
    
    .flower-left {
        left: -10px;
    }
    
    .flower-right {
        right: -10px;
    }
}

@media (min-width: 900px) {
    .flower-decoration {
        width: 250px;
        opacity: 0.7;
    }
    
    .flower-left {
        left: 10px;
        bottom: 20%;
    }

    .flower-right {
        right: 10px;
        top: 15%;
    }
}

@media (min-width: 1200px) {
    .flower-decoration {
        width: 350px;
    }
    
    .flower-left {
        left: 20px;
    }
    
    .flower-right {
        right: 20px;
    }
}

@media (min-width: 1500px) {
    .flower-decoration {
        width: 450px;
    }
    
    .flower-left {
        left: 30px;
    }
    
    .flower-right {
        right: 30px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 1.5rem 1rem 0;
    }

    .header {
        margin-bottom: 1.2rem;
    }
    
    .title {
        margin-bottom: -15px;
    }
    
    .info-section {
        margin-bottom: 1.2rem;
    }
    
    .info-item {
        margin-bottom: 0.8rem;
    }
    
    .info-label {
        font-size: 1rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    .ticket-section {
        margin-bottom: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .ticket-section h2 {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
    }
    
    .date-box {
        min-width: 40px;
        padding: 0.45rem 0.7rem;
        font-size: 1rem;
    }
    
    .ticket-dates {
        gap: 0.5rem;
    }
    
    .ticket-updated {
        font-size: 0.7rem;
        margin-top: 0.6rem;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer {
        padding: 0.7rem 0 0.7rem 0;
    }
}

:focus-visible {
    outline: 2px solid #355E57;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .back-button:hover svg {
        transform: none;
    }
}
