/* <!-- style.css --> */

@font-face {
   font-family: 'JetBrains';
   src: url('../fonts/JetBrainsMono-Thin.woff2') format('woff2');
   font-weight: 100;
   font-style: normal;
   font-display: swap;
}

:root {
   --card: rgba(255, 255, 255, 0.88);
   --card-glow: 0 20px 50px rgba(176, 70, 194, 0.25);
   --text: #0f172a;
   --text-contrast: #e7e7e7;
   --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
   --font-main: "JetBrains", "JetBrains Mono", "IBM Plex Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
   --accent: #b046c2;
}

html {
   background: #0f172a;
   min-height: 100%;
}

body {
   font-family: var(--font-main);
   color: var(--text);
   background: transparent;
   box-sizing: border-box;
   width: min(520px, calc(100% - 2.5rem));
   margin: 2.5rem auto 3rem;
   min-height: calc(100vh - 5rem);
   padding: 0;
   line-height: 1.6;
   font-weight: 100;
   font-size: 20px;
}

h1 {
   letter-spacing: 0.01em;
   color: #1f2933;
   text-align: center;
   margin: 0 0 0.6rem 0;
   font-weight: 100;
}

.jazzChordLab-wrapper {
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: calc(100vh - 5rem);
   margin: 0 auto;
   flex-direction: column;
}

.jazzChordLab-box {
   background: var(--card);
   backdrop-filter: blur(6px);
   color: var(--text-contrast);
   border-radius: 22px;
   padding: 24px 31px 26px;
   box-shadow: var(--card-glow), var(--shadow);
   width: min(400px, 100%);
   box-sizing: border-box;
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-top: 0;
}

.jazzChordLab-logo {
   display: block;
   width: 276px;
   margin: -70px auto 0;
   filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.4));
}

.jazzChordLab-title {
   font-family: var(--font-main);
   font-size: 1.9rem;
   margin: 0.6rem 0 0.1rem;
   /* font-weight: 700; */
   color: var(--text);
}

.tagline {
   margin: 0 0 1rem;
   color: #4b5563;
   font-size: 1.25rem;
}

.cta {
   display: flex;
   gap: 0.75rem;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
}

.link {
   color: var(--accent);
   text-decoration: none;
   font-weight: 600;
   font-size: 1.15rem;
   padding: 0.6rem 0.85rem;
   border-radius: 10px;
   transition: background 120ms ease, color 120ms ease;
}

.link:hover {
   background: rgba(176, 70, 194, 0.08);
   color: #7c3aed;
}

.jazzChordLab-extra {
   margin-top: 1.4rem;
   text-align: center;
   width: min(400px, 100%);
   box-sizing: border-box;
}

.secondary-link {
   display: block;
   padding: 0.65rem 1.1rem;
   border-radius: 12px;
   border: 1px solid rgba(176, 70, 194, 0.7);
   color: #e7e7e7;
   background: rgba(176, 70, 194, 0.08);
   text-decoration: none;
   font-weight: 600;
   letter-spacing: 0.01em;
   transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
   width: 100%;
   box-sizing: border-box;
}

.secondary-link:hover {
   transform: translateY(-2px);
   background: rgba(176, 70, 194, 0.16);
   color: #e7e7e7;
   box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}
