
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@500;600;700;800&display=swap');

:root {
    --bg: #061321;
    --panel: #0b2033;
    --panel2: #102b42;
    --turquoise: #24d5c4;
    --gold: #d9bd75;
    --white: #f4f8fc;
    --muted: #9aafc1;
    --border: rgba(130, 180, 205, .17);
    --radius: 18px;
    --shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        linear-gradient(135deg, rgba(3, 13, 25, .72), rgba(3, 18, 31, .58)),
        radial-gradient(ellipse at 15% 10%, rgba(36,213,196,.10), transparent 35%),
        radial-gradient(ellipse at 85% 55%, rgba(217,189,117,.07), transparent 35%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .25s ease;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* EN-TETE */

.site-header {
    width: 100%;
    min-height: 104px;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: linear-gradient(105deg, rgba(3, 15, 28, .97), rgba(7, 31, 48, .94));
    border-bottom: 1px solid rgba(36,213,196,.32);
    box-shadow: 0 10px 34px rgba(0,0,0,.34);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 230px;
}

.logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 16px;
    padding: 5px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
    border: 1px solid rgba(36,213,196,.30);
    box-shadow: 0 5px 22px rgba(0,0,0,.24);
}

.logo-placeholder {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--turquoise);
    border-radius: 14px;
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(145deg,#102e46,#061321);
}

.brand-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 27px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.3;
}

.brand-sub {
    color: var(--turquoise);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 9px;
    color: #c1d0dd;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(36,213,196,.10);
    color: var(--turquoise);
}

.main-nav .nav-admin {
    border: 1px solid rgba(217,189,117,.5);
    color: var(--gold);
    margin-left: 5px;
}

/* CONTENU GENERAL */

.container {
    width: min(1380px, 92%);
    margin: 0 auto;
    padding: 38px 0 65px;
}

.section-block {
    margin-top: 65px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(23px, 3vw, 31px);
    margin: 4px 0 0;
    font-weight: 800;
    letter-spacing: -.7px;
}

.section-kicker,
.hero-kicker {
    color: var(--turquoise);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

/* ACCUEIL */

.hero {
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 55px 7%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(36,213,196,.28);
    background:
        linear-gradient(90deg, rgba(3,13,25,.82) 0%, rgba(3,13,25,.58) 56%, rgba(3,13,25,.20) 100%);
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
    backdrop-filter: blur(2px);
}

.hero::after {
    content: "F81150-14TW670";
    position: absolute;
    right: 4%;
    bottom: -32px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(65px, 13vw, 175px);
    font-weight: 800;
    color: rgba(255,255,255,.035);
    pointer-events: none;
    white-space: nowrap;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.1;
    letter-spacing: 4px;
    margin: 12px 0;
    color: var(--white);
}

.hero h2 {
    color: var(--gold);
    font-size: clamp(20px, 3vw, 30px);
    margin: 10px 0;
}

.hero p {
    color: #d0dce6;
    font-size: 15px;
    max-width: 650px;
}

.hero-operator {
    color: var(--turquoise) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

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

/* BOUTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.btn-primary {
    background: var(--turquoise);
    color: #04202a;
    box-shadow: 0 6px 22px rgba(36,213,196,.17);
}

.btn-primary:hover {
    background: #72eee0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.25);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* PANNEAUX */

.panel {
    background: linear-gradient(145deg, rgba(10,32,50,.91), rgba(5,22,37,.88));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.panel p {
    color: var(--muted);
}

.live-label {
    color: var(--turquoise);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* TABLEAU CONTACTS */

.table-panel {
    padding: 8px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

th {
    padding: 17px 15px;
    text-align: left;
    background: rgba(36,213,196,.07);
    color: var(--turquoise);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: #d5e1eb;
    font-size: 13px;
}

tbody tr:hover {
    background: rgba(36,213,196,.055);
}

.callsign-cell {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 1px;
}

.empty-state {
    text-align: center;
    padding: 45px 20px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.empty-state h3 {
    color: var(--white);
}

/* RECHERCHE QSL */

.qsl-search-panel {
    padding: 30px;
}

.qsl-search-form {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

input,
textarea,
select {
    width: 100%;
    background: #061827;
    border: 1px solid rgba(135,175,200,.28);
    border-radius: 9px;
    padding: 13px 15px;
    color: var(--white);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(36,213,196,.10);
}

input::placeholder,
textarea::placeholder {
    color: #6f879a;
}

.qsl-search-form input {
    max-width: 430px;
}

.qsl-results {
    margin-top: 30px;
}

.qsl-results h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.qsl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
    gap: 20px;
}

.qsl-card {
    overflow: hidden;
    background: #061827;
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: .25s ease;
}

.qsl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(36,213,196,.55);
}

.qsl-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #091d2e;
    display: block;
}

.qsl-card-info {
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.qsl-card-info strong {
    color: var(--gold);
    font-size: 16px;
}

.qsl-card-info span {
    color: var(--muted);
    font-size: 12px;
}

/* CARTES DE NAVIGATION */

.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3,1fr);
}

.feature-card {
    display: block;
    padding: 28px;
    min-height: 205px;
    background: linear-gradient(145deg, rgba(16,44,67,.91), rgba(7,25,42,.88));
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.17);
    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(36,213,196,.55);
    background: linear-gradient(145deg,#143c53,#0b2338);
}

.feature-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--gold);
    font-size: 18px;
    margin: 0 0 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
}

.feature-link {
    color: var(--turquoise);
    font-size: 12px;
    font-weight: 800;
}

/* MESSAGES */

.notice {
    padding: 15px 18px;
    border-radius: 9px;
    margin: 15px 0;
    font-size: 13px;
}

.notice-info {
    background: rgba(36,213,196,.08);
    border: 1px solid rgba(36,213,196,.25);
    color: #bceee8;
}

.notice-success {
    background: rgba(50,190,120,.10);
    border: 1px solid rgba(50,190,120,.3);
    color: #9ee6bd;
}

.notice-error {
    background: rgba(220,70,70,.10);
    border: 1px solid rgba(220,70,70,.3);
    color: #ffaaaa;
}

/* PIED DE PAGE */

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 27px 5%;
    background: rgba(3, 14, 26, .94);
    border-top: 1px solid rgba(36,213,196,.28);
    backdrop-filter: blur(10px);
    color: #8fa6b9;
    font-size: 11px;
    letter-spacing: .5px;
}

.site-footer div:first-child {
    color: var(--turquoise);
    font-weight: 800;
}

/* RESPONSIVE */

@media(max-width:1050px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }
}

@media(max-width:760px) {
    .container {
        width: 94%;
        padding-top: 22px;
    }

    .site-header {
        padding: 15px 4%;
    }

    .main-nav {
        width: 100%;
        gap: 3px;
    }

    .main-nav a {
        padding: 9px;
        font-size: 11px;
    }

    .hero {
        min-height: 390px;
        padding: 35px 23px;
        border-radius: 16px;
    }

    .hero h1 {
        letter-spacing: 2px;
    }

    .section-block {
        margin-top: 42px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .qsl-search-form {
        flex-direction: column;
    }

    .qsl-search-form input {
        max-width: none;
    }

    .panel {
        padding: 18px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* FINITIONS VISUELLES F81150-14TW670 */

::selection {
    background: rgba(36,213,196,.35);
    color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
