/*
Theme Name: SCE Records
Theme URI: https://example.com/
Author: SCE Records
Description: A complete, modern record-label WordPress theme for SCE Records. Designed to work out of the box with the SCE Music plugin and standard WordPress Posts.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: sce-records
*/

:root{
  --sce-bg:#070809;
  --sce-surface:#101214;
  --sce-surface-2:#151719;
  --sce-border:#292d31;
  --sce-text:#f6f6f6;
  --sce-muted:#a5a8ad;
  --sce-red:#ff1e2d;
  --sce-red-dark:#c80f1b;
  --sce-max:1240px;
  --sce-radius:14px;
  --sce-shadow:0 20px 70px rgba(0,0,0,.32);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sce-bg);color:var(--sce-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--sce-max),calc(100% - 40px));margin-inline:auto}
.sce-section{padding:78px 0}
.sce-kicker{color:var(--sce-red);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}
.sce-heading{font-size:clamp(2rem,4vw,3.25rem);line-height:1.03;margin:.4rem 0 0;font-weight:900;letter-spacing:-.035em}
.sce-subheading{color:var(--sce-muted);max-width:680px;margin:14px 0 0}
.sce-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.sce-link{color:var(--sce-red);font-weight:800;white-space:nowrap}
.sce-link:hover{text-decoration:underline}
.sce-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:13px 20px;font-weight:800;transition:.2s ease;cursor:pointer}
.sce-btn-primary{background:var(--sce-red);color:#fff}
.sce-btn-primary:hover{background:#ff3946;transform:translateY(-1px)}
.sce-btn-outline{border-color:#666;background:rgba(0,0,0,.12);color:#fff}
.sce-btn-outline:hover{border-color:#fff}
.sce-btn-small{padding:9px 13px;font-size:.9rem}
.sce-grid{display:grid;gap:22px}
.sce-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sce-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Header */
.sce-topbar{border-bottom:1px solid #1b1d20;background:#050607;color:#b9bdc2;font-size:.78rem}
.sce-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sce-topbar-social{display:flex;gap:15px}
.sce-topbar a:hover{color:#fff}
.sce-header{position:sticky;top:0;z-index:100;background:rgba(7,8,9,.93);backdrop-filter:blur(16px);border-bottom:1px solid #202327}
.sce-header-inner{min-height:76px;display:flex;align-items:center;gap:36px}
.sce-logo{display:inline-flex;flex-direction:column;font-weight:950;letter-spacing:-.08em;font-size:2rem;line-height:.8;color:var(--sce-red)}
.sce-logo small{font-size:.57rem;letter-spacing:.27em;color:#fff;margin-left:4px;margin-top:6px}
.sce-nav{margin-left:auto;display:flex;align-items:center;gap:26px}
.sce-nav a{font-size:.94rem;font-weight:700;color:#dfe1e3;padding:28px 0;position:relative}
.sce-nav a:hover,.sce-nav .current-menu-item>a{color:#fff}
.sce-nav .current-menu-item>a:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:2px;background:var(--sce-red)}
.sce-header-actions{display:flex;align-items:center;gap:10px}
.sce-search{color:#fff;font-size:1.2rem}
.sce-menu-toggle{display:none;background:none;border:0;color:#fff;font-size:1.5rem}

/* Hero */
.sce-hero{min-height:650px;display:grid;align-items:center;position:relative;overflow:hidden;background:
  radial-gradient(circle at 76% 40%,rgba(255,30,45,.18),transparent 32%),
  linear-gradient(90deg,#070809 0%,rgba(7,8,9,.9) 38%,rgba(7,8,9,.22) 100%)}
.sce-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 70%,var(--sce-bg) 100%);pointer-events:none}
.sce-hero-media{position:absolute;inset:0;z-index:0;background:
  linear-gradient(90deg,rgba(7,8,9,.98) 0%,rgba(7,8,9,.8) 38%,rgba(7,8,9,.2) 78%,rgba(7,8,9,.8) 100%),
  radial-gradient(circle at 70% 35%,#3a1117 0%,#120b0d 28%,#08090a 64%)}
.sce-hero-inner{position:relative;z-index:2;padding:100px 0 120px}
.sce-hero-copy{max-width:650px}
.sce-hero h1{font-size:clamp(3.3rem,7vw,6.8rem);line-height:.88;letter-spacing:-.065em;margin:12px 0 24px;font-weight:950}
.sce-hero h1 span{color:var(--sce-red)}
.sce-hero p{font-size:1.12rem;color:#c8cbd0;max-width:600px}
.sce-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

/* Cards */
.sce-release-card,.sce-news-card{background:var(--sce-surface);border:1px solid var(--sce-border);border-radius:var(--sce-radius);overflow:hidden;transition:.22s ease}
.sce-release-card:hover,.sce-news-card:hover{transform:translateY(-5px);border-color:#454a50;box-shadow:var(--sce-shadow)}
.sce-cover{aspect-ratio:1/1;display:grid;place-items:end start;background:
  radial-gradient(circle at 72% 25%,rgba(255,30,45,.7),transparent 28%),
  linear-gradient(135deg,#2a2c30,#090a0b);overflow:hidden}
.sce-cover.has-image{background-size:cover;background-position:center}
.sce-cover-title{padding:18px;font-size:1.5rem;font-weight:900;letter-spacing:-.03em;text-shadow:0 2px 18px #000}
.sce-card-body{padding:15px 16px 18px}
.sce-card-title{margin:0;font-size:1rem;font-weight:850}
.sce-card-meta{color:var(--sce-muted);font-size:.88rem;margin-top:4px}
.sce-card-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}
.sce-play{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--sce-red);color:#fff;font-weight:900}

/* Artists */
.sce-artist-card{text-align:center}
.sce-artist-photo{width:138px;height:138px;border-radius:50%;margin:0 auto 15px;border:1px solid #454a50;background:radial-gradient(circle,#4b1118,#16181b 68%,#0a0b0c);overflow:hidden}
.sce-artist-photo img{width:100%;height:100%;object-fit:cover}
.sce-artist-name{font-weight:850}
.sce-artist-genre{font-size:.86rem;color:var(--sce-muted);margin-top:3px}

/* Feature strip */
.sce-feature-strip{border-top:1px solid #282b2f;border-bottom:1px solid #282b2f;background:#0b0d0f}
.sce-feature-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.sce-feature{padding:32px 24px;border-right:1px solid #282b2f}
.sce-feature:last-child{border-right:0}
.sce-feature-icon{color:var(--sce-red);font-size:1.8rem;font-weight:900}
.sce-feature h3{font-size:1rem;margin:10px 0 4px}
.sce-feature p{margin:0;color:var(--sce-muted);font-size:.88rem}

/* News */
.sce-news-image{aspect-ratio:16/9;background:linear-gradient(135deg,#26282b,#0e1012);overflow:hidden}
.sce-news-image img{width:100%;height:100%;object-fit:cover}
.sce-news-body{padding:18px}
.sce-category{display:inline-block;background:rgba(255,30,45,.13);color:#ff5963;padding:4px 8px;border-radius:5px;font-size:.7rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.sce-news-title{font-size:1.18rem;line-height:1.2;margin:12px 0 10px;font-weight:850}
.sce-news-excerpt{color:var(--sce-muted);font-size:.9rem}
.sce-news-meta{color:#858a91;font-size:.78rem;margin-top:14px}

/* Newsletter */
.sce-newsletter{padding:54px 0;background:linear-gradient(100deg,#131518,#0b0d0f);border-top:1px solid #24272b;border-bottom:1px solid #24272b}
.sce-newsletter-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}
.sce-newsletter-form{display:flex;background:#070809;border:1px solid #44484e;border-radius:9px;overflow:hidden}
.sce-newsletter-form input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:15px}
.sce-newsletter-form button{border:0;background:var(--sce-red);color:#fff;padding:0 22px;font-weight:850}

/* Footer */
.sce-footer{padding:55px 0 20px;background:#050607}
.sce-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:45px}
.sce-footer h4{margin:0 0 15px}
.sce-footer p,.sce-footer a{color:#979ba1;font-size:.88rem}
.sce-footer a:hover{color:#fff}
.sce-footer-links{display:grid;gap:8px}
.sce-footer-bottom{margin-top:40px;padding-top:18px;border-top:1px solid #25282c;display:flex;justify-content:space-between;gap:20px;color:#70747a;font-size:.78rem}

/* Inner pages */
.sce-page-hero{padding:90px 0 65px;background:linear-gradient(180deg,#111315,#070809)}
.sce-page-content{padding:70px 0}
.sce-content{max-width:850px}
.sce-content h2,.sce-content h3{line-height:1.1}
.sce-content p,.sce-content li{color:#b9bdc3}
.sce-content a{color:#ff4a54}
.sce-pagination{display:flex;gap:8px;margin-top:35px}
.sce-pagination a,.sce-pagination span{padding:9px 13px;border:1px solid #30343a;border-radius:7px}
.sce-pagination .current{background:var(--sce-red);border-color:var(--sce-red)}
.sce-empty{padding:45px;border:1px dashed #383c41;border-radius:var(--sce-radius);color:var(--sce-muted)}

/* WP admin/editor */
.alignwide{max-width:var(--sce-max);margin-inline:auto}
.alignfull{width:100%}
.wp-block-post-title,.entry-title{line-height:1.05;letter-spacing:-.04em}
.sce-content table{width:100%;border-collapse:collapse}
.sce-content td,.sce-content th{border:1px solid #30343a;padding:10px}

/* Responsive */
@media (max-width:1050px){
  .sce-nav{gap:17px}
  .sce-header-inner{gap:18px}
  .sce-grid-4{grid-template-columns:repeat(2,1fr)}
  .sce-feature-grid{grid-template-columns:repeat(2,1fr)}
  .sce-feature:nth-child(2){border-right:0}
  .sce-feature:nth-child(-n+2){border-bottom:1px solid #282b2f}
  .sce-footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  .sce-footer-grid>div:last-child{grid-column:2}
}
@media (max-width:800px){
  .container{width:min(var(--sce-max),calc(100% - 28px))}
  .sce-topbar{display:none}
  .sce-header-inner{min-height:68px}
  .sce-menu-toggle{display:block;margin-left:auto}
  .sce-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#090a0b;border-bottom:1px solid #292d31;padding:8px 20px 18px;flex-direction:column;align-items:stretch}
  .sce-nav.is-open{display:flex}
  .sce-nav a{padding:12px 0}
  .sce-nav .current-menu-item>a:after{display:none}
  .sce-header-actions{display:none}
  .sce-hero{min-height:590px}
  .sce-hero-inner{padding:90px 0 100px}
  .sce-grid-3{grid-template-columns:1fr}
  .sce-grid-4{grid-template-columns:repeat(2,1fr)}
  .sce-newsletter-inner{grid-template-columns:1fr}
  .sce-footer-grid{grid-template-columns:1fr 1fr}
  .sce-footer-grid>div:last-child{grid-column:auto}
}
@media (max-width:540px){
  .sce-section{padding:55px 0}
  .sce-section-head{align-items:start;flex-direction:column;gap:8px}
  .sce-hero h1{font-size:3.25rem}
  .sce-grid-4{grid-template-columns:1fr 1fr;gap:12px}
  .sce-artist-photo{width:105px;height:105px}
  .sce-feature-grid{grid-template-columns:1fr}
  .sce-feature{border-right:0!important;border-bottom:1px solid #282b2f}
  .sce-feature:last-child{border-bottom:0}
  .sce-footer-grid{grid-template-columns:1fr}
  .sce-footer-grid>div:last-child{grid-column:auto}
  .sce-footer-bottom{flex-direction:column}
  .sce-newsletter-form{display:block;background:transparent;border:0}
  .sce-newsletter-form input,.sce-newsletter-form button{width:100%;border:1px solid #44484e;border-radius:8px;margin-top:8px}
  .sce-newsletter-form button{padding:13px}
}
