/* ==========================================================
   THE 80S VAULT
   Version 2.0
   Mid-1980s Broadcast Theme
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
	background: #000;
}

/*==================================================
    Home Navigation
==================================================*/

#homeLink{

    position:fixed;

    top:20px;
    left:24px;

    z-index:5000;

    font-family:'Josefin Sans',sans-serif;

    font-size:18px;

    font-weight:700;

    letter-spacing:2px;

    color:white;

    text-decoration:none;

    opacity:1;

    transition:
        opacity .5s ease,
        color .25s ease;

    text-shadow:
        2px 2px 4px rgba(0,0,0,.85);

}

#homeLink.hidden{

    display:block !important;

    opacity:0;

    pointer-events:none;

}

#homeLink:hover{

    color:#67d9ff;

}

/* ==========================================================
   Theme
========================================================== */

:root {

    --background: #0d0d0d;
    --panel: #1a1a1a;
    --panel-dark: #141414;

    --text: #f2f2f2;
    --text-soft: #b6b6b6;

    --cyan: #67d9ff;
    --magenta: #ff47b5;
    --amber: #ffc857;

    --border: #373737;

    --shadow:
        0 12px 30px rgba(0,0,0,.45);

}

/* ==========================================================
   Body
========================================================== */

body {

    background:
        radial-gradient(circle at top,
            rgba(60,90,120,.18) 0%,
            rgba(13,13,13,0) 45%),

        linear-gradient(
            180deg,
            #202020 0%,
            #151515 25%,
            #101010 65%,
            #0b0b0b 100%
        );

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.65;

    min-height: 100vh;

}

/* ==========================================================
   Typography
========================================================== */

h1,
h2,
h3 {

    margin: 0;

    font-weight: 300;

    letter-spacing: 4px;

    text-transform: uppercase;

}

h1 {

    font-size: clamp(3rem, 5vw, 4.8rem);

}

h2 {

    font-size: 2rem;

}

p {

    color: var(--text-soft);

    font-size: 1.15rem;

}

a {

    color: var(--cyan);

    text-decoration: none;

    transition:
        color .25s ease;

}

a:hover {

    color: white;

}

/* ==========================================================
   Layout
========================================================== */

main {

    width: min(1200px, 92%);

    margin: 70px auto 100px;

}

/* ==========================================================
   Header
========================================================== */

header {

	background: #000;

    border-bottom: 2px solid var(--border);

    box-shadow:

        inset 0 1px rgba(255,255,255,.04),

        var(--shadow);

}

.header-container {

    width: min(1400px, 95%);

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 120px;
	
	padding: 0 20px;

}

/* ==========================================================
   Branding
========================================================== */

.site-brand {

    display: flex;

    align-items: center;

    gap: 28px;

}

.site-logo {

    width: 115px;

    height: auto;

    display: block;
	
    transition:
        transform .25s ease;	

}

.site-logo:hover {

    transform: scale(1.03);

}

.site-title {

    font-size: 2.2rem;

    letter-spacing: 8px;

    color: white;

    line-height: 1;

}

.site-tagline {

    margin-top: 10px;

    color: #9d9d9d;

    font-size: .92rem;

    letter-spacing: 2px;

}

/* ==========================================================
   Navigation
========================================================== */

header nav {

    display: flex;

    gap: 30px;

}

header nav a {

    font-size: .95rem;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: #d6d6d6;

    position: relative;

}

header nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: var(--cyan);

    transition: width .25s ease;

}

header nav a:hover::after {

    width: 100%;

}

header nav a:hover {

    color: white;

}

/* ==========================================================
   Hero
========================================================== */

.hero {

    text-align: center;

    padding: 40px 0 15px;

}

.hero h1 {

    margin-bottom: 28px;

    font-size: clamp(2.25rem, 4.2vw, 3.5rem);

    font-weight: 300;

    letter-spacing: 10px;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(255,255,255,.12),
        0 0 22px rgba(103,217,255,.08);

}

.hero-lead {

    width: min(820px, 92%);

    margin: auto;

    font-size: 1.35rem;

    line-height: 1.9;

    color: var(--text-soft);

}

/* ==========================================================
   Section Heading
========================================================== */

.section-heading {

    margin: 55px 0 20px;

    text-align: center;

}

.section-heading h2 {

    display: inline-block;

    position: relative;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 6px;

    color: var(--cyan);

    padding-bottom: 12px;

}

.section-heading h2::after {

    content: "";

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    bottom: 0;

    width: 120px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--magenta)
        );

}

/* ==========================================================
   Featured Experience Card
========================================================== */

.feature-card {

	position: relative;

    background:

        linear-gradient(
            180deg,
            rgba(34,34,34,.98) 0%,
            rgba(24,24,24,.98) 100%
        );

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    padding: 50px;

    box-shadow:

        var(--shadow),

        inset 0 1px rgba(255,255,255,.05);

    transition:

        transform .25s ease,

        border-color .25s ease,

        box-shadow .25s ease;

}

.feature-card + .feature-card {

    margin-top: 32px;

}

.feature-card:hover {

    transform: translateY(-6px);

    border-color: var(--cyan);

    box-shadow:

        0 18px 40px rgba(0,0,0,.55),

        0 0 25px rgba(103,217,255,.18);

}

/* ==========================================================
   Card Layout
========================================================== */

.feature-content {

    display: grid;

    grid-template-columns: 340px 1fr;

    gap: 20px;

    align-items: center;

}

.feature-icon {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

}

.feature-card-title {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    letter-spacing: 4px;
    line-height: 1.25;
    text-align: center;
}

.feature-card-rule {
    width: 100%;
    max-width: 340px;
    margin: 16px 0 22px;
    border: 0;
    border-top: 1px solid var(--border);
}

.feature-logo {

    width: 100%;

    max-width: 290px;

    height: auto;

    display: block;

    filter:
        drop-shadow(0 0 12px rgba(255,255,255,.05));

}

.feature-preview {

    width: 100%;

    max-width: 340px;

    height: auto;

    filter: none;

    border-radius: 8px;

    border: 1px solid var(--border);

    box-shadow:
        0 8px 20px rgba(0,0,0,.35);

}

.nes-controller-card-image {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 18px rgba(0,0,0,.48));
}

/* ==========================================================
   Card Text
========================================================== */

.feature-text {

    padding-left: 16px;

}

.feature-text p {

    margin-bottom: 32px;

    font-size: 1.15rem;

    line-height: 1.9;

}

/* ==========================================================
   Button
========================================================== */

.feature-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 250px;

    padding: 16px 34px;

    border-radius: 8px;

    background:

        linear-gradient(
            180deg,
            #252525,
            #111111
        );

    border: 2px solid var(--magenta);

    color: white;

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    transition:

        transform .25s ease,

        border-color .25s ease,

        box-shadow .25s ease,

        background .25s ease;

}

.feature-button:hover {

    background:

        linear-gradient(
            180deg,
            #303030,
            #171717
        );

    border-color: var(--cyan);

    color: white;

    text-decoration: none;

    transform: translateY(-3px);

    box-shadow:

        0 0 22px rgba(255,71,181,.20),

        0 0 35px rgba(103,217,255,.15);

}

/* ==========================================================
   Fade Animations
========================================================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(18px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

.hero,
.section-heading,
.feature-card {

    animation: fadeUp .8s ease;

}

/* ==========================================================
   Selection
========================================================== */

::selection {

    background: var(--cyan);

    color: black;

}

/* ==========================================================
   Scrollbar
========================================================== */

::-webkit-scrollbar {

    width: 12px;

}

::-webkit-scrollbar-track {

    background: #111;

}

::-webkit-scrollbar-thumb {

    background: #3b3b3b;

    border-radius: 10px;

}

::-webkit-scrollbar-thumb:hover {

    background: #666;

}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:1350px) {

    .header-container {

        flex-direction: column;

        gap: 24px;

        padding: 25px 0;

    }

    header nav {

        gap: 24px;

    }

    .feature-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .feature-text {

        padding-left: 0;

        padding-top: 14px;

    }

    .feature-logo {

        max-width: 260px;

    }

}

@media (max-width:768px) {

    main {

        width: 96%;
        margin: 20px auto 40px;

    }
	
	body {

		background: #000 !important;

	}	

    .header-container {

        padding: 12px 15px;

        gap: 12px;
		
    }

    .site-logo {

        width: 70px;

    }

    .site-title {

        font-size: 1.45rem;

        letter-spacing: 3px;

    }

    .site-tagline {

        display: none;

    }

    header nav {

        gap: 12px;

    }

    header nav a {

        font-size: .80rem;

        letter-spacing: 1px;

    }

    .hero {

        padding: 10px 0 20px;

    }

    .hero h1 {

        font-size: 2rem;

        letter-spacing: 3px;

        margin-bottom: 12px;

    }

    .hero-lead {

        font-size: .95rem;

        line-height: 1.5;

    }

    .section-heading {

        margin: 20px 0 15px;

    }

    .feature-card {

        padding: 18px;

        margin-top: 18px;

    }

    .feature-content {

        gap: 7px;

    }

    .feature-logo {

        max-width: 160px;

    }

    .feature-preview {

        max-width: 220px;

    }

    .feature-text {

        padding-top: 7px;

    }

    .feature-card-title {

        font-size: 1.125rem;

        letter-spacing: 3px;

    }

    .feature-card-rule {

        margin: 10px 0 16px;

    }

    .feature-text p {

        font-size: .95rem;

        line-height: 1.55;

        margin-bottom: 18px;

    }

    .feature-button {

        width: 100%;

        min-width: 0;

        padding: 12px 24px;

        font-size: .90rem;

        letter-spacing: 2px;

    }

    footer {

        margin-top: 50px;

    }

    .footer-content {

        padding: 30px 0;

    }

}

@media (max-width:480px) {

    .hero h1 {

        font-size: 2rem;

    }

    .site-title {

        font-size: 1.45rem;

    }

    header nav a {

        font-size: .85rem;

        letter-spacing: 2px;

    }

    .feature-card {

        padding: 22px;

    }

}

/* ==========================================================
   Utility Classes
========================================================== */

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* ==========================================================
   Accessibility
========================================================== */

a:focus-visible,
button:focus-visible {

    outline: 2px solid var(--cyan);
    outline-offset: 4px;

}

/* ==========================================================
   Image Defaults
========================================================== */

img {

    max-width: 100%;
    height: auto;

}

/* ==========================================================
   Smooth Panel Glow
========================================================== */

.feature-card::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0;

    background:

        linear-gradient(
            135deg,
            rgba(103,217,255,.04),
            rgba(255,71,181,.02)
        );

    transition: opacity .35s ease;

}

.feature-card:hover::before {

    opacity: 1;

}

/* ==========================================================
   Future Experience Cards
========================================================== */

.experience-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(340px, 1fr));

    gap: 30px;

}

.experience-card {

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 28px;

    transition:
        transform .25s ease,
        border-color .25s ease;

}

.experience-card:hover {

    transform: translateY(-4px);

    border-color: var(--cyan);

}

/* ==========================================================
   Footer
========================================================== */

footer {

    margin-top: 110px;

    border-top: 1px solid var(--border);

    background: linear-gradient(
        to bottom,
        #121212,
        #0b0b0b
    );

}

.footer-content {

    width: min(1200px, 92%);

    margin: 0 auto;

    padding: 60px 0;

    text-align: center;

}

.footer-title {

    color: white;

    font-size: 1.2rem;

    letter-spacing: 6px;

    margin-bottom: 10px;

}

.footer-tagline {

    color: #8e8e8e;

    margin-bottom: 28px;

}

.footer-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 18px;

    margin-bottom: 28px;

}

.footer-links span {

    color: #555;

}

.footer-links a {

    color: var(--cyan);

    letter-spacing: 2px;

    text-transform: uppercase;

    font-size: .9rem;

}

.footer-links a:hover {

    color: white;

}

.footer-copyright {

    color: #666;

    font-size: .85rem;

    letter-spacing: 1px;

}

@media (max-width: 768px) {

    .footer-links {

        flex-wrap: wrap;

        gap: 12px;

    }

}

/* ==========================================================
   End of stylesheet
========================================================== */
