:root{
  --bg0:#06070b;
  --bg1:#0b1020;
  --card: rgba(18, 26, 44, .65);
  --card2: rgba(18, 26, 44, .45);
  --border: rgba(255, 255, 255, .10);
  --border2: rgba(255, 255, 255, .06);

  --text:#e8eefc;
  --muted: rgba(232, 238, 252, .72);
  --muted2: rgba(232, 238, 252, .55);

  --accent:#7c5cff;   /* morado estilo “Gemini” */
  --accent2:#2ee9a6;  /* acento verde */
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);

  --radius: 18px;
  --radius2: 14px;

  --focus: rgba(124, 92, 255, .42);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(124, 92, 255, .30), transparent 55%),
              radial-gradient(1000px 650px at 90% 10%, rgba(46, 233, 166, .16), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.bg{
  position:fixed;
  inset:-40px;
  pointer-events:none;
  background:
    radial-gradient(700px 300px at 25% 10%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(650px 280px at 75% 5%, rgba(46,233,166,.14), transparent 55%),
    radial-gradient(550px 250px at 50% 75%, rgba(124,92,255,.10), transparent 60%);
  filter: blur(0px);
  opacity:.9;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6,7,11,.55);
  border-bottom: 1px solid var(--border2);
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(46,233,166,.18));
  border:1px solid var(--border);
  box-shadow: 0 10px 25px rgba(124,92,255,.12);
}
.brand-name{
  font-weight: 720;
  letter-spacing: .2px;
}

.top-link{
  color: var(--muted);
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: .18s ease;
}
.top-link:hover{
  color: var(--text);
  border-color: var(--border2);
  background: rgba(255,255,255,.03);
}

.page{
  width:min(1100px, 92vw);
  margin: 0 auto;
  padding: 26px 0 40px;
}

.hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  padding: 18px 4px 20px;
}
.title{
  margin:0;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height:1.05;
  letter-spacing: -0.6px;
}
.subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

.hero-badge{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border2);
  box-shadow: var(--shadow2);
  color: var(--muted);
  font-size: 14px;
  white-space:nowrap;
}
.dot{
  width:10px;
  height:10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent2), rgba(46,233,166,.35));
  box-shadow: 0 0 0 6px rgba(46,233,166,.08);
}

.tools{
  margin-top: 12px;
  padding: 18px 0 0;
}
.tools-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding: 0 4px 14px;
}
.tools-title{
  margin:0;
  font-size: 18px;
  color: rgba(232, 238, 252, .92);
}
.tools-hint{
  margin:0;
  color: var(--muted2);
  font-size: 13.5px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 6px 0 4px;
}

.tool-card{
  grid-column: span 6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  text-decoration:none;
  color: var(--text);

  padding: 16px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);

  transition: transform .14s ease, border-color .14s ease, background .14s ease;
  position:relative;
  overflow:hidden;
}

.tool-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 140px at 15% 15%, rgba(124,92,255,.35), transparent 60%),
              radial-gradient(380px 120px at 85% 20%, rgba(46,233,166,.20), transparent 60%);
  opacity:.0;
  transition: opacity .18s ease;
}

.tool-card:hover{
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, .40);
}
.tool-card:hover::before{ opacity: 1; }

.tool-icon{
  width:40px;
  height:40px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.03);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(232, 238, 252, .86);
  position:relative;
  z-index:1;
}
.tool-label{
  flex:1;
  font-weight: 640;
  letter-spacing: .1px;
  position:relative;
  z-index:1;
}
.tool-arrow{
  color: rgba(232, 238, 252, .7);
  font-size: 16px;
  position:relative;
  z-index:1;
}

.tool-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), var(--shadow2);
}

.empty-state{
  grid-column: 1 / -1;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: rgba(255,255,255,.02);
}
.empty-title{
  font-weight: 700;
  margin-bottom: 6px;
}
.empty-subtitle{
  color: var(--muted);
  font-size: 14px;
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(255,255,255,.04);
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  color: rgba(232, 238, 252, .9);
}

.footer{
  padding: 22px 0 34px;
  color: var(--muted2);
  text-align:center;
  font-size: 13px;
}

@media (max-width: 900px){
  .tool-card{ grid-column: span 12; }
  .tools-head{ flex-direction:column; align-items:flex-start; }
  .hero{ flex-direction:column; align-items:flex-start; }
}
