/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1F1D28; /* Dark Room background */
    color: #e6e6eb;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Authentication Page Specifics */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #15141c;
}

.auth-card {
    background: #1b1a24;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #2a2935;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.btn-auth {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-auth:hover {
    background: #2980b9;
}

.links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.links a {
    color: #7a7a88;
    text-decoration: none;
}

.links a:hover {
    color: #3498db;
}

/* Header & Search */
header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1b1a24;
    border-bottom: 1px solid #2e2d3a;
}

h1 {
    font-size: 1.1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    background: #222130;
    border: 1px solid #323142;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px;
    width: 250px;
}

.search-box input:focus {
    border-color: #3498db;
    outline: none;
}

.search-box button {
    background: #2a2935;
    color: #9a9aaa;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.3s;
}

.search-box button:hover {
    color: #fff;
}

/* Main Vinyl Feature - Enlarged Left Side */
.vinyl-feature {
    display: flex;
    flex-wrap: wrap; 
    gap: 60px; /* Slightly reduced gap to accommodate larger image */
    padding: 40px 60px;
    align-items: flex-start;
}

.feature-left {
    flex: 0 0 45%; /* Increased from 35% */
    max-width: 650px; /* Increased from 450px */
}

.feature-right {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
}

.main-cover {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0,0,0,1);
    border-radius: 4px;
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-cover:hover {
    transform: scale(1.03);
}

/* Full Screen Image Overlay */
#image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.98);
    z-index: 9999;
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
}

#image-overlay img {
    width: 95vw;
    height: 95vh;
    object-fit: contain;
    box-shadow: 0 0 100px rgba(0,0,0,1);
}

/* Album Details */
.album-details h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 5px;
    color: #ffffff;
}

.album-details h3 {
    font-size: 1.8rem;
    color: #6f6f82;
    font-weight: 300;
    margin-bottom: 25px;
}

.metadata {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #3498db;
    margin-bottom: 15px;
}

.bio-text {
    color: #9a9aad;
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Tracklist Area */
.tracklist-container {
    padding: 15px;
    margin-top: 5px;
}

.tracklist-container h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #6a6a7d;
    margin-bottom: 15px;
    border-bottom: 1px solid #2b2a38;
    padding-bottom: 8px;
}

.track-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #242332;
    font-size: 0.9rem;
    color: #a2a2b3;
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    color: #3498db;
    margin-right: 15px;
    font-weight: bold;
    width: auto;
    min-width: 30px;
    display: inline-block;
    white-space: nowrap;
}

.track-title {
    flex: 1;
}

/* Gallery Deck - Netflix Style Grid */
.gallery-container {
    margin-top: 40px;
    padding: 20px 60px 40px 60px;
    background: #1F1D28;
    width: 100%;
    overflow: hidden; 
}

.album-strip {
    display: flex;
    flex-wrap: wrap !important;
    gap: 20px;
    padding: 20px 0;
    justify-content: flex-start;
    max-height: 550px;
    overflow-y: auto;
    scrollbar-width: none;
}

.album-strip::-webkit-scrollbar {
    display: none;
}

.strip-item, .nav-tile {
    flex: 0 0 160px;
    width: 160px;
    margin-bottom: 10px;
}

.strip-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 3px;
    filter: brightness(0.7);
    transition: all 0.4s ease;
}

.strip-item:hover {
    transform: translateY(-8px);
}

.strip-item:hover img {
    filter: brightness(1);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
}

/* Nav Tiles */
.nav-tile {
    aspect-ratio: 1/1;
    background: #1a1924;
    border: 1px solid #2a2935;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-tile:hover {
    background: #222130;
    border-color: #3498db;
}

.nav-tile .tile-label {
    color: #6a6a7d;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-tile .tile-value {
    color: #b0b0c2;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Discovery & Management Helpers */
.container { 
    max-width: 450px; 
    width: 90%;
    background: #1c1b26; 
    padding: 40px; 
    border-radius: 15px; 
    border: 1px solid #2e2d3a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    margin: 80px auto;
}

/* Global Input Style for Forms */
.container input, .auth-card input {
    width: 100%; 
    padding: 12px; 
    margin: 10px 0; 
    border-radius: 8px; 
    border: 1px solid #3a394a; 
    background: #232231; 
    color: white; 
    font-size: 16px;
    box-sizing: border-box;
}

/* Alerts */
.alert { 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-size: 14px;
    text-align: center;
}

.alert-success { background: rgba(39, 174, 96, 0.25); color: #2ecc71; border: 1px solid #27ae60; }
.alert-error { background: rgba(231, 76, 60, 0.25); color: #e74c3c; border: 1px solid #c0392b; }

.logo img {
    height: 40px;
    width: auto;
    display: block;
    opacity: 1; 
}

/* Responsive */
@media (max-width: 1100px) {
    .vinyl-feature {
        gap: 40px;
        padding: 20px;
    }
    .feature-left, .feature-right {
        flex: 1 1 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .album-strip {
        justify-content: center;
    }
}


/* ===== DUOLINK FOOTER ===== */

.dl-footer {
  margin-top: 120px;
  padding: 60px 40px;
  background: #080808;
  border-top: 1px solid #1c1c1c;
  color: #eee;
  font-family: inherit;
}

.dl-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Brand */

.dl-logo {
  letter-spacing: 5px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #ffffff;
}

.dl-logo span {
  color: #3498db;
}

.dl-tagline {
  margin-top: 10px;
  font-size: 0.7rem;
  color: #777;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation */

.dl-footer-nav {
  display: flex;
  gap: 40px;
}

.dl-footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.dl-footer-nav a:hover {
  color: #3498db;
  opacity: 0.9;
}

/* Discogs */

.dl-footer-discogs a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.dl-footer-discogs a:hover {
  opacity: 1;
}

.dl-footer-discogs img {
  height: 22px;
  margin-bottom: 8px;
}

.dl-footer-discogs span {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {

  .dl-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dl-footer-nav {
    justify-content: center;
  }

  .dl-footer-discogs a {
    align-items: center;
    text-align: center;
  }
}