* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* header */
header {
  background: rgba(0, 209, 255, 0.05);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0, 209, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 20px 100px 20px;
}

.header-logo {
  position: absolute;
  left: 20px;
  width: auto;
  height: 85px;
  filter: drop-shadow(-10px 0 10px rgb(0, 0, 255)) drop-shadow(10px 0 10px rgb(255, 0, 0));
  animation: holo-flicker 10s linear infinite, forceFloat 5s ease-in-out infinite;
}

@keyframes holo-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { 
        opacity: 1; 
        filter: drop-shadow(-10px 0 10px rgb(0, 0, 255)) drop-shadow(10px 0 10px rgb(255, 0, 0)) brightness(1);
    }
    20%, 24%, 55% { 
        opacity: 0.3; 
        filter: drop-shadow(-2px 0 2px rgb(0, 0, 255)) brightness(0.5);
    }
    22% { 
        opacity: 1; 
        filter: drop-shadow(-15px 0 20px rgb(0, 209, 255)) brightness(2);
    }
}

@keyframes forceFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-3px, 4px); }
    50% { transform: translate(2px, -5px); }
    75% { transform: translate(-1px, 2px); }
}

/* hamburger button */
.hamburger {
  background: none; 
  border: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  box-shadow: 0 0 8px rgb(0, 209, 255);
  background: rgb(0, 209, 255);
  border-radius: 2px;
}

.hamburger.hidden {
  visibility: hidden;
}

/* nav menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(5, 9, 10, 0.98);
  border-left: 2px solid #00d1ff;
  padding-top: 80px;
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  visibility: visible;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.2);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  font-family: "Federant", serif;
  border: 1px solid rgb(0, 209, 255);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 209, 255, 0.1);
  display: inline-block;
  color: rgb(0, 209, 255);
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.2);
}

.mobile-nav a:hover {
  background: rgb(255, 0, 0);
  color: rgb(0, 0, 0);
  box-shadow: 0 0 15px rgb(255, 0, 0);
  border: 1px solid rgb(0, 0, 0);
}

/* body-html */
html, body {
  margin: 0;
  overflow-x: hidden;
}

html {
  background: linear-gradient(to bottom, rgb(0, 26, 46) 0%, rgb(10, 0, 0) 50%, rgb(43, 10, 10) 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  background: transparent;
  color: rgb(224, 224, 224);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

/* page styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.home-page h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.mainbox-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cyber-btn {
    position: relative;
    padding: 15px 35px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.btn-blue { border-left: 4px solid #00a8ff; box-shadow: -5px 0 15px rgba(0, 168, 255, 0.2); }
.btn-red { border-left: 4px solid #e61919; box-shadow: -5px 0 15px rgba(230, 25, 25, 0.2); }

.cyber-btn:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #000;
}

.btn-blue:hover { box-shadow: 0 0 25px #00a8ff; }
.btn-red:hover { box-shadow: 0 0 25px #e61919; }

.server-status-terminal {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(77, 0, 140, 0.3);
    border-radius: 4px;
    padding: 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-bar .dot {
    width: 8px;
    height: 8px;
    background: #ff9f00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff9f00;
}

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-node {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 5px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stat-value.online {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.uptime-container {
    margin-top: 20px;
}

.uptime-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    text-align: right;
    font-family: monospace;
}

.uptime-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.uptime-bar .fill {
    height: 100%;
    width: 98%;
    background: linear-gradient(to right, #00a8ff, #4d008c, #e61919);
    box-shadow: 0 0 10px rgba(77, 0, 140, 0.5);
}

.home-page .mainbox {
    background: rgba(0, 209, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 20px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 300px;
}

.home-page .btn {
  display: block;
  padding: 10px 20px;
  background-color: transparent;
  color: rgb(255, 0, 0);
  text-decoration: none;
  font-weight: bold;
  border: 2px solid rgb(255, 0, 0);
  margin: 20px auto;
  transition: 0.3s;
  width: fit-content;
}

.home-page .btn:hover {
  background-color: rgb(255, 0, 0);
  color: rgb(0, 0, 0);
  box-shadow: 0 0 15px rgb(255, 0, 0);
  cursor: pointer;
}

.shop-page h1 {
  color: rgb(255, 0, 0);
  text-align: left;
}

.shop-page .grid {
  grid-template-columns: repeat(3, 1fr);
}

.shop-page .card {
  background: rgb(26, 26, 26);
  border: 1px solid rgb(0, 209, 255);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-family: 'Courier New', monospace;
    color: #00d1ff;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    padding-left: 5px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 209, 255, 0.2);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #00d1ff;
    background: rgba(0, 209, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.1);
}

::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.home-page .scroll-stack {
  position: relative;
}

.home-page .sticky-wrapper {
  height: 100vh;
  position: relative;
}

.home-page .sticky-content {
position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .slide-left { transform: translateX(-100%); }
.home-page .slide-right { transform: translateX(100%); }

.home-page .sticky-content.active {
  transform: translateX(0);
}

.home-page .sticky-content img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.home-page .mainbox-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 8px;
    position: relative;
    margin-bottom: 30px;
    z-index: 10;
    
    background: linear-gradient(to right, 
        #00a8ff 0%,
        #00a8ff 35%,
        #4d008c 50%,
        #ff9f00 65%,
        #e61919 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.3))
            drop-shadow(0 0 10px rgba(77, 0, 140, 0.4))
            drop-shadow(0 0 10px rgba(230, 25, 25, 0.3));
    
    animation: title-life 5s ease-in-out infinite; 
}

.home-page .mainbox-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    background: linear-gradient(to right, #00a8ff, #4d008c, #ff9f00, #e61919);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(25px);
    opacity: 0.5;
}

@keyframes title-life {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(0, 168, 255, 0.2));
    }
    50% {
        transform: scale(1.015);
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(250, 60, 60, 0.4)); /* Brief red flare */
    }
}

.team-section {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(0, 209, 255, 0.1);
  margin-bottom: 100px;
  border-radius: 15px;
}

.terminal-header {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.team-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #ff002b;
  letter-spacing: 5px;
  text-shadow: 0 0 15px rgba(255, 0, 43, 0.4);
  background: none !important;
}

.group-label {
  font-family: 'Courier New', Courier, monospace;
  color: #00d1ff;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.group-label::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(to right, #00d1ff, transparent);
  margin-left: 15px;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.member-card {
  background: rgba(0, 209, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.2);
  padding: 25px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 209, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.member-card:hover {
  background: rgba(0, 209, 255, 0.1);
  border-color: #00d1ff;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.2);
}

.member-card:hover::before {
  transform: translateX(100%);
}

.rank {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.name {
  font-size: 1.4rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.member-card.founder {
  border-left: 3px solid #ff002b;
}

.member-card.founder:hover {
  border-color: #ff002b;
  box-shadow: 0 0 20px rgba(255, 0, 43, 0.2);
}

.card-status {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 0.6rem;
  color: #00ff88;
  text-shadow: 0 0 5px #00ff88;
}

.home-page .mainbox-paragraph {
  text-align: center;
}

.home-page .faction-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

.home-page .image-container {
  position: relative;
  height: 720px;
  width: 1280px;
  overflow: hidden;
}

.home-page .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rules & Shop Containers */
.rules-terminal, .shop-terminal {
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 150px;
}

.rule-category {
    margin-bottom: 40px;
}

.category-label {
    font-family: 'Courier New', monospace;
    color: #ff9f00;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 159, 0, 0.2);
    display: inline-block;
    padding-bottom: 5px;
}

.rule-list {
    list-style: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', sans-serif;
}

.rule-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.rule-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00a8ff;
}

.contact-terminal {
    max-width: 800px;
    margin: 0 auto 150px auto;
    background: rgba(0, 20, 30, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.2);
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Shop Card Styling */
.donation-card {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    border: 1px solid rgba(77, 0, 140, 0.3);
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
}

/* footer */
footer {
  background: rgba(33, 2, 2, 0.05);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

.footer-contact {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 18px;
  margin-left: 20px;
}

.footer-contact:hover {
  color: rgb(255, 0, 0);
}

.footer-copyright {
  margin-right: 20px;
  font-size: 14px;
}

@media (max-width: 1300px) {
    .home-page .mainbox-title {
        font-size: 3.5rem;
        letter-spacing: 4px;
    }

    .home-page .image-container {
        width: 100%;
        height: 60vh;
    }

    .home-page .mainbox, 
    .rules-terminal, 
    .shop-terminal, 
    .contact-terminal {
        padding: 30px 20px;
        margin-bottom: 80px;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .team-title {
        font-size: 1.8rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .mainbox-actions {
        flex-direction: column;
        align-items: center;
    }

    .cyber-btn {
        width: 100%;
        justify-content: center;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }

    .footer-contact, .footer-copyright {
        margin: 0;
    }

    .home-page .sticky-content {
        justify-content: center;
    }

    .home-page .faction-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .home-page .mainbox-title {
        font-size: 2.2rem;
    }
    
    .category-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}