:root {
    --primary: #31a1c4;
    --secondary: #e8eb3f;
    --dark: #1c1b22;
    --navy: #212132;
    --text-light: #fff;
    --text-dark: #1a1a1a;
    --yellowDark: #71723a;
}

body {
    margin: 0;
    height: 100%;
    background: var(--dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Arial, sans-serif;
}


/* Footer styling */
.site-footer{
  background: radial-gradient(1200px 400px at 50% -200px, rgba(49,161,196,.10), transparent 70%),#0f1015;
  border-top: 1px solid rgba(255,169,40,.18);
  color: #cfd3de;
  padding: 20px;
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle accent bar */
.site-footer::before{
  content:"";
  display:block;
  height:3px;
  width:100%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: navBorderFlow 4s linear infinite;
  position:absolute; top:0; left:0;
  opacity:.9;
}

.site-footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--primary);
}

.nav{
    position: sticky;
    top: 0;
    z-index: 50;
    background:
      radial-gradient(1200px 400px at 50% -200px, rgba(49,161,196,.10), transparent 70%),
      rgba(15,16,21,.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;            /* we use the animated bar instead */
  }
  
  /* animated 3px RGB gradient just below the bar */
  .nav::after{
    content:"";
    position:absolute;
    left:0; bottom:-3px;
    width:100%; height:3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size:300% 100%;
    animation: navBorderFlow 4s linear infinite;
    pointer-events:none;
  }
  @keyframes navBorderFlow{ from{background-position:0% 50%} to{background-position:100% 50%} }
  
  .nav-inner{
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 0 1rem;
  }
  
  .nav-logo{
    display:flex; align-items:center; gap:.6rem;
    color: #fff; font-weight: 800; letter-spacing:.2px;
    text-decoration:none;
    font-size:1.15rem;
  }
  
  .nav-toggle{
    display:none;
    background:transparent; border:0; color:#e6ebf5; cursor:pointer;
    padding:.4rem; border-radius:10px;
  }
  .nav-toggle:hover{ background:rgba(255,255,255,.06); }
  
  .nav-links{
    display:flex; align-items:center; gap:.6rem;
  }
  .nav-link{
    position:relative;
    display:inline-flex; align-items:center;
    padding:.55rem .85rem;
    border-radius:10px;
    color: var(--text-light); text-decoration:none; font-weight:600;
  }
  .nav-link:hover{ color:#fff; background:var(--navy); }
  .nav-link.active{ color:#fff; }
  .nav-link.active::after,
  .nav-link:hover::after{
    content:"";
    position:absolute; left:.85rem; right:.85rem; bottom:.25rem;
    height:2px; border-radius:2px;
    opacity:.9;
  }

  .nav-link-text{
    margin-left: 0.5rem;
    font-size: 1.15rem;
  }
  .nav-link:hover{
    background: var(--navy);
    transition: all 0.2s ease-in-out;
  }

.hero {
    background: url("https://i.postimg.cc/ryBb1bkn/2025-08-20-21-11-34.png") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #191922c8 0%, #0008 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 0 2px 8px #000b;
}

.hero h2 {
    font-size: 1.8rem;
    color: #ffe;
    font-weight: 500;
    text-shadow: 0 2px 8px #000b;
    margin-bottom: 2rem;
}


.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-actions a {
    background: #1a1a1aee;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2.2rem;
    border-radius: 32px;
    font-weight: bold;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: background 0.2s, border 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.hero-actions a.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.hero-actions a.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--primary);
}

.hero-actions a:hover {
    background: var(--navy);
    color: #fff;
}

.server-ip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff4;
    padding: 0.7rem 1.1rem;
    border-radius: 20px;
    color: var(--text-light);
    font-weight: bold;
    margin-top: 1rem;
    font-size: 1.15rem;
}

.server-ip code {
    background: #fff8;
    border-radius: 8px;
    padding: 0.15em 0.5em;
    font-size: 1em;
    font-family: 'Consolas', monospace;
    color: var(--primary);
    margin-right: 0.7em;
}

.server-ip button {
    background: var(--navy);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1em;
    padding: 0.3em 1.2em;
    margin-left: 0.5em;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.server-ip button:hover {
    background: #fc8400;
}

.ipbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(30, 30, 40, 0.88);
    border-radius: 2em;
    padding: 0.7em 1.2em 0.7em 1.5em;
    box-shadow: 0 2px 24px 0 #0005;
    max-width: 430px;
    margin: 2rem auto 3rem auto;
    gap: 1em;
    backdrop-filter: blur(6px);
}

.ip-label {
    color: #fff;
    font-size: 1.12em;
    font-weight: bold;
    letter-spacing: 0.01em;
    margin-right: 0.5em;
}

.ip-address {
    background: #262b38;
    color: var(--secondary);
    font-family: 'Consolas', monospace;
    font-size: 1.06em;
    font-weight: 600;
    border-radius: 0.8em;
    padding: 0.25em 0.9em;
    margin-right: 1.1em;
    border: 1.5px solid #38394d;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 4px #0002;
    transition: background .18s, color .18s;
}

.copy-btn {
    background: var(--yellowDark);
    color: #fff;
    border: none;
    border-radius: 1.5em;
    font-weight: bold;
    font-size: 1.12em;
    padding: 0.4em 1.5em;
    cursor: pointer;
    box-shadow: 0 1px 8px #0003;
    transition: background .18s;
}

.copy-btn:hover {
    background: #9ba356;
}

@media (max-width: 600px) {
    .ipbar {
        flex-direction: column;
        align-items: stretch;
        max-width: 97vw;
        gap: 0.6em;
        padding: 1em;
    }

    .ip-address {
        margin-right: 0;
        text-align: center;
    }
}

.features-section {
    background: #23232d;
    padding: 3rem 1rem 2.5rem 1rem;
    margin-top: -2rem;
}

.features-title {
    color: var(--secondary);
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 2.4rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: #1b1b24;
    border-radius: 20px;
    box-shadow: 0 1px 12px 0 rgba(0, 0, 0, 0.12);
    padding: 2rem 1.2rem;
    min-width: 250px;
    max-width: 320px;
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {

    transform: translateY(-10px);
    box-shadow: var(--primary) 0px 0px 10px 0px;
    transition: all 0.2s ease-in-out;
}

.feature-card .icon {
    margin-bottom: 0.7em;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.7em;
    font-weight: 700;
}

.feature-card p {
    font-size: 1.01rem;
    color: #bbb;
    margin: 0;
}

.link-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin: 3rem auto 0 auto;
    max-width: 950px;
}

.link-card {
    background: #23232b;
    border-radius: 20px;
    color: #fff;
    text-align: left;
    min-width: 280px;
    max-width: 320px;
    flex: 1 1 280px;
    padding: 1.5rem 1.7rem 1.2rem 1.3rem;
    box-shadow: 0 2px 8px 0 #0003;
    display: flex;
    align-items: flex-start;
    gap: 1.2em;
    transition: background 0.2s, transform 0.17s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: #262738;
    transform: translateY(-5px) scale(1.025);
}

.link-card .icon {
    margin-top: 0.2em;
    min-width: 2.3em;
    min-height: 2.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card .icon svg {
    display: block;
}

.link-card .card-details {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.link-card .card-title {
    font-weight: 700;
    font-size: 1.14em;
    margin-bottom: 0.15em;
    color: #fff;
    line-height: 1.1;
}

.link-card .card-desc {
    font-size: 0.97em;
    color: #ffecc9;
    text-decoration: underline;
    line-height: 1.25;
    font-weight: 400;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .link-cards {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 98vw;
    }

    .link-card {
        min-width: unset;
        max-width: unset;
    }
    .nav-toggle{ display:block;
    }
    .nav-links{
        position:absolute; top:64px; right:12px;
        width:min(92vw, 360px);
        background: rgba(15,16,21,.95);
        border:1px solid rgba(255,255,255,.08);
        border-radius:16px;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
        display:none;
        flex-direction:column; align-items:stretch;
        padding: .5rem;
    }
    .nav-links[data-open="true"]{
        display:flex; 
    }
    .nav-link{ 
        padding:.85rem 1rem; border-radius:12px;
    }
    .player-pill{ 
        align-self:flex-end; margin:.25rem .25rem .25rem 0;
    }   
}

:root{
    --enter-dur: 1500ms;
    --enter-dur-transform: 1900ms;
    --enter-delay: 140ms;
    --enter-curve: cubic-bezier(.18,.88,.22,1);
    
    /* tweak these two to taste */
    --enter-blur: 28px;               /* was 10px */
    --enter-backdrop-blur: 14px;      /* extra blur via overlay */
  }
  
  .will-animate body{
    opacity: 0;
    transform: translateY(2rem) scale(.980);
    filter: blur(var(--enter-blur)) saturate(.88);
    transform-origin: 50% 60%;
    transition:
      opacity var(--enter-dur) var(--enter-curve) var(--enter-delay),
      transform var(--enter-dur-transform) var(--enter-curve),
      filter var(--enter-dur) var(--enter-curve) var(--enter-delay);
  }
  
  /* vignette overlay + backdrop blur for extra softness */
  .will-animate body::before{
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(1200px 600px at 50% 20%, rgba(0,0,0,.20), transparent 60%),
      rgba(0,0,0,.28);
    opacity: 1;
    backdrop-filter: blur(var(--enter-backdrop-blur));
    -webkit-backdrop-filter: blur(var(--enter-backdrop-blur));
    transition: opacity calc(var(--enter-dur) * .95) var(--enter-curve) var(--enter-delay);
    z-index: 9999;
  }
  
  .will-animate.page-loaded body{
    opacity: 1;
    transform: none;
    filter: none;
  }
  .will-animate.page-loaded body::before{
    opacity: 0;
  }
  
  /* accessibility */
  @media (prefers-reduced-motion: reduce){
    .will-animate body{
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
      transition: none !important;
    }
    .will-animate body::before{ display: none !important; }
  }
  
  body{ will-change: opacity, transform, filter; }
  