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

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #000000;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    text-transform: lowercase;
}

.preserve-case {
    text-transform: none;
}

.bold {
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: #00ff00;
}

a.underlined-link {
    text-decoration: underline;
}

button, input, select, textarea {
    font-family: 'Courier New', Courier, monospace;
    text-transform: lowercase;
    font-size: 13px;
}

img {
    max-width: 100%;
    height: auto;
}

/* animations */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 800ms ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 800ms ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.3s ease-in-out;
}

/* screens */
.screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* landing */
#landing {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15vh;
}

.landing-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

#logo {
    max-width: 350px;
    width: 70%;
    opacity: 0;
    animation: fadeInFloat 1500ms ease-in-out forwards, cloudyFloat 6s ease-in-out infinite 1500ms;
    position: relative;
}

@keyframes fadeInFloat {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cloudyFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(8px, -12px);
    }
    50% {
        transform: translate(-6px, -8px);
    }
    75% {
        transform: translate(10px, -15px);
    }
}

.forms-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    opacity: 0;
    animation: fadeIn 1500ms ease-in-out 500ms forwards;
}

.form-section {
    width: 100%;
}

.password-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.mailing-section {
    max-width: 500px;
}

.form-label {
    margin-bottom: 12px;
    font-size: 11px;
    opacity: 0.7;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-horizontal {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.mailing-section input[type="email"] {
    background-color: #000000;
    border: 0.5px solid #00ff00;
    color: #00ff00;
    padding: 8px 12px;
    outline: none;
    flex: 1;
}

.mailing-section button {
    background-color: #000000;
    border: 0.5px solid #00ff00;
    color: #00ff00;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.mailing-section button:hover {
    background-color: #00ff00;
    color: #000000;
}

.password-section .form-horizontal {
    gap: 15px;
    justify-content: center;
}

.password-section .form-horizontal::before {
    content: 'password:';
    color: #00ff00;
    font-size: 18px;
}

.password-section input[type="password"] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #00ff00;
    color: #00ff00;
    padding: 6px 12px;
    outline: none;
    width: 100px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    text-align: center;
}

.password-section button {
    background-color: transparent;
    border: none;
    color: #00ff00;
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.3s;
    font-size: 16px;
}

.password-section button:hover {
    opacity: 0.7;
}

.password-section .error-message {
    text-align: center;
}

input[type="email"],
textarea,
select {
    background-color: #000000;
    border: 0.5px solid #00ff00;
    color: #00ff00;
    padding: 8px 12px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #00cc00;
    opacity: 0.7;
}

#contact-form button,
#distribution-form button,
#booking-form button {
    background-color: #000000;
    border: 0.5px solid #00ff00;
    color: #00ff00;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#contact-form button:hover,
#distribution-form button:hover,
#booking-form button:hover {
    background-color: #00ff00;
    color: #000000;
}

.success-message {
    color: #00ff00;
    margin-top: 8px;
    font-size: 12px;
}

.error-message {
    color: #00ff00;
    margin-top: 8px;
    font-size: 12px;
}

/* main */
#main {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    min-height: 100vh;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #000000;
    border-bottom: 0.5px solid #00ff00;
    z-index: 100;
}

#main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: #00ff00;
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.active {
    text-decoration: underline;
}

.discogs-link {
    display: block;
    transition: opacity 0.3s;
}

.discogs-link:hover {
    opacity: 0.7;
}

.ascii-record {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 10px;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
}

#content-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 30px 40px 30px;
}

.content-section {
    min-height: 400px;
}

/* get updates */
#get-updates {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#get-updates .mailing-section {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#get-updates .mailing-section .form-label {
    text-align: center;
}

#get-updates .mailing-section .form-horizontal {
    justify-content: center;
}

.email-explanation {
    max-width: 600px;
    margin-top: 10px;
}

.email-explanation p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* home */
#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ascii-art-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
}

#home .mailing-section {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#home .mailing-section .form-label {
    text-align: center;
}

#home .mailing-section .form-horizontal {
    justify-content: center;
}

.ascii-art {
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font-size: 12px;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
}

/* listen */
.listen-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.album-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vinyl-image {
    max-width: 300px;
    width: auto;
    height: auto;
    display: block;
    border: 0.5px solid #00ff00;
}

.album-description p {
    margin-bottom: 10px;
}

.audio-players {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.audio-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.track-name {
    font-size: 13px;
    margin-bottom: 0;
}

.audio-element {
    display: none;
}

.custom-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 0.5px solid #00ff00;
    background-color: #000000;
}

.play-btn {
    background-color: transparent;
    border: none;
    color: #00ff00;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.3s;
    font-family: monospace;
    min-width: 20px;
}

.play-btn:hover {
    opacity: 0.7;
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #001100;
    border: 0.5px solid #00ff00;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #00ff00;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    gap: 8px;
    font-size: 11px;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    min-width: 90px;
    justify-content: space-between;
}

/* buy */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.buy-item {
    border: 0.5px solid #00ff00;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1;
}

.buy-item:hover {
    opacity: 0.7;
}

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

.item-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001100;
    font-size: 11px;
    padding: 20px;
}

.item-name {
    font-size: 13px;
    padding: 10px;
    border-top: 0.5px solid #00ff00;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #00ff00;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    display: flex;
    gap: 40px;
    border: 0.5px solid #00ff00;
    padding: 30px;
    background-color: #000000;
}

.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0.5px solid #00ff00;
    display: block;
}

.modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: normal;
    margin: 0;
}

.modal-description {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.modal-price {
    font-size: 16px;
    margin: 0;
}

.buy-button {
    background-color: #000000;
    border: 0.5px solid #00ff00;
    color: #00ff00;
    padding: 12px 24px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
}

.buy-button:hover {
    background-color: #00ff00;
    color: #000000;
}

/* tools */
.tools-feed {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tool-post {
    padding-bottom: 30px;
    border-bottom: 0.5px solid #00ff00;
}

.tool-post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: normal;
}

.post-date {
    color: #00cc00;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content {
    line-height: 1.8;
}

/* contact */
.contact-content {
    max-width: 600px;
}

#contact-form {
    margin-bottom: 40px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff00' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.imprint {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 0.5px solid #00ff00;
}

.imprint p {
    margin-bottom: 8px;
}

.tour-dates {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 0.5px solid #00ff00;
}

.tour-list {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 13px;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
    text-transform: lowercase;
}

/* responsive */
@media (min-width: 768px) {
    body {
        font-size: 14px;
    }

    button, input, select, textarea {
        font-size: 14px;
    }

    .album-info {
        flex-direction: row;
        gap: 40px;
    }

    .vinyl-image {
        max-width: 250px;
    }

    .buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #main-header {
        padding: 15px 20px;
    }

    #main-nav {
        gap: 12px;
    }

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

    .ascii-record {
        font-size: 8px;
    }

    #content-container {
        padding: 80px 20px 30px 20px;
    }

    .buy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .modal-body {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }

    .modal-close {
        top: -35px;
        font-size: 35px;
    }

    .form-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ascii-art {
        font-size: 6px;
    }

    .custom-player {
        gap: 8px;
        padding: 6px;
    }

    .time-display {
        font-size: 10px;
        min-width: 80px;
    }

    .play-btn {
        font-size: 12px;
    }

    .password-section .form-horizontal::before {
        font-size: 16px;
    }

    .password-section input[type="password"] {
        font-size: 16px;
        width: 80px;
    }

    .password-section button {
        font-size: 14px;
    }
}
