.app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.app-header {
    margin-bottom: 40px;
    position: relative;
}

.app-header h1 {
    font-family: var(--header-font);
    font-size: 4.5rem;
    font-weight: normal;
    letter-spacing: 4px;
    color: var(--text-color, #f5f5f7);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.header-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

#notice-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 400px;
}

#countdown-card {
    width: 90%;
    max-width: 700px;
    text-align: center;
}

#quote-container {
    margin-top: 40px;
    width: fit-content;
    min-width: 200px;
    max-width: calc(100% - 40px);
    text-align: center;
    display: inline-block;
}

@media (max-width: 767px) {
    .app-header h1 {
        font-size: 3.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    .app-header h1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 2000px), (min-height: 1000px) {
    .app-container {
        padding: 40px;
    }
}

body.no-animation .app-header h1 {
    transition: none;
}
