:root {
    --clr-1: #f8e1be;
    --clr-2: #f25e36;
    --clr-3: #e12328;
    --clr-4: #690d08;
    --clr-5: #f8bb70;
    --clr-6: #f7a050;
    --clr-7: #e29d77;
    --clr-8: #a95137;
    --clr-9: #de2d44;
    --clr-10: #cca4a0;
    --discord-blurple: #5865F2;
    --discord-green: #57F287;
    --bg-dark: #1a0f0b;
    --glass-opacity: 0.12;
    --blur: blur(20px);
    --radius: 1.2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #251a0b;
    color: var(--clr-1);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, #f25e3615 0%, transparent 70%),
                radial-gradient(circle at 80% 60%, #f8bb7025 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}
header {
padding: 5rem 2rem;
text-align: center;
background: linear-gradient(135deg, #943920, #864236, #741216);
background-size: 500% 500%;
animation: bgGradient 20s ease infinite;
position: relative;
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
overflow: hidden;
}

.header-particles {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
}

.header-particles .particle {
position: absolute;
background: rgba(204, 164, 160, 0.15);
border-radius: 50%;
animation: header-particle-float 4s infinite ease-in-out;
}

@keyframes header-particle-float {
0%, 100% { 
transform: translateY(0) scale(1);
opacity: 0.8;
}
50% { 
transform: translateY(-40px) scale(1.2);
opacity: 0.4;
}
}

header .logo {
position: relative;
z-index: 1;
width: 200px;
mix-blend-mode: screen;
filter: drop-shadow(0 2px 4px rgba(105, 13, 8, 0.3));
}

header h1 {
position: relative;
z-index: 1;
font-size: 3.5rem;
margin: 1rem 0;
text-shadow: 0 2px 4px rgba(105, 13, 8, 0.3);
}

header p {
position: relative;
z-index: 1;
font-size: 1.2rem;
color: var(--clr-10);
max-width: 700px;
margin: 0 auto 2.5rem;
}

.btn-join {
position: relative;
z-index: 1;
display: inline-block;
padding: 1rem 2.5rem;
font-weight: bold;
font-size: 1rem;
color: var(--clr-1);
background: none;
border: 2px solid var(--clr-2);
border-radius: var(--radius);
overflow: hidden;
transition: all 0.4s ease;
backdrop-filter: blur(4px);
}

.btn-join::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, 
rgba(242, 94, 54, 0.8), 
rgba(222, 45, 68, 0.6));
z-index: -1;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.4s ease;
}

.btn-join:hover::before {
transform: scaleX(1);
}

main {
    max-width: 1300px;
    margin: -6rem auto 4rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.grid-cards {
    display: grid;
    margin-top: 80px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.card {
    background: rgba(255,255,255,var(--glass-opacity));
    backdrop-filter: var(--blur);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.06);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--clr-2);
}

.card p {
    color: var(--clr-10);
    font-size: 1rem;
    line-height: 1.6;
}

/* Nueva sección Discord */
/* Sección Discord actualizada */
.discord-join-section {
position: relative;
padding: 4rem 2rem;
margin: 4rem 0;
background: linear-gradient(145deg, 
rgba(242, 94, 54, 0.15) 0%, 
rgba(222, 45, 68, 0.1) 100%);
border-radius: var(--radius);
backdrop-filter: var(--blur);
border: 1px solid rgba(242, 94, 54, 0.2);
box-shadow: 0 15px 35px rgba(105, 13, 8, 0.2);
overflow: hidden;
}

.discord-container {
max-width: 600px;
margin: 0 auto;
text-align: center;
position: relative;
z-index: 1;
}

.discord-logo {
width: 120px;
height: 120px;
background: linear-gradient(45deg, 
var(--clr-2), 
var(--clr-5));
border-radius: 50%;
padding: 25px;
margin: 0 auto 2rem;
transition: transform 0.3s ease;
}

.discord-logo:hover {
transform: rotate(15deg) scale(1.1);
}

.discord-logo svg {
width: 100%;
height: 100%;
fill: var(--clr-1);
}

.discord-content h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, 
var(--clr-3), 
var(--clr-5));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.discord-content p {
color: var(--clr-10);
font-size: 1.1rem;
margin-bottom: 2rem;
line-height: 1.6;
}

.discord-button {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 1.2rem 3rem;
background: linear-gradient(45deg, 
var(--clr-2), 
var(--clr-5));
border: none;
border-radius: 15px;
color: var(--clr-1);
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
box-shadow: 0 5px 15px rgba(242, 94, 54, 0.3);
}

.discord-button:hover {
transform: scale(1.05);
box-shadow: 0 8px 20px rgba(242, 94, 54, 0.5);
}

.discord-button svg {
width: 28px;
height: 28px;
fill: var(--clr-1);
}

/* Partículas actualizadas */
.particle {
background: rgba(204, 164, 160, 0.1);
animation: particle-float 3s infinite ease-in-out;
}

footer {
    text-align: center;
    padding: 4rem 1rem;
    background: #120a08;
    color: var(--clr-10);
    font-size: 0.9rem;
}

footer a {
    color: var(--clr-2);
    text-decoration: underline;
}


.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: particle-float 3s infinite ease-in-out;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .discord-content h2 {
        font-size: 2rem;
    }
    
    .discord-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}


@media (max-width: 1024px) {
    header {
      padding: 4rem 1.5rem;
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    header h1 {
      font-size: 3rem;
    }
    header p {
      font-size: 1.1rem;
      max-width: 90%;
    }
    .btn-join {
      padding: 0.9rem 2rem;
      font-size: 0.9rem;
    }
    main {
      margin: -5rem auto 3rem;
      padding: 0 1rem;
    }
  }
  
  @media (max-width: 768px) {
    header {
      padding: 3rem 1rem;
      clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    header h1 {
      font-size: 2.5rem;
    }
    header p {
      font-size: 1rem;
      margin-bottom: 2rem;
    }
    .btn-join {
      padding: 0.8rem 1.5rem;
      font-size: 0.85rem;
    }
    .grid-cards {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 60px;
    }
    .card {
      padding: 1.5rem;
    }
    .discord-join-section {
      padding: 3rem 1rem;
      margin: 3rem 0;
    }
    .discord-logo {
      width: 100px;
      height: 100px;
      padding: 20px;
    }
    .discord-container {
      max-width: 90%;
    }
    .discord-content h2 {
      font-size: 2rem;
    }
    .discord-content p {
      font-size: 1rem;
    }
    .discord-button {
      padding: 1rem 2rem;
      font-size: 1rem;
    }
    footer {
      padding: 2.5rem 1rem;
      font-size: 0.8rem;
    }
  }
  
  @media (max-width: 480px) {
    header h1 {
      font-size: 2rem;
    }
    header p {
      font-size: 0.9rem;
    }
    .btn-join {
      padding: 0.7rem 1.2rem;
      font-size: 0.8rem;
    }
    .grid-cards {
      margin-top: 40px;
    }
    .card h3 {
      font-size: 1.4rem;
    }
    .card p {
      font-size: 0.9rem;
    }
    .discord-logo {
      width: 80px;
      height: 80px;
      padding: 15px;
    }
    .discord-content h2 {
      font-size: 1.5rem;
    }
    .discord-content p {
      font-size: 0.9rem;
    }
    .discord-button {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
    }
  }
  