:root {
  
    --dark-bg: #1f2421;                           
    --primary-grass: #709e47;                 
    --secondary-cream: #e8e2d7;                  
    --accent-sand: #c6ad8f;                    
    --dark-charcoal: #2f3230;                    
    --gradient-primary: linear-gradient(135deg, #709e47 0%, #c6ad8f 100%);
  
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  a {
    text-decoration: none;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--secondary-cream);
    line-height: 1.7;
  }
  
  .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
  }
  
  .mod-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    animation: gradientShift 12s ease infinite;
  }
  
  @keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .hero-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.03)"/><path d="M50 0L100 50L50 100L0 50L50 0Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.15;
    animation: patternRotate 120s linear infinite;
  }
  
  @keyframes patternRotate {
    from { transform: rotate(0deg) translate(-25%, -25%); }
    to   { transform: rotate(360deg) translate(-25%, -25%); }
  }
  
  .floating-cubes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .cube {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-100px) rotate(180deg); }
  }
  
  .cube-1 { left: 15%; top: 30%; animation-delay:   0s; }
  .cube-2 { left: 70%; top: 50%; animation-delay:   2s; }
  .cube-3 { left: 45%; top: 70%; animation-delay:   4s; }
  
  .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    transform: translateY(20px);
    animation: contentReveal 1s ease-out forwards;
  }
  
  @keyframes contentReveal {
    to { transform: translateY(0); opacity: 1; }
  }
  
  .hero-title {
    font-family: 'Minecraft', sans-serif;
    font-size: 4rem;
    margin-top: 0.5rem;
    opacity: 0;
    animation: titleReveal 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s forwards;
  }
  
  @keyframes titleReveal {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-cream);
  }
  
  .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.3)"/></svg>');
    animation: particles 20s linear infinite;
    opacity: 0.3;
  }
  
  @keyframes particles {
    0%   { transform: translate(0,0) rotate(0deg); }
    100% { transform: translate(-50%,-50%) rotate(360deg); }
  }
  
  .cta-buttons {
    position: relative;
    z-index: 2;
  }
  
  
  .btn-mod:hover .btn-shine {
    left: 150%;
  }
  
  @media (max-width: 768px) {
    .hero-title    { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .cube          { width: 30px; height: 30px; }
  }
  
  /* Filtros especializados para mods */
  .mod-filters {
    padding: 4rem 0;
    background: var(--dark-charcoal);
  }
  
  .filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .filter-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .filter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
  }
  
  .filter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-grass);
    border-radius: 2px;
  }
  
  .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  
  .filter-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(112, 158, 71, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .filter-card:hover {
    transform: translateY(-5px);
    background: rgba(112, 158, 71, 0.05);
    border-color: var(--primary-grass);
  }
  
  .filter-card.active {
    background: rgba(112, 158, 71, 0.1);
    border-color: var(--primary-grass);
  }
  
  /* Tarjetas de mods mejoradas */
  .mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
  }
  
  .mod-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(112, 158, 71, 0.1);
    position: relative;
    transition: var(--transition);
  }
  
  .mod-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .mod-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-sand);
    color: var(--dark-charcoal);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
  }
  
  .mod-preview {
    height: 240px;
    background: var(--dark-charcoal);
    position: relative;
    overflow: hidden;
  }
  
  .mod-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .mod-preview:hover img {
    transform: scale(1.05);
  }
  
  .mod-content {
    padding: 1.8rem;
  }
  
  .mod-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-grass);
  }
  
  .mod-description {
    color: rgba(232, 226, 215, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  .mod-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--accent-sand);
  }
  
  .mod-requirements {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }
  
  .requirement-tag {
    background: rgba(198, 173, 143, 0.1);
    color: var(--accent-sand);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mod-actions {
    display: grid;
    gap: 1rem;
  }
  
  .btn-mod {
    padding: 1rem 1.8rem;
    border: none;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .btn-download {
    background: var(--primary-grass);
    color: var(--secondary-cream);
  }
  
  .btn-download:hover {
    background: #5e8b45;
    transform: translateY(-2px);
  }
  
  .btn-details {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary-cream);
  }
  
  .btn-details:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  @media (max-width: 768px) {
    .hero-title    { font-size: 2.8rem; }
    .mod-grid      { grid-template-columns: 1fr; }
    .nav-container { padding: 0 1rem; }
    .filter-grid {
      display: grid
  ;
      grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;

      
  }
  .mod-grid {
   
     padding: 0rem; 
}
  }
  

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 36, 33, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: modalEntrance 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  @keyframes modalEntrance {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
  }
  
  .modal-content {
    background: var(--dark-charcoal);
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(198, 173, 143, 0.15);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  
  .modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    z-index: -1;
    border-radius: var(--radius-lg);
  }
  
  .modal-header {
    padding: 2rem;
    background: rgba(112, 158, 71, 0.1);
    border-bottom: 2px solid rgba(112, 158, 71, 0.2);
    position: relative;
  }
  
  .modal-header h3 {
    font-family: var(--font-heading);
    color: var(--accent-sand);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .modal-header h2 {
    font-family: var(--font-heading);
    color: var(--primary-grass);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
  }
  
  .modal-header .fa-rocket {
    color: var(--accent-sand);
    font-size: 1.5em;
  }
  
  .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    color: var(--accent-sand);
    transition: var(--transition);
  }
  
  .close-btn:hover {
    color: var(--primary-grass);
    transform: rotate(90deg);
  }
  
  .modal-body {
    padding: 2rem;
  }
  
  .support-message {
    background: rgba(112, 158, 71, 0.1);
    border: 2px solid rgba(112, 158, 71, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
  }
  
  .support-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-grass);
  }
  
  .support-message .fa-heart {
    color: #e74c3c;
    font-size: 1.5rem;
    animation: pulseHeart 1.5s ease-in-out infinite;
  }
  
  @keyframes pulseHeart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }
  
  .support-message p {
    color: var(--secondary-cream);
    font-size: 0.95rem;
  }
  
  .support-message strong {
    color: var(--primary-grass);
  }
  
  .download-options {
    display: grid;
    gap: 1.5rem;
  }
  
  .download-option {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 2px solid rgba(112, 158, 71, 0.1);
  }
  
  .download-option h4 {
    color: var(--accent-sand);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
  }
  
  .download-buttons {
    display: grid;
    gap: 1rem;
  }
  
  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary {
    background: var(--primary-grass);
    color: var(--secondary-cream);
    border: 2px solid rgba(112, 158, 71, 0.3);
  }
  
  .btn-primary:hover {
    background: #5e8b45;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(112, 158, 71, 0.3);
  }
  
  .btn-linkvertise {
    background: var(--accent-sand);
    color: var(--dark-charcoal);
    border: 2px solid rgba(198, 173, 143, 0.3);
  }
  
  .btn-linkvertise:hover {
    background: #b89e7d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 173, 143, 0.3);
  }
  
  .btn .fa-download {
    font-size: 1.1em;
  }
  
  .modal-footer {
    padding: 1.5rem 2rem;
    background: rgba(47, 50, 48, 0.8);
    border-top: 2px solid rgba(112, 158, 71, 0.1);
  }
  
  .footer-note {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-sand);
    font-size: 0.9rem;
  }
  
  .footer-note .fa-exclamation-triangle {
    color: #e67e22;
  }
  
  /* Efecto brillo en botones */
  .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
      transparent 25%,
      rgba(255,255,255,0.1) 50%,
      transparent 75%);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
  }
  
  .btn:hover::after {
    opacity: 1;
    animation: btnShine 1.5s;
  }
  
  @keyframes btnShine {
    0% { left: -50%; }
    100% { left: 150%; }
  }
  
  @media (max-width: 768px) {
    .modal-content {
      width: 95%;
    }
    
    .modal-header h2 {
      font-size: 1.5rem;
    }
    
    .support-message {
      padding: 1rem;
    }
  }
  
  .navbar-signup,
  .navbar-login {
    padding: 5px 20px;
  }
  
  
  .navbar-link::after {
      background-color: #709e47!important; 
  }
  .navbar-link:hover {
      color: #a9e475 !important;
  }
  
  .navbar-signup {
      background-color: #709e47  !important;
  }
  .navbar-signup:hover {
     color: #fff !important;
     background-color: #1b1b1a00!important;
  }
  .navbar-signup, .navbar-login {
      
      padding: 5px 20px !important; 
       
   }

   .dropdown-menu li a:hover {
    color:#a9e475 !important;
  }
  /* Tablets y móviles grandes */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: 500px;
  }
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.5rem;
  }
  .modal-header h3 {
    font-size: 1.1rem;
  }
  .modal-header h2 {
    font-size: 1.5rem;
  }
  .support-message {
    padding: 1rem;
  }
  .support-message p {
    font-size: 0.9rem;
  }
  .download-option {
    padding: 1rem;
  }
  .download-option h4 {
    font-size: 1.1rem;
  }
  .btn {
    padding: 0.8rem 1.2rem;
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
}

.footer-column {
    margin-bottom: 20px;
    text-align: center;
}

}


@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .modal-header {
    padding: 1rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
  .modal-header h2 {
    font-size: 1.3rem;
    gap: 0.5rem;
  }
  .close-btn {
    top: 1rem;
    right: 1rem;
  }
  .modal-body {
    padding: 1rem;
    overflow-y: auto;
  }
  .support-message {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem;
  }
  .support-message p {
    font-size: 0.85rem;
  }
  .download-options {
    display: flex;
    flex-direction: column;
  }
  .download-option {
    padding: 0.8rem;
  }
  .download-buttons {
    gap: 0.8rem;
  }
  .btn {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.9rem;
  }
  .modal-footer {
    padding: 1rem;
  }
  .footer-note {
    font-size: 0.8rem;
  }
}
.footer {
  background-color: #282828;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
}

.footer-container {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 50px;
  margin-right: 10px;
  color: #709e47
}

.footer-logo h2 {
  margin: 0;
  font-size: 24px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 20px;
}

.footer-column {
  flex: 1;
  padding: 0 10px;
}

.footer-column h3 {
  font-size: 18px;
  border-bottom: 2px solid #709e47;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #709e47;
}

.footer-column ul li i {
  margin-right: 8px;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-social a {
  margin: 0 10px;
  font-size: 24px;
  color: #fff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #709e47;
}

.footer-credits {
  text-align: center;
}

.footer-credits p {
  margin: 0;
}