/* Add font-display: swap to all fonts */
@import url('https://fonts.cdnfonts.com/css/boston-traffic?display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #f8f9fa;
    transition: all 0.3s ease;
}
margin: 0;
    padding: 0;
a:hover {
    color: #ff4081;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    background: #ff4081;
    color: #f8f9fa;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    transition: all 0.3s ease;
    letter-spacing: 5px;
}

.btn:hover {
    background: #ff1a66;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #0000;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff4081;
}

.btn-outline:hover {
    background: #ff4081;
    color: black;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    font-family: 'Boston Traffic', sans-serif;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #f8f9fa;
    font-family: 'Boston Traffic', sans-serif;
    letter-spacing: 5px;
}

.section-title h2 span {
    color: #ff4081;
    letter-spacing: 5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff4081;
    margin: 20px auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(26, 26, 26, 0.9);
    padding: 25px 0 0 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Boston Traffic', sans-serif;
    font-weight: 200;
    font-size: 32px;
    height: 100px;
    z-index: 99999;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8f9fa;
}

.logo span {
    color: #ff4081;
}

.logo-static,
.logo-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.logo-flicker {
    padding-top: .15rem;
    padding-left: 1.5px;
    animation: flicker 80s infinite;
}

.logo-static {
    animation: flicker1 80s infinite;
}

@keyframes flicker1 {
    0%, 100% { opacity: 1; }
    10% { opacity: 0; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    60% { opacity: 1; }
    70% { opacity: 0; }
    80% { opacity: 1; }
    90% { opacity: 0; }
}

@keyframes flicker {
    0%, 100% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 0; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    50% { opacity: 1; }
    60% { opacity: 0; }
    70% { opacity: 1; }
    80% { opacity: 0; }
    90% { opacity: 1; }
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav ul li {
    margin: 10px 30px 0 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4081;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;       
    top: 50%;          
    transform: translateY(-50%); 
    z-index: 1001;
    align-items: center;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #f8f9fa;
    margin: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.l1 {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    margin: 20px;
    z-index: 100;
}

/* Video Background Container */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 50%;
    right: 0;
    min-width: 100%;
    max-height: 100%;
    transform: translateY(-50%); 
    z-index: -1;
    object-fit: cover;
    object-position: right;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.hero-content {
    width: 100%;
    padding-bottom: 25px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: "Berkshire Swash", serif;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: "Berkshire Swash", serif;
}

.social-icons {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    content:center;
}

.social-icons a {
    font-size: 1.5rem;
}

/* About Section */
#about {
    background: #1a1a1a;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.about-img::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #ff4081;
    border-radius: 10px;
    z-index: -1;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff4081;
}

.about-text p {
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #ff4081;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Music Section */
#music {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}

.music-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ff4081;
    color: #f8f9fa;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.filter-btn:hover, .filter-btn.active {
    background: #ff4081;
    color: #f8f9fa;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.music-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.music-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.music-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.music-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.music-item:hover .music-img img {
    transform: scale(1.1);
}

.music-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 13, 173, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-item:hover .music-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: #ff4081;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.music-info {
    padding: 20px;
}

.music-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.music-info p {
    font-size: 0.9rem;
    color: #aaa;
}

.release-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.audio-controls {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.audio-block.active .audio-controls {
    display: flex;
}

progress {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.controls button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    padding: 5px;
}

.controls button:hover {
    color: #4CAF50;
}

/* Videos Section */
#videos {
    background: #1a1a1a;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.video-item iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.video-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Newsletter Section */
#newsletter {
    background: #1a1a1a;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #ff4081;
    color: #f8f9fa;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff1a66;
}

/* Contact Section */
#contact {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ff4081;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: #ff4081;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #f8f9fa;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 20px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8f9fa;
    font-family: 'Boston Traffic', sans-serif;
}

.footer-logo span {
    color: #ff4081;
}

.footer-links ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    font-family: 'Boston Traffic', sans-serif;
    font-size: 20px;
    gap: 20px;
    font-weight: 200;
}

.footer-links ul li {
    margin: 0 15px 0 0;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 1.2rem;
}

.copyright {
    font-size: 0.9rem;
    color: #ffffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.video-content {
    position: relative;
    margin: 250px;
    width: 800px;
    max-width: 1000px;
    background: white;
    padding: 0;
    border-radius: 8px;
    display:block;
    border-color: aliceblue;
    align-items: center;
    justify-content: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 180px;
    font-size: 28px;
    cursor: pointer;
}

/* Logo animation */
#logo-wrapper {
    position: absolute;
    top: 20%;
    left: 10%;
    transform: translate(-10%, -10%);
    transition: all 0.1s ease;      
    z-index: 999;
}

#logo-wrapper.sticky {
    display:none;
}

#logo-wrapper1 {
    position: absolute;
    top: 20%;
    left: 10%;
    transform: translate(-10%, -10%);
    transition: all 0.1s ease;      
    z-index: 999;
    display:none;
}

#logo-wrapper1.sticky {
    display:block;
}

#logo {
    width: 25vh;
    transition: all 0.5s ease;
}

#logo-wrapper.sticky #logo {
    width: 2px;
}

/* Gallery Section */
#gallery {
    background: linear-gradient(125deg, #000000,#7c7c7c,#000000);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

.gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Boston Traffic', sans-serif;
}

.gallery-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f8f9fa;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.gallery-title span {
    color: #ff4081;
}

.gallery-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Optimized collage grid */
.collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
    will-change: transform;
}

.collage-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Individual item sizing for larger screens */
.collage {
    grid-template-columns: repeat(18, 2fr);
    grid-auto-rows: minmax(150px, auto);
}

.item-1 {
    grid-column: span 6;
    grid-row: span 2;
}

.item-2, .item-3 {
    grid-column: span 3;
    grid-row: span 1;
}

.item-4, .item-8 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-5 {
    grid-column: span 4;
    grid-row: span 2;
}

.item-6, .item-7 {
    grid-column: span 3;
    grid-row: span 1;
}

.item-9 {
    grid-column: span 6;
    grid-row: span 2;
}

.item-10, .item-11 {
    grid-column: span 3;
    grid-row: span 1;
}

.item-12, .item-15 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-13 {
    grid-column: span 4;
    grid-row: span 2;
}

.item-16, .item-14 {
    grid-column: span 3;
    grid-row: span 1;
}

/* Loading animation for images */
.collage-img {
    background: linear-gradient(90deg, #2c5364 0%, #203a43 50%, #2c5364 100%);
    background-size: 200% 200%;
    animation: loading 0.5s infinite;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    }
        
.modal-content {
    display: block;
    margin: 60px auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow:0 0 25px rgba(255, 255, 255, 1);
    animation: zoom 0.3s ease;
    }
    
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    }
        
.close:hover {
    color: #ff4d94;
    }

.caption {
    display: none;
    }

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Lazy loading styles */
.collage-img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

.collage-img.loaded {
    opacity: 1;
    animation: none;
    background: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    body {
        padding: 0;
    }
    .l1{
        display: none;
    }
    .about-content {
        flex-direction: column;
    }
    
    .about-img, .about-text {
        flex: none;
        width: 100%;
    }
    
    .about-img::after {
        display: none;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }

    .social-icons {
        display: flex;
        z-index: 999;
    }
    
    header.scrolled {
        margin-top: 10px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 0px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 200px);
        background: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        opacity: 0.9;
        z-index: -1;
        padding-bottom: 20px; 
        padding-top: 20%;
    }
    
    .l1{
        display: none;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 10px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
    }
    
    #logo {
        display: none;
    }
    
    .l1 {
        display: block;
        padding: 0;
        margin: 0;
    }
    
    .footer-content {
        justify-content: center;
    }
    .video-background {
    position: absolute;
    top: 50%;
    right: -25%;
    min-width: 100%;
    max-height: 100%;
    transform: translateY(-50%); /* ✅ Removed invalid second value */
    z-index: -1;
    object-fit: cover;
    object-position: right;
}
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .video-container {
        grid-template-columns: 1fr;
    }
}

/* Cover Songs Section - Shorts Style */
#songs {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') 
                no-repeat center center/cover;
    background-attachment: fixed;
    padding: 80px 5%;
    position: relative;
}

#songs .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Shorts Grid - 3×2 Grid */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.short-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    aspect-ratio: 9/16;
}

.short-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.short-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Short Video Container - Vertical 9:16 Aspect Ratio */
.short-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.short-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.short-item:hover .short-video img {
    transform: scale(1.05);
}

.short-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(229, 9, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.short-item:hover .short-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.short-item:hover .play-icon {
    transform: scale(1.1);
}

.short-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(45deg, #FF0000, #FF3333);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

/* Responsive Design for Shorts */
@media (max-width: 1200px) {
    .shorts-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .shorts-grid {
        gap: 15px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .short-badge {
        top: 10px;
        left: 10px;
        font-size: 0.6rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .shorts-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 15px;
        max-width: 300px;
    }
    
    #songs {
        padding: 60px 5%;
    }
}

/* Mobile First - Single Column for very small screens */
@media (max-width: 360px) {
    .shorts-grid {
        max-width: 280px;
    }
}

/* Prevent layout shifts */


.image-container {
    position: relative;
    overflow: hidden;
}

/* Reserve space for dynamic content */
.video-placeholder {
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

        /* Minimal critical CSS for above-the-fold content */
        *{margin:0;padding:0;box-sizing:border-box}body{background-color:#1a1a1a;color:#f8f9fa;line-height:1.6;overflow-x:hidden}#header{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:20px 0;transition:all .3s ease}.container{width:90%;max-width:1200px;margin:0 auto;padding:0 20px}.header-container{display:flex;align-items:center;justify-content:center;height:100px;z-index:99999}#hero{position:relative;width:100%;height:100vh;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;color:#fff}.video-background{position:absolute;top:50%;right:0;min-width:100%;max-height:100%;transform:translateY(-50%);z-index:-1;object-fit:cover;object-position:right}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.2);z-index:-1}.hero-content{width:100%;padding-bottom:25px}
        
        /* Font optimization */
        @font-face {
            font-family: 'Boston Traffic';
            font-display: swap;
            src: url('https://fonts.cdnfonts.com/css/boston-traffic') format('woff2');
        }
        
        /* Accessibility improvements */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        /* Loading states */
        .loading { opacity: 0; }
        .loaded { opacity: 1; transition: opacity 0.3s ease; }


/* Add font-display: swap */
@font-face {
  font-family: 'Your Font';
  font-display: swap;
}

/* Reserve space for images */
.img-container {
  aspect-ratio: 16/9;
  background: #f0f0f0;
}