    :root {
      --colore-primario: #d9364a;
      /*var(--colore-primario) #ff5f6d; */
      --colore-secondario: #ffc371;
      /* var(--colore-secondario) */

      --colore-carattere-chiaro: #fff;
      /* var(--colore-carattere-chiaro) */
      --colore-carattere-scuro: #000000;
      /* #333;		var(--colore-carattere-scuro) */
      --colore-carattere-medio: #a54e22;
      /* var(--colore-carattere-medio) #ffc371; #c0632c;*/

      --sfondo-bianco: #efefef;
      /* var(--sfondo-bianco) */
      --sfondo-elementi: #fff;
      /* var(--sfondo-elementi) */
      --sfondo-selezione: #b8b8b8;
      /* var(--sfondo-selezione) */

      --font-base: 'Segoe UI', sans-serif;
      /* var(--font-base) */
    }

    body {
      margin: 0px 19px 0px 19px;
      /*font-family: 'system-ui';*/
      font-family: var(--font-base);
      background-color: var(--sfondo-bianco);
      color: var(--colore-carattere-scuro);
    }

    header.sticky-header {
      position: sticky;
      top: 0;
      color: var(--colore-carattere-chiaro);
      padding: 0px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 1000;
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
    }

    .header-left {
      display: contents;
      flex-direction: column;
      align-items: flex-start;
      padding-left: 1rem;
      font-size: 0.9rem;
      color: var(--colore-carattere-chiaro);
    }

    .logo {
      align-items: center;
      width: 60px;
      height: auto;
    }

    .header-left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-left: 1rem;
      font-size: 0.9rem;
      color: var(--colore-carattere-chiaro);
    }

    .info-box {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 20px 10px 0px 0px;
    }

    .data-oggi {
      font-weight: bold;
    }

    .ora-oggi {
      font-style: italic;
      color: var(--colore-carattere-medio);
    }

    .p {
      text-align: center;
    }

    #toggle-theme {
      background: none;
      border: none;
      position: absolute;
      bottom: 5px;
      right: 5px;
      transition: transform 0.2s ease;
    }

    #toggle-theme:hover {
      transform: scale(1.2);
    }

    .top-section {
      display: flex;
      padding: 0px 150px 10px 150px;
      gap: 2rem;
      background: var(--sfondo-bianco);
      flex-direction: column;
      align-items: center;
    }

    .trend-box {
      flex: 1;
      background: var(--sfondo-elementi);
      border-radius: 25px;
      padding: 5px;
      overflow-y: auto;
      overflow-x: hidden;
      border: var(--colore-carattere-scuro);
    }

    .trend-box h2 {
      color: var(--colore-carattere-scuro);
      margin: 0px;
      text-align: center;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: 130px 1fr 130px 1fr;
      gap: 0px;
      align-items: center;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: 130px 2fr 0.5fr;
      gap: 0px;
      align-items: center;
      padding: 0px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 0px;
      align-items: center;
      padding-top: 15px;
    }

    .grid-1 {
      gap: 0px;
      align-items: center;
      padding-top: 15px;
    }

    .colimg {
      padding: 0px;
      border-radius: 6px;
      text-align: center;
      align-items: center;
      width: 100%;
      margin: 5px;
    }

    .preview {
      width: 110px;
      height: 72px;
      object-fit: cover;
      border-radius: 6px;
      text-align: right;
      object-position: top;
    }

    .preview-notizia {
      width: 125px;
      height: 65px;
      object-fit: cover;
      border-radius: 6px;
      text-align: right;
    }

    .descrizione-card {
      align-items: center;
      text-align: center;
      margin: 5px;
    }

    .col {
      padding-bottom: 5px;
      border-radius: 6px;
      text-align: left;
      align-items: center;
    }

    .col-metric {
      padding: 3px;
      border-radius: 6px;
      text-align: right;
      align-items: center;
    }

    .col small {
      line-height: 2;
    }

    .trend-link {
      display: inline-block;
    }

    .tooltip {
      position: relative;
      color: var(--colore-carattere-medio);
      text-decoration: none;
      display: inline-block;
      line-height: 1.6;
    }

    .tooltip::after {
      content: attr(data-tooltip);
      position: absolute;
      left: -50%;
      top: -200%;
      transform: none;
      background: var(--colore-carattere-scuro);
      color: var(--colore-secondario);
      padding: 6px 10px;
      border-radius: 6px;
      white-space: nowrap;
      font-size: 14px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 100;
    }

    .tooltip:hover::after {
      opacity: 1;
    }

    .data-tooltip-html {
      position: absolute;
      left: 5%;
      top: -200%;
      background: var(--colore-carattere-chiaro);
      color: var(--colore-carattere-scuro);
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 14px;
      white-space: nowrap;
      display: none;
      /*NASCONDE il tooltip */
      z-index: 100;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      transition: opacity 0.3s ease;
    }

    .tooltip:hover .data-tooltip-html {
      display: block;
      /*MOSTRA al passaggio del mouse */
    }

    .tooltip-youtube {
      position: relative;
      color: var(--colore-carattere-medio);
      text-decoration: none;
      width: 25px;
    }

    .tooltip-youtube::after {
      content: attr(data-tooltip);
      position: absolute;
      left: -50%;
      top: -200%;
      transform: none;
      background: var(--colore-carattere-chiaro);
      color: var(--colore-carattere-medio);
      padding: 6px 10px;
      border-radius: 6px;
      white-space: nowrap;
      font-size: 14px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 100;
    }

    .tooltip-youtube:hover::after {
      opacity: 1;
    }

    .tooltip-youtube:hover .data-tooltip-html {
      display: block;
      /*MOSTRA al passaggio del mouse */
    }

    .logo-Gtrends {
      width: 60px;
      height: auto;
      padding-left: 1rem;
    }

    a {
      text-decoration: none;
      color: var(--colore-carattere-scuro);
      font-weight: 600;
      padding: 6px 8px;
    }

    a:hover {
      text-decoration: underline;
    }

    h2 {
      font-size: 1.5em;
      color: var(--colore-carattere-scuro);
      text-align: center;
    }

    /* Toggle e Tabs */
    .controls {
      display: flex;
      align-items: center;
      padding-bottom: 0rem;
      background: var(--sfondo-bianco);
    }

    .toggle {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .tabs {
      display: flex;
      gap: 5px;
      padding: 0 1rem;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }

    .tab {
      position: relative;
      padding: 0.2rem;
      background: var(--sfondo-elementi);
      border-radius: 8px 8px 0 0;
      cursor: pointer;
      font-weight: bold;
      color: #333;
      box-shadow: 0 -2px 6px var(--colore-secondario);
      border-bottom: 3px solid transparent;
      text-align: center;
      flex: 0 0 auto;
      transition: transform 1s ease, opacity 0.6s ease;
    }

    .tab.moving {
      transform: scale(1.15);
      opacity: 0.8;
    }

    .tab:hover {
      background: var(--sfondo-selezione);
      color: var(--colore-carattere-scuro);
      border-bottom: 3px solid var(--colore-primario);
      box-shadow: 0 -2px 6px var(--colore-primario);
    }

    .tab.active {
      background: var(--sfondo-selezione);
      color: var(--colore-carattere-chiaro);
      box-shadow: 0 -2px 10px;
      border-bottom: 3px solid var(--colore-primario);
      box-shadow: 0 -2px 10px var(--colore-secondario);
    }

    /* Notizie */
    .news-grid {
      display: grid;
      gap: 1rem;
      padding: 1rem;
    }

    .news-card {
      background: var(--sfondo-elementi);
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s;
    }

    .news-card:hover {
      transform: scale(1.02);
    }

    .news-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
    }

    .news-card .title {
      padding: 0.5rem;
      font-size: 0.95rem;
    }

    .news-container {
      border-top: 2px solid var(--colore-primario);
      border-bottom: 2px solid var(--colore-primario);
      background: var(--sfondo-elementi);
      border-radius: 18px;
    }

    /*loading animato*/
    /* Spinner base */
    .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid var(--sfondo-elementi);
      border-top: 4px solid var(--colore-primario);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 2rem auto;
    }

    /* Variante piccola */
    .spinner.small {
      width: 24px;
      height: 24px;
      border-width: 3px;
    }

    /* Variante grande */
    .spinner.large {
      width: 60px;
      height: 60px;
      border-width: 6px;
    }

    /* Variante trasparente */
    .spinner.transparent {
      border-color: var(--sfondo-elementi);
      border-top-color: var(--colore-primario);
    }

    /* Animazione */
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }

    /* Wrapper con testo */
    .loading-wrapper {
      text-align: center;
      padding: 2rem;
      color: var(--colore-carattere-scuro);
      font-style: italic;
    }

    /*breadcrumb*/
    .breadcrumb {
      font-size: 0.85rem;
      color: var(--colore-carattere-medio);
    }

    .breadcrumb a {
      color: var(--colore-primario);
      text-decoration: none;
    }

    .breadcrumb a:hover {
      text-decoration: underline;
    }

    .breadcrumb span {
      font-weight: bold;
      color: var(--colore-carattere-scuro);
    }


    .hero {
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: #fff;
      text-align: center;
      align-items: center;
      padding: 5px 20px;
    }

    .hero h1 {
      margin-bottom: -21px;
      margin-top: -5px;
      justify-items: center;
    }

    .slogan {
      font-size: 1.2em;
      margin-bottom: -3px;
      margin-top: 0px;
    }

    .cta {
      display: inline-block;
      background: var(--sfondo-bianco);
      color: var(--colore-primario);
      padding: 10px 20px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    .cta:hover {
      background: var(--sfondo-bianco);
    }


    section {
      padding: 7px 20px;
      max-width: 800px;
      margin: auto;
    }

    .how-it-works ul {
      list-style: none;
      padding: 0;
    }

    .how-it-works li {
      margin-bottom: 15px;
      font-size: 1.1em;
      margin-left: 4rem;
    }

    .how-it-works h1 {
      font-size: 2rem;
      color: var(--colore-primario);
      margin-bottom: 10px;
      text-align: center;
    }

    .trend-visual {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
      margin: 20px 0;
    }

    .keyword {
      background: var(--colore-primario);
      color: var(--colore-carattere-chiaro);
      padding: 10px 15px;
      border-radius: 20px;
      font-weight: bold;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      50% {
        transform: scale(1.1);
        opacity: 0.8;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
      text-align: center;
    }

    footer {
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: var(--colore-carattere-chiaro);
      text-align: center;
      padding: 3px 0px 3px 0px;
    }

    .slideshow-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .slide {
      display: none;
      opacity: 0;
      transition: opacity 0.6s ease;
    }

    .slide.active {
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
      opacity: 1;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: var(--colore-carattere-chiaro);
      border: none;
      font-size: 24px;
      padding: 12px 16px;
      cursor: pointer;
      z-index: 10;
      border-radius: 50%;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .arrow.left {
      left: 10px;
    }

    .arrow.right {
      right: 10px;
    }

    .arrow:hover {
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }


    .dot-nav {
      text-align: center;
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 6px;
      background-color: var(--colore-carattere-medio);
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .dot.active {
      background-color: var(--colore-primario);
    }

    /*HAMBURGER*/
    .hamburger {
      width: 40px;
      height: 25px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      cursor: pointer;
      margin-left: auto;
      z-index: 1001;
    }

    .hamburger span {
      display: block;
      height: 4px;
      background: var(--colore-primario);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* Animazione in X */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    .menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      transition: right 0.3s ease;
      padding: 2rem 1rem;
      z-index: 1000;
    }

    .menu ul {
      list-style: none;
      padding: 0;
    }

    .menu li {
      margin-bottom: 1rem;
    }

    .menu a {
      color: var(--colore-carattere-chiaro);
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
    }

    /* Overlay */
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.3);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 999;
    }

    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .contact-icon {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--colore-primario);
      color: var(--colore-carattere-medio);
      padding: 0.8rem 1rem;
      border-radius: 50px;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
      z-index: 998;
      transition: transform 0.3s ease;
    }

    .contact-icon:hover {
      transform: scale(1.1);
    }

    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 999;
    }

    .popup-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .popup-form {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 0 20px var(--colore-secondario);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
      max-width: 500px;
      width: 90%;
    }

    .popup-form.active {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -50%) scale(1);
    }

    .popup-form input,
    .popup-form textarea {
      width: 100%;
      margin-bottom: 1rem;
      padding: 0.5rem;
      border: 1px solid var(--colore-primario);
      border-radius: 6px;
    }

    .popup-form button {
      background-color: var(--colore-primario);
      color: var(--colore-carattere-chiaro);
      padding: 0.7rem;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
    }

    .popup-form button:hover {
      background-color: var(--colore-secondario);
    }

    .form-response {
      font-size: 0.9rem;
      color: var(--colore-primario);
      font-weight: bold;
    }

    .youtube-section {
      margin: 2em 0;
    }

    .youtube-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
    }

    .yt-card {
      width: 300px;
      border: 1px solid #ccc;
      padding: 0.5em;
      background: #fff;
      border-radius: 6px;
    }

    .yt-card img {
      width: 100%;
      border-radius: 4px;
    }

    .double-slide .slide {
      display: none;
    }

    .double-slide .slide.active {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: space-between;
    }

    .double-slide .trend-box {
      flex: 1 1 48%;
    }

    .preview-anteprimavideo {
      width: 110px;
      height: 72px;
      object-fit: fill;
      border-radius: 6px;
      text-align: right;

    }

    .category-selector {
      margin: 1rem auto;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
    }

    .category-selector label {
      font-weight: 600;
      font-size: 1.2rem;
      margin-right: 1rem;
      color: var(--colore-carattere-scuro);
    }

    .category-selector select {
      font-size: 1.3rem;
      border: 2px solid var(--colore-secondario);
      border-radius: 30px;
      background-color: var(--sfondo-bianco);
      color: var(--colore-carattere-scuro);
      font-weight: 500;
      transition: all 0.3s ease;
      cursor: alias;
    }

    .category-selector select:hover,
    .category-selector select:focus {
      background-color: var(--sfondo-bianco);
      outline: none;
      border-color: var(--colore-primario);
    }

    .updates {
      max-width: 800px;
      margin: 2rem auto;
      padding: 1rem;
      font-family: var(--font-base);
    }

    .update {
      background: var(--sfondo-elementi);
      border-left: 4px solid var(--colore-primario);
      padding: 1rem;
      margin-bottom: 1rem;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .update.highlight {
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: var(--colore-carattere-chiaro);
      border-left: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .update-date {
      font-weight: bold;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      color: var(--colore-carattere-medio);
    }

    .update.highlight .update-date {
      color: var(--colore-carattere-chiaro);
      opacity: 0.9;
    }

    .update-content {
      font-size: 1rem;
      line-height: 1.5;
    }

    .video-preview {
      position: relative;
      cursor: pointer;
      border-radius: 8px;
      width: max-content;
    }

    .video-overlay {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .vid-preview {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 1em;
      color: white;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 50%;

      padding: 0.2em 0.4em;
      cursor: pointer;
      z-index: 2;
      transition: transform 0.2s ease;
    }

    .play-button:hover {
      transform: translate(-50%, -50%) scale(1.1);
    }

    .intro-description {
      text-align: center;
      margin: 20px auto;
      max-width: 800px;
      padding: 0 20px;
    }

    .intro-description h1 {
      font-size: 2rem;
      color: var(--colore-primario);
      margin-bottom: 10px;
    }

    .intro-description p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .usage-guide {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    .usage-guide li {
      background: var(--sfondo-elementi);
      padding: 10px 15px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      font-size: 0.95rem;
      border-left: 4px solid var(--colore-secondario);
    }

    .usage-guide li strong {
      color: var(--colore-carattere-scuro);
    }

    .hero-section {
      background: linear-gradient(135deg, var(--colore-primario), var(--colore-secondario));
      color: var(--colore-carattere-chiaro);
      padding: 60px 20px;
      text-align: center;
      border-radius: 0 0 20px 20px;
      margin-bottom: 40px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .hero-section h1 {
      font-size: 2.5rem;
      margin-bottom: 15px;
      color: var(--colore-carattere-chiaro);
    }

    .hero-section .subheadline {
      font-size: 1.2rem;
      margin-bottom: 30px;
      opacity: 0.9;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .btn-hero {
      padding: 12px 25px;
      border-radius: 30px;
      font-weight: bold;
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      font-size: 1.1rem;
      box-sizing: border-box;
    }

    .btn-hero:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      text-decoration: none;
    }

    .btn-hero.google {
      background: #fff;
      color: var(--colore-primario);
    }

    .btn-hero.youtube {
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
      border: 2px solid #fff;
    }

    .btn-hero.stats {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.6);
    }

    .btn-hero.stats:hover {
      background: #fff;
      color: var(--colore-secondario);
      border-color: #fff;
    }















    @media (max-width: 768px) {
      h1 {
        font-size: 1.5rem;
      }

      .container {
        padding: 0 10px;
      }

      nav ul {
        flex-direction: column;
      }

      /*ogni notizia in un blocco verticale: immagine sopra, testo sotto.*/
      .grid-4,
      .grid-3,
      .grid-2 {
        display: block;
        margin-bottom: 10px;
      }

      .colimg,
      .col {
        width: 100%;
        text-align: center;
        margin: 0;
      }

      .preview-anteprimavideo {
        width: 100px;
        height: 48px;
        object-fit: fill;
        border-radius: 6px;
        text-align: right;
        display: block;
        border-radius: 8px;
      }

      /*YouTube: 1 card per riga*/
      .youtube-grid {
        flex-direction: column;
        align-items: center;
      }

      .video-preview {
        position: relative;
        cursor: pointer;
        border-radius: 8px;

        display: inline-block;
      }

      .video-overlay {
        position: relative;
        width: 100%;
        height: 100%;
      }

      .vid-preview {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1em;
        color: white;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 50%;

        padding: 0.2em 0.4em;
        cursor: pointer;
        z-index: 2;
        transition: transform 0.2s ease;
      }

      .play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
      }

      body {
        font-size: 0.9rem;
      }

      h1,
      h2 {
        font-size: 1.2rem;
        text-align: center;
      }

      .tab {
        width: auto;
        font-size: 0.9rem;
        padding: 0.5rem;
      }

      .logo {
        align-items: center;
        width: 60px;
      }

      .how-it-works li {
        margin-left: 2rem;
      }


      .col-metric {
        margin: -5px;
        padding: 0;
        text-align: center;
        align-items: top;
      }

      .top-section {
        padding: 0 1rem;
      }

      .slide {
        flex-direction: column;
        align-items: center;
      }

      .trend-box {
        width: 90%;
        max-width: 100%;
        padding: 5px;
        box-sizing: border-box;
      }

      .youtube-grid {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
      }

      .yt-card {
        width: 90%;
        max-width: 300px;
        box-sizing: border-box;
      }

      .popup-form {
        padding: 0.5rem;
      }

      .popup-form input,
      .popup-form textarea {
        width: 90%;
      }

      .hero-section {
        padding: 40px 15px;
      }

      .hero-section h1 {
        font-size: 1.8rem;
      }

      .hero-buttons {
        flex-direction: column;
        gap: 15px;
      }

      .btn-hero {
        width: 100%;
        text-align: center;
      }

    }