* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    font-family: Georgia, "Times New Roman", serif;

    color: #ead6a0;

    background:
        radial-gradient(circle at 72% 14%,
            #d8c88b 0 5%,
            #a99a68 5.2%,
            transparent 12%),

        linear-gradient(
            to bottom,
            #071014 0%,
            #0b1518 38%,
            #090908 70%,
            #050505 100%
        );

    position: relative;
}

/* =========================================
   GIANT GOLD SUN RAYS
   ========================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        repeating-conic-gradient(
            from 195deg at 50% 18%,
            rgba(190,145,54,0.20) 0deg 3deg,
            transparent 3deg 10deg
        );

    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* =========================================
   DECO SKYLINE / FUTURE CITY
   ========================================= */

body::after {
    content: "";

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 55%;

    background:
        linear-gradient(
            to top,
            rgba(181,135,45,0.20),
            transparent 60%
        );

    clip-path: polygon(
        0 100%,
        0 65%,
        4% 65%,
        4% 45%,
        8% 45%,
        8% 58%,
        12% 58%,
        12% 34%,
        16% 34%,
        16% 55%,
        20% 55%,
        20% 30%,
        24% 30%,
        24% 50%,
        28% 50%,
        28% 20%,
        31% 20%,
        31% 55%,
        35% 55%,
        35% 38%,
        39% 38%,
        39% 28%,
        43% 28%,
        43% 60%,
        48% 60%,
        48% 22%,
        51% 22%,
        51% 10%,
        53% 10%,
        53% 48%,
        57% 48%,
        57% 27%,
        61% 27%,
        61% 55%,
        66% 55%,
        66% 18%,
        69% 18%,
        69% 42%,
        73% 42%,
        73% 30%,
        77% 30%,
        77% 62%,
        81% 62%,
        81% 36%,
        85% 36%,
        85% 50%,
        89% 50%,
        89% 25%,
        93% 25%,
        93% 55%,
        97% 55%,
        97% 40%,
        100% 40%,
        100% 100%
    );

    background-color: rgba(187,141,47,0.16);

    pointer-events: none;
    z-index: 0;
}

/* =========================================
   HEADER
   ========================================= */

header {
    position: relative;
    z-index: 3;

    text-align: center;

    padding: 54px 20px 42px;

    background:
        linear-gradient(
            to bottom,
            rgba(6,7,7,0.94),
            rgba(18,15,10,0.92)
        );

    border-top: 4px solid #b68a39;
    border-bottom: 4px solid #b68a39;

    box-shadow:
        0 16px 30px rgba(0,0,0,0.7);
}

header::before {
    content: "✦   ◇   ✦";

    display: block;

    color: #c79d4c;

    letter-spacing: 20px;

    margin-bottom: 14px;

    font-size: 20px;
}

header h1 {
    margin: 0;

    color: #e5ca84;

    text-transform: uppercase;

    letter-spacing: 12px;

    font-size: clamp(2.2rem, 7vw, 5rem);

    font-weight: normal;

    text-shadow:
        0 2px #5a4018,
        0 0 18px rgba(204,160,69,0.25);
}

header::after {
    content: "MUSIC  •  MACHINES  •  A BRIGHTER TOMORROW";

    display: block;

    margin-top: 16px;

    color: #c6a66a;

    font-size: 0.76rem;

    letter-spacing: 5px;
}

/* =========================================
   MAIN CONTENT
   ========================================= */

.container {
    position: relative;
    z-index: 3;

    width: min(1100px, 88%);

    margin: 52px auto 80px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 28px;
}

/* =========================================
   CARDS
   ========================================= */

.card {
    position: relative;

    min-height: 310px;

    padding: 34px 28px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(15,14,11,0.96),
            rgba(4,5,5,0.98)
        );

    border: 2px solid #b88b39;

    outline: 1px solid rgba(220,176,83,0.45);
    outline-offset: -8px;

    box-shadow:
        0 20px 35px rgba(0,0,0,0.75);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #e3bd68;
}

/* corner decorations */

.card::before,
.card::after {
    content: "";

    position: absolute;

    width: 44px;
    height: 44px;

    border-color: #c79843;
}

.card::before {
    left: 10px;
    top: 10px;

    border-left: 2px solid;
    border-top: 2px solid;
}

.card::after {
    right: 10px;
    bottom: 10px;

    border-right: 2px solid;
    border-bottom: 2px solid;
}

/* =========================================
   CARD HEADINGS
   ========================================= */

.card h2 {
    color: #dfbd72;

    margin-top: 6px;

    font-weight: normal;

    text-transform: uppercase;

    letter-spacing: 4px;

    font-size: 1.45rem;

    padding-bottom: 12px;

    border-bottom: 1px solid #765829;
}

.subtitle {
    color: #ad8745 !important;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-size: 0.72rem;
}

.card p {
    color: #d8c9a5;

    line-height: 1.6;
}

/* =========================================
   VINYL RECORD
   ========================================= */

.record {
    width: 150px;
    height: 150px;

    margin: 0 auto 24px;

    border-radius: 50%;

    position: relative;

    background:
        radial-gradient(
            circle,
            #dabf70 0 5px,
            #6c1f1b 6px 18px,
            #b47730 19px 22px,
            #0b0b0b 23px 27px,
            transparent 28px
        ),
        repeating-radial-gradient(
            circle,
            #040404 0px,
            #040404 3px,
            #191919 4px,
            #0c0c0c 5px
        );

    border: 1px solid #333;

    box-shadow:
        0 10px 22px rgba(0,0,0,0.8);

    animation: recordSpin 13s linear infinite;
}

@keyframes recordSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   BUTTON
   ========================================= */

.deco-button,
button {
    display: inline-block;

    margin-top: 12px;

    padding: 13px 25px;

    color: #edd18c;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 0.8rem;

    background:
        linear-gradient(
            to bottom,
            #4c1d18,
            #23100e
        );

    border: 1px solid #c79742;

    outline: 1px solid #5f451e;
    outline-offset: 4px;

    cursor: pointer;

    transition: 0.25s;
}

.deco-button:hover,
button:hover {
    background:
        linear-gradient(
            to bottom,
            #d3a351,
            #8f5723
        );

    color: #110c07;

    transform: translateY(-2px);
}

/* =========================================
   LARGE DECO WOMAN-LIKE SIDE FIGURES
   CSS SILHOUETTES
   ========================================= */

.container::before,
.container::after {
    content: "";

    position: absolute;

    top: -50px;

    width: 170px;
    height: 520px;

    opacity: 0.24;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 50% 10%,
            #cfaa62 0 17%,
            transparent 18%
        ),

        radial-gradient(
            ellipse at 50% 23%,
            #9b7435 0 24%,
            transparent 25%
        ),

        linear-gradient(
            to bottom,
            transparent 0 28%,
            #b78b43 28% 100%
        );

    clip-path: polygon(
        35% 0,
        65% 0,
        72% 8%,
        67% 18%,
        80% 30%,
        95% 55%,
        75% 100%,
        25% 100%,
        5% 55%,
        20% 30%,
        33% 18%,
        28% 8%
    );

    z-index: -1;
}

.container::before {
    left: -180px;
}

.container::after {
    right: -180px;
    transform: scaleX(-1);
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .container::before,
    .container::after {
        display: none;
    }
}

@media (max-width: 600px) {

    header h1 {
        letter-spacing: 5px;
        font-size: 2.2rem;
    }

    header::after {
        letter-spacing: 2px;
        font-size: 0.65rem;
    }

    .container {
        width: 92%;
        margin-top: 35px;
    }

    .card {
        padding: 28px 22px;
    }

    .record {
        width: 125px;
        height: 125px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .record {
        animation: none;
    }
}