:root{
  --ie-gold:#d9ad55;
  --ie-gold-light:#fff0b3;
  --ie-dark:#090806;
  --ie-panel:#15120d;
  --ie-cream:#fffaf1;
}

.ie-magazine{
  position:relative;
  padding:100px 20px;
  overflow:hidden;
  color:#f7eedc;
  background:
    radial-gradient(circle at 15% 0%,rgba(217,173,85,.16),transparent 30%),
    radial-gradient(circle at 90% 60%,rgba(217,173,85,.1),transparent 34%),
    linear-gradient(145deg,#080705,#171108 55%,#090806);
}

.ie-magazine *{box-sizing:border-box}

.ie-shell{
  width:min(1240px,100%);
  margin:auto;
}

.ie-kicker{
  margin-bottom:12px;
  color:var(--ie-gold-light);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.19em;
  text-align:center;
  text-transform:uppercase;
}

.ie-title{
  margin:0 auto 18px;
  max-width:900px;
  color:transparent;
  font-family:Georgia,serif;
  font-size:clamp(2.5rem,6vw,5rem);
  font-weight:500;
  line-height:.95;
  text-align:center;
  background:linear-gradient(
    105deg,
    #956416,
    #e9bb60,
    #fff6c9,
    #fff,
    #e2a83f,
    #fff1ae,
    #9d6816
  );
  background-size:300% auto;
  background-clip:text;
  -webkit-background-clip:text;
  animation:ieTextShine 5s linear infinite;
}

.ie-intro{
  max-width:760px;
  margin:0 auto 55px;
  color:#d6cbb8;
  font-size:1.08rem;
  line-height:1.75;
  text-align:center;
}

.ie-tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:34px;
  flex-wrap:wrap;
}

.ie-tab{
  padding:12px 19px;
  border:1px solid rgba(217,173,85,.3);
  border-radius:999px;
  color:#f3dfaf;
  background:rgba(255,255,255,.035);
  cursor:pointer;
  font-weight:800;
}

.ie-tab.active{
  color:#161007;
  background:linear-gradient(135deg,#fff0b3,#bd8429);
  box-shadow:0 12px 35px rgba(204,145,43,.27);
}

.ie-panel{display:none}
.ie-panel.active{display:block}

.ie-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.ie-card{
  position:relative;
  overflow:hidden;
  min-height:430px;
  border:1px solid rgba(232,190,103,.23);
  border-radius:24px;
  background:#15120d;
  box-shadow:0 24px 60px rgba(0,0,0,.3);
  transition:transform .35s ease,border-color .35s ease;
}

.ie-card:hover{
  transform:translateY(-9px);
  border-color:rgba(255,224,146,.58);
}

.ie-card::after{
  content:"";
  position:absolute;
  inset:-130% -65%;
  pointer-events:none;
  transform:translateX(-65%);
  background:linear-gradient(
    112deg,
    transparent 44%,
    rgba(255,255,255,.72) 49%,
    rgba(255,224,138,.95) 50%,
    transparent 56%
  );
  animation:ieCardSweep 8s ease-in-out infinite;
}

.ie-card:nth-child(2)::after{animation-delay:2.2s}
.ie-card:nth-child(3)::after{animation-delay:4.4s}

.ie-card-image{
  width:100%;
  height:225px;
  display:block;
  object-fit:cover;
}

.ie-card-body{padding:25px}

.ie-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
  color:#caa865;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ie-card h3{
  margin:0 0 12px;
  color:#fff2c5;
  font-family:Georgia,serif;
  font-size:1.65rem;
  font-weight:500;
  line-height:1.08;
}

.ie-card p{
  margin:0;
  color:#cfc4b1;
  line-height:1.65;
}

.ie-report{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  margin-bottom:34px;
  overflow:hidden;
  border:1px solid rgba(217,173,85,.25);
  border-radius:28px;
  background:rgba(255,255,255,.035);
}

.ie-report-cover{
  width:100%;
  min-height:410px;
  object-fit:cover;
}

.ie-report-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px;
}

.ie-report-copy h3{
  margin:10px 0 14px;
  color:#fff2c4;
  font-family:Georgia,serif;
  font-size:2.25rem;
  font-weight:500;
}

.ie-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;
  margin-top:25px;
}

.ie-gallery button{
  padding:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  cursor:pointer;
  background:none;
}

.ie-gallery img{
  width:100%;
  height:125px;
  display:block;
  object-fit:cover;
  transition:transform .4s ease;
}

.ie-gallery button:hover img{transform:scale(1.08)}

.ie-spotify-box{
  max-width:850px;
  margin:auto;
  padding:28px;
  border:1px solid rgba(217,173,85,.27);
  border-radius:28px;
  background:rgba(255,255,255,.035);
}

.ie-playlist-buttons{
  display:flex;
  gap:10px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.ie-playlist-button{
  padding:10px 15px;
  border:1px solid rgba(217,173,85,.28);
  border-radius:999px;
  color:#f2deb0;
  background:#17120a;
  cursor:pointer;
}

.ie-playlist-button.active{
  color:#151006;
  background:#e0b65c;
}

.ie-spotify-placeholder{
  display:grid;
  min-height:190px;
  place-items:center;
  padding:30px;
  border:1px dashed rgba(217,173,85,.35);
  border-radius:20px;
  color:#cfc3ae;
  text-align:center;
}

.ie-enable-media{
  margin-top:15px;
  padding:12px 18px;
  border:0;
  border-radius:999px;
  color:#181106;
  background:linear-gradient(135deg,#fff0b2,#c48c2e);
  cursor:pointer;
  font-weight:800;
}

.ie-spotify-frame{
  width:100%;
  height:352px;
  border:0;
  border-radius:18px;
}

.ie-cookie-banner{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99990;
  width:min(530px,calc(100% - 36px));
  padding:25px;
  border:1px solid rgba(225,182,91,.42);
  border-radius:24px;
  color:#f5ead4;
  background:rgba(12,10,7,.97);
  box-shadow:0 30px 90px rgba(0,0,0,.65);
  backdrop-filter:blur(16px);
}

.ie-cookie-banner[hidden],
.ie-cookie-modal[hidden],
.ie-lightbox[hidden]{display:none!important}

.ie-cookie-banner h2{
  margin:0 0 10px;
  color:#ffeab2;
  font-family:Georgia,serif;
  font-size:1.65rem;
}

.ie-cookie-banner p{
  margin:0;
  color:#cfc5b5;
  line-height:1.55;
}

.ie-cookie-actions{
  display:flex;
  gap:9px;
  margin-top:19px;
  flex-wrap:wrap;
}

.ie-cookie-actions button{
  flex:1;
  min-width:125px;
  padding:11px 14px;
  border:1px solid rgba(225,182,91,.35);
  border-radius:999px;
  color:#f4e4ba;
  background:transparent;
  cursor:pointer;
  font-weight:800;
}

.ie-cookie-actions .primary{
  border:0;
  color:#161006;
  background:linear-gradient(135deg,#fff0ad,#c58b2c);
}

.ie-cookie-modal,
.ie-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.82);
}

.ie-cookie-dialog{
  width:min(680px,100%);
  max-height:90vh;
  overflow:auto;
  padding:30px;
  border:1px solid rgba(217,173,85,.36);
  border-radius:26px;
  color:#f3e9d5;
  background:#15110a;
}

.ie-cookie-option{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.ie-cookie-option strong{color:#ffeab2}
.ie-cookie-option p{margin:5px 0 0;color:#bfb5a5}

.ie-switch{
  width:48px;
  height:26px;
  accent-color:#d7a94f;
}

.ie-lightbox img{
  max-width:min(1200px,94vw);
  max-height:86vh;
  border-radius:18px;
  box-shadow:0 30px 100px #000;
}

.ie-lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  color:#fff;
  background:rgba(0,0,0,.56);
  cursor:pointer;
  font-size:1.6rem;
}

.ie-cookie-link{
  position:fixed;
  left:15px;
  bottom:15px;
  z-index:8000;
  padding:9px 13px;
  border:1px solid rgba(217,173,85,.28);
  border-radius:999px;
  color:#ddc58f;
  background:rgba(12,10,7,.82);
  cursor:pointer;
  font-size:.72rem;
}

@keyframes ieTextShine{
  to{background-position:-300% center}
}

@keyframes ieCardSweep{
  0%,15%{transform:translateX(-65%)}
  32%,100%{transform:translateX(65%)}
}

@media(max-width:900px){
  .ie-grid{grid-template-columns:1fr}
  .ie-report{grid-template-columns:1fr}
  .ie-report-cover{min-height:280px}
}

@media(max-width:600px){
  .ie-magazine{padding:75px 14px}
  .ie-report-copy{padding:27px 21px}
  .ie-gallery{grid-template-columns:repeat(2,1fr)}
  .ie-cookie-actions button{width:100%}
}
