/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #f0f0f0;
  line-height: 1.6;
  scroll-behavior: smooth;
}


main {
  flex: 1;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.95);
  border-bottom: 1px solid #2a2a2a;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.logo span {
  color: #8c5cf7;
  font-weight: 900;
  text-shadow: 0 0 6px rgba(140, 92, 247, 0.7);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: #ccc;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s, transform 0.2s;
}

.nav-menu a:hover {
  color: #fff;
  background: rgba(140, 92, 247, 0.15);
  transform: translateY(-2px);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #8c5cf7;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.user-menu:hover {
  background: rgba(140, 92, 247, 0.15);
}

.user-menu img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 2px solid #8c5cf7;
  box-shadow: 0 0 6px rgba(140, 92, 247, 0.4);
}

.user-menu span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.user-menu:hover span {
  color: #fff;
}

.dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  z-index: 999;
}

.dropdown a {
  display: block;
  padding: 0.8rem 1rem;
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background: rgba(140, 92, 247, 0.2);
  color: #fff;
}

.dropdown.active {
  display: block;
}

.btn-discord.small {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.4px;
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(140, 92, 247, 0.5);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-discord.small i {
  font-size: 1.1rem;
  color: #8c5cf7;
  transition: color 0.3s;
}

.btn-discord.small:hover {
  background: rgba(140, 92, 247, 0.15);
  color: #fff;
  border-color: #8c5cf7;
  transform: translateY(-2px);
}

.btn-discord.small:hover i {
  color: #fff;
}

/* HOME PAGE */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.scroll-arrows {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 3;
}

.scroll-arrows span {
  display: block;
  width: 10px;     
  height: 10px;    
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
  box-shadow: 0 0 8px rgba(140, 92, 247, 0.9);
}

.scroll-arrows span:nth-child(1) {
  animation-delay: 0s;
}
.scroll-arrows span:nth-child(2) {
  animation-delay: 0.2s;
}
.scroll-arrows span:nth-child(3) {
  animation-delay: 0.4s;
}

.btn-discord {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #8c5cf7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}

.btn-discord:hover {
  background: #734ad1;
  transform: translateY(-3px);
}

.btn-discord.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.about {
  padding: 5rem 0;
}

.about-inner {
  align-items: center;
  text-align: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ccc;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.faq {
  padding: 5rem 0;
  background: #181818;
}

.faq-item {
  background: #1f1f1f;
  margin-bottom: 1rem;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
  color: #8c5cf7;
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  margin-top: 0.5rem;
  color: #ccc;
  line-height: 1.6;
}

.faq-question.active::after {
  content: '−';
  transform: rotate(0deg);
}

.cta {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  color: #ddd;
  font-size: 1.1rem;
}

/* STAFF PAGE */
.staffhero {
  background: url('assets/staffbanner.png') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.staffhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.staffhero-content {
  position: relative;
  z-index: 1;
}

.staffhero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.staffhero p {
  font-size: 1.2rem;
  color: #ddd;
}

.staff-section {
  padding: 4rem 0;
  text-align: center;
}

.staff-category {
  margin-bottom: 3rem;
}

.staff-category h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #8c5cf7;
  display: inline-block;
  border-bottom: 2px solid #2a2a2a;
  padding-bottom: 0.5rem;
}

.staff-grid { 
display: grid; 
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
gap: 2rem; 
} 

.staff-card { 
background: #1f1f1f; 
padding: 1.5rem; 
border-radius: 12px; 
text-align: center; 
box-shadow: 0 4px 12px rgba(0,0,0,0.4); 
transition: transform 0.3s ease; 
} 

.staff-card:hover { 
transform: translateY(-6px); 
} 

.staff-card img { 
width: 96px; 
height: 96px; 
border-radius: 50%; 
margin-bottom: 1rem; 
} 

.staff-card h3 { 
margin-bottom: 0.3rem; 
font-size: 1.2rem; 
color: #fff; 
} 

.staff-card p { 
margin-bottom: 0.2rem; 
font-size: 0.95rem; 
color: #ccc;
}

/* GUIDELINES PAGE */
.guidelineshero {
  background: url('assets/guidelinesbanner.png') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.guidelineshero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.guidelineshero-content {
  position: relative;
  z-index: 1;
}

.guidelineshero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.guidelineshero p {
  font-size: 1.2rem;
  color: #ddd;
}

.guidelines-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.guideline-category {
  margin-bottom: 3rem;
  text-align: left;
}

.guideline-category h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #8c5cf7;
  border-left: 5px solid #8c5cf7;
  padding-left: 1rem;
}

.guideline-rule {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: #1f1f1f;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.guideline-rule h3.rule-header {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guideline-rule h3.rule-header .toggle-icon {
  font-weight: bold;
  color: #8c5cf7;
  margin-left: 1rem;
}

.guideline-rule p.rule-text {
  display: none;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin-top: 0.6rem;
  transition: all 0.3s ease;
}

/* APPLICATIONS PAGE */
.apphero {
  background: url('assets/appbanner.png') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.apphero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.apphero-content {
  position: relative;
  z-index: 1;
}

.apphero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.apphero p {
  font-size: 1.2rem;
  color: #ddd;
}

.applications-section {
  padding: 4rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f0f0f0;
}

.no-apps {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 2rem;
}

.applications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #2a2a2a;
}

.application-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid #2a2a2a;
  transition: background 0.2s ease;
}

.application-row:hover {
  background: rgba(140, 92, 247, 0.05);
}

.application-info h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.application-info .description {
  font-size: 0.95rem;
  color: #aaa;
  max-width: 700px;
}

.application-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.status.open {
  color: #28a745;
  border: 1px solid #28a745;
}

.status.closed {
  color: #dc3545;
  border: 1px solid #dc3545;
}

.status.approved {
  color: #28a745;
  border: 1px solid #28a745;
}

.status.denied {
  color: #dc3545;
  border: 1px solid #dc3545;
}

.status.pending {
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status.viewed {
  color: #17a2b8;
  border: 1px solid #17a2b8;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}

.btn.apply {
  background: #8c5cf7;
  color: #fff;
}

.btn.apply:hover {
  background: #734ad1;
  transform: translateY(-2px);
}

.btn.withdraw {
  background: #dc3545;
  color: #fff;
  border: none;
}

.btn.withdraw:hover {
  background: #b52a37;
  transform: translateY(-2px);
}

.closed-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 600;
}

/* APPLICATION FORM STYLES */
.application-form-section {
  padding: 4rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f0f0f0;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.application-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.application-form label {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.application-form input[type="text"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.application-form select {
  cursor: pointer;
}

.application-form input[type="text"]:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: #8c5cf7;
  box-shadow: 0 0 6px rgba(140, 92, 247, 0.6);
  outline: none;
}

.application-form textarea {
  min-height: 160px;
  resize: vertical;
}

.application-form button[type="submit"],
.btn.full-width {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: #8c5cf7;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
}

.application-form button[type="submit"]:hover,
.btn.full-width:hover {
  background: #734ad1;
  transform: translateY(-2px);
}

/* CONFIRMATION PAGE */
.confirmation-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.confirmation-container {
    max-width: 600px;
    background: #1a1a1a;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.confirmation-icon {
    font-size: 4rem;
    color: #8c5cf7;
    margin-bottom: 1rem;
}

.confirmation-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.confirmation-container p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.confirmation-container .btn.apply {
    display: block;
    margin: 0 auto;
    background: #8c5cf7;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
}

.confirmation-container .btn.apply:hover {
    background: #734ad1;
    transform: translateY(-2px);
}

/* ADMIN PANEL */
.admin-container {
  margin: 120px auto;
  max-width: 1100px;
  padding: 2rem;
  background: #1e1e2f;
  border-radius: 10px;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-container h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #8c5cf7;
}

.admin-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid #8c5cf7;
  padding-left: 0.6rem;
  color: #fff;
}

.admin-container h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #ddd;
}

.admin-container form {
  margin-bottom: 2rem;
}

.admin-container input[type="text"],
.admin-container textarea,
.admin-container select,
.admin-container input[type="number"] {
  width: 100%;
  padding: 0.6rem;
  margin: 0.3rem 0 1rem 0;
  border: 1px solid #444;
  border-radius: 6px;
  background: #2a2a3d;
  color: #fff;
}

.admin-container textarea {
  min-height: 80px;
}

.admin-container button {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.admin-container button[type="submit"],
.admin-container .btn {
  background: #8c5cf7;
  color: #fff;
}

.admin-container button:hover,
.admin-container .btn:hover {
  background: #734ad1;
  transform: translateY(-2px);
}

.admin-container button[onclick] {
  background: #dc3545;
  color: #fff;
}

.admin-container button[onclick]:hover {
  background: #b52a37;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid #333;
  padding: 0.8rem;
  text-align: left;
}

.admin-table th {
  background: #2a2a3d;
  color: #fff;
  font-weight: 600;
}

.admin-table tr:nth-child(even) {
  background: rgba(140, 92, 247, 0.05);
}

.admin-table select {
  width: auto;
  min-width: 100px;
}

.status-badge {
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: capitalize;
}

.status-badge.open {
  color: #28a745;
  border: 1px solid #28a745;
}

.status-badge.closed {
  color: #dc3545;
  border: 1px solid #dc3545;
}

.status-badge.hidden {
  color: #6c757d;
  border: 1px solid #6c757d;
}

.status-badge.pending {
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-badge.viewed {
  color: #17a2b8;
  border: 1px solid #17a2b8;
}

.status-badge.approved {
  color: #28a745;
  border: 1px solid #28a745;
}

.status-badge.denied {
  color: #dc3545;
  border: 1px solid #dc3545;
}

.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: #2a2a3d;
  color: #ddd;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.tab-btn.active {
  background: #8c5cf7;
  color: #fff;
}

.tab-btn:hover {
  background: #734ad1;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.answers-block {
  background: #2a2a3d;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #333;
}

.answers-block .qa {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-bottom: 1px solid #444;
}

.answers-block .qa:last-child {
  border-bottom: none;
}

.answers-block .qa strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #8c5cf7;
  font-size: 0.95rem;
}

.answers-block .qa div {
  color: #f0f0f0;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.85);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(145deg, #1e1e2f, #252538);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  max-width: 420px;
  width: 90%;
  text-align: center;
  animation: scaleIn 0.25s ease;
}

.modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #fff;
}

.modal-content p {
  margin-bottom: 1.5rem;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.modal-actions .btn-confirm {
  background: #dc3545;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.modal-actions .btn-confirm:hover {
  background: #b52a37;
  transform: translateY(-2px);
}

.modal-actions .btn-cancel {
  background: #2a2a3d;
  color: #ddd;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 1px solid #444;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, color 0.3s;
}

.modal-actions .btn-cancel:hover {
  background: rgba(140, 92, 247, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* MEDIA PAGE */
.mediahero {
  background: url('assets/mediabanner.png') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.mediahero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.mediahero-content {
  position: relative;
  z-index: 1;
}
.mediahero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.mediahero p {
  font-size: 1.2rem;
  color: #ddd;
}

.media-section {
  padding: 4rem 0;
  text-align: center;
}

.media-section:nth-child(even) {
  background: #181818;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  color: #fff;
  position: relative;
}

.featured-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.featured-card {
  flex: 1 1 350px;
  max-width: 480px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.35s ease;
}

.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.featured-card .info {
  padding: 1.8rem;
}

.featured-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.featured-card p {
  color: #ccc;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.video-card {
  flex: 1 1 400px;
  max-width: 480px;
}

.video-card iframe {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.no-content {
  text-align: center;
  padding: 3rem 1rem;
  color: #b5b5b5;
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.8;
}

.no-content p {
  display: inline-block;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* FOOTER */
.site-footer {
  background: #0d0d0d;
  padding: 3rem 2rem 1rem;
  color: #bbb;
  border-top: 1px solid #222;
  font-size: 0.95rem;
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-about h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-about p {
  color: #aaa;
  line-height: 1.5;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #8c5cf7;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icons a {
  font-size: 1.4rem;
  color: #bbb;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #8c5cf7;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.disabled-link {
  pointer-events: none;
  color: #888;
  cursor: default;
  text-decoration: none;
}

/* ANIMATIONS */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
}

.animate-fade-up.delay-1 { animation-delay: 0.4s; }
.animate-fade-up.delay-2 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.5; }
  40% { transform: translateY(8px) rotate(45deg); opacity: 1; }
  60% { transform: translateY(4px) rotate(45deg); opacity: 0.8; }
}

.scroll-arrows span + span {
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE POPPING ARROW */
@media (max-width: 768px) {
  .scroll-arrows {
    bottom: 20px;
    gap: 4px;
  }
  .scroll-arrows span {
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    box-shadow: 0 0 6px rgba(140, 92, 247, 0.9);
  }
}

/* MOBILE HEADER */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logo a {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }

  .logo span {
    font-size: 1.7rem;
    text-shadow: 0 0 4px rgba(140, 92, 247, 0.7);
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    display: none; /* hidden by default */
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu ul li {
    border-bottom: 1px solid #2a2a2a;
  }

  .nav-menu ul li a {
    display: block;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-about p,
  .footer-links ul li a,
  .footer-social a {
    font-size: 0.85rem;
  }

  .footer-links ul {
    padding: 0;
  }

  .social-icons {
    justify-content: center;
    gap: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 0.8rem;
  }
}

/* MOBILE APPLICATIONS PAGE */
@media (max-width: 768px) {
  .application-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0.5rem;
  }

  .application-info h3 {
    font-size: 1.1rem;
  }

  .application-info .description {
    font-size: 0.9rem;
  }

  /* Meta section flex layout */
  .application-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
  }

  .application-meta .status {
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
  }

  .application-meta form,
  .application-meta .btn.apply {
    margin: 0;
  }

  .application-meta form button,
  .application-meta .btn.apply,
  .btn.withdraw {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}

/* MOBILE CONFIRMATION PAGE */
@media (max-width: 768px) {

  .confirmation-section {
    padding: 2rem 1rem;
  }

  .confirmation-container {
    width: 100%;
    max-width: 90%;
    padding: 2rem 1rem;
  }

  .confirmation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .confirmation-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .confirmation-container p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .confirmation-container .btn.apply {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
  }
}

/* MOBILE ADMIN PAGE */
@media (max-width: 768px) {

  .admin-container {
    padding: 1rem;
  }

  .tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .tab-content {
    padding: 1rem 0;
  }

  form input[type="text"],
  form textarea,
  form select,
  form button {
    width: 100%;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  form textarea {
    resize: vertical;
  }

  .question-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .question-row button {
    width: auto;
    align-self: flex-start;
  }

  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .admin-table th,
  .admin-table td {
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .edit-row td {
    padding: 0.5rem 0;
  }

  .status-badge {
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
    display: inline-block;
  }

  .pagination {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
  }

  .pagination a {
    text-align: center;
    display: block;
    padding: 0.5rem;
  }

  .modal-content {
    width: 95%;
    max-width: 400px;
    padding: 1rem;
  }

  .modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-actions button {
    width: 100%;
  }
}

/* MOBILE SUPPORT FOR GUIDELINES PAGE */
@media (max-width: 768px) {

  .guidelines-section {
    padding: 2rem 1rem;
  }

  .guideline-category h2 {
    font-size: 1.5rem;
    padding-left: 0.8rem;
  }

  .guideline-rule {
    padding: 0.8rem 1rem;
  }

  .guideline-rule h3.rule-header {
    font-size: 1rem;
    flex-direction: row;
  }

  .guideline-rule h3.rule-header .toggle-icon {
    font-size: 1.2rem;
    margin-left: 0.5rem;
  }

  .guideline-rule p.rule-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {

  .mediahero {
    height: 280px;
    padding: 1rem;
  }

  .mediahero h1 {
    font-size: 1.9rem;
  }

  .mediahero p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .media-section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .featured-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .featured-card {
    max-width: 90%;
  }

  .featured-card img {
    height: 180px;
  }

  .featured-card .info {
    padding: 1.2rem;
  }

  .featured-card h3 {
    font-size: 1.2rem;
  }

  .featured-card p {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    border-radius: 10px;
  }

  .video-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .video-card {
    max-width: 90%;
  }

  .video-card iframe {
    height: 200px;
  }

  .no-content {
    font-size: 1rem;
    padding: 2rem 1rem;
  }

  .no-content p {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}