/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

/* HEADER BAR */
.header-bar{
display:flex;
align-items:center;
justify-content:flex-end;
background:#302f2f;
padding:10px 40px;
position:relative;
border-color: #CCCCCC;
border: #f1f1f1;
}

/* CENTER LOGO */
.logo{
position:absolute;
left:50%;
transform:translateX(-50%);
}

.logo img{
height:48px;
}

/* LOGIN RIGHT */
.login-box{
display:flex; 
align-items:center;
gap:8px;
color:white;
}

.login-box a{
color:white;
text-decoration:none;
font-size:13px;
font-weight:600;
letter-spacing:1px;
}

/* MENU BAR */
.menu-bar{
display:flex;
align-items:center;
justify-content:space-between;
background:#2a2a2a;
padding:0 40px;
height:60px;
position:relative;
/* line separating from header bar */
border-top:1px solid #333;
}

/* MENU CENTER */
.nav-menu{
display:flex;
list-style:none;
gap:30px;
}

.nav-menu li{
    position: relative;
}

.nav-menu a{
    color:white;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    padding-bottom:8px;
    display:inline-block;
}

/* underline animation */
.nav-menu li::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0%;
    height:3px;
    background:#1717e0;
    transition:width 0.3s ease;
}

.nav-menu li:hover::after{
    width:100%;
}

/* LEFT ICON */
.kgf-icon{
height:25px;
}

/* RIGHT SECTION */
.menu-right{
display:flex;
align-items:center;
gap:10px;
color:white;
}

.vk-icon{
height:25px;
}

/* HOVER EFFECT */
.nav-menu a:hover{
color:#1717e0;
}

.more-menu{
position:relative;
}

/* FULL DROPDOWN PANEL */
.more-dropdown{
position:absolute;
top:60px;
left:0;
width:100vw;

background:#e6e6e6;
padding:60px 0;

display:none;
}

/* SHOW DROPDOWN */
.more-menu:hover .more-dropdown{
display:block;
}

/* LINKS CONTAINER */
.more-links{
display:flex;
justify-content:center;
align-items:center;
gap:80px;
}

/* LINKS */
.more-links a{
text-decoration:none;
font-size:22px;
font-weight:700;
letter-spacing:2px;
color:#111;
background:none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
}

.banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.banner-text {
    position: absolute;
    top: 155px;          /* adjust to place under Tamil title */
    left: 18px;         /* adjust horizontal position */

    color: white;
    font-size: 18px;
    font-weight: 222;
    letter-spacing: 1px;

    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

/* CTA Button */
.cta-btn {
    background-color: #1717e0;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-btn:hover {
    background-color: #FFFFFF;
    color: #1717e0;
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1717e0;
}

/* Movies Section */
.movies-section {
    padding: 4rem 2rem;
    background-color: #FFFFFF;
}

.movies-carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem;
    scrollbar-width: default; /* Show scrollbar on Firefox */
    -ms-overflow-style: none;
}

.movies-carousel::-webkit-scrollbar {
    display: none;
}

.movie-card {
    position: relative;
    flex: 0 0 300px;
    background-color: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.movie-card img{
    width: 100%;
    display: block;
}

/* Text over image - main title */
.movie-title-main{
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    background: transparent;
    padding: 4px 8px;
}

/* subtitle under main title */
.movie-title-sub{
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    color: #CCCCCC;
    font-size: 1rem;
    text-align: center;
    background: transparent;
    padding: 2px 8px;
}

.movie-year{
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #CCCCCC;
    font-size: 0.9rem;
    background: transparent;
    padding: 4px 6px;
    border-radius: 4px;
}

.movie-card:hover{
transform: scale(1.05);
box-shadow: 0 0 25px rgba(0,140,255,0.7);
}

.movie-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.movie-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.movie-card p {
    padding: 0 1rem 1rem;
    color: #CCCCCC;
    font-size: 0.9rem;
}

/* Streaming Banner */
.streaming-banner {
    height: 50vh;
    background-image: url('https://via.placeholder.com/1920x600/1A1A1A/FFFFFF?text=Kingdom+Characters+Collage');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.streaming-content {
    text-align: center;
    z-index: 2;
}

.streaming-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #1717e0;
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background-color: #FFFFFF;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.news-card p {
    padding: 0 1rem 1rem;
    color: #CCCCCC;
}

/* Music Section */
.music-section {
    padding: 4rem 2rem;
    background: #fff;
}

.music-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.music-card {
    background: #1717e0;
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    margin: auto;
    color: white;
}

/* TOP PLAYER */
.music-top {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

/* ALBUM */
.album img {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    object-fit: cover;
}

/* INFO */
.music-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.preview {
    opacity: .8;
    margin-bottom: 10px;
}

.spotify-btn {
    background: none;
    border: 1px solid white;
    padding: 6px 12px;
    color: white;
    cursor: pointer;
    margin-bottom: 1rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-info p {
    display: inline;
    margin-left: 10px;
}

/* CONTROLS */
.controls {
    display: flex;
    gap: 10px;
}

.controls button {
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.play-btn {
    background: #fff;
    font-size: 18px;
}

/* TRACK LIST */
.track-container {
    background: #1a0099;
    max-height: 250px;
    overflow-y: auto;
}

.track-list {
    list-style: none;
}

.track-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.track-list li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Join Section */
.join-section {
    padding: 4rem 2rem;
    background-color: #1A1A1A;
    text-align: center;
}

.join-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #1717e0;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 4rem 2rem 2rem;
    color: #fffafa;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-column h4 {
    color: #1717e0;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #fffdfd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #1717e0;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    font-size: 26px;
    color: #FFFFFF;
    transition: 0.3s;
}

.social-icon:hover {
    color: #1717e0;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    .header-bar {
        padding: 10px 20px;
    }

    .logo img {
        height: 35px;
    }

    .login-box {
        gap: 5px;
    }

    .login-box a {
        font-size: 12px;
    }

    /* Navigation */
    .menu-bar {
        padding: 0 20px;
        position: relative;
    }

    .menu-left {
        display: none; /* Hide KGF icon on mobile */
    }

    .hamburger {
        display: flex;
        order: -1; /* Move hamburger to left */
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2a2a2a;
        flex-direction: column;
        padding: 20px 0;
        display: none;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-right {
        display: none; /* Hide right menu on mobile */
    }

    /* Banner Text */
    .banner-text {
        font-size: 14px;
        left: 50%;
        transform: translateX(-50%);
        top: 100px;
        width: 90%;
        text-align: center;
    }

    /* Movies - Keep horizontal scrolling on mobile */
    .movies-carousel {
        flex-direction: row; /* Keep horizontal */
        gap: 15px;
        padding: 10px;
    }

    .movie-card {
        flex: 0 0 250px; /* Fixed width for horizontal scroll */
        min-width: 250px;
    }

    /* Music Player */
    .music-card {
        max-width: 100%;
    }

    .music-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .album img {
        width: 120px;
        height: 120px;
    }

    .music-info h3 {
        font-size: 1.5rem;
    }

    .controls {
        justify-content: center;
    }

    .track-container {
        max-height: 200px;
    }

    .more-links {
        flex-direction: column;
        gap: 20px;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {\n    .movie-card {
        flex: 0 0 220px; /* Smaller cards on very small screens */
        min-width: 220px;
    }

    .music-info h3 {
        font-size: 1.3rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title, .movie-card, .news-card, .music-player, .join-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 6px;
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
    background: #1a1a1a;
}

/* Scrollbar handle */
::-webkit-scrollbar-thumb {
    background: #2b00ff;
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #0d00ff;
}