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

:root {
    --tokyo-color: #667eea;
    --kyoto-color: #fa709a;
    --osaka-color: #4facfe;
    --nara-color: #38b000;
    --red-accent: #d32f2f;
    --gold-accent: #ffd700;
    --dark: #1a1a2e;
    --light: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Countdown Hero */
.countdown-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%),
                url('https://images.unsplash.com/photo-1542051841857-5f90071e7989?w=2000') center/cover no-repeat;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,215,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,183,197,0.15) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.countdown-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 2px;
}

.jp-text {
    display: block;
    font-family: 'Yuji Boku', 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    opacity: 0.95;
    animation: fadeInDown 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.main-text {
    display: block;
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 5.5rem;
    font-weight: 800;
    margin-top: 0.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.main-text::before {
    content: 'Japonya 2026';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.6;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.countdown-wrapper {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.countdown-label {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.countdown-display {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.countdown-unit {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.countdown-unit:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold-accent);
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    line-height: 1;
    font-family: 'Courier New', monospace;
}

.countdown-text {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown-sep {
    font-size: 3rem;
    opacity: 0.5;
}

.trip-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.info-item {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    cursor: pointer;
    animation: fadeInUp 0.8s ease 0.8s backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-hint:hover {
    transform: translateY(-5px);
}

.scroll-hint span {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.arrow-down {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* Quick Navigation */
.quick-nav {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
}

.nav-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-btn:hover {
    border-color: var(--red-accent);
    color: var(--red-accent);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: var(--red-accent);
    color: white;
    border-color: var(--red-accent);
}

/* Days Container */
.days-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    gap: 2rem;
}

/* Day Card */
.day-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.day-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.day-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--city-color, #667eea) 0%, var(--city-color-dark, #764ba2) 100%);
    color: white;
}

.day-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.day-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.day-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.time-column {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.column-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.activity-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--city-color, #667eea);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.activity-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.activity-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--city-color, #667eea);
    font-family: 'Courier New', monospace;
}

.activity-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.3rem 0;
}

.activity-location {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0.3rem 0;
}

.activity-map-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--red-accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.activity-map-link:hover {
    color: var(--gold-accent);
    transform: translateX(3px);
}

/* Food Suggestions */
.food-suggestions {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.food-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.food-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.food-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.food-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.food-place {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.food-type {
    display: inline-block;
    background: var(--red-accent);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.food-link {
    display: inline-block;
    color: var(--red-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.food-link:hover {
    color: var(--gold-accent);
}

/* Categories Section */
.categories-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-accent), var(--gold-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.category-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.explore-btn {
    display: inline-block;
    color: var(--red-accent);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.category-card:hover .explore-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 3rem;
    font-weight: 300;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #f8f9fa;
    transform: rotate(90deg);
    color: var(--red-accent);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.modal-items {
    display: grid;
    gap: 1.5rem;
}

.modal-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--red-accent);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease backwards;
}

.modal-item:nth-child(1) { animation-delay: 0.1s; }
.modal-item:nth-child(2) { animation-delay: 0.2s; }
.modal-item:nth-child(3) { animation-delay: 0.3s; }
.modal-item:nth-child(4) { animation-delay: 0.4s; }
.modal-item:nth-child(5) { animation-delay: 0.5s; }

.modal-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.modal-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--red-accent);
}

.modal-item-location {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
}

.modal-item p {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.modal-item-link {
    display: inline-block;
    color: var(--red-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.modal-item-link:hover {
    color: var(--gold-accent);
    transform: translateX(5px);
}

/* Activity Images */
.activity-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

/* Food Recommendations */
.food-recommendations {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.food-recommendations h4 {
    color: #856404;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.food-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.food-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.food-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.food-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.3rem;
}

.food-link {
    display: inline-block;
    font-size: 0.85rem;
    color: #856404;
    text-decoration: none;
    font-weight: 600;
}

.food-link:hover {
    color: #ffc107;
}

/* Highlights Section */
.highlights-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.highlight-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.highlight-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.explore-link {
    display: inline-block;
    color: var(--red-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.highlight-card:hover .explore-link {
    transform: translateX(5px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--red-accent);
    transform: rotate(90deg);
}

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

.modal-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.modal-items {
    display: grid;
    gap: 1.5rem;
}

.modal-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--red-accent);
    transition: all 0.3s ease;
}

.modal-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.modal-item h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-item-location {
    font-size: 0.9rem;
    color: var(--red-accent);
    margin-bottom: 0.8rem;
}

.modal-item p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-item-link {
    display: inline-block;
    color: var(--red-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-item-link:hover {
    color: var(--gold-accent);
    transform: translateX(3px);
}

/* City Overview */
.city-overview {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
    border-radius: 2px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.city-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.city-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.city-icon {
    font-size: 3rem;
}

.city-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.city-days {
    color: #6c757d;
    font-size: 0.95rem;
}

.city-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* City Colors */
.tokyo-card { border-top: 4px solid var(--tokyo-color); }
.kyoto-card { border-top: 4px solid var(--kyoto-color); }
.osaka-card { border-top: 4px solid var(--osaka-color); }
.nara-card { border-top: 4px solid var(--nara-color); }

/* Tips Section */
.tips-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.tip-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .jp-text {
        font-size: 2rem;
    }
    
    .main-text {
        font-size: 3rem;
    }
    
    .countdown-unit {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-sep {
        font-size: 2rem;
    }
    
    .trip-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        flex-wrap: wrap;
    }
    
    .countdown-sep {
        display: none;
    }
}

/* Utilities */
.hidden {
    display: none !important;
}
