:root{
  --bg-left: #1b001a;
  --bg-center: #0b0b0b;
  --accent-yellow: #f4d04a;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.85);
  --max-width: 1100px;
  --container-padding: 24px;

  --anim-speed: 45s;
  --wash-alpha: 0.18;
  --blob-alpha: 0.06;
  --blob-blur: 72px;
  --card-blur: 8px;
  --glass-bg: rgba(255,255,255,0.03);

  --social-icon-size: 48px;
  --social-gap: 14px;
}

*{box-sizing:border-box}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #070707;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--white);
  overscroll-behavior-y: contain;
  -webkit-tap-highlight-color: transparent;
}

.site-title{
  margin:0;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight:800;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height:0.95;
  letter-spacing:-1px;
  color:var(--white);
  text-shadow: 0 4px 18px rgba(0,0,0,0.75), 0 0 20px rgba(255,40,40,0.04);
  display: block;
  text-align: center;
}
.site-sub{
  margin: 12px 0 0 0;
  font-size: clamp(14px, 2.4vw, 32px);
  font-weight:600;
  color: var(--accent-yellow);
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.background-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      120deg,
      rgb(30, 0, 40) 0%,
      rgb(80, 0, 80) 8%,
      rgb(130, 10, 90) 18%,
      rgb(200, 30, 70) 28%,
      rgba(11,11,11,1) 42%,
      rgb(40, 18, 30) 52%,
      rgb(114, 77, 60) 66%,
      rgb(180,110,70) 78%,
      rgb(220,140,90) 88%,
      rgb(140,50,100) 100%
    ),
    linear-gradient(
      90deg,
      rgba(255,10,10,0.00) 0%,
      rgba(255,60,60,var(--wash-alpha)) 12%,
      rgba(255,90,70,calc(var(--wash-alpha) + 0.04)) 30%,
      rgba(200,30,30,calc(var(--wash-alpha) + 0.02)) 50%,
      rgba(255,110,70,calc(var(--wash-alpha) - 0.02)) 72%,
      rgba(255,50,50,var(--wash-alpha)) 92%,
      rgba(255,10,10,0.00) 100%
    );

  background-size: 1000% 1000%, 240% 100%;
  background-position: 0% 50%, -40% 50%;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: normal, overlay;

  animation: gradient-move var(--anim-speed) linear infinite;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

.background-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255,200,220,var(--blob-alpha)) 0%, transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(255,180,130,0.05) 0%, transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255,60,40,0.02) 0%, transparent 18%);
  background-repeat: no-repeat;
  filter: blur(var(--blob-blur));
  mix-blend-mode: screen;
  opacity: 0.95;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: blobs-move calc(var(--anim-speed) * 0.95) ease-in-out infinite;
}
.background-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,50,40,0.18) 0%, rgba(255,40,30,0.08) 20%, transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, rgba(0,0,0,0.00) 2px);
  background-size: 110% 110%, 6px 6px;
  background-repeat: no-repeat, repeat;
  filter: blur(36px) contrast(1.02);
  mix-blend-mode: overlay;
  opacity: 0.95;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: wash-move calc(var(--anim-speed) * 0.75) ease-in-out infinite;
}

@keyframes gradient-move { 0%{ background-position:0% 50%, -40% 50% } 33%{ background-position:50% 25%, 0% 50% } 66%{ background-position:100% 50%, 120% 50% } 100%{ background-position:0% 50%, -40% 50% } }
@keyframes blobs-move { 0%{ transform:translateY(0) scale(1); opacity:0.9 } 50%{ transform:translateY(-18px) scale(1.02); opacity:1 } 100%{ transform:translateY(0) scale(1); opacity:0.9 } }
@keyframes wash-move { 0%{ transform:translate(-8px,0) scale(1); opacity:0.88 } 50%{ transform:translate(12px,-12px) scale(1.02); opacity:1 } 100%{ transform:translate(-8px,0) scale(1); opacity:0.88 } }

@media (pointer: coarse), (max-width: 900px) {
  :root { --blob-blur: 28px; --anim-speed: 60s; --wash-alpha: 0.12; --card-blur: 4px; --social-icon-size: 42px; }
  .background-gradient::before, .background-gradient::after { filter: blur(28px); }
  .background-gradient { animation-duration: calc(var(--anim-speed) * 1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .background-gradient, .background-gradient::before, .background-gradient::after { animation:none !important; transition:none !important; filter:none !important; }
}

.vignette { position:fixed; inset:0; pointer-events:none; z-index:0.5; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(0,0,0,0.28) 100%); }

.snap-container { position: relative; z-index: 1; height: 100vh; overflow-y: auto; scroll-snap-type: y proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.snap-container::-webkit-scrollbar { width: 10px; }
.snap-container::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); border-radius: 12px; border: 2px solid rgba(0,0,0,0.25); }

.section { height:100vh; scroll-snap-align:start; display:flex; align-items:center; justify-content:center; position:relative; padding:var(--container-padding); }
.content-inner { max-width:var(--max-width); width:100%; margin:0 auto; display:flex; flex-direction:column; align-items:center; text-align:center; }

.hero { padding-top:6vh; }
.hero-inner { max-width:var(--max-width); margin:0 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }

.g5one { display:flex; align-items:center; justify-content:center; padding:6vh 24px 10vh 24px; }
.g5-inner { display:grid; grid-template-columns: 360px 1fr; gap:30px; align-items:center; width:100%; max-width:980px; }
.g5-card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:16px; padding:24px; box-shadow: 0 18px 60px rgba(0,0,0,0.6); border:1px solid rgba(255,255,255,0.04); backdrop-filter: blur(var(--card-blur)); -webkit-backdrop-filter: blur(var(--card-blur)); display:flex; flex-direction:column; gap:16px; align-items:center; justify-content:center; min-height:220px; }
.g5-badge { width:96px; height:96px; border-radius:20px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:28px; background: linear-gradient(135deg, rgba(255,60,60,0.12), rgba(255,120,80,0.06)); box-shadow: 0 8px 30px rgba(255,40,40,0.06); color:var(--white); border:1px solid rgba(255,255,255,0.04); }

.g5-content { text-align: right; align-self: center; }
.g5-title { font-family: 'Montserrat','Inter',sans-serif; font-weight:800; font-size: clamp(36px,5.6vw,88px); margin:0 0 12px 0; line-height:0.95; text-shadow: 0 6px 20px rgba(0,0,0,0.75); }
.g5-sub { margin:0 0 22px 0; font-size:18px; color:var(--muted); max-width:60ch; margin-left:auto; }

.g5-apps-list { display:flex; flex-direction:column; gap:12px; align-items:flex-end; }
.g5-app {
  background: rgba(255,255,255,0.03);
  border-radius:10px;
  padding:10px 12px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  min-width: 260px;
  text-align: right;
}
.g5-app a { color:var(--white); font-weight:700; text-decoration:none; display:block; }

.g5-cta { margin-top:6px; display:inline-block; padding:10px 18px; border-radius:10px; font-weight:800; text-decoration:none; color:var(--white); background: linear-gradient(90deg, rgba(255,40,40,0.18), rgba(255,120,80,0.08)); border:1px solid rgba(255,255,255,0.06); box-shadow: 0 8px 20px rgba(255,40,40,0.06); }

@media (max-width: 900px) {
  .g5-inner {
    display: flex;                
    flex-direction: column;       
    gap: 18px;
    align-items: stretch;
    width: 100%;
  }
  .g5-content {
    order: 1;                    
    width: 100%;
    text-align: center;          
    align-self: center;
  }
  .g5-apps-list {
    align-items: center;        
    width: 100%;
  }
  .g5-app {
    min-width: auto;
    width: 100%;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }
  .g5-card {
    order: 2;                  
    width: 100%;
    min-height: 140px;            
    padding: 18px;
    align-self: center;
  }

  .section {
    position: relative;
    z-index: 1;                  
    box-sizing: border-box;
    min-height: 100vh;           
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .g5-inner > * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .g5-title { font-size: clamp(24px, 6.2vw, 44px); margin-bottom: 8px; }
  .g5-sub   { font-size: 15px; margin-bottom: 12px; }
  .g5-cta  { padding: 10px 14px; font-size: 14px; }
}


.plugin-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:16px; align-items:stretch; width:100%; max-width:920px; }
.plugin-card { display:block; background: rgba(255,255,255,0.03); border-radius:12px; padding:12px; text-align:left; box-shadow: 0 6px 20px rgba(0,0,0,0.6); transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease; text-decoration:none; color:var(--white); border: 2px solid rgba(255,255,255,0.03); min-height:90px; }
.plugin-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,0.7); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.plugin-title { margin:0 0 8px 0; font-size:18px; font-weight:700; }
.plugin-desc { margin:0; color: var(--muted); font-size:14px; }

.social-list { list-style:none; padding:0; margin:12px 0 0 0; width:100%; max-width:780px; display:grid; grid-template-columns: repeat(2,1fr); gap:var(--social-gap); }
.social-list li { padding:12px; border-radius:12px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,0.03); display:flex; align-items:center; gap:12px; box-shadow: 0 8px 30px rgba(0,0,0,0.45); transition: transform 180ms cubic-bezier(.2,.9,.2,1), box-shadow 180ms ease, border-color 180ms ease; }
.social-list li a { color:var(--white); text-decoration:none; font-weight:600; display:block; flex:1; }
.social-list li::before { content:"🔗"; font-size:22px; width:var(--social-icon-size); height:var(--social-icon-size); display:inline-flex; align-items:center; justify-content:center; border-radius:12px; flex-shrink:0; box-shadow: 0 6px 18px rgba(0,0,0,0.35); color:white; margin-right:8px; }
.social-list li:nth-child(1)::before { content:"▶️"; background: linear-gradient(180deg,#FF0000,#C40000); }
.social-list li:nth-child(2)::before { content:"🎮"; background: linear-gradient(180deg,#6441A5,#3b1f66); }
.social-list li:nth-child(3)::before { content:"🎵"; background: linear-gradient(180deg,#000000,#111111); }
.social-list li:nth-child(4)::before { content:"💬"; background: linear-gradient(180deg,#5865F2,#2f3aa8); }
.social-list li:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.06); }

.other-list { list-style:none; padding:0; margin:12px 0 18px 0; width:100%; max-width:780px; display:grid; gap:10px; }
.other-list li { padding:12px 16px; border-radius:10px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid rgba(255,255,255,0.03); box-shadow: 0 8px 20px rgba(0,0,0,0.45); transition: transform 180ms ease, box-shadow 180ms ease; }
.other-list li a { color:var(--white); text-decoration:none; font-weight:600; display:block; }
.other-list li:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.06); }

.muted { color:var(--muted); margin-bottom:16px; font-size:18px; }
.section-title { margin:0 0 6px 0; font-size:28px; font-weight:700; }

@media (max-width:1000px){ .plugin-grid{ grid-template-columns:1fr } .social-list{ grid-template-columns:1fr } .site-title{ font-size:clamp(36px,9vw,72px) } }
@media (pointer: coarse), (max-width:900px) { :root{ --blob-blur:28px; --anim-speed:60s; --wash-alpha:0.12; --card-blur:4px; --social-icon-size:42px } .background-gradient::before, .background-gradient::after{ filter: blur(28px) } .cta{ padding:12px 20px; font-size:14px; border-width:4px; border-radius:18px } }

@media (prefers-reduced-motion: reduce) { .background-gradient, .background-gradient::before, .background-gradient::after, .plugin-card, .cta { animation:none !important; transition:none !important } }

