*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: black;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
}
a{
    color: inherit;
    text-decoration: none;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.logo{
    color: #D4AF37;
    font-size: 24px;
    font-weight: bold;
}
.nav-menu{
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-menu a:hover{
    color: #bb2222;
}
body:has(#Home:target) .nav-menu a[href="#Home"],
body:has(#About:target) .nav-menu a[href="#About"],
body:has(#Rappers:target) .nav-menu a[href="#Rappers"],
body:has(#Music:target) .nav-menu a[href="#Music"],
body:has(#News:target) .nav-menu a[href="#News"],
body:has(#Merch:target) .nav-menu a[href="#Merch"],
body:not(:has(:target)) .nav-menu a[href="#Home"]{
    color: #bb2222;
}

.hero{
    background-color: #000;
    min-height: 88vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 110px 5% 80px;
}
.hero-bg-img{
    position: absolute;
    right: 0;
    top: 0;
    width: 74vw;
    height: 100%;
    background-image: url("0731CSC.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    mask-image: radial-gradient(ellipse 86% 82% at 96% 90%, black 56%, transparent 98%);
    -webkit-mask-image: radial-gradient(ellipse 86% 82% at 96% 90%, black 56%, transparent 98%);
    opacity: 0.95;
}
.hero-content{
    position: relative;
    z-index: 3;
    width: 100%;
}
.csc-logo{
    display: block;
    width: 52vw;
    height: auto;
    position: relative;
    z-index: 2;
}
.hero-slogan{
    color: #dd3333;
    font-size: 34px;
    margin: 0.8rem 0 0;
    position: relative;
    z-index: 3;
    text-shadow: 0 0 24px rgba(0,0,0,0.95), 0 0 48px rgba(0,0,0,0.8);
}
.hero-btn{
    display: inline-block;
    padding: 12px 24px;
    background-color: #bb2222;
    color: white;
    border-radius: 4px;
    font-size: 18px;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}
.hero-btn:hover{
    background-color: #dd3333;
}

.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 5%;
    align-items: center;
    background-color: #111;
}
.about h2{
    font-size: 34px;
    margin-bottom: 1rem;
}
.about h3{
    color: #D4AF37;
    margin-bottom: 1rem;
}
.broken-frame{
    width: 100%;
}

.rappers, .tracks{
    padding: 4rem 5%;
}
.section-head{
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.view-all{
    color: #D4AF37;
}
.rapper-grid, .track-grid{
   display: flex;
   gap: 1.2rem;
   overflow-x: auto;
   overflow-y: hidden;
   padding-bottom: 12px;
   min-width: 0;
   align-items: flex-start;
}
.rapper-grid > .card, .track-grid > .track-card{
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}
.track-grid > .track-card{
    text-decoration: none;
    color: inherit;
}
.track-card:hover .track-img{
    transform: scale(1.03);
    transition: all 0.3s ease;
}
.rapper-grid::-webkit-scrollbar,
.track-grid::-webkit-scrollbar{
    height: 4px;
}
.rapper-grid::-webkit-scrollbar-thumb,
.track-grid::-webkit-scrollbar-thumb{
    background-color: #ffd700;
    border-radius: 2px;
}

.card, .track-card{
    text-align: center;
    overflow: hidden;
}
.card-img{
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5/7;
    object-fit: contain;
    background: #222;
    margin-bottom: 0.5rem;
}
.track-img{
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5/5;
    object-fit: contain;
    background: #222;
    margin-bottom: 0.5rem;
    display: block;
}

.all-rappers-section{
    display: none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: #111;
    overflow-y: auto;
    z-index: 999;
    padding: 60px 5%;
}

.all-rappers-section:target{
    display: block;
    padding: 60px 5%;
    background-color: #111;
    color: #fff;
}
.close-btn{
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 24px;
    color: #ffd700;
    text-decoration: none;
}
.close-btn:hover{
    color: #fff;
}

@media (max-width: 900px){
    .hero{
        min-height: 80vh;
        padding-top: 96px;
    }
    .hero-bg-img{
        width: 86vw;
        height: 64vw;
    }
    .csc-logo{
        width: 84vw;
    }
}

@media (max-width: 768px){
    .about{
        grid-template-columns: 1fr;
    }
    .rapper-grid, .track-grid{
        grid-template-columns: repeat(2,1fr);
    }
}@media (max-width: 480px){
    .rapper-grid, .track-grid{
        grid-template-columns: 1fr;
    }
}

.news{
    padding: 4rem 5%;
}
.news-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    margin-top: 1.2rem;
}
.news-card{
    text-align: center;
    overflow: hidden;
}
.news-image{
    display: block;
    overflow: hidden;
    margin-bottom: 0.6rem;
}
.news-img{
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #222;
    display: block;
    transition: transform 0.4s ease;
}
.news-image:hover .news-img{
    transform: scale(1.06);
}
.news-article{
    display: none;
}
.news-card:target .news-article{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}
.news-modal-box{
    width: 100%;
    max-width: 760px;
    max-height: 86vh;
    overflow-y: auto;
    background-color: #111;
    border-radius: 12px;
    text-align: left;
}
.news-bar{
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 10px 14px;
    background-color: #111;
    z-index: 2;
}
.news-close{
    background-color: rgba(0,0,0,0.6);
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
.news-close:hover{
    background-color: #fff;
    color: #000;
}
.news-cover{
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.news-text{
    padding: 24px 32px 36px;
}
.news-text h2{
    color: #fff;
    font-size: 26px;
    margin-bottom: 0.5rem;
}
.news-sub{
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 0.4rem;
}
.news-date{
    color: #888;
    font-size: 14px;
    margin-bottom: 1.2rem;
}
.news-cn p, .news-en p{
    line-height: 1.9;
    margin-bottom: 0.9rem;
}
.news-cn{
    color: #ccc;
}
.news-en{
    color: #888;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #2a2a2a;
}
.news-card h4{
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 0.3rem;
}
.news-card p{
    color: #ccc;
    font-size: 0.9rem;
}

.Merch{
    padding: 4rem 5%;
}
.Merch-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    margin-top: 1.2rem;
}
.Merch-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    overflow: hidden;
}
.Merch-img{
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #222;
    margin-bottom: 0.6rem;
}
.Merch-card h4{
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 0.3rem;
    margin-top: auto;
    text-align: center;
    padding-top: 16px;
}
.Merch-card p{
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    margin-top: auto;
    text-align: center;
    padding-top: 16px;
}
.buy-btn{
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: #dd3333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}
.buy-btn:hover{
    background-color: #dd3333;
}
.checkout-modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}
.checkout-modal:target{
    display: flex;
}
.checkout-box{
    width: 100%;
    max-width: 300px;
    background-color: #1c1c1e;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}
.checkout-text{
    padding: 26px 20px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}
.checkout-ok{
    display: block;
    padding: 14px;
    border-top: 1px solid #3a3a3c;
    color: #ffd700;
    font-size: 17px;
    font-weight: bold;
}
.checkout-ok:hover{
    background-color: #2c2c2e;
}

@media (max-width: 768px){
    .news-grid, .shop-grid{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 480px){
    .news-grid, .shop-grid{
        grid-template-columns: 1fr;
    }
    .news-card:target .news-article{
        padding: 16px;
    }
}

.footer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #111;
    color: #ccc;
    text-align: center;
    padding: 4rem 5%;
    gap: 3rem;
}
.footer-logo{
    color: #D4AF37;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 1rem;
}
.social-links{
    display: flex;
    gap: 20px;
    margin-top: 16px;
}
.social-icon{
    color: #ffffff;
    transition: all 0.2s ease;
}
.social-icon:hover{
    color: #ffd700;
    transform: scale(1.15);
}

.footer-right input{
    margin-top: 1rem;
    padding: 10px;
    width: 80%;
    background: black;
    border: 1px solid #666;
    color: white;
}

html{
    scroll-behavior: smooth;
}
section{
    scroll-margin-top: 80px;
}

.merch-container{
    display: flex;
    gap: 24px;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 5%;
    gap: 40px;
}
.subscribe-box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.email-input{
    padding: 14px 16px;
    width: 360px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}
.email-input::placeholder{
    color: #ccc;
}
.footer-right{
    width: 50%;
    max-width: 480px;
}
.input-wrap{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    white-space: nowrap;
}
.submit-btn{
    padding: 14px 24px;
    background-color: #bb2222;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.music-modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}
.music-modal:target{
  display: flex;
}
.modal-content{
  width: 100%;
  max-width:700px;
  background-color:#111111;
  border-radius:12px;
  overflow:hidden;
}
.modal-header{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding:20px 24px;
  border-bottom:1px solid #333;
}
.modal-header h2{
  color:#fff;
  margin:0;
}
.close-btn{
  background:none;
  border:1px solid #fff;
  color:#fff;
  padding:6px 14px;
  border-radius:6px;
  cursor:pointer;
}
.close-btn:hover{
  background:#fff;
  color:#000;
}

.music-list{
  max-height:70vh;
  overflow-y:auto;
}

.music-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 24px;
  text-decoration:none;
  color:#ffffff;
  border-bottom:1px solid #222;
}
.music-item:hover{
  background:#222;
}

.music-item-img{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:4px;
  display:block;
}

.music-item-info h4{
  margin:0 0 4px;
  font-size:16px;
}
.music-item-info p{
  margin:0;
  color:#aaa;
  font-size:14px;
}

.submit-btn:hover{
    background-color: #dd3333;
}

@media (max-width: 768px){
    .footer{
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px){
    .footer-right input{
        width: 100%;
    }
}