:root {
    color-scheme: dark;
    font-family: Inter, system-ui, sans-serif;
    color: #eef2ff;
    background: #041722;
    accent-color: #4dd0e1;
}

* {
    box-sizing: content-box;
}

[hidden] {
    display: none !important;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    background: radial-gradient(circle at top, rgba(77, 208, 225, 0.16), transparent 35%),
        linear-gradient(180deg, #07121f 0%, #021017 100%);
}

button,
input,
select {
    font: inherit;
}

.app-shell {
    max-width: 1080px;
    max-height: 1920px;
    margin: 0 auto;
    padding: 24px;
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 24px;
}

.header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.eyebrow {
    margin: 60px auto 20px;
    color: #7dd3fc;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 2rem;
}

h1 {
    margin: 2;
    font-size: clamp(3.5rem, 4.5vw, 5rem);
    line-height: 50px;
}

.subtitle {
    margin: 12px 0 0;
    max-width: 48rem;
    color: #cbd5e1;
    
}

.search-label {
    display: grid;
    gap: 0.5rem;
    width: min(100%, 500px);
    color: #cbd5e1;
    text-align: center;
}

input[type="search"],
input[type="text"],
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    color: #eef2ff;
}

.header-actions button,
.secondary-button {
    padding: 14px 22px;
    border-radius: 999px;
    border: none;
    background: #4dd0e1;
    color: #022b35;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-actions button:hover,
.secondary-button:hover {
    transform: translateY(-1px);
    background: #30cfd0;
}

main {
    display: grid;
    gap: 24px;
}

.card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    width: 100%;
}

.shark-card {
    display: grid;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(0,0,0,0.12);
}

.shark-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 180px;
}

.shark-card-body {
    padding: 18px;
}

.shark-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}

.shark-card-body p {
    margin: 0 0 16px;
    color: #cbd5e1;
}

.shark-card button {
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    background: #4dd0e1;
    color: #022b35;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.shark-card button:hover {
    transform: translateY(-1px);
    background: #30cfd0;
}

.panel {
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(3, 11, 19, 0.82);
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.panel-heading {
    margin-bottom: 24px;
}

.panel-copy {
    margin: 12px 0 0;
    color: #cbd5e1;
    max-width: 42rem;
}

#search-results .subtitle {
    color: #94a3b8;
    margin-top: 10px;
}

#shark-detail {
  position: fixed;
  inset: 0;
  background: rgba(2, 16, 26, 0.95);
  padding: 32px;
  overflow: auto;
  z-index: 10;
}
#shark-detail .panel {
  max-width: 900px;
  margin: 0 auto;
}

.detail-row {
    display: grid;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #e2e8f0;
}

#close-detail {
    margin-top: 24px;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    background: #4dd0e1;
    color: #022b35;
    cursor: pointer;
}

.empty-state {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-align: center;
}

.shark-card p {
    margin-left: 20px;
    margin-top: 25px;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.shark-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.shark-card button {
    margin-top: 30px;
    margin-bottom: 5px;
    margin-left: 20px;
    padding: 10px 10px;
    border-radius: 999px;
    border: none;
    background: #4dd0e1;
    color: #022b35;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.shark-card button:hover {
    transform: translateY(-1px);
    background: #30cfd0;
}

.panel {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 24px 50px rgba(0,0,0,0.16);
}

.panel h2 {
    margin-top: 15px;
    margin-bottom: 8px;
}

.detail-row {
    display: grid;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    
    color: #e2e8f0;
}

#close-detail,




.empty-state {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.325);
    color: #94a3b8;
    text-align: center;
}
