/* VARIABLES & RESET */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: red;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER & NAVIGATION */
.main-header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 12rem;
    font-weight: 900;
    letter-spacing: 20px;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    50% {
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }
}

/* SECTIONS COMMUNES */
main {
    margin-top: 0;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* BIO SECTION */
.bio-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bio-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
}

.bio-content p {
    margin-bottom: 2rem;
    text-align: justify;
}

/* ALBUMS SECTION */
.album-link{
  text-decoration: none;
  color: inherit;
  display: block;
}
.album-card{
  cursor: pointer;
}

.albums-section {
    padding: 8rem 0;
    background-color: var(--primary-color);
}

.albums-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(222px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.album-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.album-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.album-card:hover::before {
    opacity: 0.8;
}

.album-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--accent-color);
}

.album-image {
    padding-bottom: 0;     
    aspect-ratio: 1 / 1; 
    width: 100%;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.album-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.1);
}

.album-info {
    padding: 10px;
    flex: 0 0 auto;
    min-height: 88px;      
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.album-info h3 {
    text-align: center;
    padding: 5px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.album-year {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
}

/* ALBUMS SECTION */
.album-page-cover {
  width: 100%;
  max-width: 420px;        
  aspect-ratio: 1 / 1;     
  overflow: hidden;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.album-page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;       
}

.embed-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
  overflow: hidden;
  border-radius: 12px;
}

.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tracks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-item {
  display: grid;
  grid-template-columns: 40px 1fr 70px;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.track-duration {
  text-align: right;
  opacity: 0.7;
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.clip-card {
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
}

.album-embed, .clip-embed {
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
}

.album-embed iframe, .clip-embed iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
}

.tracks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track {
  display: grid;
  grid-template-columns: 40px 1fr 70px;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.track-duration {
  text-align: right;
  opacity: 0.75;
}

.album-page {
  margin-top: 150px;
}

.album-embed {
  margin: 28px 0 40px;  
}

.tracklist {
  margin-top: 40px;     
}

.tracklist h2 {
  margin-bottom: 18px;
}

.tracks .track {
  padding: 14px 0;      
}


.clips {
  margin-top: 55px;
}

.clips h2 {
  margin-bottom: 18px;
}

/* AGE 18 CLIP WARNING */
.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.age-modal.active { display: flex; }

.age-modal-content {
  background: #111;
  border: 1px solid red;
  padding: 30px;
  max-width: 420px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(255,0,0,0.4);
}

.age-modal-content h2 { 
  color: red; margin-bottom: 12px; 
}
.age-modal-content p { 
  color: #ccc; margin-bottom: 22px; 
}

.age-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.clip-placeholder {
  width: 100%;
  max-width: 660px; 
  aspect-ratio: 16 / 9;    
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.clip-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,0,0,0.18), rgba(0,0,0,0.85));
}

.clip-placeholder-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px;
}

.clip-play {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 2px solid red;
  color: white;
  font-size: 26px;
  margin-bottom: 10px;
  box-shadow: 0 0 25px rgba(255,0,0,0.35);
}

.clip-text {
  display: block;
  color: #fff;
  letter-spacing: 1px;
  opacity: 0.9;
}

.clip-placeholder:hover .clip-play {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.btn {
  --btn-glow: rgba(255,0,0,0.55);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 26px;
  min-height: 48px;

  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #fff;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;

  cursor: pointer;
  user-select: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: red;
  box-shadow:
    0 0 20px var(--btn-glow),
    inset 0 0 0 1px rgba(255,0,0,0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 0 15px rgba(0,0,0,0.7);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,0,0,0.45),
    0 0 20px var(--btn-glow);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
}

.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  box-shadow:
    0 0 14px rgba(255,255,255,0.15);
}

.age-check-btn {
  position: relative;
  background: radial-gradient(circle at top, #1b1b1b, #090909);
  border: 1px solid rgba(255,0,0,0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255,0,0,0.2),
    0 0 20px rgba(255,0,0,0.35);
}

.age-check-btn:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255,0,0,0.5),
    0 0 30px rgba(255,0,0,0.6);
}

/* GALERIE */
.page-galerie {
  padding-top: 120px;
  padding-bottom: 60px;
}

.galerie-intro {
  color: var(--text-secondary);
  margin: 20px 0 30px;
}

.galerie-alert {
  margin: 12px 0 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.galerie-upload {
  margin: 30px 0 40px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.galerie-upload h2 {
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.upload-form {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.upload-form label {
  color: var(--text-secondary);
}

.upload-form input[type="file"] {
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  color: #fff;
}

.upload-hint {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.galerie-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.galerie-item {
  width: 33%;
  margin-bottom: 16px; 
  break-inside: unset;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  aspect-ratio: 1 / 1;
}

.galerie-item img{
  width: 100%;
  height: 100%;              
  display: block;
  object-fit: cover;         
}


.galerie-item:hover {
  transform: translateY(-2px);
  border-color: red;
  box-shadow: 0 0 25px rgba(255,0,0,0.25);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.5);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.lightbox-close:hover {
  border-color: red;
  box-shadow: 0 0 20px rgba(255,0,0,0.35);
}

.lightbox-download {
  position: absolute;
  top: 20px;
  right: 60px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.lightbox-download:hover {
  background: rgba(255,0,0,0.7);
}

/* DATATABLES */ 
table.datatable { 
  width: 100%;
  border-collapse: collapse; 
  border: 1px solid rgba(255, 255, 255, 0.12); 
  background: rgba(255,255,255,0.03); 
  color: #fff; 
}
table.datatable thead th { 
  background: rgba(255,0,0,0.10); 
  border-bottom: 1px solid rgba(255,255,255,0.12); 
  padding: 14px 16px; 
}
table.datatable td { 
  padding: 14px 16px; 
  border-bottom: 1px solid rgba(255,255,255,0.08); 
  color: var(--text-secondary); 
}

.dt-container input[type="search"], 
.dt-container select { 
  background: rgba(0,0,0,0.35); 
  color: #fff; 
  border: 1px solid rgba(255,255,255,0.15); 
  border-radius: 10px; padding: 8px 10px; 
}

/* CONTACT */
.page-contact{
  padding-top: 120px;
  padding-bottom: 60px;
}

.contact-intro{
  color: var(--text-secondary);
  margin: 18px 0 28px;
}

.contact-alert{
  margin: 12px 0 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}

.contact-form{
  max-width: 720px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-row label{
  color: var(--text-secondary);
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: #fff;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(255,0,0,0.18);
}

.contact-split {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}

/* Colonne image */
.contact-image {
  flex: 1;
  min-height: 100%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Colonne formulaire */
.contact-content {
  flex: 1;
}

/* BOUTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: var(--accent-color);
  box-shadow: 0 0 22px rgba(255,0,0,0.22);
}

.btn:active{
  transform: translateY(0);
}

.btn-primary{
  background: linear-gradient(135deg, rgba(255,0,0,0.9), rgba(255,0,0,0.55));
  border-color: rgba(255,0,0,0.6);
}

.btn-secondary{
  background: rgba(255,255,255,0.06);
}

.btn-print {
  display: block;
  margin: auto;
  margin-top: -50px;
  margin-bottom: 20px;
}

/* FOOTER */
.main-footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h3 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* PAGE LOADER */
#page-loader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: red;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* PRINT */
@media print {
  body * {
    visibility: hidden;
  }

  #montableau, #montableau * {
    visibility: visible;
  }

  #montableau {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .dt-container .dt-search,
  .dt-container .dt-length,
  .dt-container .dt-info,
  .dt-container .dt-paging {
    display: none !important;
  }

  table.datatable thead th,
  table.datatable tbody td {
    color: #000 !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}

/* CREDITS PAGE */
.bar {
  padding: 20px;
} 

.sub {
  margin: 20px;
}

input, select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #e8eef7;
  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
}
input {
  flex: 1; min-width: 220px; 
}
select { 
  min-width: 180px; 
}

.grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; 
}

.card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
}

.title { 
  font-weight: 700; margin: 0 0 8px; 
}
.row {
  margin: 6px 0; opacity: .92; font-size: 14px; 
}
.muted { 
  opacity: .7; font-size: 12px; margin-top: 10px; 
}

.empty { 
  opacity: .75; padding: 18px; border: 1px dashed rgba(255,255,255,.2); border-radius: 16px; 
}

.sub { 
  opacity: .75; font-size: 13px; 
}

#pageTitle {
  margin-top: 100px;
}

/* VALD EASTER EGG */

#vald-easteregg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

#vald-easteregg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#vald-easteregg .overlay-text {
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 2rem;
  letter-spacing: 2px;
}

.clignote {
  animation: souffle 120s ease-in-out infinite;
}

@keyframes souffle {
  0%, 100% { opacity: 1; }
  50% { opacity: 1; color: red; }
}

/* PP */ 
:root{
  --pp-max: 1080px;
  --pp-pad: 20px;
  --pp-radius: 18px;
  --pp-bg: #0b0b10;
  --pp-card: rgba(255,255,255,0.06);
  --pp-text: rgba(255,255,255,0.88);
  --pp-muted: rgba(255,255,255,0.62);
  --pp-border: rgba(255,255,255,0.12);
}

.pp-container{
  max-width: var(--pp-max);
  margin: 0 auto;
  padding: 0 var(--pp-pad);
}
.pp-title{
  margin: 0; font-size: clamp(2rem, 4vw, 3rem); 
}
.pp-subtitle{ 
  margin: 10px 0 0; color: var(--pp-muted); 
}

.pp-section{ 
  padding: 40px 0; border-top: 1px solid var(--pp-border); 
}
.pp-h2{ 
  margin: 0 0 16px; font-size: 1.6rem; 
}
.pp-h3{
  margin: 0 0 10px; font-size: 1.2rem; 
}
.pp-lead{
  margin: 0; color: var(--pp-muted); 
}

.pp-grid{
  display: grid;
  gap: 16px;
}
.pp-grid--4{
  grid-template-columns: repeat(2, 1fr);
}

.pp-card{
  border: 1px solid var(--pp-border);
  background: var(--pp-card);
  border-radius: var(--pp-radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.pp-card__media{
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pp-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.pp-card__body{
  padding: 14px 14px 16px; 
}

.pp-card__top{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.pp-card__title{ 
  margin: 0; font-size: 1.1rem; 
}

.pp-badge{
  font-size: 0.78rem;
  color: var(--pp-muted);
  border: 1px solid var(--pp-border);
  padding: 4px 8px;
  border-radius: 999px;
}

.pp-card__text{ 
  margin: 10px 0 12px; color: var(--pp-muted); line-height: 1.4; 
}

.pp-link{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
}

.pp-link:hover{ 
  border-bottom-style: solid; 
}

.pp-theme__header{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.pp-split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.pp-list{
  margin: 10px 0 16px;
  padding-left: 18px;
  color: var(--pp-muted);
}

.pp-cta{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pp-border);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.pp-cta:hover{ 
  background: rgba(255,255,255,0.12); 
}

.pp-showcase{
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

.pp-showcase img{
  width: 100%;
  display:block;
  height: auto;
}

.pp-docs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.pp-doc{
  text-decoration: none;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--pp-border);
  background: var(--pp-card);
}

.pp-doc__icon{
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 10px;
}

.pp-doc__title{
  display: block;
  color: var(--pp-text);
  font-size: 0.95rem;
  opacity: 0.9;
}


.contact-alert { 
  padding: 12px 14px; border-radius: 10px; margin: 14px 0; 
}
.contact-alert-success { 
  border: 1px solid #2d7a3e; 
}
.contact-alert-error { 
  border: 1px solid #b02a37; 
}