.tool-header{text-align:center;margin-bottom:40px}.header-badge{display:flex;justify-content:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.badge{background:linear-gradient(135deg, #e11d48, #be123a);color:white;padding:6px 18px;border-radius:40px;font-size:0.75rem;font-weight:500;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.tool-header h1{font-size:2.2rem;font-weight:800;background:linear-gradient(135deg, #1e293b, #e11d48);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:12px}.tool-header p{color:var(--gray-500);font-size:1rem}.current-date-card{background:linear-gradient(135deg, #1e1b4b, #312e81);border-radius:24px;padding:24px 32px;margin-bottom:32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;color:white;box-shadow:0 10px 30px rgba(0,0,0,0.2)}.date-icon{width:60px;height:60px;background:rgba(255,255,255,0.2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem}.date-info{text-align:center;flex:1}.gregorian-date{font-size:1.4rem;font-weight:700;margin-bottom:6px}.lunar-date{font-size:0.9rem;opacity:0.9;margin-bottom:6px}.solar-term{font-size:0.8rem;background:rgba(255,255,255,0.2);display:inline-block;padding:4px 12px;border-radius:30px}.next-festival{text-align:right;background:rgba(255,255,255,0.1);padding:12px 20px;border-radius:20px}.next-festival i{margin-right:8px}.next-festival span{font-size:0.75rem;opacity:0.8;display:block}.next-festival strong{font-size:1rem;display:block;margin-top:4px}.festival-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px;justify-content:center}.filter-btn{background:transparent;border:1px solid var(--gray-200);padding:8px 20px;border-radius:40px;cursor:pointer;transition:all 0.3s;font-size:0.85rem;font-weight:500;color:var(--gray-600)}.filter-btn:hover{background:var(--gray-100);border-color:#e11d48;color:#e11d48}.filter-btn.active{background:linear-gradient(135deg, #e11d48, #be123a);color:white;border-color:transparent;box-shadow:0 4px 12px rgba(225,29,72,0.3)}.festivals-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));gap:24px;margin-bottom:40px}.festival-card{background:white;border-radius:24px;overflow:hidden;cursor:pointer;transition:all 0.3s;box-shadow:0 4px 15px rgba(0,0,0,0.05);border:1px solid var(--gray-200);position:relative}.festival-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(0,0,0,0.1);border-color:#e11d48}.festival-header{padding:20px 20px 12px;display:flex;align-items:center;gap:12px}.festival-icon{width:56px;height:56px;background:linear-gradient(135deg, #fef2f2, #ffe4e6);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:1.8rem}.festival-info{flex:1}.festival-name{font-size:1.2rem;font-weight:700;color:var(--gray-800);margin-bottom:4px}.festival-date{font-size:0.75rem;color:var(--gray-500);display:flex;align-items:center;gap:6px}.festival-body{padding:0 20px 12px}.festival-desc{font-size:0.8rem;color:var(--gray-600);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.festival-footer{padding:12px 20px 20px;border-top:1px solid var(--gray-100);display:flex;justify-content:space-between;align-items:center}.festival-tag{background:var(--gray-100);padding:4px 12px;border-radius:20px;font-size:0.7rem;color:var(--gray-600)}.festival-link{color:#e11d48;font-size:0.75rem;font-weight:500;display:flex;align-items:center;gap:4px}.festival-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.75);z-index:9999;align-items:center;justify-content:center;backdrop-filter:blur(5px)}.modal-content{position:relative;background:white;border-radius:32px;width:90%;max-width:550px;max-height:85vh;overflow-y:auto;box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);animation:modalFadeIn 0.3s ease}@keyframes modalFadeIn{from{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{background:linear-gradient(135deg, #e11d48, #be123a);padding:24px 28px;color:white;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:10;border-radius:32px 32px 0 0}.modal-icon{font-size:2.2rem;width:56px;height:56px;background:rgba(255,255,255,0.2);border-radius:20px;display:flex;align-items:center;justify-content:center}.modal-header h2{flex:1;font-size:1.5rem;font-weight:700;margin:0;color:white}.modal-close{background:rgba(255,255,255,0.2);border:none;font-size:1.2rem;cursor:pointer;color:white;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all 0.2s}.modal-close:hover{background:rgba(255,255,255,0.3);transform:rotate(90deg)}.modal-body{padding:24px 28px}.modal-date{background:var(--gray-100);padding:10px 16px;border-radius:30px;display:inline-flex;align-items:center;gap:8px;font-size:0.85rem;color:var(--gray-600);margin-bottom:20px}.modal-desc{color:var(--gray-700);line-height:1.6;margin-bottom:24px;font-size:0.9rem}.modal-customs,.modal-food,.modal-poem{margin-top:20px;padding-top:16px;border-top:1px solid var(--gray-200)}.modal-customs h4,.modal-food h4,.modal-poem h4{font-size:0.9rem;font-weight:600;color:#e11d48;margin-bottom:12px;display:flex;align-items:center;gap:8px}.modal-customs div,.modal-food div{font-size:0.85rem;color:var(--gray-600);line-height:1.6;padding-left:4px}.modal-poem div{font-style:italic;color:var(--gray-500);padding:14px 16px;background:var(--gray-50);border-radius:16px;line-height:1.8;border-left:3px solid #e11d48}@media (max-width:768px){.current-date-card{flex-direction:column;text-align:center}.next-festival{text-align:center;width:100%}.festivals-grid{grid-template-columns:1fr}.filter-btn{padding:6px 14px;font-size:0.75rem}.modal-header{padding:18px 20px}.modal-icon{width:44px;height:44px;font-size:1.6rem}.modal-header h2{font-size:1.2rem}.modal-body{padding:18px 20px}}.festival-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.7);z-index:9999;align-items:center;justify-content:center;backdrop-filter:blur(5px)}.festival-modal.show{display:flex}.modal-content{background:white;border-radius:32px;max-width:550px;width:90%;max-height:85vh;overflow-y:auto;position:relative;margin:0 auto;animation:modalFadeIn 0.3s ease;box-shadow:0 25px 50px -12px rgba(0,0,0,0.25)}@keyframes modalFadeIn{from{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{background:linear-gradient(135deg, #e11d48, #be123a);padding:24px 28px;color:white;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:10}.modal-header .modal-icon{font-size:2rem;width:auto;height:auto;background:transparent}.modal-header h2{flex:1;font-size:1.5rem;margin:0}.modal-close{background:rgba(255,255,255,0.2);border:none;font-size:1.5rem;cursor:pointer;color:white;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all 0.2s}.modal-close:hover{background:rgba(255,255,255,0.3);transform:rotate(90deg)}.modal-body{padding:24px 28px}.modal-date{background:var(--gray-100);padding:12px 16px;border-radius:16px;display:inline-block;font-size:0.85rem;color:var(--gray-600);margin-bottom:20px}.modal-date i{margin-right:8px;color:#e11d48}.modal-desc{color:var(--gray-700);line-height:1.6;margin-bottom:24px}.modal-customs,.modal-food,.modal-poem{margin-top:20px;padding-top:16px;border-top:1px solid var(--gray-200)}.modal-customs h4,.modal-food h4,.modal-poem h4{font-size:0.9rem;color:#e11d48;margin-bottom:12px;display:flex;align-items:center;gap:8px}.modal-customs div,.modal-food div{font-size:0.85rem;color:var(--gray-600);line-height:1.6;display:flex;flex-wrap:wrap;gap:8px}.modal-customs div span,.modal-food div span{background:var(--gray-100);padding:4px 12px;border-radius:30px}.modal-poem div{font-style:italic;color:var(--gray-500);padding:16px;background:linear-gradient(135deg, #fef2f2, #fff);border-radius:16px;line-height:1.8;border-left:4px solid #e11d48}@media (max-width:768px){.modal-content{width:95%;max-height:90vh}.modal-header{padding:18px 20px}.modal-header h2{font-size:1.2rem}.modal-body{padding:20px}.modal-customs div span,.modal-food div span{font-size:0.75rem;padding:3px 10px}}