body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
}

#app {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bt-layout-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#bt-middle-table {
    text-align: center;
}

.big-text {
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#bt-top-line {
    font-size: 8vw;
}

#bt-bot-line {
    font-size: 3vw;
    opacity: 0.8;
}

#controls {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.theme-selector, .clock-options {
    margin: 10px 0;
}

select, input[type="checkbox"] {
    margin: 5px;
    padding: 5px;
    background: rgba(137, 81, 18, 0.817);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: inherit;
}

/*select:hover, input[type="checkbox"]:hover {
    background: rgba(255, 255, 255, 0.2);
}*/
select:hover::after, input[type="checkbox"]:hover::after {
    
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 5px;
    border-radius: 4px;
    
}
label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}

#custom-color {
    width: 100%;
    margin-top: 5px;
}

/* Theme-specific styles */
body.dark {
    background-color: #000000;
    color: #ffffff;
}

body.light {
    background-color: #ffffff;
    color: #000000;
}

body.nature, body.gradient {
    color: #ffffff;
}

/* 导航样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin-left: -180px;
}

.nav-logo {
    height: 40px;
    width: auto;
    padding: 4px;
}

.nav-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 页面切换样式 */
.page {
    display: none;
    width: 100%;
    height: 100%;
}

.page.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 倒计时样式 */
.countdown-setup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

.countdown-setup input,
.countdown-setup button {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
}

.countdown-setup input:hover,
.countdown-setup button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#countdown-display {
    font-size: 6vw;
}

#countdown-label {
    font-size: 2.5vw;
    opacity: 0.8;
}

/* 消息页面样式 */
.message-container {
    width: 90%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#message-table {
    width: 100%;
    height: 100%;
}

#message-display {
    font-size: 5vw;
    text-align: center;
    transition: all 0.3s ease;
}

.message-setup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    z-index: 1000;
}

.message-setup input,
.message-setup select,
.message-setup button {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(15, 71, 17, 0.672);
    color: inherit;
}

#message-input {
    min-width: 200px;
}

/* 动画效果 */
@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes slideLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

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

/* 字体定义 */
@font-face {
    font-family: 'Digital';
    src: url('../assets/fonts/digital-7.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    src: url('../assets/fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans';
    src: url('../assets/fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'SourceCodePro';
    src: url('../assets/fonts/SourceCodePro-Regular.ttf') format('truetype');
}

#font-select {
    min-width: 120px;
}

#holiday-select {
    min-width: 150px;
    background: rgba(15, 71, 17, 0.672);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
}

#holiday-select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

#holiday-select:hover {
    background: rgba(15, 71, 17, 0.8);
}

/* About page styles */
.about-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    overflow-y: auto;
    max-height: 80vh;
}

.about-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h2 {
    color: #4ecdc4;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.faq-item p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-item ul, 
.faq-item ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-item li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Scrollbar styling */
.about-container::-webkit-scrollbar {
    width: 8px;
}

.about-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.about-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.about-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    padding: 8px;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
} 