.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-img:hover {
    transform: rotate(360deg);
    transition: 0.8s;
}



.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
}

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}
/* Navigation menu links default style */
ul.nav-links li a {
    font-weight: 500;               /* slightly bold */
    font-size: 1rem;                /* default size */
    color:  #FAF9F6;                    /* default color */
    transition: all 0.3s ease;      /* smooth animation for hover */
}

/* Hover effect */
ul.nav-links li a:hover {
    font-weight: 600;               /* slightly bolder on hover */
    font-size: 1.05rem;             /* slightly larger */
    color: #ff6600;                 /* change color on hover */
}

/* Header title / site title */
.site-title {
    font-size: 1.8rem;        /* larger font size */
    font-weight: 700;         /* bolder font */
    color: #333;              /* default color */
    text-decoration: none;    /* remove underline */
    transition: all 0.3s ease; /* smooth hover animation */
}

/* Hover effect */
.site-title:hover {
    color: #ff6600;           /* change color on hover */
    transform: scale(1.05);   /* slightly enlarge */
}
/* ===== GPM MISSION PREMIUM BRAND ===== */
.brand-name {
    font-weight: 900;
    font-size: 22px;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
}

.brand-text {
    background: linear-gradient(270deg, #ffcc00, #ff6600, #ffaa00);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% }
    50% { background-position: 100% }
    100% { background-position: 0% }
}

.brand-name::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    left: 0;
    bottom: -5px;
    background: linear-gradient(90deg, #ffcc00, #ff6600);
    transition: 0.4s ease;
}

.brand-name:hover::after { width: 100%; }
.brand-name:hover { transform: scale(1.05); }
.brand-name:active { transform: scale(0.95); }
.active-brand { text-shadow: 0 0 8px rgba(255, 204, 0, 0.6); }

.brand-text.animate-once {
    animation: fadeSlide 0.8s ease;
}
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ===== CHAT STYLING ===== */
.chat-box {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 12px;
    background: #fdfdfd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-message {
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff5d1;
    color: #333;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 90%;
    animation: fadeIn 0.3s ease;
}

.chat-message .username {
    font-weight: 700;
    color: #ff9900;
    margin-right: 5px;
}

.chat-message.user {
    align-self: flex-end;
    background: #ffeb99;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.chat-form input[type="text"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    flex: 1 1 200px;
    max-width: 300px;
}

.chat-form button {
    padding: 10px 20px;
    background: #ffcc00;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-form button:hover {
    background: #ffaa00;
}

@media(max-width:768px){
    .chat-form { flex-direction: column; align-items: stretch; }
    .chat-form input[type="text"] { max-width: 100%; }
}
/* ===== LIVE PAGE ===== */
.live-page {
    padding: 20px 10px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffcc00;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Live Box */
.live-box {
    margin-bottom: 30px;
    text-align: center;
    background: transparent; /* no background */
    box-shadow: none; /* remove shadow */
}

.live-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.live-badge {
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* Live Video */
.live-video iframe {
    width: 100%;
    max-width: 900px;
    height: 500px;
    border-radius: 0; /* remove rounded corners */
    border: none;     /* no border */
    box-shadow: none; /* remove shadow */
    background: transparent;
}

/* No live stream */
.no-live p {
    font-size: 18px;
    font-weight: 500;
    color: #ccc; /* blend with website background */
}

/* Chat Section */
.chat-section {
    margin-top: 40px;
    text-align: center;
}

.chat-box {
    height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.2); /* subtle border */
    border-radius: 8px;
    padding: 10px;
    background: transparent; /* fully transparent */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Chat Messages */
.chat-message {
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255,204,0,0.1); /* semi-transparent for readability */
    color: #fff;
    font-size: 14px;
    max-width: 90%;
    animation: fadeIn 0.3s ease;
}

.chat-message .username {
    font-weight: 700;
    color: #ffcc00;
    margin-right: 5px;
}

.chat-message.user {
    align-self: flex-end;
    background: rgba(255,170,0,0.1); /* semi-transparent user bubble */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat Form */
.chat-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.chat-form input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2); /* subtle border */
    background: transparent; /* transparent input */
    color: #fff; /* input text color */
    flex: 1 1 200px;
    max-width: 300px;
}

.chat-form input::placeholder {
    color: rgba(255,255,255,0.6); /* placeholder blending */
}

.chat-form button {
    padding: 10px 20px;
    background: rgba(255,204,0,0.8);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
}

.chat-form button:hover {
    background: rgba(255,204,0,1);
}

/* Past Streams Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 20px;
    margin-top: 20px;
}

.history-box {
    background: transparent; /* transparent background */
    padding: 10px;
    border-radius: 0;
    box-shadow: none;
}

.history-video iframe {
    width: 100%;
    height: 200px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Responsive */
@media(max-width:768px) {
    .live-video iframe { height: 300px; }
    .history-video iframe { height: 180px; }
    .chat-form { flex-direction: column; align-items: stretch; }
    .chat-form input[type="text"] { max-width: 100%; }
}
