/* Import modern font 'Inter' */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-color: #3b82f6;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

a {
    color: var(--accent-color) !important;;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    padding: 20px 20px 40px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Typography */
h1 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

h2 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.subtitle-small {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

/* Status / Reference Section */
.status-section {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.reference-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    width: 100%;
    border: 1px solid #e2e8f0;
}

.reference-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Image Cards */
img#ref-img {
    width: 100%;
    height: auto;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.card-footer {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.time {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--text-muted);
    background: white;
    border-radius: var(--radius);
    border: 1px dashed #cbd5e1;
}

/* --- Fish Easter Egg --- */
.fish-tank {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* The height of the jump area */
    pointer-events: none;
    z-index: 0;
    overflow: hidden; /* Hides the fish when they fall back 'underwater' */
}

/* Optional: The Water Surface */
.fish-tank::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.3), transparent);
}

.fish {
    position: absolute;
    bottom: 0;
    font-size: 20px;

    /* Start underwater (below the visible area) */
    transform: translateY(120%);

    /* Ensure they stay fully opaque */
    opacity: 1;
    will-change: transform;
}

@keyframes jumpFish {
    0% {
        /* Start: Underwater, Nose pointing UP (-90deg) */
        transform: translateY(120%) rotate(-90deg);
        animation-timing-function: ease-out; /* Slow down as it goes up */
    }
    50% {
        /* Top: High in the air, leveling out (0deg) */
        transform: translateY(-50px) rotate(0deg);
        animation-timing-function: ease-in; /* Speed up as it falls */
    }
    100% {
        /* End: Underwater, Nose pointing DOWN (90deg) */
        transform: translateY(120%) rotate(90deg);
    }
}


/* plan */
  .plan-intro {
    margin-bottom: 2rem;
  }

  .time-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
  }

  .block-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
  }

  .block-accent {
    height: 4px;
    width: 100%;
  }

  .block-body {
    padding: 1rem;
  }

  .block-time {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
  }

  .block-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
  }

  .block-depth {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--text-muted);
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 0.75rem;
  }

  .block-rows {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .block-row {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .block-row strong {
    color: var(--text-main);
    font-weight: 600;
  }

  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    text-align: left;
  }

  .tip-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    padding: 1rem;
  }

  .tip-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.4rem;
  }

  .tip-text {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
  }
