/* =========================================================
   GLOBAL BODY + BACKGROUND
   ========================================================= */
body {
    margin: 0;
    color: #d4c7ff;
    font-family: "Courier New", monospace;

    background: url("https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExOWxzbWN4djB3a3l5aXVuNXo3dHcydnJycHo1eGh6anF2MHl6N2VqYSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/FlodpfQUBSp20/giphy.gif");
    background-size: cover;
    background-repeat: repeat;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 2px,
        transparent 2px,
        transparent 6px
    );
    pointer-events: none;
}

/* =========================================================
   UNIVERSAL GRADIENT BORDER BOX
   ========================================================= */
.gradient-border {
    border: 2px solid transparent;
    background-image:
        linear-gradient(var(--bg, rgba(20,20,30,0.7)), var(--bg, rgba(20,20,30,0.7))),
        linear-gradient(to bottom, violet, purple);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 10px;
}

/* =========================================================
   LOGO
   ========================================================= */
.logo {
    font-size: 40px;
    padding: 20px;
    color: #7d4dff;
    text-shadow: 0 0 10px #7d4dff;
}

/* =========================================================
   LOGIN BOX
   ========================================================= */
.login-box {
    position: absolute;
    top: 20px;
    right: 40px;
    padding: 15px;
    background: rgba(20, 20, 30, 0.7);
    --bg: rgba(20,20,30,0.7);
}
.login-box label { display: block; margin-top: 5px; }
.login-box input {
    width: 150px;
    background: #08080f;
    border: 1px solid transparent;
    background-image: linear-gradient(#08080f, #08080f), linear-gradient(to bottom, violet, purple);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #d4c7ff;
    margin-bottom: 5px;
}
.login-box button {
    width: 100%;
    background: #7d4dff;
    border: none;
    padding: 6px;
    color: white;
    cursor: pointer;
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */
nav {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    background: rgba(20, 20, 40, 0.6);
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(rgba(20,20,40,0.6), rgba(20,20,40,0.6)),
                      linear-gradient(to bottom, violet, purple);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

nav a {
    margin: 0 20px;
    color: #cdbdff;
    text-decoration: none;
    font-size: 18px;
    text-shadow: 0 0 6px #7d4dff;
}

/* =========================================================
   SUBTEXT
   ========================================================= */
.subtext {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.6;
}

/* =========================================================
   MAIN SECTIONS WRAPPER
   ========================================================= */
.main-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */
.content, .panel {
    padding: 40px;
    max-width: 800px;
    width: 90%;
    background: rgba(20,20,30,0.7);
    --bg: rgba(20,20,30,0.7);
}

h1, h2 {
    color: #b89cff;
    text-shadow: 0 0 8px #7d4dff;
    text-align: center;
}

/* =========================================================
   IMAGE GALLERY
   ========================================================= */
.img-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.img-row img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    background-image: linear-gradient(black, black),
                      linear-gradient(to bottom, violet, purple);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 3px;
}

/* =========================================================
   MUSIC BUTTONS
   ========================================================= */
.music-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.content button {
    padding: 12px 20px;
    background: #7d4dff;
    border: 2px solid transparent;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    text-shadow: 0 0 4px #7d4dff;
    transition: all 0.2s;
}

.content button:hover {
    background: violet;
    transform: scale(1.05);
}

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
    .logo { font-size: 28px; padding: 15px; }
    nav a { margin: 0 10px; font-size: 16px; }
    .login-box { top: 10px; right: 10px; padding: 10px; }
    .content, .panel { padding: 20px; width: 95%; }
    .img-row img { width: 100px; height: 100px; }
    .content button { padding: 10px 14px; font-size: 14px; }
}
