:root {
  --minecraft-green: #3cb043;
  --minecraft-dark: #0a1a1a;
  --text-light-50: rgba(255, 255, 255, 0.65);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a1a1a 0%, #132b1e 100%);
  color: #e0e0e0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

/* Navbar - Modern 3D Design */
.navbar {
  background: transparent;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 90%;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(25, 35, 40, 0.95));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 10px 25px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(60, 176, 67, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 176, 67, 0.5), transparent);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  flex-shrink: 0;
}

.navbar-left,
.navbar-right {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
}

.navbar-left {
  justify-content: flex-end;
}

.navbar-right {
  justify-content: flex-start;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.action-btn {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(60, 176, 67, 0.8), rgba(60, 176, 67, 0.6));
  border: 1px solid rgba(60, 176, 67, 0.3);
  white-space: nowrap;
}

.action-btn:hover {
  color: var(--minecraft-green);
  background: linear-gradient(135deg, rgba(60, 176, 67, 0.95), rgba(60, 176, 67, 0.8));
  border-color: rgba(60, 176, 67, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 176, 67, 0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 6px 15px rgba(60, 176, 67, 0.5));
  animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.navbar-brand:hover .logo-img {
  transform: rotate(360deg) scale(1.15);
  filter: drop-shadow(0 12px 30px rgba(60, 176, 67, 0.8));
  animation: none;
}

.nav-link {
  color: #d0e9d8;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(60, 176, 67, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--minecraft-green);
  background: rgba(60, 176, 67, 0.1);
  border-color: rgba(60, 176, 67, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(60, 176, 67, 0.2);
}

.nav-link:hover::before {
  opacity: 1;
}

/* Language Dropdown */
.language-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 15px;
}

.language-dropdown .nav-link span {
  display: none;
}

.language-dropdown .nav-link::after {
  display: none;
}

.flag-icon {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.language-dropdown .nav-link:hover .flag-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(60, 176, 67, 0.4);
}

.language-menu {
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.98), rgba(25, 35, 40, 0.98));
  border: 1px solid rgba(60, 176, 67, 0.3);
  border-radius: 15px;
  padding: 10px 0;
  margin-top: 10px;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.language-title {
  color: var(--minecraft-green);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(60, 176, 67, 0.2);
  margin-bottom: 5px;
}

.language-menu .dropdown-item {
  color: #d0e9d8;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.language-menu .dropdown-item:hover {
  background: rgba(60, 176, 67, 0.15);
  color: var(--minecraft-green);
  border-left-color: var(--minecraft-green);
  padding-left: 25px;
}

.language-menu::-webkit-scrollbar {
  width: 6px;
}

.language-menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.language-menu::-webkit-scrollbar-thumb {
  background: var(--minecraft-green);
  border-radius: 10px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Navbar Toggler */
.navbar-toggler {
  border: 1px solid rgba(60, 176, 67, 0.5);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(60, 176, 67, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(60, 176, 67, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(60, 176, 67, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(2, 26, 26, 0.85), rgba(23, 64, 32, 0.85)),
    url("../../../background.png") center/cover no-repeat;
  padding: 160px 0 100px;
  color: #fff;
  overflow: hidden;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.video-background video,
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

@media (min-aspect-ratio: 16/9) {
  .video-background video,
  .bg-video {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-background video,
  .bg-video {
    height: 100vh;
    width: 177.77vh;
    min-width: 100vw;
    min-height: 56.25vw;
  }
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  transform: translate(-50%, -50%) scale(1.3);
  pointer-events: none;
  border: none;
}

@media (min-aspect-ratio: 16/9) {
  .video-background iframe {
    height: 67.5vw;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-background iframe {
    width: 213.36vh;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@media (max-width: 768px) {
  .video-background {
    opacity: 0.5;
  }
  
  .video-background video,
  .bg-video {
    width: 240vw;
    transform: translate(-50%, -50%) scale(1.4);
  }
  
  .video-background iframe {
    width: 240vw;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(60, 176, 67, 0.03) 0px,
    transparent 1px,
    transparent 2px,
    rgba(60, 176, 67, 0.03) 3px
  );
  animation: scanline 8s linear infinite;
  z-index: 2;
}

@keyframes scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 26, 0.6) 0%, rgba(10, 26, 26, 0.95) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.text-shadow {
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.text-light-50 {
  color: var(--text-light-50);
}

.hero-card {
  background: rgba(10, 26, 26, 0.85);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(60, 176, 67, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(60, 176, 67, 0.5);
}

.server-logo-img {
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(60, 176, 67, 0.5));
  animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
  border-radius: 12px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 10px 25px rgba(60, 176, 67, 0.5));
  }
  100% {
    filter: drop-shadow(0 15px 35px rgba(60, 176, 67, 0.8));
  }
}

.ip-box {
  font-family: "Courier New", Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(60, 176, 67, 0.5);
  color: #8cff8c;
  letter-spacing: 1.5px;
  user-select: all;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ip-box:hover {
  background: rgba(60, 176, 67, 0.1);
  border-color: var(--minecraft-green);
  box-shadow: 0 0 20px rgba(60, 176, 67, 0.4);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(60, 176, 67, 0.05) 0%, transparent 50%);
  animation: moveBackground 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes moveBackground {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(10%) translateY(5%); }
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section.bg-light {
  background: linear-gradient(180deg, rgba(10, 26, 26, 0.95) 0%, rgba(19, 43, 30, 0.95) 50%, rgba(10, 26, 26, 0.95) 100%);
  position: relative;
}

.section.bg-light::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, rgba(60, 176, 67, 0.03));
  pointer-events: none;
}

.section-title {
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease;
}

.section-title h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--minecraft-green), #2a9d34);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(60, 176, 67, 0.4);
}

.section-title h2::before {
  content: "◆";
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--minecraft-green);
  font-size: 0.6em;
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite;
}

.section-title p {
  color: #b0b0b0;
  font-size: 1.1rem;
  font-weight: 400;
}

.section.bg-dark {
  background: linear-gradient(135deg, #0a1a1a 0%, #132b1e 80%, #1a4029 100%);
  color: #fff;
  position: relative;
}

.section.bg-dark::before {
  background: radial-gradient(circle at 70% 50%, rgba(60, 176, 67, 0.08) 0%, transparent 50%);
}

.section.bg-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(60, 176, 67, 0.03) 100px,
      rgba(60, 176, 67, 0.03) 101px
    );
  pointer-events: none;
  z-index: 0;
}

.section.bg-dark .section-title h2,
.section.bg-dark .section-title p {
  color: #fff;
}

.section.bg-dark .section-title h2::after {
  background: linear-gradient(90deg, var(--minecraft-green), #66ff66);
  box-shadow: 0 2px 20px rgba(60, 176, 67, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards */
.card,
.tos-item,
.info-card,
.privacy-card,
.step-card {
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.27, 1.25);
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(25, 35, 40, 0.95) 100%);
  border: 2px solid rgba(60, 176, 67, 0.2);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(60, 176, 67, 0.2);
  position: relative;
  overflow: hidden;
  color: #e0e0e0;
}

.card::before,
.tos-item::before,
.info-card::before,
.privacy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--minecraft-green), #66ff66, var(--minecraft-green));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.card:hover::before,
.tos-item:hover::before,
.info-card:hover::before,
.privacy-card:hover::before {
  opacity: 1;
}

.card {
  border: none;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(60, 176, 67, 0.1);
}

.card:hover,
.tos-item:hover,
.info-card:hover,
.privacy-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(60, 176, 67, 0.4),
    0 0 30px rgba(60, 176, 67, 0.3);
  border-color: rgba(60, 176, 67, 0.5);
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.98) 0%, rgba(25, 35, 40, 0.98) 100%);
}

.card::after,
.tos-item::after,
.info-card::after,
.privacy-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(60, 176, 67, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover::after,
.tos-item:hover::after,
.info-card:hover::after,
.privacy-card:hover::after {
  opacity: 1;
}

.section.bg-dark .card,
.section.bg-dark .tos-item,
.section.bg-dark .info-card,
.section.bg-dark .privacy-card,
.section.bg-dark .step-card {
  background: linear-gradient(135deg, rgba(13, 38, 38, 0.95) 0%, rgba(20, 50, 45, 0.95) 100%);
  border: 2px solid rgba(60, 176, 67, 0.25);
  color: #e6fff0;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(60, 176, 67, 0.2);
}

.section.bg-dark .card:hover,
.section.bg-dark .tos-item:hover,
.section.bg-dark .info-card:hover,
.section.bg-dark .privacy-card:hover,
.section.bg-dark .step-card:hover {
  border-color: var(--minecraft-green);
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 30px 70px rgba(60, 176, 67, 0.4),
    0 0 40px rgba(60, 176, 67, 0.3);
  background: linear-gradient(135deg, rgba(20, 50, 45, 0.98) 0%, rgba(13, 38, 38, 0.98) 100%);
}

.section.bg-dark .tos-item h3,
.section.bg-dark .info-card h3,
.section.bg-dark .privacy-card h3 {
  color: #b8ffcc;
}

.section.bg-dark .tos-item h3::before,
.section.bg-dark .info-card h3::before,
.section.bg-dark .privacy-card h3::before {
  color: #66ff66;
}

.section.bg-dark .tos-item p,
.section.bg-dark .info-card p,
.section.bg-dark .privacy-card p {
  color: #c8f5d8;
}

.tos-item h3,
.info-card h3,
.privacy-card h3,
.step-card h3 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.3rem;
  position: relative;
  padding-left: 25px;
}

.tos-item h3::before,
.info-card h3::before,
.privacy-card h3::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--minecraft-green);
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.tos-item:hover h3::before,
.info-card:hover h3::before,
.privacy-card:hover h3::before {
  transform: translateX(5px);
}

.section.bg-dark .step-card h3 {
  color: #b8ffcc;
}

/* Step Cards */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--minecraft-green), #2a9d34);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 12px 25px rgba(60, 176, 67, 0.4);
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: rotate(360deg) scale(1.1);
}

/* Social Links */
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #e0e0e0;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(25, 35, 40, 0.95) 100%);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(60, 176, 67, 0.2);
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.27, 1.25);
  border: 2px solid rgba(60, 176, 67, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(60, 176, 67, 0.1), transparent);
  transition: left 0.6s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--minecraft-green), #66ff66, var(--minecraft-green));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::after {
  opacity: 1;
}

.social-link svg {
  width: 48px;
  height: 48px;
  fill: var(--minecraft-green);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(60, 176, 67, 0.2));
}

.social-link span {
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--minecraft-green) 0%, #2a9d34 100%);
  color: #fff;
  transform: translateY(-12px) scale(1.08) rotate(-2deg);
  box-shadow: 
    0 35px 70px rgba(60, 176, 67, 0.3),
    0 0 40px rgba(60, 176, 67, 0.2);
  border-color: var(--minecraft-green);
}

.social-link:hover svg {
  fill: #fff;
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.social-link:active {
  transform: translateY(-8px) scale(1.05);
}

/* Accordion */
.accordion-item {
  border: none;
  margin-bottom: 16px;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(60, 176, 67, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(25, 35, 40, 0.95) 100%);
}

.accordion-item:hover {
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(60, 176, 67, 0.2);
  transform: translateX(5px);
}

.accordion-button {
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(25, 35, 40, 0.95) 100%);
  color: #e0e0e0;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.3rem 1.8rem;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.accordion-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--minecraft-green);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.accordion-button:hover::before {
  transform: scaleY(1);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--minecraft-green) 0%, #2a9d34 100%);
  color: #fff;
  box-shadow: 
    0 6px 20px rgba(60, 176, 67, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.accordion-button:not(.collapsed)::before {
  transform: scaleY(1);
  background: rgba(255, 255, 255, 0.3);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(60, 176, 67, 0.2);
  border: none;
}

.accordion-button::after {
  filter: brightness(0);
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

.accordion-body {
  padding: 1.8rem;
  background: linear-gradient(to bottom, rgba(15, 20, 25, 0.95) 0%, rgba(25, 35, 40, 0.95) 100%);
  color: #e0e0e0;
  line-height: 1.8;
  border-top: 2px solid rgba(60, 176, 67, 0.2);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
/* ============================================
   FOOTER STYLES - Professional Design
   ============================================ */

.footer-new {
  position: relative;
  background: linear-gradient(180deg, #0a1a0f 0%, #050d08 100%);
  color: #e0e0e0;
  padding-top: 0;
  overflow: hidden;
}

/* Wave Effect */
.footer-wave {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}

.footer-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  fill: #0a1a0f;
}

/* Footer Main Content */
.footer-main {
  padding: 60px 0 40px;
  position: relative;
}

/* Footer Brand Section */
.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(60, 176, 67, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(60, 176, 67, 0.5);
}

.footer-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #3cb043, #5dd662);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-server-ip {
  background: linear-gradient(135deg, rgba(60, 176, 67, 0.15), rgba(42, 157, 52, 0.1));
  border: 1px solid rgba(60, 176, 67, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-server-ip .ip-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-server-ip .ip-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3cb043;
  font-family: 'Courier New', monospace;
}

/* Footer Links Section */
.footer-links-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3cb043, transparent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links ul li i {
  color: #3cb043;
  font-size: 0.9rem;
  width: 16px;
}

.footer-links ul li a,
.footer-links ul li span {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #3cb043;
  transition: width 0.3s ease;
}

.footer-links ul li a:hover {
  color: #3cb043;
  transform: translateX(5px);
}

.footer-links ul li a:hover::before {
  width: 100%;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social .social-icon:hover {
  transform: translateY(-5px);
  border-color: rgba(60, 176, 67, 0.5);
  box-shadow: 0 5px 15px rgba(60, 176, 67, 0.3);
}

.footer-social .social-icon.discord:hover {
  background: #5865F2;
  color: #fff;
  border-color: #5865F2;
}

.footer-social .social-icon.twitter:hover {
  background: #1DA1F2;
  color: #fff;
  border-color: #1DA1F2;
}

.footer-social .social-icon.youtube:hover {
  background: #FF0000;
  color: #fff;
  border-color: #FF0000;
}

.footer-social .social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: #e6683c;
}

/* Discord Widget */
.footer-discord iframe {
  border-radius: 12px;
  border: 1px solid rgba(60, 176, 67, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-discord iframe:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(60, 176, 67, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 40px;
}

.footer-bottom p {
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom .copyright {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-brand {
    text-align: center;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .footer-links {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-links ul li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .footer-wave {
    height: 60px;
  }

  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .footer-title {
    font-size: 1.3rem;
  }

  .footer-description {
    font-size: 0.85rem;
  }

  .footer-social .social-icon {
    width: 36px;
    height: 36px;
  }

  .footer-discord iframe {
    height: 250px;
  }
}

/* Animations */
.fade-up,
.fade-left {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.17, 0.67, 0.27, 1.25),
              transform 0.9s cubic-bezier(0.17, 0.67, 0.27, 1.25);
}

.fade-left {
  transform: translateX(50px);
}

.fade-in-view {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Buttons */
.btn {
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.27, 1.25);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-success {
  background: linear-gradient(135deg, var(--minecraft-green) 0%, #2a9d34 100%);
  border-color: var(--minecraft-green);
  color: #fff;
  box-shadow: 
    0 8px 25px rgba(60, 176, 67, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-success:hover {
  background: linear-gradient(135deg, #2a9d34 0%, #228a2a 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(60, 176, 67, 0.5),
    0 0 20px rgba(60, 176, 67, 0.3);
}

.btn-success:active {
  transform: translateY(-2px) scale(1.02);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(60, 176, 67, 0.2);
  color: #fff;
  border-color: var(--minecraft-green);
  box-shadow: 
    0 0 30px rgba(60, 176, 67, 0.5),
    inset 0 0 20px rgba(60, 176, 67, 0.2);
  transform: translateY(-3px);
}

/* Alerts */
.alert {
  border-radius: 16px;
  border: none;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 1.2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, currentColor, transparent);
}

.alert-success {
  background: linear-gradient(135deg, rgba(60, 176, 67, 0.12) 0%, rgba(60, 176, 67, 0.05) 100%);
  color: #1d6e29;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.alert-success::before {
  background: linear-gradient(to bottom, 
    transparent, 
    var(--minecraft-green), 
    transparent);
  box-shadow: 0 0 10px rgba(60, 176, 67, 0.5);
}

.alert-info {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.12) 0%, rgba(23, 162, 184, 0.05) 100%);
  color: #0c5460;
  border: 1px solid rgba(23, 162, 184, 0.2);
}

.alert-info::before {
  background: linear-gradient(to bottom, 
    transparent, 
    #17a2b8, 
    transparent);
}

/* Responsive */
@media (max-width: 992px) {
  .navbar-container {
    max-width: 95%;
    padding: 15px 20px;
    border-radius: 15px;
  }

  .navbar-content {
    flex-direction: column;
    padding: 20px 0;
  }

  .navbar-left,
  .navbar-right {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    text-align: center;
  }

  .navbar-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-left: 0;
    margin-top: 15px;
  }

  .action-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }
}

  .navbar-left {
    justify-content: center;
  }

  .navbar-right {
    justify-content: center;
  }

  .navbar-brand {
    order: -1;
    padding: 20px 0;
  }

  .logo-img {
    width: 90px;
    height: 90px;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .hero {
    text-align: center;
    padding-top: 200px;
  }
  
  .hero-card {
    margin-top: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .ip-box {
    font-size: 1.1rem;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 90vh;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .hero-card {
    padding: 25px;
  }

  .server-logo-img {
    max-width: 110px;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.badge {
  animation: pulse 2s ease-in-out infinite;
  font-weight: 600;
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a1a1a;
}

::-webkit-scrollbar-thumb {
  background: var(--minecraft-green);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a9d34;
}

/* Profile and Lottery Page Styles */
.profile-container {
  background: rgba(15, 20, 25, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(60, 176, 67, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.profile-header {
  margin-bottom: 2rem;
  text-align: center;
}

.profile-header h2 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3cb043, #5dd662);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-header p {
  color: #b0b0b0;
  font-size: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--minecraft-green) 0%, #2a9d34 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(60, 176, 67, 0.3);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(60, 176, 67, 0.5);
}

.stat-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.stat-card p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.exchange-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(60, 176, 67, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.exchange-section h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.exchange-section .form-group {
  margin-bottom: 1.5rem;
}

.exchange-section .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  font-weight: 500;
}

.exchange-section .form-control {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(60, 176, 67, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.exchange-section .form-control:focus {
  outline: none;
  border-color: var(--minecraft-green);
  box-shadow: 0 0 0 3px rgba(60, 176, 67, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.exchange-section .form-control::placeholder {
  color: #888;
}

.exchange-info {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  color: #e0e0e0;
}

.exchange-info p {
  margin: 0;
}

.exchange-info span {
  color: var(--minecraft-green);
  font-weight: 600;
  font-size: 1.1rem;
}

.transactions-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(15, 20, 25, 0.95);
  border-radius: 15px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.transactions-section h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.transactions-table th,
.transactions-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(60, 176, 67, 0.1);
  color: #e0e0e0;
}

.transactions-table th {
  background: var(--minecraft-green);
  color: white;
  font-weight: 600;
}

.transactions-table tr:hover {
  background: rgba(60, 176, 67, 0.1);
}

.positive {
  color: #3cb043;
  font-weight: 600;
}

.negative {
  color: #dc3545;
  font-weight: 600;
}

.lottery-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(15, 20, 25, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.lottery-header h2 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3cb043, #5dd662);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lottery-header p {
  color: #b0b0b0;
  font-size: 1.1rem;
}

.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.lottery-card {
  background: rgba(15, 20, 25, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
  transition: transform 0.3s ease;
}

.lottery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(60, 176, 67, 0.4);
  border-color: var(--minecraft-green);
}

.lottery-image {
  height: 200px;
  background: rgba(60, 176, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lottery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  font-size: 4rem;
  color: var(--minecraft-green);
}

.lottery-info {
  padding: 1.5rem;
}

.lottery-info h3 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
}

.lottery-description {
  color: #b0b0b0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.lottery-prize,
.lottery-time {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.lottery-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.status-active {
  background: rgba(60, 176, 67, 0.2);
  color: #3cb043;
  border: 1px solid #3cb043;
}

.status-completed {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

.status-upcoming {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.lottery-history-section,
.winng-history-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(15, 20, 25, 0.95);
  border-radius: 15px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.lottery-history-section h3,
.winng-history-section h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.lottery-history-list,
.winng-history-list {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.lottery-history-item,
.winng-history-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(60, 176, 67, 0.1);
  transition: background 0.3s;
  color: #e0e0e0;
}

.lottery-history-item:hover,
.winng-history-item:hover {
  background: rgba(60, 176, 67, 0.1);
}

.lottery-history-item:last-child,
.winng-history-item:last-child {
  border-bottom: none;
}

.lottery-history-header,
.winng-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.lottery-history-title,
.winng-history-title {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.lottery-history-status,
.winng-history-status {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-participated {
  background: rgba(60, 176, 67, 0.2);
  color: #3cb043;
  border: 1px solid #3cb043;
}

.status-won {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-lost {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

.lottery-history-details,
.winng-history-details {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.lottery-history-details p,
.winng-history-details p {
  margin-bottom: 0.25rem;
}

.winng-prize-content {
  background: rgba(255, 193, 7, 0.15);
  padding: 0.75rem;
  border-radius: 10px;
  margin-top: 0.5rem;
  border-left: 3px solid #ffc107;
}

.winng-prize-content strong {
  color: #ffc107;
}

.empty-history {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-style: italic;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: rgba(15, 20, 25, 0.98);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(60, 176, 67, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
  color: #b0b0b0;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--minecraft-green);
}

.lottery-detail-info {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  color: #e0e0e0;
}

.lottery-detail-info p {
  margin-bottom: 0.5rem;
}

.participants-list,
.winners-list {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  color: #e0e0e0;
}

.participants-list ul,
.winners-list ul {
  list-style: none;
  padding-left: 0;
}

.participants-list li,
.winners-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(60, 176, 67, 0.1);
}

.participants-list li:last-child,
.winners-list li:last-child {
  border-bottom: none;
}

.participate-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(60, 176, 67, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.participate-section h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

/* Admin Lottery Styles */
.prizes-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(60, 176, 67, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.prizes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.prizes-header h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0;
}

.prizes-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prize-item {
  background: rgba(15, 20, 25, 0.95);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--minecraft-green);
  position: relative;
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.prize-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.prize-rank-label {
  font-weight: 600;
  color: var(--minecraft-green);
}

.prize-header input[type="number"] {
  width: 100px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(60, 176, 67, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  color: #fff;
}

.prize-header input[type="number"]:focus {
  outline: none;
  border-color: var(--minecraft-green);
}

.prize-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.prize-item .form-group {
  margin-bottom: 0.75rem;
}

.prize-item .form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #e0e0e0;
}

.prize-item .form-group input {
  padding: 0.5rem;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(60, 176, 67, 0.2);
  border-radius: 8px;
  color: #fff;
}

.prize-item .form-group input:focus {
  outline: none;
  border-color: var(--minecraft-green);
}

.remove-prize-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.remove-prize-btn:hover {
  background: #c82333;
  transform: scale(1.05);
}

/* General Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(60, 176, 67, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--minecraft-green);
  box-shadow: 0 0 0 3px rgba(60, 176, 67, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.form-control::placeholder {
  color: #888;
}

.message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
}

.message.success {
  background: rgba(60, 176, 67, 0.15);
  color: #3cb043;
  border: 1px solid rgba(60, 176, 67, 0.3);
}

.message.error {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn {
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.17, 0.67, 0.27, 1.25);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: #fff;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #644190 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(102, 126, 234, 0.5),
    0 0 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  border-color: #764ba2;
  color: #fff;
  box-shadow: 
    0 8px 25px rgba(118, 75, 162, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #644190 0%, #5568d3 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(118, 75, 162, 0.5),
    0 0 20px rgba(118, 75, 162, 0.3);
}

.btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Auth Box Styles */
.auth-box {
  background: rgba(15, 20, 25, 0.95);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(60, 176, 67, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
  backdrop-filter: blur(10px);
  max-width: 450px;
  margin: 0 auto;
}

.auth-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  filter: drop-shadow(0 8px 20px rgba(60, 176, 67, 0.5));
  animation: floatLogo 3s ease-in-out infinite;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3cb043, #5dd662);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: #b0b0b0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(60, 176, 67, 0.2);
}

.auth-footer p {
  color: #b0b0b0;
  margin-bottom: 0;
}

.auth-footer a {
  color: var(--minecraft-green);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-footer a:hover {
  color: #5dd662;
  text-decoration: underline;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.input-group-text {
  background: rgba(60, 176, 67, 0.1);
  border: 1px solid rgba(60, 176, 67, 0.2);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1rem;
  color: var(--minecraft-green);
  font-size: 1rem;
}

.input-group .form-control {
  border-radius: 0 8px 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--minecraft-green);
  cursor: pointer;
}

/* Admin Dashboard Styles */
.admin-dashboard {
  padding: 2rem 0;
}

.admin-header {
  background: rgba(15, 20, 25, 0.98);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(60, 176, 67, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.admin-header h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3cb043, #5dd662);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-header p {
  color: #b0b0b0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-nav a {
  padding: 0.75rem 1.5rem;
  background: rgba(15, 20, 25, 0.95);
  border-radius: 10px;
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.admin-nav a:hover {
  background: var(--minecraft-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(60, 176, 67, 0.3);
}

.admin-nav a.active {
  background: var(--minecraft-green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(60, 176, 67, 0.3);
}

.admin-content {
  background: rgba(15, 20, 25, 0.98);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(60, 176, 67, 0.3);
  border: 1px solid rgba(60, 176, 67, 0.2);
}

.admin-section {
  margin-bottom: 2rem;
}

.admin-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(60, 176, 67, 0.3);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #fff;
}

.stat-card .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-container {
    max-width: 95%;
    padding: 15px 20px;
    border-radius: 15px;
  }

  .navbar-content {
    flex-direction: column;
    padding: 20px 0;
  }

  .navbar-left,
  .navbar-right {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    text-align: center;
  }

  .navbar-left {
    justify-content: center;
  }

  .navbar-right {
    justify-content: center;
  }

  .navbar-brand {
    order: -1;
    padding: 20px 0;
  }

  .logo-img {
    width: 90px;
    height: 90px;
  }

  .hero {
    text-align: center;
    padding-top: 200px;
  }

  .hero-card {
    margin-top: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .lottery-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    flex-direction: column;
    width: 100%;
  }
}

