* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.feature-section {
    padding: 40px 0;
}

nav a {
    color: var(--gray-600);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--primary); }

.hero {
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 20px;
}

.hero-desc strong { color: #fef08a; }

.current-time {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.tool-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tool-icon { font-size: 2.5rem; }

.tool-header h2 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.tool-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tool-body { padding: 25px; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-row { display: flex; gap: 15px; }

.flex-1 { flex: 1; }

.form-hint {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-600);
}

.btn-secondary:hover { background: var(--gray-200); }

.result-box {
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 20px;
    min-height: 80px;
    text-align: center;
    color: var(--gray-600);
}

.result-box.has-result {
    border-style: solid;
    border-color: var(--success);
    background: #ecfdf5;
}

.result-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.result-detail {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.quick-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.quick-date {
    background: var(--gray-100);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-date:hover {
    background: var(--primary);
    color: white;
}

.seo-content {
    background-color: #ffffff !important;
    padding: 50px 0;
    margin-top: 0;
    position: relative;
}

.content-block { margin-bottom: 40px; }

.content-block h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.content-block h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 20px 0 10px;
}

.content-block p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.time-table {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-200);
}

.time-row:last-child { border-bottom: none; }

.time-row span:first-child {
    font-weight: 600;
    color: var(--primary);
}

.faq-item {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-item h4 {
    color: var(--gray-800);
    margin-bottom: 10px;
}

.faq-item p { margin: 0; }

footer {
    background: var(--gray-800);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.copyright { font-size: 0.85rem; }

.icp {
    margin-top: 10px;
}

.icp a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.icp a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-brand img {
    height: 33px;
    width: auto;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-desc { font-size: 1rem; }
    .tools-grid { grid-template-columns: 1fr; }
    nav { display: none; }
    .form-row { flex-direction: column; }
}


.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.content-block ol, .content-block ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.content-block li {
    margin-bottom: 8px;
}

.holiday-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.holiday-table th, .holiday-table td {
    border: 1px solid var(--gray-200);
    padding: 12px;
    text-align: left;
}

.holiday-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-800);
}

.holiday-table tr:hover {
    background: var(--gray-50);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.article-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-link {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-link:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.article-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.article-link h4 {
    color: var(--gray-800);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.article-link p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}
