@font-face {
    font-family: SignwoodItalic;
    src: url(../fonts/SignwoodItalic-2v1Jl.ttf);
}

@font-face {
    font-family: Retro;
    src: url(../fonts/EightBitDragon-anqx.ttf);
}

@font-face {
    font-family: Minecraftia;
    src: url(../fonts/Minecraftia-Regular.ttf);
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #131515;
    color: #fff;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Signika', sans-serif;
    color: #b3fff0;
}

h1 {
    font-family: SignwoodItalic;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 10px;
}

h2 {
    font-size: 2rem;
    margin-top: -5px;
    margin-bottom: 5px;
    letter-spacing: 5px;
    font-family: SignwoodItalic;
    color: #98d5c9;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    color: #fff;
}

a {
    color: #19c9ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.tagline {
    font-size: 1.25rem;
    color: #5ebca9;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}



.splashdiv {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 55%;
    left: 30%;
    transform: translateX(-50%) rotate(-15deg);
}


.splash {
    color: #ffe600;
    text-shadow: 4px 4px 0px #383300;
    animation: splashPulse 0.5s infinite ease-in-out;
    font-size: clamp(0.2rem, 3vw, 1.5rem);
    white-space: nowrap;
    font-family: minecraftia;
    text-align: center;
    text-justify:auto;
}


/* Main Content */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.top-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.title-section, .about-section, .status-section, .music-section, .sidebar {
    background: rgba(44, 72, 90, 0.348);
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #19c9ff;
    box-shadow: 0 0 10px rgba(25, 201, 255, 0.5), 0 0 20px rgba(25, 201, 255, 0.3);
}

.title-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.about-section {
    flex: 2;
}

.status-section {
    flex: 1;
}

.music-section {
    flex: 100%;
}

.sidebar {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

/* About Section */
.about-grid {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.key-info {
    flex: 1;
}

.key-info ul {
    list-style: none;
    padding: 0;
}

.key-info li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.about-card {
    width: auto;
    height: 150px;
    border: none;
    border-radius: 10px;
}

/* Status Section */
.status-content {
    display: flex;
    align-items: flex-start;
}

.status-text {
    font-size: 3.5rem;
    font-family: Retro;
    color: #000000;
}

.status-icon {
    width: 120px;
    height: auto;
    align-self: flex-end;
    margin-left: 25px;
    margin-top: -50px;
}

/* Music Section */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.album-card {
    text-align: center;
}

.album-cover {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.album-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bolder;
}

.album-artist {
    font-size: 0.875rem;
    color: #00ffd9a5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #19c9ff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.link-item:hover {
    transform: scale(1.1);
    color: #b3fff0;
}

.link-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    object-fit: cover;
}

.link-text {
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Yeah! Section */
.yeah-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column-reverse;
}

.yeah-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 180px;
    border-radius: 10px;
    padding: 10px 100px;
    cursor: pointer;
}

.yeah-button:hover {
    background-color: rgb(222, 222, 222);
}

.yeah-icon {
    width: 50px;
    height: 50px;
}

.yeah-text {
    font-size: 40px;
    margin: 0;
    padding: 0;
    margin-bottom: -10px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 550;
}

.yeah-count {
    font-size: 75px;
    margin: 0;
    margin-bottom: -5px;
    margin-left: -10px;
    padding: 0;
    font-family: Retro;
    color: white;
    font-weight: 500;
    align-self: center;
}

/* Media Queries */
@media screen and (max-width: 968px) {
    .top-grid {
        flex-direction: column;
    }
    .splashdiv {
        left: 300px;
        top: 50px;
    }
}

@media screen and (max-width: 480px) {
    .album-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .album-title {
        font-size: 0.875rem;
    }

    .album-artist {
        font-size: 0.75rem;
    }

    html {
        font-size: 14px;
    }

    .container {
        width: 100%;
        padding: 0 0.5rem;
    }
    .splashdiv {
        left: 230px;
        top: 45px;
    }
}

/* Anon Message */
#messageInput {
    resize: none;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #19c9ff;
    background: rgb(236, 248, 255);
    outline: none;
    font-family: 'Signika', sans-serif;
    letter-spacing: 2px;
    font-size: 20px;
    margin: 10px;
}

.anonmsgdiv {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anonmsgbtn {
    width: auto;
    font-family: SignwoodItalic;
    font-size: large;
    letter-spacing: 5px;
    padding: 15px;
    margin: 10px;
    color: #19c9ff;
    border-radius: 10px;
    background: rgb(44, 72, 90);
    cursor: pointer;
    border: none;
    border: 2px solid #00000000;
}

.anonmsgbtn:hover {
    border: 2px solid #19c9ff;
    box-shadow: 0 0 10px rgba(25, 201, 255, 0.5), 0 0 20px rgba(25, 201, 255, 0.3);
}

#api-key-input {
    resize: none;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #19c9ff;
    background: rgb(236, 248, 255);
    outline: none;
    font-family: 'Signika', sans-serif;
    letter-spacing: 2px;
    font-size: 20px;
    margin: 10px;
}
.message-card {
    width: auto;
    min-height: 150px;
    height: auto;
    border: none;
    border-radius: 10px;
}

/* message popup */
        #modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: none;
        }

        #message-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 500px;
            width: 90%;
            z-index: 1001;
            display: none;
            font-family: 'Signika', sans-serif;
            color: #fff;
            background: rgb(44, 72, 90);
            border-radius: 10px;
            padding: 1.5rem;
            border: 2px solid #19c9ff;
            box-shadow: 0 0 10px rgba(25, 201, 255, 0.5), 0 0 20px rgba(25, 201, 255, 0.3);
        }

        #message-modal h3 {
        font-size: 2rem;
        margin-top: -5px;
        margin-bottom: 5px;
        letter-spacing: 5px;
        font-family: SignwoodItalic;
        color: #98d5c9;
        }

        #message-modal .timestamp {
            color: #5ebca9;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        #message-modal .message-content {
            font-size: 1rem;
            overflow-wrap: break-word;
            border-radius: 5px;
        }