/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #1E2A3A;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1E2A3A;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
.navbar {
    background-color: #1E2A3A;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 10px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #E0C67D;
}

.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 500px;
    height: 70vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    background-color: #1E2A3A;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero::before {
    display: none;
}

.hero-content {
    position: absolute;
    z-index: 10;
    left: 10%;
    top: 30%;
    text-align: left;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    margin-bottom: 25px;
}

.watch-latest-btn {
    display: inline-block;
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    color: #1E2A3A;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.watch-latest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
}

.hero-logo img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.music-player {
    margin-top: 15px;
    text-align: left;
}

.player-controls {
    display: inline-flex;
    justify-content: flex-start;
    gap: 5px;
}

.player-btn {
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    font-size: 0.75rem;
    padding: 2px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-btn:hover {
    opacity: 0.7;
}

.track-name-container {
    margin-top: 8px;
    width: 160px;
    height: 20px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    display: none;
}

.track-name-container.playing {
    display: block;
}

.track-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    display: inline-block;
    animation: scrollTrackName 12s linear infinite;
}

@keyframes scrollTrackName {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.hero-image-container {
    display: none;
}

.hero-image {
    display: none;
}

/* Video Cards Section */
.video-cards {
    background-color: #1E2A3A;
    padding: 40px 20px 50px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 15;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 200px;
}

.loading-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-bar-wrapper {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #937B47 0%, #E0C67D 50%, #9D804C 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(224, 198, 125, 0.5);
}

.loading-percentage {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #E0C67D;
    margin-top: 10px;
    font-weight: 600;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.video-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    position: relative;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.video-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-card:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.video-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.video-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}


.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.card-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: 16px;
    margin: 0;
}

.thumbnail-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 42, 58, 0.7) 0%, rgba(106, 149, 204, 0.3) 100%);
    pointer-events: none;
    z-index: 2;
}

.card-title-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 5;
}

.card-title-overlay .card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.overlay-text {
    font-size: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 3px;
}

.overlay-badge {
    font-size: 9px;
    color: white;
    background: #c9a227;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.play-button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 5;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-button svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.card-description {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.watch-btn {
    background-color: #C9A227;
    color: #1E2A3A;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background-color: #D4B02E;
    transform: scale(1.05);
}

/* Recent Videos Section */
.recent-videos {
    background-color: #1E2A3A;
    padding: 30px 20px 40px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.recent-videos-grid {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.recent-video-card {
    width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.recent-video-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.recent-video-card:hover {
    transform: translateY(-3px);
}

.recent-video-card:nth-child(1).animate-in {
    transition-delay: 0.1s;
}

.recent-video-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.recent-video-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.recent-video-card:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

.recent-thumbnail {
    position: relative;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.recent-thumbnail-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 42, 58, 0.85) 0%, rgba(106, 149, 204, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

.recent-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
}

.play-icon-small {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.3s ease;
}

.play-icon-small svg {
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

.recent-video-card:hover .play-icon-small {
    background: rgba(0, 0, 0, 0.8);
}

.recent-video-title {
    font-size: 0.8rem;
    color: #cccccc;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #1E2A3A;
    padding: 25px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 0.85rem;
    color: #888888;
    align-self: center;
}

.newsletter {
    text-align: right;
}

.newsletter-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #C9A227;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-input {
    background-color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 25px 0 0 25px;
    font-size: 0.9rem;
    width: 220px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #888888;
}

.newsletter-btn {
    background: #C9A227;
    border: none;
    padding: 12px 18px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container {
        gap: 15px;
    }
    
    .video-card {
        width: 280px;
    }
    
    .hero-content {
        left: 5%;
        top: 30%;
    }
    
    .hero-logo {
        max-width: 400px;
        right: 5%;
    }
    
    .hero-background img {
        height: 65vh;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero {
        min-height: auto;
        height: auto;
        padding-bottom: 20px;
        flex-direction: column;
    }
    
    .hero-background {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }
    
    .hero-background img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
        object-position: center top;
    }
    
    .hero-content {
        position: relative;
        left: 0;
        top: 0;
        padding: 20px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        max-width: 200px;
        margin: 15px auto;
    }
    
    .music-player {
        text-align: center;
    }
    
    .player-controls {
        justify-content: center;
    }
    
    .cards-container {
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
    }
    
    .video-card {
        width: 100%;
        max-width: 320px;
    }
    
    .card-thumbnail {
        height: 180px;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .recent-videos-grid {
        justify-content: center;
        gap: 15px;
    }
    
    .recent-video-card {
        width: 150px;
    }
    
    .recent-thumbnail {
        height: 90px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .newsletter {
        text-align: center;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .newsletter-input {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 3px;
    }
    
    .nav-link {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .watch-latest-btn {
        font-size: 0.75rem;
        padding: 10px 18px;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .video-card {
        max-width: 280px;
    }
    
    .card-thumbnail {
        height: 150px;
    }
    
    .card-title-overlay .card-title {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .recent-video-card {
        width: 130px;
    }
    
    .recent-thumbnail {
        height: 75px;
    }
    
    .play-icon-small {
        width: 24px;
        height: 24px;
    }
    
    .newsletter-input {
        width: 150px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .newsletter-btn {
        padding: 10px 14px;
    }
}
