:root {
    --background: #050d18;
    --surface: #091827;
    --surface-light: #0d2237;
    --line: rgba(123, 177, 225, 0.17);
    --blue: #1994ff;
    --blue-light: #70c2ff;
    --text: #f5f9ff;
    --muted: #9bb0c5;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--background);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 13, 24, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 23px;
    background: linear-gradient(145deg, rgba(25, 148, 255, 0.28), rgba(25, 148, 255, 0.04));
    border: 1px solid rgba(112, 194, 255, 0.35);
    border-radius: 13px;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.08em;
}

.brand-copy small {
    color: var(--blue-light);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation a {
    position: relative;
    padding-block: 27px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 180ms ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--text);
}

.main-navigation a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--blue);
    box-shadow: 0 0 16px var(--blue);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--text);
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(86, 153, 211, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(86, 153, 211, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-glow-left {
    left: -260px;
    bottom: -250px;
    background: rgba(0, 101, 255, 0.2);
}

.hero-glow-right {
    top: -300px;
    right: -250px;
    background: rgba(0, 179, 255, 0.12);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: center;
    gap: 80px;
    padding-block: 90px;
}

.eyebrow {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 700px;
    margin: 18px 0 22px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 em {
    display: block;
    color: var(--blue);
    font-family: Georgia, serif;
    font-weight: 500;
}

.hero-content > p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-search {
    max-width: 640px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    padding: 6px 6px 6px 20px;
    background: rgba(9, 24, 39, 0.9);
    border: 1px solid rgba(112, 194, 255, 0.25);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.hero-search > span {
    color: var(--blue-light);
    font-size: 25px;
}

.hero-search input {
    min-width: 0;
    flex: 1;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search input::placeholder {
    color: #6f8499;
}

.hero-search button,
.button-primary {
    color: white;
    background: linear-gradient(135deg, #0587ff, #1769ff);
    border: 0;
}

.hero-search button {
    align-self: stretch;
    padding-inline: 22px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.button-secondary {
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.06);
    border: 1px solid rgba(112, 194, 255, 0.22);
}

.hero-card {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(25, 148, 255, 0.1), transparent 55%),
        var(--surface);
    border: 1px solid rgba(112, 194, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-card-watermark {
    position: absolute;
    top: 35px;
    right: 32px;
    opacity: 0.18;
    font-size: 120px;
    filter: saturate(1.5);
    transform: rotate(-8deg);
}

.card-label {
    margin-bottom: 12px;
    color: var(--blue-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-card > strong {
    font-size: 34px;
    line-height: 1.12;
}

.hero-card > strong em {
    color: var(--blue);
    font-family: Georgia, serif;
    font-weight: 500;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 30px;
}

.mini-stats div {
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.mini-stats span,
.mini-stats strong {
    display: block;
}

.mini-stats span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.mini-stats strong {
    color: var(--blue-light);
    font-size: 12px;
}

.section {
    padding-block: 100px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 38px;
}

.section-heading h2,
.project-card h2 {
    max-width: 650px;
    margin: 12px 0 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading > p {
    max-width: 390px;
    margin: 22px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--surface-light);
    border-color: rgba(112, 194, 255, 0.35);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(25, 148, 255, 0.1);
    border-radius: 13px;
    font-size: 25px;
}

.feature-card strong,
.feature-card small {
    display: block;
}

.feature-card strong {
    margin-bottom: 6px;
}

.feature-card small {
    color: var(--muted);
    line-height: 1.4;
}

.feature-card b {
    color: var(--blue);
    font-size: 20px;
}

.project-section {
    padding-top: 20px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding: 70px;
    background:
        radial-gradient(circle at 15% 0, rgba(25, 148, 255, 0.17), transparent 35%),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.project-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    gap: 10px;
    margin-top: 8px;
    color: var(--blue-light);
    font-weight: 700;
}

.site-footer {
    margin-top: 100px;
    background: #030914;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-block: 60px 45px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-grid p {
    max-width: 500px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-links strong {
    margin-bottom: 4px;
    color: var(--text);
}

.footer-links a,
.footer-links span {
    color: var(--muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 22px;
    color: #63788e;
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.page-hero {
    position: relative;
    padding-block: 90px 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0, rgba(25, 148, 255, 0.16), transparent 35%),
        linear-gradient(180deg, #071525, var(--background));
    border-bottom: 1px solid var(--line);
}

.page-hero::after {
    content: "🐟";
    position: absolute;
    top: 10px;
    right: 8%;
    opacity: 0.05;
    font-size: 180px;
    transform: rotate(-8deg);
}

.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -0.045em;
}

.page-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.fish-section {
    min-height: 600px;
    padding-block: 45px 100px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(190px, 0.8fr) minmax(180px, 0.7fr) auto auto;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.filter-bar label,
.filter-bar select,
.filter-bar input {
    min-width: 0;
}

.filter-bar select,
.filter-bar input {
    width: 100%;
    height: 48px;
    color: var(--text);
    background: #071421;
    border: 1px solid rgba(123, 177, 225, 0.16);
    border-radius: 10px;
    outline: none;
}

.filter-bar select {
    padding-inline: 13px;
}

.filter-bar input {
    padding: 0 14px 0 42px;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--blue);
}

.search-field {
    position: relative;
}

.search-field > span[aria-hidden] {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 14px;
    color: var(--blue-light);
    font-size: 23px;
}

.filter-bar button,
.reset-filter {
    height: 48px;
    display: inline-grid;
    place-items: center;
    padding-inline: 20px;
    color: white;
    background: linear-gradient(135deg, #0587ff, #1769ff);
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.reset-filter {
    width: 48px;
    padding: 0;
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.08);
    border: 1px solid rgba(112, 194, 255, 0.2);
    font-size: 20px;
}

.result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 28px 18px;
}

.result-heading strong {
    font-size: 20px;
}

.result-heading span {
    color: var(--muted);
    font-size: 13px;
}

.empty-state {
    display: grid;
    justify-items: center;
    padding: 80px 25px;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(25, 148, 255, 0.08), transparent 48%),
        var(--surface);
    border: 1px dashed rgba(112, 194, 255, 0.24);
    border-radius: 20px;
}

.empty-state > span {
    font-size: 58px;
    filter: grayscale(0.2);
}

.empty-state h2 {
    margin: 20px 0 8px;
}

.empty-state p {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.fish-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fish-card {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.favorite-toggle {
    color: var(--muted);
    background: rgba(5, 13, 24, 0.86);
    border: 1px solid rgba(112, 194, 255, 0.24);
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.favorite-toggle:hover {
    color: #75baff;
    border-color: rgba(112, 194, 255, 0.55);
    transform: translateY(-1px);
}

.favorite-toggle.active {
    color: #75baff;
    background: rgba(20, 113, 255, 0.19);
    border-color: rgba(112, 194, 255, 0.6);
    box-shadow: 0 0 22px rgba(25, 148, 255, 0.2);
}

.favorite-card-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}

.favorite-detail-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-bottom: 26px;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 750;
}

.favorite-detail-button > span:first-child {
    font-size: 21px;
    line-height: 1;
}

.favorites-page-hero {
    background:
        radial-gradient(circle at 78% 28%, rgba(25, 148, 255, 0.15), transparent 27%),
        linear-gradient(100deg, rgba(14, 52, 87, 0.54), transparent 58%);
}

.favorites-section {
    min-height: 560px;
    padding-block: 46px 100px;
}

.favorites-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.favorites-information > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.favorites-information > div > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    background: rgba(25, 148, 255, 0.1);
    border-radius: 12px;
    font-size: 21px;
}

.favorites-information strong {
    font-size: 14px;
}

.favorites-information p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

#favorites-count {
    flex: 0 0 auto;
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 750;
}

.favorites-loading {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: var(--muted);
}

.favorites-loading span {
    font-size: 44px;
    animation: favorite-float 1.4s ease-in-out infinite;
}

.favorites-loading p {
    margin: 0;
}

@keyframes favorite-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* À propos */
.about-hero {
    position: relative;
    overflow: hidden;
    padding-block: 105px;
    background:
        linear-gradient(rgba(76, 151, 216, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 151, 216, 0.035) 1px, transparent 1px),
        linear-gradient(120deg, rgba(14, 52, 87, 0.55), transparent 56%);
    background-size: 54px 54px, 54px 54px, auto;
    border-bottom: 1px solid var(--line);
}

.about-glow {
    position: absolute;
    top: -260px;
    right: -170px;
    width: 600px;
    height: 600px;
    background: rgba(25, 148, 255, 0.12);
    border-radius: 50%;
    filter: blur(75px);
}

.about-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: center;
    gap: 90px;
}

.about-hero-content h1 {
    max-width: 760px;
    margin: 18px 0 24px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.about-hero-content > p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.creator-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    background:
        radial-gradient(circle at 90% 8%, rgba(25, 148, 255, 0.18), transparent 30%),
        var(--surface);
    border: 1px solid rgba(112, 194, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.creator-symbol {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    background: linear-gradient(145deg, rgba(25, 148, 255, 0.3), rgba(25, 148, 255, 0.07));
    border: 1px solid rgba(112, 194, 255, 0.36);
    border-radius: 20px;
    font-size: 38px;
}

.creator-card h2 {
    margin: 8px 0 15px;
    font-size: 35px;
    letter-spacing: 0.03em;
}

.creator-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.creator-card > strong {
    color: var(--blue-light);
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
    font-weight: 500;
}

.about-stats-section {
    border-bottom: 1px solid var(--line);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stats > div {
    padding: 34px 25px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.about-stats > div:first-child {
    border-left: 1px solid var(--line);
}

.about-stats strong {
    display: block;
    margin-bottom: 6px;
    color: var(--blue-light);
    font-size: 32px;
}

.about-stats span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-section {
    padding-block: 95px;
    border-bottom: 1px solid var(--line);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mission-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.mission-card > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.1);
    border-radius: 14px;
    font-size: 24px;
}

.mission-card h3 {
    margin: 22px 0 10px;
    font-size: 19px;
}

.mission-card p,
.roadmap-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-data-section {
    background: linear-gradient(110deg, rgba(10, 39, 66, 0.46), transparent 60%);
}

.about-data-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    align-items: center;
    gap: 90px;
}

.about-data-grid h2 {
    max-width: 650px;
    margin: 14px 0 22px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-data-grid > div:first-child > p {
    max-width: 680px;
    margin: 0 0 17px;
    color: var(--muted);
    line-height: 1.75;
}

.data-flow {
    display: grid;
    gap: 12px;
}

.data-flow > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    column-gap: 15px;
    padding: 19px;
    background: rgba(9, 24, 39, 0.86);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.data-flow span {
    grid-row: 1 / 3;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
}

.data-flow strong {
    font-size: 14px;
}

.data-flow small {
    margin-top: 3px;
    color: var(--muted);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.roadmap-card {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.roadmap-card > span {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.roadmap-card.complete > span {
    color: #8affbd;
    background: rgba(53, 208, 127, 0.08);
    border-color: rgba(53, 208, 127, 0.25);
}

.roadmap-card.current {
    border-color: rgba(25, 148, 255, 0.45);
}

.roadmap-card.current > span {
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.09);
    border-color: rgba(112, 194, 255, 0.3);
}

.roadmap-card h3 {
    margin: 18px 0 10px;
    font-size: 17px;
}

.about-independence {
    padding-block: 70px 95px;
}

.independence-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 32px;
    background: rgba(9, 24, 39, 0.65);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.independence-card > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.09);
    border-radius: 13px;
    font-size: 22px;
}

.independence-card h2 {
    margin: 1px 0 9px;
    font-size: 18px;
}

.independence-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.fish-card-image {
    min-height: 260px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(25, 148, 255, 0.2), transparent 60%),
        #071421;
}

.fish-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fish-card-image span {
    opacity: 0.4;
    font-size: 72px;
}

.fish-card-content {
    padding: 25px;
}

.fish-card h2 {
    margin: 8px 0 4px;
    font-size: 24px;
}

.fish-card-content > p {
    margin: 0;
    color: var(--muted);
    font-style: italic;
}

.fish-card h2 a:hover {
    color: var(--blue-light);
}

.fish-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-block: 22px;
}

.fish-stats div {
    padding: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 9px;
}

.fish-stats span,
.fish-stats strong {
    display: block;
}

.fish-stats span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
}

.fish-stats strong {
    color: var(--blue-light);
    font-size: 12px;
}

.destination-count {
    color: var(--muted);
    font-size: 12px;
}

.fish-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fish-card-footer > a {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 700;
}

.pagination {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.pagination-direction {
    color: var(--blue-light);
    font-size: 14px;
    font-weight: 700;
}

.pagination-direction:last-child {
    text-align: right;
}

.pagination-direction.disabled {
    color: #50657a;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.pagination-pages a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.pagination-pages a:hover,
.pagination-pages a.active {
    color: white;
    background: linear-gradient(135deg, #0587ff, #1769ff);
    border-color: transparent;
}

.detail-empty {
    padding-block: 100px;
}

.detail-empty .button {
    margin-top: 20px;
}

.fish-detail-hero {
    position: relative;
    padding-block: 55px 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(25, 148, 255, 0.17), transparent 30%),
        linear-gradient(180deg, #071525, var(--background));
    border-bottom: 1px solid var(--line);
}

.back-link {
    display: inline-flex;
    margin-bottom: 35px;
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 700;
}

.fish-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 70px;
}

.fish-detail-image {
    min-height: 430px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(25, 148, 255, 0.2), transparent 55%),
        var(--surface);
    border: 1px solid rgba(112, 194, 255, 0.22);
    border-radius: 24px;
}

.fish-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fish-detail-image > span {
    opacity: 0.45;
    font-size: 130px;
}

.fish-detail-image small {
    color: var(--muted);
}

.fish-detail-content h1 {
    margin: 14px 0 6px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.scientific-name {
    margin: 0 0 25px;
    color: var(--blue-light);
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
}

.fish-description {
    max-width: 700px;
    color: var(--muted);
    line-height: 1.75;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-block: 30px 20px;
}

.detail-stats div {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.detail-stats span,
.detail-stats strong {
    display: block;
}

.detail-stats span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-stats strong {
    color: var(--blue-light);
    font-size: 18px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.detail-badges span {
    padding: 8px 12px;
    color: var(--muted);
    background: rgba(25, 148, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
}

.detail-data-section {
    padding-block: 90px 120px;
}

.detail-heading {
    align-items: end;
}

.detail-table-wrapper {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table th,
.detail-table td {
    padding: 17px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.detail-table th {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-table td {
    font-size: 14px;
}

.detail-table tbody tr:last-child td {
    border-bottom: 0;
}

.detail-table tbody tr:hover {
    background: rgba(25, 148, 255, 0.035);
}

.fishing-techniques-heading {
    max-width: 720px;
    margin-top: 75px;
}

.fishing-techniques-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.035em;
}

.fishing-techniques-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.fishing-techniques-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.fishing-technique-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.fishing-technique-image {
    height: 225px;
    overflow: hidden;
    background: rgba(25, 148, 255, 0.05);
    border-bottom: 1px solid var(--line);
}

.fishing-technique-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fishing-technique-content {
    padding: 24px;
}

.fishing-technique-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fishing-technique-title > div > span {
    color: var(--blue-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.fishing-technique-title h3 {
    margin: 7px 0 0;
    font-size: 23px;
}

.fishing-technique-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 22px 0 0;
}

.fishing-technique-facts div {
    padding: 12px;
    background: rgba(25, 148, 255, 0.045);
    border: 1px solid rgba(112, 194, 255, 0.13);
    border-radius: 10px;
}

.fishing-technique-facts dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.fishing-technique-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.fishing-technique-note {
    margin-top: 13px;
    padding: 14px;
    background: rgba(5, 13, 24, 0.46);
    border: 1px solid var(--line);
    border-radius: 11px;
}

.fishing-technique-note strong {
    color: var(--blue-light);
    font-size: 11px;
}

.fishing-technique-note p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.variant {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.08);
    border: 1px solid rgba(112, 194, 255, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.variant-unique {
    color: #ffd76f;
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.25);
}

.variant-trophee {
    color: #c39cff;
    background: rgba(144, 86, 255, 0.08);
    border-color: rgba(144, 86, 255, 0.25);
}

.variant-jeune {
    color: #8affbd;
    background: rgba(53, 208, 127, 0.08);
    border-color: rgba(53, 208, 127, 0.25);
}

/* Destinations */
.destination-page-hero {
    background:
        radial-gradient(circle at 78% 30%, rgba(25, 148, 255, 0.13), transparent 28%),
        linear-gradient(100deg, rgba(14, 52, 87, 0.52), transparent 55%);
}

.destination-section,
.destination-fish-section {
    padding-block: 46px 100px;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.destination-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.destination-card:hover {
    transform: translateY(-3px);
    border-color: rgba(25, 148, 255, 0.46);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.destination-card-visual {
    min-height: 230px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    overflow: hidden;
    color: var(--blue-light);
    background:
        radial-gradient(circle at center, rgba(25, 148, 255, 0.22), transparent 60%),
        #071522;
    border-right: 1px solid var(--line);
}

.destination-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card-visual > span {
    font-size: 48px;
    filter: drop-shadow(0 0 22px rgba(25, 148, 255, 0.38));
}

.destination-card-visual small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.destination-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.destination-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 12px;
    margin: 7px 0 20px;
}

.destination-card-content h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.18;
}

.destination-card-content h2 a:hover {
    color: var(--blue-light);
}

.destination-level {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 15px;
    color: #dff2ff;
    background: linear-gradient(135deg, rgba(25, 148, 255, 0.25), rgba(25, 148, 255, 0.1));
    border: 1px solid rgba(112, 194, 255, 0.36);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(25, 148, 255, 0.13);
}

.destination-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.destination-card-stats > div {
    min-width: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.destination-card-stats span,
.destination-detail-stats span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.destination-card-stats strong {
    color: var(--blue-light);
    font-size: 15px;
}

.destination-card-link {
    margin-top: auto;
    padding-top: 20px;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 700;
}

.destination-detail-hero {
    padding-block: 58px 76px;
    background:
        radial-gradient(circle at 82% 40%, rgba(25, 148, 255, 0.13), transparent 25%),
        linear-gradient(110deg, rgba(14, 52, 87, 0.5), transparent 55%);
    border-bottom: 1px solid var(--line);
}

.destination-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: center;
    gap: 70px;
    margin-top: 38px;
}

.destination-detail-content h1 {
    margin: 12px 0 8px;
    font-size: clamp(45px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.destination-country {
    margin: 0 0 22px;
    color: var(--blue-light);
    font-weight: 700;
}

.destination-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.destination-detail-stats > div {
    padding: 17px;
    background: rgba(9, 24, 39, 0.72);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.destination-detail-stats strong {
    color: var(--blue-light);
    font-size: 21px;
}

.destination-detail-visual {
    min-height: 330px;
    overflow: hidden;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    background:
        radial-gradient(circle at center, rgba(25, 148, 255, 0.2), transparent 58%),
        var(--surface);
    border: 1px solid rgba(112, 194, 255, 0.27);
    border-radius: 24px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

.destination-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-detail-visual > span {
    font-size: 76px;
}

.destination-detail-visual small {
    color: var(--muted);
}

.destination-fish-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.destination-fish-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.destination-fish-card:hover {
    transform: translateY(-2px);
    border-color: rgba(25, 148, 255, 0.4);
}

.destination-fish-image {
    min-height: 150px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #071522;
    border-right: 1px solid var(--line);
}

.destination-fish-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.destination-fish-image span {
    font-size: 36px;
}

.destination-fish-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
}

.destination-fish-content h3 {
    margin: 0 0 11px;
    font-size: 15px;
    line-height: 1.28;
}

.destination-fish-content h3 a:hover {
    color: var(--blue-light);
}

.destination-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.destination-variants .variant {
    padding: 4px 7px;
    font-size: 9px;
}

.destination-fish-link {
    margin-top: auto;
    padding-top: 13px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 700;
}

.community-map-section {
    padding-block: 90px;
    background:
        radial-gradient(circle at 80% 15%, rgba(25, 148, 255, 0.09), transparent 28%),
        #06111e;
    border-bottom: 1px solid var(--line);
}

.community-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
}

.community-alert.success {
    color: #69efad;
    background: rgba(27, 201, 125, 0.08);
    border: 1px solid rgba(27, 201, 125, 0.28);
}

.community-alert.error {
    color: #ff9daf;
    background: rgba(255, 65, 96, 0.08);
    border: 1px solid rgba(255, 113, 137, 0.28);
}

.community-map-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 70px 24px;
    background: var(--surface);
    border: 1px dashed rgba(112, 194, 255, 0.3);
    border-radius: 18px;
    text-align: center;
}

.community-map-empty > span {
    font-size: 54px;
}

.community-map-empty h3 {
    margin: 0;
    font-size: 25px;
}

.community-map-empty p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.community-map-layout {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.community-map-board {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #06101b;
    cursor: crosshair;
}

.community-map-board > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 780px;
    object-fit: contain;
    user-select: none;
}

.community-map-marker,
.community-map-draft-marker {
    position: absolute;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.5);
}

.community-map-marker {
    color: #fff;
    background: var(--blue);
    border: 2px solid #cfeaff;
    cursor: pointer;
    transform: translate(-50%, -70%) rotate(-45deg);
    transition: transform 160ms ease, filter 160ms ease;
}

.community-map-marker > span {
    transform: rotate(45deg);
    font-size: 11px;
}

.community-map-marker:hover,
.community-map-marker:focus-visible {
    z-index: 4;
    filter: brightness(1.25);
    transform: translate(-50%, -70%) rotate(-45deg) scale(1.2);
}

.community-map-draft-marker {
    z-index: 3;
    color: #03101d;
    background: #55e9a2;
    border: 2px solid #d8ffeb;
    font-size: 18px;
    font-weight: 900;
    pointer-events: none;
}

.community-map-instructions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.community-map-instructions strong {
    color: var(--blue-light);
    white-space: nowrap;
}

.community-spot-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.community-spot-card {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.community-spot-card.is-active {
    border-color: rgba(58, 181, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(25, 148, 255, 0.12);
}

.community-spot-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.community-spot-card header > div > span {
    color: var(--muted);
    font-size: 9px;
}

.community-spot-card h3 {
    margin: 5px 0 0;
    font-size: 17px;
}

.community-spot-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 15px;
}

.community-spot-stats div,
.community-spot-facts div {
    padding: 9px;
    background: rgba(25, 148, 255, 0.045);
    border: 1px solid rgba(112, 194, 255, 0.13);
    border-radius: 8px;
}

.community-spot-stats span,
.community-spot-facts dt {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.community-spot-stats strong,
.community-spot-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.community-spot-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 8px 0 0;
}

.community-spot-tips {
    margin: 10px 0 0;
    padding: 11px;
    color: var(--muted);
    background: rgba(5, 13, 24, 0.5);
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.6;
}

.community-rig-image {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 700;
}

.community-rig-image img {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.community-contribution {
    margin-top: 20px;
    padding: 0 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.community-contribution summary {
    padding: 18px 0;
    color: var(--blue-light);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.community-contribution[open] summary {
    border-bottom: 1px solid var(--line);
}

.community-contribution-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    padding-block: 20px;
}

.community-contribution-form label {
    display: grid;
    align-content: start;
    gap: 7px;
}

.community-contribution-form label > span {
    color: var(--text);
    font-size: 10px;
    font-weight: 800;
}

.community-contribution-form input,
.community-contribution-form select,
.community-contribution-form textarea {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    color: var(--text);
    background: rgba(5, 13, 24, 0.72);
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: none;
    font: inherit;
}

.community-contribution-form textarea {
    min-height: 100px;
    resize: vertical;
}

.community-contribution-form input:focus,
.community-contribution-form select:focus,
.community-contribution-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(25, 148, 255, 0.1);
}

.community-wide {
    grid-column: 1 / -1;
}

.community-position-status,
.community-moderation-notice {
    grid-column: 1 / -1;
    padding: 12px 14px;
    color: #ffc96c;
    background: rgba(255, 188, 69, 0.06);
    border: 1px solid rgba(255, 188, 69, 0.2);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

.community-position-status.is-ready {
    color: #55e9a2;
    background: rgba(27, 201, 125, 0.07);
    border-color: rgba(27, 201, 125, 0.24);
}

.community-moderation-notice {
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.05);
    border-color: rgba(112, 194, 255, 0.18);
}

.community-file {
    padding: 12px;
    background: rgba(25, 148, 255, 0.025);
    border: 1px dashed rgba(112, 194, 255, 0.24);
    border-radius: 10px;
}

.community-file small {
    color: var(--muted);
    font-size: 9px;
}

.community-file input[type="file"] {
    min-height: auto;
}

.community-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 12px;
        background: #091827;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    }

    .main-navigation.open {
        display: grid;
    }

    .main-navigation a {
        padding: 13px 14px;
        border-radius: 9px;
    }

    .main-navigation a.active {
        background: rgba(25, 148, 255, 0.1);
    }

    .main-navigation a.active::after {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-card {
        min-height: 330px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .fish-grid {
        grid-template-columns: 1fr;
    }

    .fish-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .fish-detail-image {
        min-height: 350px;
    }

    .fishing-techniques-grid {
        grid-template-columns: 1fr;
    }

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .destination-detail-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .destination-fish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-spot-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-contribution-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-grid,
    .about-data-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-copy strong {
        font-size: 12px;
    }

    .fishing-technique-content {
        padding: 18px;
    }

    .fishing-technique-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .fishing-technique-facts {
        grid-template-columns: 1fr;
    }

    .community-map-instructions {
        align-items: flex-start;
        flex-direction: column;
    }

    .community-spot-list,
    .community-contribution-form {
        grid-template-columns: 1fr;
    }

    .community-wide,
    .community-position-status,
    .community-moderation-notice {
        grid-column: auto;
    }

    .community-spot-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 70px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-search {
        display: grid;
        grid-template-columns: auto 1fr;
        padding: 14px;
    }

    .hero-search button {
        grid-column: 1 / -1;
        min-height: 46px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-card {
        min-height: 360px;
        padding: 25px;
    }

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding-block: 72px;
    }

    .section-heading {
        display: block;
    }

    .project-card {
        padding: 30px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .page-hero {
        padding-block: 70px 55px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: auto;
    }

    .filter-bar button,
    .reset-filter {
        width: 100%;
    }

    .fish-card {
        grid-template-columns: 1fr;
    }

    .fish-card-image {
        min-height: 200px;
    }

    .pagination {
        grid-template-columns: 1fr 1fr;
    }

    .pagination-pages {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .fish-detail-image {
        min-height: 280px;
    }

    .fish-detail-content h1 {
        font-size: 46px;
    }

    .detail-stats {
        grid-template-columns: 1fr;
    }

    .detail-table {
        min-width: 760px;
    }

    .destination-card {
        grid-template-columns: 1fr;
    }

    .destination-card-visual {
        min-height: 180px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .destination-detail-stats {
        grid-template-columns: 1fr;
    }

    .destination-detail-visual {
        min-height: 260px;
    }

    .destination-fish-grid {
        grid-template-columns: 1fr;
    }

    .favorites-information {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .about-hero {
        padding-block: 75px;
    }

    .about-actions {
        display: grid;
    }

    .creator-card {
        padding: 30px 24px;
    }

    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stats > div {
        border-bottom: 1px solid var(--line);
    }

    .about-section {
        padding-block: 72px;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .independence-card {
        grid-template-columns: 1fr;
    }
}

.detail-destination-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 750;
}

.detail-destination-link:hover {
    color: var(--blue-light);
}

.detail-destination-link small {
    display: inline-flex;
    padding: 4px 7px;
    color: var(--blue-light);
    background: rgba(25, 148, 255, 0.09);
    border: 1px solid rgba(112, 194, 255, 0.18);
    border-radius: 999px;
    font-size: 10px;
    white-space: nowrap;
}

.destination-fish-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.destination-fish-stats > div {
    min-width: 0;
    padding: 9px;
    background: rgba(5, 13, 24, 0.5);
    border: 1px solid var(--line);
    border-radius: 9px;
}

.destination-fish-stats span,
.destination-fish-stats strong {
    display: block;
}

.destination-fish-stats span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
}

.destination-fish-stats strong {
    overflow: hidden;
    color: var(--blue-light);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .detail-destination-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .destination-fish-stats {
        grid-template-columns: 1fr;
    }
}

/* Classement public des records */

.records-page-hero {
    min-height: 360px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 187, 47, 0.11), transparent 24%),
        radial-gradient(circle at 18% 0, rgba(25, 148, 255, 0.18), transparent 35%),
        linear-gradient(180deg, #071525, var(--background));
}

.records-page-hero::after {
    content: "🏆";
    top: 20px;
    opacity: 0.065;
    transform: rotate(7deg);
}

.records-hero-content {
    position: relative;
}

.records-hero-badge {
    position: absolute;
    right: 0;
    bottom: 3px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2px 12px;
    min-width: 290px;
    padding: 16px 18px;
    background: rgba(9, 24, 39, 0.78);
    border: 1px solid rgba(255, 199, 79, 0.2);
    border-radius: 15px;
}

.records-hero-badge > span {
    grid-row: span 2;
    font-size: 30px;
}

.records-hero-badge strong {
    font-size: 13px;
}

.records-hero-badge small {
    color: var(--muted);
    font-size: 10px;
}

.records-section {
    min-height: 620px;
    padding-block: 45px 100px;
}

.records-filter-bar {
    grid-template-columns:
        minmax(220px, 1.15fr)
        minmax(185px, 0.9fr)
        minmax(150px, 0.65fr)
        minmax(190px, 0.8fr)
        auto
        auto;
}

.records-result-heading span {
    text-align: right;
}

.records-list {
    display: grid;
    gap: 12px;
}

.record-card {
    position: relative;
    display: grid;
    grid-template-columns: 62px 135px minmax(210px, 1fr) minmax(315px, 0.9fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 150px;
    padding: 14px 16px 14px 12px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(25, 148, 255, 0.045), transparent 34%),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: 17px;
    transition: transform 180ms ease, border-color 180ms ease;
}

.record-card:hover {
    transform: translateY(-2px);
    border-color: rgba(112, 194, 255, 0.34);
}

.record-card.record-top-1 {
    background:
        linear-gradient(90deg, rgba(255, 190, 45, 0.1), transparent 38%),
        var(--surface);
    border-color: rgba(255, 198, 71, 0.3);
}

.record-card.record-top-2 {
    border-color: rgba(205, 221, 235, 0.23);
}

.record-card.record-top-3 {
    border-color: rgba(207, 137, 77, 0.25);
}

.record-rank {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    align-self: stretch;
    color: var(--blue-light);
    border-right: 1px solid var(--line);
}

.record-rank > span {
    font-size: 25px;
}

.record-rank small {
    color: var(--muted);
    font-size: 11px;
}

.record-rank strong {
    font-size: 22px;
}

.record-fish-image {
    min-height: 112px;
    display: grid;
    place-items: center;
    padding: 8px;
    background: rgba(5, 13, 24, 0.44);
    border-radius: 13px;
}

.record-fish-image img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.28));
    transition: transform 180ms ease;
}

.record-fish-image:hover img {
    transform: scale(1.045);
}

.record-fish-image > span {
    font-size: 42px;
}

.record-fish-copy {
    min-width: 0;
}

.record-fish-copy h2 {
    margin: 7px 0 4px;
    font-size: 20px;
    line-height: 1.15;
}

.record-fish-copy h2 a:hover {
    color: var(--blue-light);
}

.record-fish-copy > p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
}

.record-destination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
}

.record-destination:hover {
    color: var(--blue-light);
}

.record-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.record-stats > div {
    min-width: 0;
    padding: 12px 10px;
    background: rgba(5, 13, 24, 0.58);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.record-stats > div.is-highlighted {
    background: rgba(25, 148, 255, 0.1);
    border-color: rgba(112, 194, 255, 0.35);
    box-shadow: inset 0 0 22px rgba(25, 148, 255, 0.05);
}

.record-stats span,
.record-stats strong {
    display: block;
}

.record-stats span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.record-stats strong {
    overflow: hidden;
    color: var(--blue-light);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    color: var(--blue-light);
    border: 1px solid rgba(112, 194, 255, 0.2);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.record-detail-link:hover {
    background: rgba(25, 148, 255, 0.09);
    border-color: rgba(112, 194, 255, 0.4);
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .records-hero-badge {
        position: static;
        max-width: 350px;
        margin-top: 25px;
    }

    .records-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .records-filter-bar .search-field {
        grid-column: 1 / -1;
    }

    .record-card {
        grid-template-columns: 55px 125px minmax(190px, 1fr) minmax(280px, 1fr);
    }

    .record-detail-link {
        grid-column: 3 / -1;
        justify-self: end;
    }
}

@media (max-width: 760px) {
    .records-page-hero {
        min-height: auto;
    }

    .records-filter-bar {
        grid-template-columns: 1fr;
    }

    .records-filter-bar .search-field {
        grid-column: auto;
    }

    .records-result-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .records-result-heading span {
        text-align: left;
    }

    .record-card {
        grid-template-columns: 52px 105px 1fr;
        align-items: start;
    }

    .record-rank {
        grid-row: span 2;
    }

    .record-fish-image {
        min-height: 92px;
    }

    .record-fish-image img {
        height: 78px;
    }

    .record-stats {
        grid-column: 2 / -1;
        width: 100%;
    }

    .record-detail-link {
        grid-column: 2 / -1;
        justify-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .record-card {
        grid-template-columns: 48px 1fr;
        gap: 12px;
    }

    .record-rank {
        grid-row: span 3;
    }

    .record-fish-image {
        min-height: 130px;
    }

    .record-fish-image img {
        height: 112px;
    }

    .record-fish-copy,
    .record-stats,
    .record-detail-link {
        grid-column: 2;
    }

    .record-stats {
        grid-template-columns: 1fr;
    }
}
