
/* ========================================
   DAYZTOOLSHED - HOMEPAGE
   ======================================== */

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

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

body {
    background: #030b15;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* HOMEPAGE */

.homepage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #030b15;
}

/* RESPONSIVE BACKGROUND ARTWORK */

.hero-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* DARK OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.12) 75%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

/* WELCOME TEXT */

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    min-height: 100vh;
    min-height: 100svh;

    padding: 30px 20px 45px;
    text-align: center;
}

.hero-tagline {
    color: #00d9ff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 0 15px #00bfff;
}

.hero-content h1 {
    margin-top: 12px;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    text-shadow: 0 3px 15px #000000;
}

/* ========================================
   LAPTOP - 1025px to 1440px
   ======================================== */

@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-content {
        padding-bottom: 40px;
    }

    .hero-tagline {
        font-size: 13px;
        letter-spacing: 3px;
    }
}

/* ========================================
   TABLET - 601px to 1024px
   ======================================== */

@media (min-width: 601px) and (max-width: 1024px) {
    .hero-image {
        object-position: center;
    }

    .hero-content {
        padding-bottom: 45px;
    }

    .hero-tagline {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 22px;
    }
}

/* ========================================
   PHONE - up to 600px
   ======================================== */

@media (max-width: 600px) {
    .hero-image {
        object-position: center;
    }

    .hero-content {
        padding: 20px 16px 30px;
    }

    .hero-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 17px;
    }
}

/* Make desktop and laptop background fit without cropping */
@media (min-width: 1025px) {
    .hero-image {
        object-fit: contain;
        object-position: center;
    }
}

/* Full-screen DayZToolShed background */
@media (min-width: 1025px) {
    .homepage {
        background:
            linear-gradient(rgba(3,11,21,.35), rgba(3,11,21,.35)),
            url("../images/DayZToolShed_Desktop.webp") center / cover no-repeat;
    }

    .hero-image {
        object-fit: contain;
        object-position: center;
    }
}


/* DayZToolShed top navigation */
.site-header {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: max-content;
    max-width: calc(100% - 24px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(3, 11, 21, 0.82);
    border: 1px solid rgba(0, 217, 255, 0.5);
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.2);
    backdrop-filter: blur(12px);
}

.nav-link {
    display: inline-block;
    padding: 11px 20px;
    color: #eafaff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.2s, box-shadow 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 217, 255, 0.16);
    color: #00d9ff;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.22);
}

.nav-discord {
    border: 1px solid #00d9ff;
    color: #00d9ff;
}

@media (max-width: 600px) {
    .site-header {
        top: 12px;
        width: calc(100% - 20px);
    }

    .site-nav {
        gap: 3px;
        padding: 7px 5px;
    }

    .nav-link {
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* DayZToolShed: one image, full screen, no cropping */
@media (min-width: 1025px) {
    .homepage {
        background: #030b15 !important;
    }

    .hero-picture {
        width: 100%;
        height: 100%;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: fill !important;
        object-position: center;
    }
}

/* DayZToolShed navigation - top right */
.site-header {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    z-index: 100;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Smaller screens */
@media (max-width: 600px) {
    .site-header {
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* PREMIUM DAYZTOOLSHED NAVIGATION */
.site-header {
    top: 22px !important;
    right: 28px !important;
}

.site-nav {
    padding: 7px !important;
    background: rgba(2, 9, 18, 0.88) !important;
    border: 1px solid rgba(0, 220, 255, 0.55) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 12px rgba(0, 200, 255, 0.25),
        inset 0 0 15px rgba(0, 180, 255, 0.08) !important;
    backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-nav:hover,
.site-nav:focus-within {
    border-color: #00e5ff !important;
    box-shadow:
        0 0 20px rgba(0, 220, 255, 0.55),
        0 0 40px rgba(0, 180, 255, 0.2) !important;
}

.site-nav .nav-link {
    position: relative;
    overflow: hidden;
    min-width: 105px;
    padding: 13px 24px !important;
    text-align: center;
    color: #7cefff !important;
    background: linear-gradient(135deg, #082b40, #041725) !important;
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 11px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 225, 255, 0.5);
    box-shadow: inset 0 0 12px rgba(0, 210, 255, 0.08);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
    color: #ffffff !important;
    background: linear-gradient(135deg, #087ca3, #03445e) !important;
    border-color: #00e5ff;
    box-shadow:
        0 0 15px rgba(0, 220, 255, 0.75),
        0 0 30px rgba(0, 220, 255, 0.3),
        inset 0 0 12px rgba(0, 240, 255, 0.25);
    text-shadow: 0 0 12px #ffffff;
    transform: translateY(-2px);
}

.site-nav .nav-link:active {
    background: #00d9ff !important;
    color: #00131d !important;
    box-shadow: 0 0 35px #00d9ff;
    transform: scale(0.96);
}

@media (max-width: 600px) {
    .site-header {
        top: 12px !important;
        right: 12px !important;
    }

    .site-nav .nav-link {
        min-width: 80px;
        padding: 11px 15px !important;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav,
    .site-nav .nav-link {
        transition: none;
    }
}


/* ===== DAYZTOOLSHED ABOUT SECTION ===== */

.about-section {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 90px 5%;
    background:
        radial-gradient(ellipse at top, #09344a 0%, #030b15 65%);
}

.about-card {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.45);
    border-radius: 22px;
    background: rgba(4, 16, 29, 0.96);
    box-shadow:
        0 0 30px rgba(0, 200, 255, 0.12),
        0 20px 60px rgba(0, 0, 0, 0.45);
    transition: box-shadow .3s ease;
}

.about-card:hover {
    box-shadow:
        0 0 38px rgba(0, 217, 255, 0.28),
        0 20px 60px rgba(0, 0, 0, 0.45);
}

.about-image {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.about-card:hover .about-image img {
    transform: scale(1.04);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 55%,
        rgba(4, 16, 29, 0.4)
    );
    pointer-events: none;
}

.about-image-label {
    position: absolute;
    bottom: 22px;
    left: 22px;
    z-index: 2;
    padding: 9px 14px;
    background: rgba(0, 12, 23, 0.85);
    border: 1px solid #00d9ff;
    border-radius: 7px;
    color: #00d9ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-content {
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-eyebrow {
    color: #00d9ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.about-content h2 {
    color: white;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-content h2 span {
    color: #00d9ff;
    text-shadow: 0 0 18px rgba(0, 217, 255, .35);
}

.about-content h3 {
    color: #e4f8ff;
    font-size: 16px;
    margin-bottom: 22px;
}

.about-content p {
    color: #a9c0ce;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 15px 0 25px;
}

.about-tags span {
    padding: 8px 12px;
    border: 1px solid rgba(0, 217, 255, .3);
    border-radius: 6px;
    background: rgba(0, 217, 255, .06);
    color: #77eaff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.about-discord {
    display: inline-block;
    padding: 14px 23px;
    border: 1px solid #00d9ff;
    border-radius: 9px;
    background: linear-gradient(135deg, #07364c, #041a2b);
    color: #00e5ff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .25s ease;
}

.about-discord:hover,
.about-discord:focus-visible {
    background: #087da1;
    color: white;
    box-shadow: 0 0 22px rgba(0, 217, 255, .65);
    transform: translateY(-3px);
}

.about-discord:active {
    background: #00d9ff;
    color: #00131d;
    transform: scale(.97);
}

@media (max-width: 850px) {
    .about-section {
        padding: 50px 18px;
    }

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

    .about-image {
        min-height: 250px;
        height: 300px;
    }

    .about-content {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .about-image {
        height: 220px;
        min-height: 220px;
    }

    .about-content {
        padding: 28px 20px;
    }

    .about-content h2 {
        font-size: 26px;
    }
}

/* Allow scrolling to the About Us section */
html, body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.about-section {
    display: block !important;
    position: relative !important;
}

/* ===== FLOATING ABOUT US - NO SCROLLING ===== */

html, body {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.homepage {
    height: 100vh !important;
    height: 100svh !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Floating panel positioned over the homepage */
.about-section {
    position: fixed !important;
    z-index: 20 !important;
    top: 50% !important;
    right: 5% !important;
    left: auto !important;
    transform: translateY(-50%) !important;

    width: min(760px, 58vw) !important;
    max-height: 68vh !important;
    padding: 0 !important;

    background: transparent !important;
    overflow: visible !important;
}

/* Dark glass card */
.about-card {
    display: grid !important;
    grid-template-columns: 36% 64% !important;
    width: 100%;
    max-height: 68vh !important;
    overflow: hidden !important;

    background: rgba(2, 12, 24, 0.82) !important;
    border: 1px solid rgba(0, 225, 255, 0.75) !important;
    border-radius: 18px !important;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 0 24px rgba(0, 217, 255, 0.28),
        0 20px 55px rgba(0, 0, 0, 0.6) !important;
}

.about-image {
    min-height: 0 !important;
    height: auto !important;
}

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

.about-content {
    padding: 25px !important;
    overflow-y: auto;
    max-height: 68vh;
}

.about-content h2 {
    font-size: clamp(20px, 2vw, 29px) !important;
}

.about-content h3 {
    font-size: 13px !important;
}

.about-content p {
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}

/* Keep Discord navigation above the panel */
.site-header {
    z-index: 100 !important;
}

/* Tablet and smaller laptop screens */
@media (max-width: 1100px) {
    .about-section {
        right: 3% !important;
        width: 62vw !important;
    }

    .about-card {
        grid-template-columns: 30% 70% !important;
    }

    .about-content {
        padding: 18px !important;
    }
}

/* Phones */
@media (max-width: 600px) {
    .about-section {
        top: auto !important;
        bottom: 4% !important;
        left: 5% !important;
        right: 5% !important;
        transform: none !important;
        width: 90% !important;
        max-height: 53vh !important;
    }

    .about-card {
        display: block !important;
        max-height: 53vh !important;
    }

    .about-image {
        display: none !important;
    }

    .about-content {
        max-height: 53vh !important;
        padding: 17px !important;
    }

    .about-content h2 {
        font-size: 21px !important;
    }

    .about-content p {
        font-size: 11px !important;
    }

    .about-tags {
        gap: 5px;
        margin: 8px 0 12px;
    }

    .about-tags span {
        font-size: 9px;
        padding: 5px 7px;
    }
}


/* ===== REFINED FLOATING ABOUT PANEL ===== */

/* Hide old top navigation */
.site-header {
    display: none !important;
}

/* Position panel over the sunset */
.about-section {
    position: fixed !important;
    top: 48% !important;
    right: 10% !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    width: min(690px, 54vw) !important;
    max-height: 72vh !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 30 !important;
}

/* Compact glass panel */
.about-card {
    display: grid !important;
    grid-template-columns: 32% 68% !important;
    max-height: 72vh !important;
    border-radius: 16px !important;
    background: rgba(2, 12, 24, 0.78) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Smaller image panel */
.about-image {
    min-height: 0 !important;
    height: auto !important;
}

.about-image img {
    object-fit: cover !important;
    object-position: center !important;
}

/* Cleaner text layout */
.about-content {
    padding: 22px !important;
    max-height: 72vh !important;
    overflow-y: auto;
}

.about-content h2 {
    font-size: clamp(20px, 1.8vw, 27px) !important;
}

.about-content p {
    font-size: 12px !important;
    line-height: 1.65 !important;
}

.about-tags {
    margin: 10px 0 17px !important;
}

/* Tablet and small laptops */
@media (max-width: 1100px) {
    .about-section {
        right: 4% !important;
        width: 62vw !important;
    }
}

/* Mobile layout */
@media (max-width: 600px) {
    .about-section {
        top: auto !important;
        bottom: 5% !important;
        left: 5% !important;
        right: 5% !important;
        transform: none !important;
        width: 90% !important;
        max-height: 62vh !important;
    }

    .about-card {
        display: block !important;
        max-height: 62vh !important;
    }

    .about-image {
        display: none !important;
    }

    .about-content {
        padding: 18px !important;
        max-height: 62vh !important;
    }
}

/* ===== CENTRE ABOUT US BOX ===== */

@media (min-width: 601px) {
    .about-section {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: min(690px, 90vw) !important;
        margin: 0 !important;
    }
}


/* =========================================
   DAYZTOOLSHED - PREMIUM ABOUT GLASS DESIGN
   ========================================= */

.about-section {
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.45));
}

/* Main glass panel */
.about-card {
    position: relative !important;
    isolation: isolate;
    border: 1px solid rgba(0,210,255,.38) !important;
    border-radius: 18px !important;
    overflow: hidden !important;

    background:
        linear-gradient(
            125deg,
            rgba(0,35,55,.48),
            rgba(3,12,28,.70) 45%,
            rgba(55,8,30,.38)
        ) !important;

    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;

    box-shadow:
        0 0 25px rgba(0,200,255,.14),
        0 0 60px rgba(0,130,255,.08),
        inset 0 1px 0 rgba(255,255,255,.17),
        inset 0 0 35px rgba(0,180,255,.04) !important;

    transition:
        box-shadow .35s ease,
        border-color .35s ease;
}

/* Soft atmospheric light */
.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 15% 5%,
            rgba(0,205,255,.14),
            transparent 55%
        ),
        radial-gradient(
            ellipse at 100% 85%,
            rgba(255,55,85,.12),
            transparent 55%
        );
}

/* Fine glowing top edge */
.about-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    width: 64%;
    height: 1px;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,230,255,.85),
        transparent
    );

    box-shadow: 0 0 12px rgba(0,225,255,.6);
}

/* Railway image blends into glass */
.about-image {
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(0,15,30,.06),
        rgba(0,15,30,.18)
    );
}

.about-image img {
    filter: brightness(.83) contrast(1.1) saturate(.85);
    transition: filter .4s ease, transform .5s ease;
}

.about-card:hover .about-image img {
    filter: brightness(.98) contrast(1.08);
    transform: scale(1.035);
}

/* Content above lighting effects */
.about-content {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

/* Glowing title */
.about-content h2 {
    text-shadow: 0 0 20px rgba(0,200,255,.2);
}

/* Softer text */
.about-content p {
    color: rgba(235,245,255,.84);
}

/* Buttons and tags */
.about-content a,
.about-tags span {
    transition:
        background .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.about-content a:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 12px rgba(0,210,255,.45),
        0 0 25px rgba(0,210,255,.15);
    border-color: #00e5ff;
}

/* Slight glow when hovering over the panel */
.about-card:hover {
    border-color: rgba(0,225,255,.7) !important;

    box-shadow:
        0 0 30px rgba(0,210,255,.22),
        0 0 65px rgba(0,150,255,.10),
        inset 0 1px 0 rgba(255,255,255,.2) !important;
}

@media (prefers-reduced-motion: reduce) {
    .about-card,
    .about-image img,
    .about-content a {
        transition: none !important;
    }
}


/* ===== COMPACT DAYZ RAILWAY BUTTON PANEL ===== */

/* Move panel to top centre */
.about-section {
    position: fixed !important;
    top: 22% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(460px, 88vw) !important;
    max-height: none !important;
    z-index: 30 !important;
    filter: none !important;
}

/* Use railway photo as panel background */
.about-card {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 145px !important;
    max-height: none !important;
    padding: 15px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0,220,255,.7) !important;

    background:
        linear-gradient(rgba(0,12,24,.25),rgba(0,12,24,.7)),
        url('../images/1083273-dayz-wallpapers-1920x1080-windows.jpg')
        center 57% / cover no-repeat !important;

    box-shadow: 0 0 24px rgba(0,210,255,.3) !important;
    overflow: hidden !important;
}

/* Hide old separate image and text */
.about-image {
    display: none !important;
}

.about-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

/* Hide text and tags, keep button */
.about-content > :not(a) {
    display: none !important;
}

/* Community button */
.about-content > a {
    position: relative;
    z-index: 5;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 24px !important;
    border: 1px solid #00dfff !important;
    border-radius: 10px !important;
    background: rgba(0,20,35,.85) !important;
    color: #00eaff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-decoration: none !important;
    box-shadow: 0 0 15px rgba(0,220,255,.25);
}

.about-content > a:hover {
    background: rgba(0,130,170,.9) !important;
    color: white !important;
    box-shadow: 0 0 25px rgba(0,225,255,.7);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {
    .about-section {
        top: 23% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 88vw !important;
        max-height: none !important;
    }

    .about-card {
        height: 125px !important;
    }

    .about-content {
        max-height: none !important;
    }
}

/* ===== MOVE COMMUNITY PANEL TO TOP RIGHT ===== */

.about-section {
    position: fixed !important;
    top: 22px !important;
    right: 28px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;

    width: 300px !important;
    max-width: calc(100vw - 40px) !important;
    z-index: 50 !important;
}

.about-card {
    height: 90px !important;
    border-radius: 14px !important;
}

.about-content > a {
    padding: 12px 18px !important;
    font-size: 11px !important;
}

/* Mobile */
@media (max-width: 600px) {
    .about-section {
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 210px !important;
    }

    .about-card {
        height: 75px !important;
    }

    .about-content > a {
        font-size: 10px !important;
        padding: 10px 12px !important;
    }
}


/* Clean top-right community button */

.about-section {
    width: 225px !important;
    top: 22px !important;
    right: 28px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.about-card {
    height: 65px !important;
    padding: 8px !important;
    background: rgba(2, 12, 25, 0.78) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(0, 220, 255, 0.65) !important;
    border-radius: 14px !important;
}

.about-content > a {
    width: 100%;
    padding: 12px 10px !important;
    background: rgba(0, 25, 42, 0.9) !important;
}

.about-content > a:hover {
    background: rgba(0, 135, 175, 0.9) !important;
    box-shadow: 0 0 25px rgba(0, 225, 255, 0.7) !important;
}

@media (max-width: 600px) {
    .about-section {
        width: 185px !important;
        right: 12px !important;
        top: 12px !important;
    }

    .about-card {
        height: 58px !important;
    }
}


/* Homepage navigation buttons */

.about-section {
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
}

.about-card {
    width: auto !important;
    height: auto !important;
}

.about-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.about-content > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 160px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .about-content {
        gap: 6px !important;
    }

    .about-content > a {
        min-width: 0 !important;
        padding: 10px 8px !important;
        font-size: 9px !important;
    }
}
