@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Orbitron:wght@400;700&family=Arvo:wght@400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #001d3d 0%, #000814 100%);
    color: #f0f0f0;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#planet-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

@media (max-width: 768px) {
  #star-canvas,
  #planet-container {
    display: none;
  }
}

.planet {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: drift linear infinite;
}


.asteroid {
    position: absolute;
    background: #888;
    border-radius: 50%;
    opacity: 0.6;
    animation: asteroid-drift linear infinite;
}

@keyframes asteroid-drift {
    from { transform: translateY(-100vh) rotate(0deg); }
    to   { transform: translateY(100vh) rotate(720deg); }
}


@keyframes drift {
    from { transform: translateY(-100vh) rotate(0deg); }
    to   { transform: translateY(100vh) rotate(360deg); }
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(10, 10, 25, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: transform 0.1s ease;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@media (max-width: 600px) {
    .container {
        margin: 20px 10px;
        padding: 15px;
    }
}

h1, h2, h3 {
    color: #00e0ff;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px #00e0ff;
}

input, textarea, select, button {
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    background: #222;
    color: #fff;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.6);
    transition: 0.4s;
}

input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    max-width: 400px;
}

/* white checkbox for password toggle */
input.show-password-checkbox {
    accent-color: #ffffff;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #FF3B00;
    cursor: pointer;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
    box-sizing: border-box;
}

label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 15px #FF3B00;
    outline: none;
}

button {
    background: linear-gradient(135deg, #FF3B00 0%, #FF6000 100%);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF3B00 0%, #FF6000 100%);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}
.button:hover { background: #e23600; }

button:hover {
    background: #e23600;
    transform: scale(1.05);
}

.coin-icon {
    height: 1em;
    width: 1em;
    vertical-align: middle;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #FF3B00;
}

footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to { transform: scale(2); opacity: 0; }
}

/* Cursor follower */
#follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 59, 0, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(255, 59, 0, 0.7);
}

header {
  position: sticky;
  top: 0;
  z-index: 2000; /* ensure nav stays above page layout */
}

.navbar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    position: relative;
    z-index: 2000; /* layered above containers */
}

.navbar .logo {
    font-size: 24px;
    color: #FF3B00;
    font-weight: bold;
}
.header-logo {
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50%;
}

#menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu li {
    margin: 0 10px;
}

#menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

#menu li a:hover {
    color: #FF3B00;
}

.admin-nav {
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 8px;
}
.admin-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.admin-nav li {
    margin-right: 15px;
}
.admin-nav a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
}
.admin-nav li.active a,
.admin-nav a:hover {
    background: #FF3B00;
}
@media (max-width: 600px) {
    .admin-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-nav li {
        margin: 5px 0;
    }
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(51, 51, 51, 0.5); /* transparent dropdown */
    top: 100%;
    left: 0;
    min-width: 160px;
    z-index: 2000; /* sit on the same layer as the navbar */
}
.dropdown-content.show {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background: rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        position: relative;
    }

    #menu {
        position: fixed;
        top: 0;
        left: -260px;
        flex-direction: column;
        width: 250px;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding-top: 60px;
        display: flex;
        border-radius: 0;
    }

    #menu li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        z-index: 3000;
    }

    #menu.show {
        left: 0;
    }
}


/* Profile page */
.ads-sidebar { width: 120px; min-height: 100vh; background: #eaeaea; padding: 10px; text-align:center; box-shadow: inset 0 0 5px rgba(0,0,0,0.2); }
.main-content {
  flex: 1;
  min-height: 100vh;
  padding: 20px 0;
}
.profile-wrapper {
  max-width: 900px;
  margin: 30px auto;
  background: rgba(10, 10, 25, 0.6);
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.profile-wrapper .profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 30px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}


.profile-wrapper .profile-info { flex: 1; }
.profile-wrapper .motivation {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-left: 5px solid #007BFF;
  color: #000;
}
.download-btn,
.btn {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  transition: 0.5s;
  border-radius: 5px;
}

.download-btn:hover,
.btn:hover {
  background: #FF3B00;
  color: #050801;
  box-shadow: 0 0 5px #FF3B00,
              0 0 25px #FF3B00,
              0 0 50px #FF3B00,
              0 0 200px #FF3B00;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.download-btn span,
.btn span {
  position: absolute;
  display: block;
}

.download-btn span:nth-child(1),
.btn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF3B00);
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% { left: -100%; }
  50%,100% { left: 100%; }
}

.download-btn span:nth-child(2),
.btn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #FF3B00);
  animation: btn-anim2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes btn-anim2 {
  0% { top: -100%; }
  50%,100% { top: 100%; }
}

.download-btn span:nth-child(3),
.btn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #FF3B00);
  animation: btn-anim3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes btn-anim3 {
  0% { right: -100%; }
  50%,100% { right: 100%; }
}

.download-btn span:nth-child(4),
.btn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #FF3B00);
  animation: btn-anim4 1s linear infinite;
  animation-delay: 0.75s;
}

@keyframes btn-anim4 {
  0% { bottom: -100%; }
  50%,100% { bottom: 100%; }
}
.action-buttons a { margin-right: 10px; }
.websites a {
  display: inline-block;
  margin: 5px 0;
  padding: 8px 15px;
  background: #FF3B00;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
}
.websites a:hover { background: #e23600; color:#000; }
@media (max-width:900px) {
  .profile-wrapper { flex-direction: column; text-align: center; }
  .profile-wrapper .profile-pic { margin: 0 0 20px 0; }
  .ads-sidebar { width: 100%; height: auto; }
}

/* Partners page */
.partner-section { max-width: 1000px; margin: 40px auto; padding: 20px; background: #1a1a1a; border-radius: 10px; box-shadow: 0 0 15px rgba(0,0,0,0.5); }
.partner-item { display: flex; align-items: center; margin-bottom: 25px; }
.partner-logo { width: 120px; height: auto; margin-right: 20px; border-radius: 8px; box-shadow: 0 0 5px rgba(0,0,0,0.4); }
.partner-item h3 { margin: 0 0 5px; }
.partner-item h3 a {
  color: #FFD700;
  text-decoration: none;
}
.partner-item h3 a:hover { text-decoration: underline; }
.partner-item p { margin: 0; line-height: 1.4; }
@media (max-width: 600px) {
  .partner-item { flex-direction: column; text-align: center; }
  .partner-logo { margin: 0 0 10px 0; }
}

/* Form containers */
.form-container {
  text-align: center;
}

/* Home page */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: rgba(10,10,25,0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  position: relative;
  z-index: 10;
}
.hero-content {
  max-width: 600px;
  margin: auto;
}
.hero-logo { width:150px; border-radius:50%; }
.hero-profile { width:100px; border-radius:50%; margin-top:15px; }

.home-hero { text-align:center; }


.gallery-grid { display:flex; flex-wrap:wrap; gap:15px; justify-content:center; }
.gallery-item img { width:150px; height:150px; object-fit:cover; border-radius:8px; }

.carousel {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
}
.carousel img { width:100%; display:none; border-radius:10px; }
.carousel img.active { display:block; }

/* Gallery modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.gallery-modal img { max-width: 80%; max-height: 80%; border-radius: 10px; }
.gallery-modal .modal-caption { color: #fff; margin: 10px; }
.gallery-modal button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
#gallery-prev { left: 20px; }
#gallery-next { right: 20px; }
#gallery-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
}

/* Reviews */
.reviews-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.review-item {
  border-bottom: 1px solid #333;
  padding: 15px 0;
}
.review-item .stars {
    color: gold;
}

/* Dashboard */
.dashboard-actions {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dashboard-actions li {
    flex: 1 1 150px;
}
.dashboard-actions button {
    width: 100%;
    border-radius: 8px;
    padding: 12px;
}

/* Back to top button */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FF3B00;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}
#back-to-top.show { display: flex; }

/* Futuristic 404 page */
.futuristic-404 {
  text-align: center;
  padding: 80px 20px;
}

.futuristic-404 h1 {
  font-size: 120px;
  color: #FF3B00;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 20px #FF3B00;
}

.futuristic-404 p {
  font-size: 24px;
  margin-bottom: 30px;
}

.futuristic-404 .sad-smilie {
  font-size: 60px;
  vertical-align: middle;
}

/* Animated 404 page background */
.page_404 {
  padding: 40px 0;
  text-align: center;
  font-family: 'Arvo', serif;
}

.four_zero_four_bg {
  background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
  height: 400px;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.four_zero_four_bg h1 {
  font-size: 80px;
  margin: 0;
}

.four_zero_four_bg h3 {
  font-size: 80px;
  margin: 0;
}

.link_404 {
  color: #fff !important;
  padding: 10px 20px;
  background: #39ac31;
  margin: 20px 0;
  display: inline-block;
  text-decoration: none;
  border-radius: 5px;
}

.contant_box_404 { margin-top: -50px; }


# Maintenance overlay
#maintenance-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); color:#fff; display:flex; align-items:center; justify-content:center; text-align:center; font-size:24px; z-index:2000; }

/* Auth pages */
body.auth-bg {
  min-height: 100vh;
  background: url(/assets/background.jpg) no-repeat center/cover;
  background-size: cover;
  background-position: center;
}

.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper, .auth-wrapper {
  width: 420px;
  margin: 40px auto;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  color: #fff;
  border-radius: 10px;
  padding: 30px 40px;
}

.wrapper h1, .auth-wrapper h1 {
  font-size: 36px;
  text-align: center;
}

.wrapper .input-box, .auth-wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.wrapper .input-box input, .auth-wrapper .input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  font-size: 16px;
  color: #fff;
  padding: 20px 45px 20px 20px;
}

.wrapper .input-box input::placeholder, .auth-wrapper .input-box input::placeholder {
  color: #fff;
}

.wrapper .input-box i, .auth-wrapper .input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.wrapper .remember-forgot, .auth-wrapper .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: -15px 0 15px;
}

/* simple alert styles for auth pages */
.message {
  margin: 10px 0;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
}
.message.error { color: #ff8080; }
.message.success { color: #4caf50; }


.wrapper .remember-forgot label input, .auth-wrapper .remember-forgot label input {
  accent-color: #fff;
  margin-right: 3px;
}

.wrapper .remember-forgot a, .auth-wrapper .remember-forgot a {
  color: #fff;
  text-decoration: none;
}

.wrapper .remember-forgot a:hover, .auth-wrapper .remember-forgot a:hover {
  text-decoration: underline;
}

.wrapper .btn, .auth-wrapper .btn {
  width: 100%;
  height: 45px;
  border-radius: 40px;
  border: none;
  outline: none;
  background: #fff;
  box-shadow: 0 0 10px rgba(0 , 0 , 0 , .1);
  cursor: pointer;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.wrapper .register-link, .auth-wrapper .register-link {
  text-align: center;
  font-size: 14.5px;
  margin: 20px 0 15px;
}

.wrapper .register-link p a, .auth-wrapper .register-link p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.wrapper .register-link p a:hover, .auth-wrapper .register-link p a:hover {
  text-decoration: underline;
}



