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

/* Body & Background */
body {
  font-family: 'Arial', sans-serif;
  background: #000; /* Black background */
  color: #fff;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

/* Dashboard Title */
.dashboard-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

/* Category Cards */
.category-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.9);
}

/* Category Title */
.category-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
  color: #00BFFF;
}

/* Command List */
.command-list {
  list-style: none;
  padding-left: 0;
}

.command-item {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.command-item:last-child {
  border-bottom: none;
}

/* Command Name & Description */
.command-name {
  font-weight: bold;
  color: #FFD700;
}

.command-desc {
  color: #ccc;
  margin-left: 5px;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
  }
  50% {
    text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700;
  }
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff; /* White text for contrast */
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(63, 81, 181, 0.8), rgba(255, 87, 34, 0.8));
    background-size: 400% 400%; /* Smooth, flowing gradient */
    animation: gradientTransparencyAnimation 15s ease infinite;
    margin: 0;
    min-height: 100vh; /* Ensure it covers the full viewport height */
    overflow-y: auto; /* Allow vertical scrolling */
  }
  
  html {
    height: 100%; /* Ensure the root element covers the full height */
  }
  
  .dashboard-container {
    flex: 1; /* Push the footer to the bottom when content is shorter than the viewport */
  }
  
  /* Navigation Bar */
  .navbar {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
  }
  
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-menu {
    list-style: none;
    display: flex;
  }
  
  .navbar-menu li {
    margin: 0 10px;
  }
  
  .navbar-menu a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
  }
  
  /* Main Content */
  .dashboard-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  
  
  /* Welcome Section */
  .welcome-section {
    text-align: center;
  }
  
  .user-info {
    margin-top: 10px;
    color: #777;
  }
  
  .user-avatar {
    margin-top: 10px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
  }
  
  /* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4CAF50, #3E4BAF);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    color: #fff;
  }
  
  @keyframes gradientBackground {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  
  /* Navbar */
  .navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo a {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
  }
  
  .navbar-menu {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .navbar-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .navbar-menu a:hover,
  .navbar-menu a.active {
    color: #FFD700;
  }
  
  /* Dashboard Container */
  .dashboard-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
  }
  
  /* Welcome Section */
  .welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  .welcome-section .user-info {
    font-size: 1rem;
    color: #FFD700;
    margin-bottom: 20px;
  }
  
  .user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 20px auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  }
  
  /* Features Section */
  .features-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFD700;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .feature-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  }
  
  .feature-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 10px;
  }
  
  .feature-text {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* Error Section */
  .error-section {
    padding: 50px;
  }
  
  .error-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .error-section .btn-primary {
    padding: 12px 25px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
  }
  
  .error-section .btn-primary:hover {
    background: #45a049;
    transform: translateY(-3px);
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border-radius: 0 0 15px 15px;
  }
  

/* Manage Guilds Section */
.guilds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.guild-card {
    position: relative; /* Ensures z-index works properly */
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9), rgba(0, 0, 0, 0.7));
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    overflow: hidden;
}

.guild-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.guild-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    z-index: 0; /* Make sure this layer is below the content */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.guild-card:hover::before {
    opacity: 0.6;
}

.guild-info, .btn {
    position: relative; /* Ensure buttons and text are above the hover effects */
    z-index: 2; /* Ensures clickable elements remain above the pseudo-elements */
}

/* Form Styling */
.form {
  background: #1a1a1a; /* Dark background */
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ccc; /* Light border */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #333; /* Slightly lighter than the form background */
  color: #fff; /* White text for contrast */
}

.form-control::placeholder {
  color: #bbb; /* Lighter placeholder text */
}

/* Add Coins Button */
.btn {
  padding: 10px 15px;
  background-color: #4caf50; /* Green for Add Coins */
  border: none;
  border-radius: 5px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #45a049;
}

/* Remove Coins Button */
.btn-red {
  padding: 10px 15px;
  background-color: #e74c3c; /* Red for Remove Coins */
  border: none;
  border-radius: 5px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-red:hover {
  background-color: #c0392b;
}

/* Titles for Each Form */
.form h3 {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.2rem;
  color: #fff; /* White titles */
}

/* Aligning the Forms Side by Side */
#manage-coins .form {
  flex: 1;
  margin: 0 10px;
  background: #1a1a1a;
}



/* Animation for Pulsing Effect */
@keyframes pulse {
    0%, 100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 0 15px #FFD700;
    }
    50% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 0 25px #FFD700;
    }
}
  
  /* Features Section */
  .features-section {
    margin-top: 30px;
  }
  
  .features-section h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .feature-card {
    background: #f1f1f1;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
  }
  
  .feature-card:hover {
    transform: scale(1.05);
  }
  
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .feature-text {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* Error Section */
  .error-section {
    text-align: center;
  }
  
  .error-section .button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
  }

  /* Section Wrapper */
.section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* Form Labels */
  .form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  /* Form Inputs */
  .form input,
  .form select,
  .form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9); /* Light background for inputs */
  }
  
  /* Submit Button */
  .btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #4caf50;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
  }
  
  .btn:hover {
    background: #45a049;
  }

  /* Black Market Section - Consistent with Other Sections */
.section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8); /* Same dark background as others */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 800px; /* Centered and consistent width */
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Section Title */
  .section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* White text for the title */
    font-size: 1.5rem;
  }
  
  /* Form Labels */
  .form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff; /* White text for labels */
  }
  
  /* Input Fields */
  .form input,
  .form select,
  .form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9); /* Light background for inputs */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
  }
  
  /* Submit Button */
  .btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #4caf50; /* Green background */
    color: #fff; /* White text */
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
  }
  
  .btn:hover {
    background: #45a049; /* Darker green on hover */
  }
  
  
  /* Dropdown Style */
.form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9); /* Light background */
    color: #000; /* Black text */
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
  }
  
  .form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Input and Textarea Styling */
.form-control {
  color: #000; /* Set text color to black */
  background: #fff; /* Set background to white */
  border: 1px solid #ccc; /* Light border for better visibility */
}

.form-control::placeholder {
  color: #aaa; /* Set placeholder text color to a light gray */
}

  

  
  .error-section .button:hover {
    background: #45a049;
  }
  
  
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    background: transparent;
    color: #aaa;
    border-radius: 0;
  }
  