/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Minecraft-themed light blue color palette */
  --mc-light-blue: #87CEEB;
  --mc-sky-blue: #4A90E2;
  --mc-deep-blue: #2E5C8A;
  --mc-dark-blue: #1E3A5F;
  --mc-accent: #5BA3D0;
  --mc-border: #3A7CA5;
  --mc-shadow: rgba(30, 58, 95, 0.3);
  --mc-text: #1E3A5F;
  --mc-text-light: #FFFFFF;
  --mc-bg: #E8F4F8;
  --mc-block: #6BB6FF;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--mc-bg) 0%, #D0E8F2 100%);
  color: var(--mc-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--mc-deep-blue) 0%, var(--mc-sky-blue) 100%);
  padding: 1rem 2rem;
  box-shadow: 0 4px 8px var(--mc-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--mc-border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--mc-text-light);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  height: 50px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.header-nav-desktop {
  display: block;
}

.header-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.header-nav a {
  color: var(--mc-text-light);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--mc-light-blue);
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 80%;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Header Auth Buttons */
.header-auth-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: 1rem;
}

.header-auth-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--mc-text-light);
  white-space: nowrap;
}

.header-login-btn {
  background: transparent;
  color: var(--mc-text-light);
  border-color: var(--mc-text-light);
}

.header-login-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--mc-light-blue);
  color: var(--mc-light-blue);
}

.header-register-btn {
  background: var(--mc-light-blue);
  color: var(--mc-text);
  border-color: var(--mc-light-blue);
}

.header-register-btn:hover {
  background: var(--mc-text-light);
  color: var(--mc-deep-blue);
  border-color: var(--mc-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

section {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem 2.5rem;
  border-radius: 0;
  box-shadow: none;

}

section:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 2px 8px var(--mc-shadow);
}



section:only-child {
  border-radius: 8px;
  border: 2px solid var(--mc-border);
  box-shadow: 0 2px 8px var(--mc-shadow);
  margin-bottom: 3rem;
}

section h1 {
  color: var(--mc-deep-blue);
  margin-bottom: 1rem;
  font-size: 2rem;
  border-bottom: 3px solid var(--mc-accent);
  padding-bottom: 0.5rem;
}

section h2 {
  color: var(--mc-sky-blue);
  margin-top: 0.1rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

section h3 {
  color: var(--mc-accent);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

section p {
  margin-bottom: 1rem;
  text-align: justify;
}

section ul, section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

section li {
  margin-bottom: 0.5rem;
}

section strong {
  color: var(--mc-deep-blue);
}

/* Internal Links */
.internal-link {
  color: var(--mc-sky-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  position: relative;
  padding: 0 2px;
  border-radius: 3px;
}

.internal-link:hover {
  color: var(--mc-deep-blue);
  border-bottom-color: var(--mc-accent);
  background: rgba(74, 144, 226, 0.1);
  border-bottom-width: 2px;
}

.internal-link:active {
  color: var(--mc-accent);
  background: rgba(74, 144, 226, 0.15);
}

/* Burger Menu Button */
.burger-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--mc-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--mc-dark-blue) 0%, var(--mc-deep-blue) 100%);
  z-index: 1000;
  text-align: center;
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
}

/* Menu Overlay */



.mobile-nav {
  list-style: none;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav li {
  width: 100%;
}

.mobile-nav a {
  display: block;
  color: var(--mc-text-light);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--mc-light-blue);
  transform: translateX(5px);
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-auth-btn {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-login-btn {
  background: transparent;
  border: 2px solid var(--mc-text-light);
  color: var(--mc-text-light);
}

.mobile-login-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--mc-light-blue);
  color: var(--mc-light-blue);
}

.mobile-register-btn {
  background: var(--mc-light-blue);
  border: 2px solid var(--mc-light-blue);
  color: var(--mc-text);
}

.mobile-register-btn:hover {
  background: var(--mc-text-light);
  border-color: var(--mc-text-light);
  color: var(--mc-deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  box-shadow: 0 2px 4px var(--mc-shadow);
}

table thead {
  background: linear-gradient(135deg, var(--mc-sky-blue) 0%, var(--mc-accent) 100%);
  color: var(--mc-text-light);
}

table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border: 2px solid var(--mc-border);
}

table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--mc-border);
}

table tbody tr:nth-child(even) {
  background: var(--mc-bg);
}

table tbody tr:hover {
  background: rgba(74, 144, 226, 0.1);
}

/* Banner Images */
.banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px var(--mc-shadow);
  border: 3px solid var(--mc-border);
  display: block;
}

.banner-first {
  margin-top: 0;
  margin-bottom: 3rem;
}

.banner-middle {
  margin: 3rem 0;
}

/* App2 clickable image */
.app2-image-link {
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app2-image-link:hover {
  transform: translateY(-3px);
}

.app2-image-link img {
  width: 100%;
  height: auto;
}

/* App3 image container (right side of first section, under heading) */
.section-with-image {
  position: relative;
}

.section-main-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.section-content-wrapper {
  flex: 1;
}

.app3-image-container {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app3-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--mc-shadow);
  border: 3px solid var(--mc-border);
  display: block;
}

.app3-buttons-container {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.app-platform-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--mc-border);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.app-ios-btn {
  background: linear-gradient(135deg, var(--mc-sky-blue) 0%, var(--mc-accent) 100%);
  color: var(--mc-text-light);
  border-color: var(--mc-border);
}

.app-ios-btn:hover {
  background: linear-gradient(135deg, var(--mc-accent) 0%, var(--mc-sky-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--mc-shadow);
}

.app-android-btn {
  background: var(--mc-light-blue);
  color: var(--mc-text);
  border-color: var(--mc-light-blue);
}

.app-android-btn:hover {
  background: var(--mc-text-light);
  color: var(--mc-deep-blue);
  border-color: var(--mc-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--mc-shadow);
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 1rem 0;
  padding: 0.5rem 0;
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--mc-accent);
}

.breadcrumbs-link {
  color: var(--mc-sky-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs-link:hover {
  color: var(--mc-deep-blue);
  text-decoration: underline;
}

.breadcrumbs-current {
  color: var(--mc-text);
  font-weight: 600;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--mc-dark-blue) 0%, var(--mc-deep-blue) 100%);
  color: var(--mc-text-light);
  padding: 2rem 2rem 8rem;
  margin-top: auto;
  border-top: 3px solid var(--mc-border);
  box-shadow: 0 -4px 8px var(--mc-shadow);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--mc-text-light);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  height: 50px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--mc-text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--mc-light-blue);
  transform: translateX(5px);
  padding-left: 5px;
}

.footer-logo-section {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 0;
}

.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 4rem 2rem;
}

.error-404 h1 {
  font-size: 4rem;
  color: var(--mc-sky-blue);
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.2rem;
  color: var(--mc-text);
  margin-bottom: 2rem;
}

.error-404 a {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--mc-sky-blue) 0%, var(--mc-accent) 100%);
  color: var(--mc-text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px var(--mc-shadow);
}

.error-404 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--mc-shadow);
}

/* PC - min 1025px */
@media (min-width: 1025px) {
  .header-container {
    flex-wrap: nowrap;
  }
  
  main {
    padding: 3rem;
  }
  
  
  .scroll-to-top {
    bottom: 120px;
    right: 25px;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
  
  .bottom-banner {
    padding: 1.2rem 2.5rem;
  }
  
  .bottom-banner-text {
    font-size: 1.15rem;
  }
  
  .bottom-banner-button {
    padding: 0.85rem 2.2rem;
    font-size: 1.05rem;
  }
  
  .app3-image-container {
    width: 350px;
  }
  
  .section-main-wrapper {
    gap: 2.5rem;
  }
}

/* Laptop - max 1024px */
@media (max-width: 1024px) {
  header {
    padding: 1rem 1.5rem;
  }
  
  .header-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .burger-menu-toggle {
    display: flex;
  }
  
  .header-nav-desktop {
    display: none;
  }
  
  .mobile-menu {
    display: block;
    left: auto;
    right: 0;
    width: 350px;
    max-width: 90vw;
    box-shadow: -4px 0 12px var(--mc-shadow);
    border-left: 3px solid var(--mc-border);
    transform: translateX(100%);
  }
  
  .mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
  }
  
  .mobile-menu::before {
    display: block;
  }
  
  .header-auth-buttons {
    display: none;
  }
  
  main {
    padding: 1.5rem;
  }
  
  section {
    padding: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .scroll-to-top {
    bottom: 115px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .bottom-banner {
    padding: 1rem 2rem;
  }
}

/* Tablet - max 768px */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  .header-logo {
    font-size: 1.2rem;
  }
  
  .header-logo img {
    height: 40px;
  }
  
  .mobile-menu {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-left: none;
    transform: translateX(-100%);
  }
  
  .mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
  }
  
  .mobile-menu::before {
    display: none;
  }
  
  .header-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header-nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .header-auth-buttons {
    margin-left: 0;
    gap: 0.5rem;
  }
  
  .header-auth-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  main {
    padding: 1rem;
  }
  
  section {
    padding: 1.25rem;
  
  }
  
  section h1 {
    font-size: 1.75rem;
  }
  
  section h2 {
    font-size: 1.3rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  table th,
  table td {
    padding: 0.5rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .error-404 h1 {
    font-size: 3rem;
  }
  
  .scroll-to-top {
    bottom: 115px;
    right: 18px;
    width: 48px;
    height: 48px;
  }
  
  .bottom-banner {
    padding: 0.9rem 1.5rem;
  }
  
  .bottom-banner-content {
    gap: 1.2rem;
  }
  
  .bottom-banner-text {
    font-size: 1.05rem;
  }
  
  .section-main-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .app3-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .app3-buttons-container {
    flex-direction: row;
    justify-content: center;
  }
  
  .app-platform-btn {
    flex: 1;
    max-width: 150px;
  }
}

@media (max-width: 582px) {
  footer{
    padding-bottom: 10rem;
  }
}

/* Mobile L - max 425px */
@media (max-width: 425px) {
  .header-logo {
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .header-logo img {
    height: 35px;
  }
  
  .header-nav {
    width: 100%;
    justify-content: space-around;
    gap: 0.5rem;
  }
  
  .header-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  
  .header-auth-buttons {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }
  
  .header-auth-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    flex: 1;
    max-width: 150px;
    text-align: center;
  }
  
  main {
    padding: 0.75rem;
  }
  
  section {
    padding: 1rem;
  }
  
  section h1 {
    font-size: 1.5rem;
  }
  
  section h2 {
    font-size: 1.2rem;
  }
  
  section h3 {
    font-size: 1.1rem;
  }
  
  table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
  }
  
  table th,
  table td {
    padding: 0.4rem;
    white-space: nowrap;
  }
  
  .banner {
    margin: 1.5rem 0;
  }
  
  footer {
    padding: 1.5rem 1rem 12rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    gap: 0.75rem;
  }
  
  .error-404 {
    padding: 2rem 1rem;
  }
  
  .error-404 h1 {
    font-size: 2.5rem;
  }
  
  .error-404 p {
    font-size: 1rem;
  }
  
  .error-404 a {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .scroll-to-top {
    bottom: 110px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .bottom-banner {
    padding: 0.75rem 1rem;
  }
  
  .bottom-banner-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .bottom-banner-text {
    font-size: 1rem;
  }
  
  .bottom-banner-button {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section-main-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  .app3-image-container {
    width: 100%;
    max-width: 100%;
  }
  
  .app3-buttons-container {
    flex-direction: row;
    justify-content: center;
  }
  
  .app-platform-btn {
    flex: 1;
    max-width: 150px;
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Mobile M - max 375px */
@media (max-width: 375px) {
  .header-logo {
    font-size: 0.9rem;
  }
  
  .header-logo img {
    height: 30px;
  }
  
  .header-nav a {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .header-auth-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }
  
  section {
    padding: 0.75rem;
  }
  
  section h1 {
    font-size: 1.3rem;
  }
  
  section h2 {
    font-size: 1.1rem;
  }
  
  section h3 {
    font-size: 1rem;
  }
  
  table {
    font-size: 0.8rem;
  }
  
  .error-404 h1 {
    font-size: 2rem;
  }
  
  .scroll-to-top {
    bottom: 100px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  
  .bottom-banner {
    padding: 0.7rem 0.9rem;
  }
  
  .bottom-banner-text {
    font-size: 0.9rem;
  }
  
  .bottom-banner-button {
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--mc-sky-blue) 0%, var(--mc-accent) 100%);
  color: var(--mc-text-light);
  border: 3px solid var(--mc-border);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 4px 12px var(--mc-shadow);
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--mc-shadow);
  background: linear-gradient(135deg, var(--mc-accent) 0%, var(--mc-sky-blue) 100%);
}

.scroll-to-top.active {
  display: flex;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1rem;
  border: 2px solid var(--mc-border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: var(--mc-bg);
  color: var(--mc-deep-blue);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(74, 144, 226, 0.1);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--mc-accent);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 1rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  padding: 0.5rem 0;
}

/* Bottom Banner (Sticky) */
.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--mc-deep-blue) 0%, var(--mc-sky-blue) 100%);
  color: var(--mc-text-light);
  padding: 1rem 2rem;
  box-shadow: 0 -4px 12px var(--mc-shadow);
  z-index: 998;
  display: none;
  border-top: 3px solid var(--mc-border);
}

.bottom-banner.active {
  display: flex;
}

.bottom-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bottom-banner-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.bottom-banner-button {
  padding: 0.75rem 2rem;
  background: var(--mc-light-blue);
  color: var(--mc-text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--mc-border);
  white-space: nowrap;
  display: inline-block;
}

.bottom-banner-button:hover {
  background: var(--mc-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile S - max 320px */
@media (max-width: 320px) {
  header {
    padding: 0.75rem;
  }
  
  .header-logo {
    font-size: 0.85rem;
  }
  
  .header-logo img {
    height: 28px;
  }
  
  .header-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .header-nav a {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
  }
  
  .header-auth-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .header-auth-btn {
    width: 100%;
    max-width: none;
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  main {
    padding: 0.5rem;
  }
  
  section {
    padding: 0.75rem;
  }
  
  section h1 {
    font-size: 1.2rem;
  }
  
  section h2 {
    font-size: 1rem;
  }
  
  section h3 {
    font-size: 0.95rem;
  }
  
  table {
    font-size: 0.75rem;
  }
  
  table th,
  table td {
    padding: 0.3rem;
  }
  
  footer {
    padding: 1rem 0.75rem 10rem;
  }
  
  .error-404 h1 {
    font-size: 1.75rem;
  }
  
  .error-404 a {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .scroll-to-top {
    bottom: 100px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .bottom-banner {
    padding: 0.75rem 1rem;
  }
  
  .bottom-banner-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .bottom-banner-text {
    font-size: 0.95rem;
  }
  
  .bottom-banner-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}
