/* =========================
   SKAGG <3 Mocrast
   ========================= */


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background: #f4f4f1;

    color: #111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

}


/* =========================
   dont inspect my code you perv
   ========================= */


.topbar {

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    padding: 0 25px;

    border-bottom: 1px solid #111;

    background: #f4f4f1;

}


.logo {

    font-size: 20px;

    font-weight: bold;

    letter-spacing: 3px;

}


.top-status {

    margin-left: 30px;

    font-family: monospace;

    font-size: 11px;

}


.top-status::first-letter {

    color: #00a8bd;

}


nav {

    margin-left: auto;

}


nav a {

    color: #111;

    text-decoration: none;

    font-family: monospace;

    font-size: 12px;

    margin-left: 25px;

}


nav a:hover {

    text-decoration: underline;

}


/* =========================
   MAIN TWO-COLUMN LAYOUT
   ========================= */


.layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    gap: 0;

    max-width: 1400px;

    margin: 0 auto;

}


/* =========================
   LEFT CONTENT
   ========================= */


.main-content {

    padding: 50px;

    min-width: 0;

}


/* =========================
   INTRO
   ========================= */


.intro {

    min-height: 400px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-bottom: 1px solid #111;

}


.small-text {

    font-family: monospace;

    font-size: 11px;

    margin-bottom: 25px;

}


.intro h1 {

    margin: 0;

    font-size: clamp(70px, 10vw, 150px);

    line-height: 0.8;

    letter-spacing: -8px;

    font-weight: 900;

}


.intro-subtitle {

    font-family: monospace;

    font-size: 12px;

    margin-top: 30px;

}


.intro-text {

    max-width: 500px;

    font-size: 14px;

    line-height: 1.6;

    margin-top: 40px;
	font-family: times new roman;

}


/* =========================
   CONTENT SECTIONS
   ========================= */


.content-section {

    padding: 70px 0;

    border-bottom: 1px solid #111;

}


.section-heading {

    display: flex;

    gap: 15px;

    align-items: center;

    font-family: monospace;

    font-size: 12px;

    margin-bottom: 35px;

}


.section-heading span {

    background: #111;

    color: #f4f4f1;

    padding: 5px 8px;

}


/* =========================
   ARTWORK
   ========================= */


/* =========================
   MUSIC
   ========================= */
/* =========================
   MUSIC PAGE
   ========================= */

.music-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 30px;
}


.music-page-heading {
    border-bottom: 1px solid #111;
    padding-bottom: 25px;
    margin-bottom: 60px;
}


.music-page-heading span {
    font-family: monospace;
    font-size: 10px;
}


.music-page-heading h1 {
    margin: 15px 0 5px 0;
    font-size: 48px;
}


.music-page-heading p {
    margin: 0;
    font-family: monospace;
    font-size: 10px;
}


/* RELEASE */

.music-release {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 45px;

    padding-bottom: 70px;
    margin-bottom: 70px;

    border-bottom: 1px dashed #111;

    scroll-margin-top: 30px;
}


.music-release-cover img {
    width: 100%;
    display: block;
    border: 1px solid #111;
}


.music-release-info {
    padding-top: 5px;
}


.release-number {
    display: inline-block;

    background: #111;
    color: #fff;

    padding: 4px 6px;

    font-family: monospace;
    font-size: 9px;
}


.music-release-info h2 {
    font-size: 32px;
    line-height: 1.1;

    margin: 15px 0 5px 0;
}


.release-meta {
    font-family: monospace;
    font-size: 10px;

    margin-bottom: 30px;
}


/* TRACKS */

.track-list {
    border-top: 1px solid #111;
}


.track {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 10px;

    padding: 13px 8px;

    border-bottom: 1px solid #111;

    color: #111;
    text-decoration: none;

    font-family: monospace;
    font-size: 11px;
}


.track:hover {
    background: #111;
    color: #fff;
}


.track span:first-child {
    color: #777;
}
.track span:last-child a {
    color: inherit;
    text-decoration: none;
    margin-left: 12px;
}

.track span:last-child a:hover {
    color: inherit;
    text-decoration: none;
}


.track:hover span:first-child {
    color: #fff;
}


.track span:last-child {
    font-size: 9px;
}


/* BACK */

.music-back {
    display: inline-block;

    border: 1px solid #111;

    padding: 8px 12px;

    color: #111;
    text-decoration: none;

    font-family: monospace;
    font-size: 10px;
}


.music-back:hover {
    background: #111;
    color: #fff;
}


/* =========================
   RELEASE GRID
   ========================= */

.release-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


.release-card {
    display: block;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: 0.15s;
}


.release-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 0 #111;
}


.release-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}


.release-info {
    padding: 13px;
    border-top: 1px solid #111;
}


.release-info h3 {
    margin: 0 0 7px 0;
    font-size: 12px;
    line-height: 1.3;
}


.release-info p {
    margin: 0;
    font-family: monospace;
    font-size: 9px;
}


/* =========================
   RELEASE DETAILS
   ========================= */

.release-detail {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px dashed #111;
    scroll-margin-top: 30px;
}


.release-detail-header {
    margin-bottom: 25px;
}


.release-detail-header span {
    font-family: monospace;
    font-size: 9px;
    background: #111;
    color: #fff;
    padding: 4px 6px;
}


.release-detail-header h2 {
    margin: 15px 0 5px 0;
    font-size: 28px;
    line-height: 1.1;
}


.release-detail-header p {
    margin: 0;
    font-family: monospace;
    font-size: 10px;
}


/* =========================
   TRACK LIST
   ========================= */

.track-list {
    border-top: 1px solid #111;
}


.track {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 10px;
    align-items: center;

    padding: 13px 10px;

    border-bottom: 1px solid #111;

    color: #111;
    text-decoration: none;

    font-family: monospace;
    font-size: 11px;
}


.track:hover {
    background: #111;
    color: #fff;
}


.track span:first-child {
    color: #777;
}


.track:hover span:first-child {
    color: #fff;
}


.track span:last-child {
    font-size: 9px;
}


/* =========================
   BACK BUTTON
   ========================= */

.back-link {
    display: inline-block;

    margin-top: 20px;

    color: #111;
    text-decoration: none;

    font-family: monospace;
    font-size: 10px;

    border: 1px solid #111;
    padding: 7px 10px;
}


.back-link:hover {
    background: #111;
    color: #fff;

}


/* =========================
   ABOUT
   ========================= */


.about {

    max-width: 650px;

    font-size: 18px;

    line-height: 1.7;

}


.about span {

    text-decoration: underline;

}


/* =========================
   SHOP
   ========================= */


.shop-box {

    border: 1px solid #111;

    padding: 40px;

    background: #fff;

}


.shop-box h2 {

    margin-top: 0;

    font-size: 25px;

}


.shop-box p {

    line-height: 1.6;

}


.simple-button {

    display: inline-block;

    margin-top: 15px;

    padding: 12px 20px;

    border: 1px solid #111;

    color: #111;

    text-decoration: none;

    font-family: monospace;

    font-size: 12px;

}


.simple-button:hover {

    background: #111;

    color: #fff;

}


/* =========================
   CONTACT
   ========================= */


/* =========================
   CONTACT
   ========================= */

#contact a {
    display: inline-block;
    color: #111;
    background: #e9e9e4;
    border: 1px solid #111;
    padding: 5px 9px;
    font-family: monospace;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 3px 3px 0 #111;
}

#contact a:hover {
    background: #111;
    color: #fff;
    box-shadow: 1px 1px 0 #111;
    transform: translate(2px, 2px);

}


/* =========================
   RIGHT SIDE GAME AREA
   ========================= */


.game-area {

    border-left: 1px solid #111;

    min-height: calc(100vh - 55px);

    padding: 25px;

    position: sticky;

    top: 0;

    height: 100vh;

    overflow-y: auto;

}


/* =========================
   GAME WINDOW
   ========================= */


.game-window {

    border: 1px solid #111;

    background: #fff;

}


.game-window-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 8px 10px;

    background: #111;

    color: #fff;

    font-family: monospace;

    font-size: 10px;

}


/* =========================
   GAME
   ========================= */


.game {

    padding: 30px 20px 35px 20px;

    text-align: center;

}


.game-label {

    font-family: monospace;

    font-size: 10px;

    margin-bottom: 25px;

}


.game h2 {

    font-family: monospace;

    font-size: 25px;

    margin: 0 0 25px 0;

}


.game p {

    font-family: monospace;

    font-size: 14px;

}


.game input {

    display: block;

    width: 100%;

    height: 40px;

    margin-top: 25px;

    padding: 8px;

    border: 1px solid #111;

    background: #f4f4f1;

    color: #111;

    font-family: monospace;

    font-size: 14px;

    outline: none;

}


.game input:focus {

    background: #fff;

    border: 2px solid #111;

}


.game button {

    width: 100%;

    margin-top: 10px;

    padding: 12px;

    border: 1px solid #111;

    background: #111;

    color: #fff;

    font-family: monospace;

    font-size: 12px;

    cursor: pointer;

}


.game button:hover {

    background: #00a8bd;

    border-color: #00a8bd;

}


#response {

    min-height: 45px;

    margin-top: 25px;

    font-family: monospace;

    font-size: 20px;

    font-weight: bold;

}


.game-note {

    margin-top: 30px;

    font-family: monospace;

    font-size: 10px;

    line-height: 1.7;

}


/* =========================
   FOOTER
   ========================= */


footer {

    display: flex;

    justify-content: space-between;

    padding: 25px;

    border-top: 1px solid #111;

    font-family: monospace;

    font-size: 10px;

}


/* =========================
   MOBILE
   ========================= */


@media (max-width: 900px) {


    .topbar {

        flex-wrap: wrap;

        padding: 15px 20px;

        gap: 12px;

    }


    .top-status {

        margin-left: 10px;

    }


    nav {

        width: 100%;

        margin-left: 0;

        padding-top: 10px;

        border-top: 1px dotted #111;

    }


    nav a {

        margin-left: 0;

        margin-right: 18px;

    }


    .layout {

        grid-template-columns: 1fr;

    }


    .main-content {

        padding: 30px 20px;

    }


    .game-area {

        position: relative;

        top: auto;

        height: auto;

        min-height: 0;

        border-left: none;

        border-top: 1px solid #111;

        padding: 30px 20px;

    }


    .intro {

        min-height: 350px;

    }


    .intro h1 {

        letter-spacing: -4px;

    }


    .art-grid {

        grid-template-columns: 1fr;

    }


    footer {

        flex-direction: column;

        gap: 10px;

    }

}

/* =========================
   DARK MODE
   ========================= */

body.dark-mode {
    background: #111;
    color: #eee;
}

body.dark-mode .topbar {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode a {
    color: #eee;
}

body.dark-mode .content-section,
body.dark-mode .music-release,
body.dark-mode .release-card {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .release-card:hover {
    box-shadow: 4px 4px 0 #eee;
}

body.dark-mode .music-release {
    border-color: #eee;
}

body.dark-mode .simple-page-heading {
    border-color: #eee;
}

body.dark-mode .page-back,
body.dark-mode .music-back {
    border-color: #eee;
    color: #eee;
}

body.dark-mode .page-back:hover,
body.dark-mode .music-back:hover {
    background: #eee;
    color: #111;
}

body.dark-mode #theme-toggle {
    background: #111;
    color: #eee;
    border-color: #eee;
}
/* DARK MODE - FIX WHITE BOXES */

body.dark-mode .game-window {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .game input {
    background: #222;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .game input:focus {
    background: #222;
    border-color: #eee;
}

body.dark-mode .shop-box {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .simple-button {
    background: #111;
    color: #eee;
    border-color: #eee;
    box-shadow: 3px 3px 0 #eee;
}

body.dark-mode .simple-button:hover {
    background: #eee;
    color: #111;
}

body.dark-mode #contact a {
    background: #222;
    color: #eee;
    border-color: #eee;
    box-shadow: 3px 3px 0 #eee;
}

body.dark-mode #contact a:hover {
    background: #eee;
    color: #111;
    box-shadow: 1px 1px 0 #eee;
}
/* MUSIC PAGE DARK MODE */

body.dark-mode .music-release {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .music-release h2,
body.dark-mode .music-release h3,
body.dark-mode .music-release p,
body.dark-mode .music-release li {
    color: #eee;
}

body.dark-mode .music-back {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .music-back:hover {
    background: #eee;
    color: #111;
}
/* =========================
   MUSIC PAGE - DARK MODE FIX
   ========================= */

body.dark-mode .music-page {
    color: #eee;
}

body.dark-mode .music-page-heading {
    border-color: #eee;
}

body.dark-mode .music-page-heading span,
body.dark-mode .music-page-heading h1,
body.dark-mode .music-page-heading p {
    color: #eee;
}

body.dark-mode .music-release {
    color: #eee;
    border-color: #eee;
}

body.dark-mode .music-release-cover img {
    border-color: #eee;
}

body.dark-mode .music-release-info h2,
body.dark-mode .music-release-info p,
body.dark-mode .release-number {
    color: #eee;
}

body.dark-mode .release-number {
    background: #eee;
    color: #111;
}

body.dark-mode .track-list {
    border-color: #eee;
}

body.dark-mode .track {
    color: #eee;
    border-color: #eee;
}

body.dark-mode .track span:first-child {
    color: #999;
}

body.dark-mode .track:hover {
    background: #eee;
    color: #111;
}

body.dark-mode .track:hover span:first-child {
    color: #111;
}

body.dark-mode .music-back {
    background: #111;
    color: #eee;
    border-color: #eee;
}

body.dark-mode .music-back:hover {
    background: #eee;
    color: #111;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    max-width: 400px;
}

.about-text p {
    margin: 0;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.7;
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}
#skagg-title {
    cursor: pointer;
}
/* PAGE DISSOLVE TRANSITION */

body {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

body.page-dissolving {
    opacity: 0;
    filter: blur(8px);
}
#draw-button {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    padding: 2px 6px;
    margin-left: 8px;
    font-family: monospace;
    font-size: 11px;
    cursor: pointer;
}

#draw-button:hover {
    background: #111;
    color: #fff;
}
#drawing-canvas {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    cursor: crosshair;
}
.topbar {
    position: relative;
    z-index: 10000;
}
#theme-toggle {
    padding: 2px 5px;
    font-size: 12px;
    border: 1px solid #111;
    background: #f4f4f1;
    color: #111;
    box-shadow: 3px 3px 0 #111;
    cursor: pointer;
	  margin-left: 8px;
}/* =========================
   SKAGG MUSIC - MOBILE
   ========================= */

/* =========================
   SKAGG MUSIC - MOBILE
   ========================= */

@media (max-width: 900px) {

    .music-page {
        padding: 40px 20px 60px;
    }

    /* MUSIC HEADER */

    .music-page-heading {
        margin-bottom: 45px;
        padding-bottom: 18px;
    }

    .music-page-heading span {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .music-page-heading h1 {
        font-size: 40px;
        line-height: 1;
        margin: 12px 0 8px;
        letter-spacing: -1px;
    }

    .music-page-heading p {
        font-size: 9px;
    }


    /* RELEASE */

    .music-release {
        display: block;
        padding-bottom: 50px;
        margin-bottom: 50px;
        border-bottom: 1px dashed #111;
    }


    /* COVER */

    .music-release-cover {
        width: 75%;
        max-width: 280px;
        margin: 0 auto 25px;
    }

    .music-release-cover img {
        width: 100%;
        display: block;
    }


    /* RELEASE INFO */

    .music-release-info {
        width: 100%;
        padding: 0;
    }

    .release-number {
        padding: 4px 6px;
        font-size: 8px;
    }

    .music-release-info h2 {
        font-size: 27px;
        line-height: 1.05;
        letter-spacing: -0.5px;
        margin: 12px 0 7px;
    }

    .release-meta {
        font-size: 9px;
        margin-bottom: 22px;
        letter-spacing: 0.3px;
    }


    /* TRACK LIST */

    .track-list {
        width: 100%;
    }

    .track {
        display: grid;
        grid-template-columns: 25px 1fr;
        gap: 8px;
        padding: 14px 0;
        align-items: start;
    }


    /* TRACK NUMBER */

    .track > span:first-child {
        font-family: monospace;
        font-size: 9px;
        padding-top: 2px;
    }


    /* SONG TITLE */

    .track > span:nth-child(2) {
        font-size: 13px;
        line-height: 1.3;
        min-width: 0;
    }


    /* SPOTIFY / APPLE MUSIC */

    .track > span:last-child {
        grid-column: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 7px;
    }

    .track > span:last-child a {
        display: inline-block;
        font-family: monospace;
        font-size: 8px;
        text-decoration: none;
        padding: 4px 6px;
        border: 1px solid #111;
        margin: 0;
        white-space: nowrap;
    }


    /* PREVENT LONG TITLES FROM BREAKING LAYOUT */

    .music-release-info h2,
    .track > span:nth-child(2) {
        overflow-wrap: anywhere;
    }
	
		@media (max-width: 900px) {
    
    .intro-text {
        max-width: 320px;
        line-height: 1.8;
        text-align: left;
    }