/* ==========================================================================
   LatinosPC - Headsets, Virtual Reality & Audio Gear Guide Stylesheet
   Preserves the iconic pop-culture sci-fi cards (#luke, #neo, #marty, #tony,
   #parzivalbrycelynch), the parchment poem, and futuristic VR/AR display cards.
   ========================================================================== */

/* Main Container & Base Typography */
.article.fullbar,
article.article.fullbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3.5rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

/* Page Heading & Navigation Link */
article a:has(h1),
article a:first-of-type {
    text-decoration: none;
    display: block;
}

article h1 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0.5rem 0 0.5rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

article a:hover h1 {
    color: #2563eb;
    transform: translateY(-1px);
}

article h5 {
    font-size: 1.05rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
    margin: 0 0 1.5rem 0;
}

article h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 0.85rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Headset Era Fieldset Cards */
article fieldset {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin: 1.75rem 0;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

article fieldset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -3px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

article legend.center {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #38bdf8;
    border: 1.5px solid #0284c7;
    border-radius: 9999px;
    padding: 6px 20px;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    margin: 0 auto;
}

article .card2 {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #334155;
    margin: 0.75rem 0;
}

article .card2 a em {
    color: #0284c7;
    font-weight: 600;
    font-style: normal;
}

/* Floating Imagery */
.carousel-group.fl {
    float: left;
    margin: 0.5rem 1.25rem 0.5rem 0;
}

.carousel-group.rtl {
    float: right;
    margin: 0.5rem 0 0.5rem 1.25rem;
}

.thumbnail-container img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumbnail-container:hover img {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

/* Pop Culture Sci-Fi Headset Hero Cards */
#luke, #neo, #marty, #tony, #parzivalbrycelynch {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    padding: 2rem;
    margin: 1.5rem 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    min-height: 180px;
}

#luke {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("../images/hardware/hw/headsets/luke.webp");
}

#neo {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("../images/hardware/hw/headsets/neo.webp");
}

#marty {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("../images/hardware/hw/headsets/marty.webp");
}

#tony {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("../images/hardware/hw/headsets/tony.webp");
}

#parzivalbrycelynch {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url("../images/hardware/hw/headsets/wadewatts.webp");
}

/* VR / AR Immersion Cards */
.arvr, .futureofvrandar, .futureofvrandar0, .arandvr {
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    padding: 1.75rem;
    margin: 1.5rem 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.arvr {
    background-image: linear-gradient(rgba(15,23,42,0.6), rgba(15,23,42,0.8)), url("../images/hardware/hw/headsets/arvr.webp");
}

.futureofvrandar {
    background-image: linear-gradient(rgba(15,23,42,0.6), rgba(15,23,42,0.8)), url("../images/hardware/hw/headsets/futureofvrandar.webp");
}

.futureofvrandar0 {
    background-image: linear-gradient(rgba(15,23,42,0.6), rgba(15,23,42,0.8)), url("../images/hardware/hw/headsets/futureofvrandar1.webp");
}

.arandvr {
    background-image: linear-gradient(rgba(15,23,42,0.6), rgba(15,23,42,0.8)), url("../images/hardware/hw/headsets/arandvr.webp");
}

/* The Paper Poem Card */
.poem {
    background-image: url("../images/hardware/hw/headsets/paper.webp");
    background-size: cover;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    color: #1a1e21;
    font-size: 1.1rem;
    line-height: 1.8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6);
}

/* Clean Centered Blocks */
.centercenter, .centercenter2 {
    max-width: 900px;
    margin: 1rem auto;
    text-align: center;
}

/* Link Badges */
.linky {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}

.linky a:link, .linky a:visited {
    display: inline-block;
    padding: 6px 16px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.linky a:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.85rem;
    }
    .carousel-group.fl, .carousel-group.rtl {
        float: none;
        margin: 0.75rem auto;
        text-align: center;
    }
}
