body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
    color: #fff;
    position: relative;
}

/* Header styles */
header {
    background-color: #4B0082;
    padding: 15px 30px;
    text-align: center;
    position: relative;
    z-index: 10;
}

header img {
    height: 60px;
    filter: brightness(0) invert(1);
}

header h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

header h2 {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Cover section below header */
.cover-section {
    position: relative;
    background: url('../IMAGES/index-cover-up.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh; /* full viewport height */
    margin-top: 0;
    overflow: hidden;
}


/* Dark overlay for contrast */
.cover-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: rgba(0,0,0,0.5); 
    z-index: 1;
}

/* Floating logo on cover */
.cover-logo {
    position: absolute;
    top: 20%;
    left: 60%;
    height: 200px;
    z-index: 2;
    filter: brightness(0) invert(1);
}

/* Theme word below logo */
.cover-theme {
    position: absolute;
    top: 45%; 
    left: 72%;
    transform: translateX(-50%);
    height: 80px;
    z-index: 2;
    filter: brightness(0) invert(1);
    animation: rotatePage 2s linear 1; /* Animate once */
}

/* Buttons container on left */
.cover-buttons {
    position: absolute;
    top: 10%;
    left: 1%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 10px;
    z-index: 4; /* Above stars */
}

/* Buttons style */
.cover-buttons a {
    display: block;
    padding: 18px 20px 18px 25px;
    font-size: 38px; /* Increased font size */
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #000; /* Black text */
    text-decoration: none;
    border-radius: 12px;
    text-align: left;
    min-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 2px solid #fff;
    -webkit-text-stroke: 0;
    text-shadow: 
        0 0 8px rgba(255,255,255,0.9),
        0 0 15px rgba(255,255,255,0.8),
        0 0 25px rgba(255,255,255,0.6); /* White glow behind text */
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s forwards;
}

/* Buttons animation delay */
.cover-buttons a:nth-child(1) { animation-delay: 0.2s; }
.cover-buttons a:nth-child(2) { animation-delay: 0.4s; }
.cover-buttons a:nth-child(3) { animation-delay: 0.6s; }
.cover-buttons a:nth-child(4) { animation-delay: 0.8s; }
.cover-buttons a:nth-child(5) { animation-delay: 1s; }
.cover-buttons a:nth-child(6) { animation-delay: 1.2s; }
.cover-buttons a:nth-child(7) { animation-delay: 1.4s; }
.cover-buttons a:nth-child(8) { animation-delay: 1.6s; }

/* Gradient colors for normal buttons */
.cover-buttons a:not(.vip-link) {
    background: linear-gradient(90deg, #ff6ed1, #a200ff);
}

/* VIP button gradient */
.cover-buttons a.vip-link {
    background: linear-gradient(90deg, #b8860b, #ffd700);
    color: #000; /* keep black for visibility */
    text-shadow:
        0 0 8px rgba(255,255,255,0.9),
        0 0 15px rgba(255,255,255,0.8),
        0 0 25px rgba(255,255,255,0.6);
}

/* Hover effect */
.cover-buttons a:hover {
    transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 25px 25px;
  background: #4B0082; /* Indigo tone */
  color: #fff;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
}

.footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 5px;
  transition: 0.3s;
}

.footer a:hover {
  color: #ffd700; /* Golden hover effect */
}

.footer .contact-info {
  margin-top: 10px;
  font-size: 16px;
}

.footer .social-links {
  margin-top: 12px;
}

.footer .social {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  margin: 0 6px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  background: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer .social:hover {
  transform: scale(1.1);
  background: #fff;
  color: #4B0082;
}

/* Optional: unique colors for each icon */
.footer .fb:hover {
  color: #1877F2; /* Facebook blue */
}

.footer .insta:hover {
  color: #E4405F; /* Instagram pink */
}


/* Animations */
@keyframes rotatePage {
    0% { transform: translateX(-50%) rotateY(0deg); }
    100% { transform: translateX(-50%) rotateY(360deg); }
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Stars container */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* behind buttons */
    pointer-events: none;
}

/* Star styles */
.star {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px 2px white;
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0.5); }
}
/* ===== Updated Responsive CSS ===== */

/* Large tablets / small screens */
@media (max-width: 1024px) {
    .cover-section {
        background-size: cover; /* make cover image fill viewport */
        height: 100vh;
    }

    .cover-logo {
        height: 120px;
        top: 2%;
        left: 5%;
    }

    .cover-theme {
        top: 18%;
        left: 5%;
        height: 50px;
    }

    .cover-buttons {
        top: 35%; /* move buttons below logo & theme */
        left: 5%;
        gap: 15px;
        padding-left: 0;
    }

    .cover-buttons a {
        font-size: 20px;
        min-width: 280px;
        padding: 12px 16px;
    }
}

/* Tablets / portrait mode */
@media (max-width: 768px) {
    .cover-section {
        background-size: cover;
        height: 100vh;
    }

    .cover-logo {
        height: 100px;
        top: 2%;
        left: 5%;
    }

    .cover-theme {
        top: 15%;
        left: 5%;
        height: 40px;
    }

    .cover-buttons {
        top: 30%; /* move buttons below logo & theme */
        left: 5%;
        gap: 12px;
        padding-left: 0;
    }

    .cover-buttons a {
        font-size: 18px;
        min-width: 240px;
        padding: 10px 14px;
    }
}

/* Small devices / mobile */
@media (max-width: 480px) {
    .cover-section {
        background-size: cover;
        height: 100vh;
    }

    .cover-logo {
        height: 80px;
        top: 2%;
        left: 25%;
    }

    .cover-theme {
        top: 14%;
        left: 50%;
        height: 30px;
    }

    .cover-buttons {
        top: 20%; /* buttons below logo & theme */
        left: 5%;
        gap: 10px;
        padding-left: 0;
    }

    .cover-buttons a {
        font-size: 25px;
        min-width: 180px;
        padding: 8px 12px;
    }

    header h1 {
        font-size: 18px;
    }

    header h2 {
        font-size: 12px;
    }
    .footer {
    text-align: center;
    padding: 25px 25px; /* reduced vertical padding */
    background: #4B0082;
    color: #fff;
    margin-top: 0;
}

.footer a {
    color: #fff;
    text-decoration: underline;
    margin: 0 5px;
}

}

/* Very small devices / portrait mobiles */
@media (max-width: 360px) {
    .cover-section {
        background-size: cover;
        height: 100vh;
    }

    .cover-logo {
        height: 70px;
        top: 2%;
        left: 5%;
    }

    .cover-theme {
        top: 10%;
        left: 5%;
        height: 25px;
    }

    .cover-buttons {
        top: 22%;
        left: 5%;
        gap: 8px;
        padding-left: 0;
    }

    .cover-buttons a {
        font-size: 18px;
        min-width: 150px;
        padding: 6px 10px;
    }

    header h1 {
        font-size: 16px;
    }

    header h2 {
        font-size: 10px;
    }
}
