*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ==============================
   Design Tokens
============================== */

:root {

    --bg-main: #1f2227;

    --glass-bg: rgba(255,255,255,0.08);
    --glass-strong: rgba(255,255,255,0.14);
    --glass-border: rgba(255,255,255,0.22);

    --text-main: #f5f7fa;
    --text-soft: rgba(245,247,250,0.85);
    --text-muted: rgba(245,247,250,0.65);

    /* Purple Branding */
    --accent: #7c5cff;
    --accent-light: #a28bff;
    --accent-glow: rgba(124,92,255,0.35);

    --shadow-lg: 0 25px 60px rgba(0,0,0,0.35);
    --shadow-md: 0 16px 35px rgba(0,0,0,0.25);
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.18);

    --blur-lg: blur(26px);
    --blur-md: blur(18px);
    --blur-sm: blur(12px);
}

/* ==============================
   Base
============================== */
.admin-link {
    font-size: 0.65rem;
    margin-left: 6px;
    text-decoration: none;
    color: rgba(255,255,255,0.18);
    opacity: 0.25;
    transition: opacity 0.2s ease;
}

.admin-link:hover {
    opacity: 0.7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    margin: 0;
    padding: 0;

    background:
        radial-gradient(circle at 20% 10%, rgba(124,92,255,0.25) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(124,92,255,0.18) 0%, transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(124,92,255,0.15) 0%, transparent 40%),
        linear-gradient(180deg, #2c3138 0%, #1f2227 60%, #191c21 100%);

    color: var(--text-main);
    line-height: 1.5;
    min-width: 320px;
}

img {
    max-width: 100%;
    height: auto;
}

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

.page-wrap {
    width: min(1200px, calc(100% - 24px));
    margin: 0 auto;
    padding: 18px 0 24px;
}

/* ==============================
   Glass Base Components
============================== */

.hero-card,
.station-section,
.box,
.footer {

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.12),
        rgba(255,255,255,0.06)
    );

    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);

    border: 1px solid var(--glass-border);

    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255,255,255,0.18);

}

/* ==============================
   Hero
============================== */

.hero-card {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
}

.hero-top {
    text-align: center;
    padding: 22px 20px 18px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.hero-banner {
    position: relative;
    min-height: 320px;

    background:
        linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55)),
        url('/images/people-2557579_1920.jpg') no-repeat center center;

    background-size: cover;
}

.hero-overlay {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 32px;
}

.hero-content {

    max-width: 660px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.20),
        rgba(255,255,255,0.08)
    );

    backdrop-filter: var(--blur-md);

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 22px;

    padding: 24px 26px;

    box-shadow:
        0 16px 32px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.25);

}

.hero-content h1 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    color: #fff;
}

.hero-content p {
    margin: 0;
    color: var(--text-soft);
}

/* ==============================
   Layout
============================== */

.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==============================
   Section
============================== */

.station-section {
    border-radius: 24px;
    padding: 24px;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
}

.section-head h2::after {

    content: "";

    display: block;

    width: 80px;
    height: 4px;

    margin-top: 10px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--accent-light)
    );

    box-shadow:
        0 0 20px var(--accent-glow);

}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==============================
   Stations Grid
============================== */

.station-container-wrapper {
    display: block;
}

.station-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 18px;
}

/* ==============================
   Station Card
============================== */

.station {

    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 12px;

    padding: 16px 14px;

    border-radius: 22px;

    text-align: center;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.16),
        rgba(255,255,255,0.08)
    );

    backdrop-filter: var(--blur-md);

    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.2);

    transition: all .18s ease;

}

.station:hover {

    transform: translateY(-6px) scale(1.02);

    border-color: rgba(255,255,255,0.35);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.35),
        0 0 30px var(--accent-glow),
        inset 0 1px 0 rgba(255,255,255,0.3);

}

/* ==============================
   Logo Box
============================== */

.station-logo-wrap {

    width: 128px;
    height: 128px;

    padding: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.20),
        rgba(255,255,255,0.10)
    );

    backdrop-filter: var(--blur-sm);

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 20px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 8px 20px rgba(0,0,0,0.2);

}

.station-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	border-radius: 20%;
}

.station p {
    margin: 0;
    font-weight: 700;
    color: #fff;
    font-size: 0.98rem;
}

/* ==============================
   Badge
============================== */

.badge {

    position: absolute;

    top: 10px;
    left: 10px;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--accent-light)
    );

    color: #fff;

    padding: 5px 10px;

    font-size: 12px;

    border-radius: 999px;

    font-weight: 700;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

}

/* ==============================
   Info Boxes
============================== */

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

.box {
    padding: 24px;
    border-radius: 24px;
}

.box h3 {
    margin: 0 0 14px;
}

.box p {
    margin: 0 0 20px;
    color: var(--text-soft);
}

.box-button {

    display: inline-block;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--accent-light)
    );

    color: #fff;

    border-radius: 12px;

    padding: 11px 18px;

    font-weight: 700;

    box-shadow:
        0 8px 18px rgba(124,92,255,0.35);

    transition: all .18s ease;

}

.box-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 24px rgba(124,92,255,0.45);

}

/* ==============================
   Footer
============================== */

.footer {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 900px) {

    .box-container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .station-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

}

@media (max-width: 520px) {

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

    .station-logo-wrap {
        width: 110px;
        height: 110px;
    }

}

@media (max-width: 380px) {

    .station-container {
        grid-template-columns: 1fr 1fr;
    }

}