import type { KolaboraEvent } from "@/types/event";
import { QueueSection } from "@/components/motion/QueueSection";

/**
 * Direct port of `aboutSignaturee.svg` (repo root) — every background/blob
 * path, the hand+finger-line icon, the cream card shape, and both tree-icon
 * paths below are copied verbatim (same `d`, same nested transform
 * matrices, same colors) from that file, so this renders pixel-identical to
 * the source asset at any size (one scalable viewBox, not a hand-built
 * Tailwind layout — that's the only way "proporsi tetap identik pada setiap
 * breakpoint" holds).
 *
 * Two deliberate deviations from the raw file, both with a concrete
 * technical reason (not a style choice):
 * 1. The source's ~79 "text converted to outline" paths (one per glyph,
 *    colored identically to whatever sits behind them — the design tool's
 *    invisible font-fallback backup layer) are omitted. They render
 *    strictly invisible in the original; a byte-identical DOM copy of them
 *    would be pure dead weight with zero visual difference.
 * 2. The source bakes ONE specific event's placeholder text ("12 december
 *    2026", "KUSUMA AGROWISATA") using per-glyph tspan kerning tables that
 *    are only valid for those exact characters. This component renders any
 *    Signature Event, so the date/venue/address are real props. The "on"/
 *    "at" labels (content never varies) keep the original glyph-exact
 *    <text>/<tspan> markup untouched. The venue name + address use a
 *    <foreignObject> at the original text block's coordinates instead of
 *    SVG <text>, so arbitrarily long real venue names wrap instead of either
 *    silently reusing wrong per-glyph offsets or overflowing the card.
 *
 * Also intentionally NOT present: a CMS description paragraph. The source
 * SVG has no such element, so — per this pass's "don't add anything that
 * isn't in the reference asset" — none was added here.
 */
export function SignatureAbout({ event }: { event: KolaboraEvent }) {
  const dateLine1 = new Date(event.start_date)
    .toLocaleDateString("en-US", { day: "numeric", month: "long", timeZone: "UTC" })
    .toUpperCase();
  const dateLine2 = new Date(event.start_date).getUTCFullYear();

  return (
    <QueueSection
      as="section"
      className="relative z-10 h-auto w-full bg-[#2A72D3] -mt-[56.25vw] sm:-mt-[100vh] sm:aspect-[16133.875/9070.875]"
    >
      {/* The pixel-perfect SVG itself keeps its own `overflow-hidden`
          wrapper (moved here from the section root, which used to carry
          it) — this is the ONLY change around the SVG; its internal
          content is untouched. Freeing the section root of overflow-hidden
          lets the crossing motifs below poke past its top/bottom edges,
          which is the whole point of "Overlapping Composition" at a seam —
          a motif fully clipped to its own box just reads as decoration,
          not a bridge. */}
      <div className="overflow-hidden">
        {/* Below sm: sized by width like a normal banner (text stays
            readable, card may sit below the fold — same "scroll to see it
            all" pattern the rest of this page already uses on mobile).
            sm and up: height derives ONLY from width via the artwork's own
            aspect ratio (sm:aspect-[...]) — no max-height clamp, so the box's
            aspect ratio always exactly matches the content's: full width and
            zero cropping, guaranteed, on every viewport. The one trade-off is
            on unusually short/wide windows the section can extend slightly
            past one screen (a small scroll) rather than ever letterboxing or
            cropping real content — matches the explicit "full-width border,
            content adjusts to it" requirement over the earlier "always
            exactly one screen" one. */}
        <svg
          viewBox="0 0 16133.875 9070.875"
          className="block h-auto w-full sm:h-full"
          role="img"
          aria-label="About Us"
        >
        {/* Background — Artboard1 rect, aboutSignaturee.svg line 6 */}
        <rect x="0" y="0" width="16133.875" height="9070.875" fill="#2A72D3" />

        {/* Background flower/blob — sourced directly from
            `about section siganturee/bunga.svg` (copied verbatim to
            public/brand/signaturee-about-flower.svg) rather than the
            equivalent inline path, per request. Same wrapping transform as
            aboutSignaturee.svg (position/scale), image box matches the
            original path's own bounding box exactly. */}
        <g transform="matrix(1,0,0,1,-255.605553,0)">
          <g transform="matrix(100.598802,0,0,100.598802,15589.919457,9256.422102)">
            <image href="/brand/signaturee-about-flower.svg" x="-145.754" y="-103.812" width="151.411" height="124.981" />
          </g>
        </g>

        {/* "about us" title — lines 19-26 */}
        <g transform="matrix(3.480326,0,0,3.480326,498.6463,1686.755295)">
          <g>
            <text x="111.902px" y="420.367px" className="font-signaturee" fontSize="517.193px" fill="#FFF6C4">
              a<tspan x="473.937px 781.667px 1157.666px 1475.74px" y="420.367px 420.367px 420.367px 420.367px">bout</tspan>
            </text>
            <text x="111.902px" y="841.784px" className="font-signaturee" fontSize="517.193px" fill="#FFF6C4">
              u<tspan x="424.804px" y="841.784px">s</tspan>
            </text>
          </g>
        </g>

        {/* Description — not present in the source SVG (it has no such
            element), placed in the composition's obvious empty space:
            right of the title, below the hand icon, above the card. */}
        <foreignObject x="9600" y="3050" width="5100" height="2200" overflow="visible">
          <p
            className="font-signaturee-body font-medium"
            style={{ color: "#FFF6C4", fontSize: "300px", lineHeight: "410px", fontFamily: "var(--font-signaturee-body)" }}
          >
            Signatureè Festival 2026 is a picnic-themed music festival for having fun and enjoying nature&apos;s
            atmosphere.
          </p>
        </foreignObject>

        {/* Hand + finger-line icon — lines 27-53, verbatim */}
        <g transform="matrix(0.624787,0,0,0.624787,13771.010832,26.476975)">
          <g transform="matrix(15.675425,0,0,15.675425,2670.187531,1475.715142)">
            <path
              d="M0,43.973C1.501,49.694 0.532,56.853 -4.255,60.79C-6.63,62.729 -9.673,63.296 -12.431,64.432C-14.105,65.282 -15.163,66.891 -16.582,68.071C-18.181,69.455 -20.367,70.342 -22.506,70.342C-23.814,70.342 -25.103,70.01 -26.23,69.257C-31.237,66.363 -30.923,56.79 -35.963,54.72C-36.312,55.908 -36.693,57.134 -37.094,58.409C-38.373,62.511 -37.087,66.669 -35.429,70.442C-33.823,74.985 -31.282,80.214 -33.117,85.01C-34.768,88.076 -38.456,89.068 -40.74,91.558C-42.525,93.562 -44.798,94.966 -47.471,95.408C-49.504,95.873 -51.627,96.356 -53.723,96.356C-55.024,96.356 -56.313,96.17 -57.565,95.678C-59.515,95.032 -61.166,93.795 -62.778,92.6C-73.128,90.401 -75.09,92.83 -75.428,80.259C-82.555,77.136 -88.87,72.362 -94.035,66.558C-97.18,62.467 -99.519,57.817 -102.285,53.471C-104.52,49.41 -106.83,45.376 -108.859,41.207C-110.604,37.06 -111.669,32.649 -112.658,28.269C-113.474,23.567 -114.621,18.948 -116.264,14.464C-116.78,11.774 -119.075,7.731 -117.54,5.264C-116.306,3.768 -114.103,4.368 -112.699,5.296C-114.35,0.784 -116.357,-4.15 -115.698,-9.019C-113.794,-14.359 -108.532,-9.558 -106.204,-7.141C-109.155,-14.097 -107.88,-30.398 -97.918,-19.806C-97.334,-27.692 -89.873,-25.255 -85.741,-21.501C-85.671,-21.442 -85.601,-21.384 -85.532,-21.324C-84.137,-21.506 -82.59,-21.093 -81.09,-19.872C-81.578,-25.151 -89.493,-41.817 -78.766,-40.222C-79.6,-44.936 -76.732,-51.056 -71.233,-50.318C-68.893,-49.704 -66.297,-47.016 -65.116,-44.943C-65.139,-48.403 -62.695,-52.383 -58.821,-51.818C-54.212,-50.735 -50.851,-46.162 -48.007,-42.634C-44.82,-37.81 -42.975,-32.273 -40.854,-26.936C-38.985,-22.723 -37.302,-18.438 -35.604,-14.154C-35.039,-16.45 -34.043,-18.584 -33.11,-20.745C-32.097,-22.814 -31.606,-25.163 -29.849,-26.687C-27.442,-28.72 -20.406,-29.659 -20.935,-24.953C-24.487,-13.7 -18.023,-4.146 -15.231,6.33C-13.528,12.579 -12.455,18.956 -11.228,25.304C-10.218,29.304 -9.617,33.584 -7.451,37.16C-6.455,38.725 -4.86,39.612 -3.273,40.422C-1.995,41.387 -0.814,42.591 0,43.973"
              fill="#FFC833"
              fillRule="nonzero"
            />
          </g>
          <g>
            <g transform="matrix(15.675425,0,0,15.675425,2469.170589,2114.927605)">
              <path
                d="M0,-21.039C0.155,-21.479 0.839,-21.271 0.694,-20.798C-0.179,-17.707 -1.491,-14.773 -2.97,-11.927C-4.349,-9.215 -5.829,-6.57 -7.786,-4.239C-9.107,-2.654 -10.514,-1.102 -12.229,0.065C-12.209,0.295 -12.411,0.44 -12.608,0.44C-12.736,0.44 -12.862,0.38 -12.923,0.24C-13.155,-0.088 -12.942,-0.364 -12.645,-0.537C-12.315,-0.764 -11.998,-1.005 -11.685,-1.253C-10.353,-2.357 -9.208,-3.665 -8.113,-4.999C-6.003,-7.578 -4.469,-10.55 -2.994,-13.519C-1.765,-15.927 -0.745,-18.438 0,-21.039"
                fill="#F96A02"
                fillRule="nonzero"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,819.192642,2370.875937)">
              <path
                d="M0,-5.701C0.008,-5.371 -0.333,-5.276 -0.59,-5.197C-0.946,-5.08 -1.299,-4.953 -1.646,-4.812C-2.804,-4.385 -3.808,-3.533 -4.657,-2.693C-6.175,-1.208 -7.617,0.488 -8.185,2.575C-8.538,3.94 -8.82,5.253 -8.953,6.619C-9.08,7.157 -8.77,8.784 -9.507,8.784C-9.519,8.784 -9.532,8.783 -9.545,8.782C-10.006,8.708 -10.068,8.132 -10.243,7.783C-10.851,6.35 -11.525,4.941 -12.428,3.676C-13.106,2.768 -13.936,1.974 -14.899,1.375C-16.688,0.391 -18.709,-0.086 -20.685,-0.535C-21.256,-0.667 -21.835,-0.768 -22.394,-0.945C-22.626,-1.037 -22.917,-1.098 -23.046,-1.334C-23.314,-1.95 -22.458,-2.086 -22.057,-2.265C-21.546,-2.478 -21.051,-2.718 -20.568,-2.989C-19.558,-3.546 -18.755,-4.401 -18.037,-5.292C-16.152,-7.703 -14.59,-10.542 -14.469,-13.663C-14.741,-14.12 -14.236,-14.485 -13.93,-14.285C-13.854,-14.268 -13.781,-14.225 -13.72,-14.145C-13.583,-13.954 -13.471,-13.746 -13.345,-13.548C-13.122,-13.196 -12.891,-12.848 -12.698,-12.48C-12.686,-12.462 -12.675,-12.443 -12.666,-12.423C-12.523,-12.204 -12.375,-11.991 -12.219,-11.783C-10.537,-9.602 -8.189,-8.015 -5.661,-6.989C-3.965,-6.336 -2.152,-6.224 -0.361,-6.092C-0.168,-6.055 -0.005,-5.906 0,-5.701"
                fill="#F96A02"
                fillRule="nonzero"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,951.91803,2526.760196)">
              <path
                d="M0,-4.804C0.585,-4.803 0.549,-4.085 -0.022,-4.021C-1.309,-3.516 -2.636,-2.911 -3.565,-1.868C-4.76,-0.43 -5.251,1.479 -5.217,3.323C-5.244,3.72 -5.186,4.133 -5.273,4.52C-5.328,4.666 -5.475,4.746 -5.62,4.746C-5.716,4.746 -5.811,4.712 -5.88,4.639C-6.137,4.254 -6.028,3.716 -6.142,3.279C-6.435,2.35 -6.674,1.35 -7.315,0.614C-8.456,-0.116 -9.629,-0.868 -10.919,-1.272C-11.708,-1.439 -12.518,-1.394 -13.313,-1.292C-13.599,-1.16 -14.068,-1.071 -14.183,-1.462C-14.281,-1.876 -13.812,-1.989 -13.497,-2.021C-13.212,-2.138 -12.936,-2.278 -12.664,-2.414C-11.928,-2.795 -11.167,-3.157 -10.536,-3.703C-9.703,-4.493 -8.948,-5.422 -8.538,-6.505C-8.273,-7.343 -8.198,-8.244 -8.226,-9.115C-8.239,-9.338 -8.028,-9.55 -7.8,-9.509C-7.631,-9.486 -7.44,-9.492 -7.342,-9.311C-7.126,-8.982 -6.958,-8.627 -6.751,-8.293C-6.464,-7.899 -6.1,-7.57 -5.765,-7.219C-5.239,-6.658 -4.7,-6.106 -4.045,-5.697C-3.662,-5.461 -3.199,-5.395 -2.772,-5.269C-1.874,-5.045 -0.91,-4.796 0,-4.804"
                fill="#F96A02"
                fillRule="nonzero"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,2136.128951,1611.182161)">
              <path
                d="M0,-4.529C0.122,-4.185 -0.192,-3.863 -0.536,-4.022C-2.05,-4.075 -3.378,-2.947 -4.452,-1.992C-6.617,0.013 -8.272,2.552 -9.427,5.25L-9.428,5.251C-9.429,5.254 -9.431,5.257 -9.432,5.26C-9.852,6.257 -10.246,7.267 -10.412,8.34C-10.525,8.716 -10.34,9.694 -10.79,9.821L-10.79,9.822C-10.263,10.595 -9.711,11.352 -9.163,12.102C-7.77,14.018 -6.353,15.901 -5.023,17.856C-3.809,19.708 -2.765,21.687 -2.003,23.769C-1.261,25.884 -0.712,28.075 -0.339,30.284C0.067,33.445 0.253,36.676 -0.052,39.847C-0.215,41.402 -0.521,42.92 -0.848,44.444C-1.058,45.381 -1.275,46.32 -1.567,47.235C-1.582,47.282 -1.607,47.323 -1.639,47.357C-1.645,47.363 -1.651,47.37 -1.658,47.376C-1.665,47.382 -1.672,47.388 -1.68,47.395C-1.694,47.406 -1.71,47.416 -1.727,47.425C-1.743,47.435 -1.76,47.442 -1.777,47.449C-1.821,47.466 -1.868,47.475 -1.915,47.475C-1.957,47.475 -1.999,47.468 -2.038,47.453C-2.049,47.449 -2.06,47.444 -2.07,47.439C-2.11,47.42 -2.143,47.398 -2.169,47.373C-2.376,47.182 -2.208,46.847 -2.138,46.6C-1.63,44.78 -1.237,42.843 -0.94,41.003C-0.601,38.804 -0.574,36.637 -0.707,34.438C-0.806,32.448 -0.955,30.45 -1.427,28.508C-1.955,26.276 -2.539,24.038 -3.549,21.967C-6.083,16.54 -10.56,12.332 -13.312,7.04C-14.191,5.201 -14.844,3.256 -15.339,1.28C-16.232,-2.381 -16.295,-6.367 -18.311,-9.659C-20.656,-13.555 -24.467,-11.23 -26.187,-8.114C-27.603,-5.675 -28.019,-2.806 -28.274,-0.047C-28.361,0.904 -28.419,1.861 -28.44,2.819C-28.433,2.833 -28.427,2.847 -28.42,2.861C-28.364,2.988 -28.384,3.108 -28.446,3.201L-28.446,3.202C-28.475,5.649 -28.257,8.1 -27.645,10.47C-27.405,11.511 -27.147,12.543 -26.868,13.574C-26.603,14.451 -26.464,15.388 -26.049,16.204C-25.976,16.425 -26.156,16.682 -26.393,16.679C-26.65,16.685 -26.791,16.44 -26.864,16.225C-27.467,14.392 -27.91,12.497 -28.36,10.624C-29.005,8.124 -29.224,5.551 -29.177,2.979C-29.3,2.722 -29.422,2.464 -29.546,2.206C-29.647,1.993 -29.749,1.78 -29.851,1.568C-30.208,0.822 -30.569,0.078 -30.94,-0.66C-31.046,-0.871 -31.152,-1.081 -31.26,-1.291C-31.314,-1.396 -31.369,-1.501 -31.424,-1.606C-31.477,-1.708 -31.53,-1.811 -31.584,-1.913C-31.585,-1.915 -31.586,-1.917 -31.588,-1.918C-34.646,-7.515 -38.678,-12.496 -42.588,-17.509C-42.969,-17.99 -43.344,-18.475 -43.715,-18.963C-43.962,-19.288 -44.207,-19.615 -44.451,-19.943C-44.696,-20.271 -44.939,-20.599 -45.181,-20.928C-45.423,-21.257 -45.665,-21.586 -45.907,-21.915C-46.149,-22.244 -46.391,-22.572 -46.634,-22.901C-47.242,-23.72 -47.855,-24.536 -48.483,-25.339C-49.108,-26.131 -49.776,-26.902 -50.445,-27.656C-50.47,-27.674 -50.494,-27.695 -50.516,-27.717C-50.546,-27.747 -50.571,-27.779 -50.593,-27.814C-50.6,-27.825 -50.606,-27.835 -50.612,-27.846C-50.624,-27.868 -50.634,-27.89 -50.643,-27.913C-50.647,-27.924 -50.651,-27.936 -50.655,-27.947C-50.676,-28.022 -50.677,-28.1 -50.652,-28.171C-50.649,-28.178 -50.647,-28.185 -50.643,-28.193C-50.64,-28.2 -50.637,-28.207 -50.633,-28.214C-50.621,-28.238 -50.605,-28.26 -50.586,-28.281C-50.554,-28.316 -50.513,-28.347 -50.459,-28.374C-50.389,-28.406 -50.319,-28.413 -50.252,-28.4C-50.232,-28.397 -50.213,-28.392 -50.194,-28.385C-50.161,-28.373 -50.13,-28.357 -50.099,-28.338C-50.082,-28.326 -50.064,-28.314 -50.048,-28.299C-50.042,-28.294 -50.035,-28.289 -50.029,-28.282C-50.012,-28.265 -49.994,-28.247 -49.978,-28.228C-49.456,-27.66 -48.957,-27.068 -48.462,-26.478C-45.73,-23.07 -43.301,-19.466 -40.534,-16.092C-36.648,-11.031 -32.623,-5.962 -29.88,-0.17C-29.635,0.335 -29.389,0.839 -29.145,1.344C-29.136,1.363 -29.127,1.382 -29.117,1.402C-29.095,1.021 -29.068,0.641 -29.036,0.261C-28.924,-1.124 -28.766,-2.54 -28.477,-3.92C-28.565,-3.965 -28.634,-4.044 -28.661,-4.145C-29.712,-7.977 -31.234,-11.665 -32.528,-15.417C-34.007,-19.62 -35.189,-23.934 -36.688,-28.13C-37.611,-30.622 -38.491,-33.147 -39.369,-35.648C-40.265,-38.171 -41.138,-40.702 -42.089,-43.196C-42.534,-44.489 -43.213,-45.706 -43.635,-46.997C-43.633,-47.382 -43.082,-47.518 -42.925,-47.148C-41.099,-42.939 -39.626,-38.582 -38.106,-34.261C-36.684,-30.237 -35.191,-26.259 -33.953,-22.177C-32.568,-17.55 -30.897,-13.008 -29.246,-8.476C-28.843,-7.372 -28.518,-6.251 -28.187,-5.128C-27.708,-6.876 -26.972,-8.532 -25.804,-9.958C-25.62,-10.192 -25.425,-10.413 -25.219,-10.619C-25.066,-10.775 -24.907,-10.921 -24.743,-11.059C-24.677,-11.114 -24.611,-11.168 -24.544,-11.221C-24.511,-11.247 -24.477,-11.272 -24.443,-11.298C-24.308,-11.4 -24.169,-11.496 -24.03,-11.585C-23.983,-11.614 -23.936,-11.644 -23.888,-11.672C-23.7,-11.786 -23.508,-11.888 -23.313,-11.978C-22.971,-12.135 -22.622,-12.254 -22.271,-12.331C-22.17,-12.353 -22.069,-12.372 -21.969,-12.386C-21.296,-12.485 -20.62,-12.423 -19.98,-12.169C-19.941,-12.227 -19.888,-12.277 -19.824,-12.308C-19.759,-12.353 -19.674,-12.37 -19.598,-12.367C-19.503,-12.415 -19.409,-12.465 -19.357,-12.492C-18.45,-13.041 -17.549,-13.591 -16.627,-14.105C-18.58,-20.485 -21.421,-26.532 -23.807,-32.753C-24.504,-34.544 -25.118,-36.411 -25.766,-38.208C-26.726,-40.861 -27.699,-43.518 -28.615,-46.185C-28.614,-46.181 -28.613,-46.178 -28.612,-46.174C-29.036,-47.373 -29.435,-48.584 -29.857,-49.784C-30.034,-50.354 -30.324,-50.897 -30.463,-51.474C-30.474,-51.864 -29.892,-52.004 -29.743,-51.633C-28.844,-49.122 -27.984,-46.592 -27.104,-44.083C-26.249,-41.64 -25.333,-39.22 -24.483,-36.779L-24.484,-36.779C-24.482,-36.774 -24.48,-36.77 -24.479,-36.766C-24.477,-36.763 -24.477,-36.759 -24.475,-36.756C-24.373,-36.466 -24.277,-36.188 -24.179,-35.91C-22.117,-29.965 -19.411,-24.272 -17.274,-18.359C-16.825,-17.066 -16.392,-15.766 -15.973,-14.462C-15.876,-14.514 -15.778,-14.565 -15.68,-14.616C-14.711,-15.085 -13.701,-15.772 -12.719,-16.143C-12.28,-16.166 -12.185,-15.519 -12.615,-15.418C-14.312,-14.512 -16.044,-13.63 -17.693,-12.642C-18.115,-12.389 -18.509,-12.137 -18.939,-11.888C-19.025,-11.847 -19.111,-11.794 -19.199,-11.744C-18.755,-11.433 -18.339,-11.009 -17.967,-10.46C-16.203,-7.915 -15.707,-4.77 -15.202,-1.78C-14.825,0.532 -14.262,2.767 -13.417,4.942C-12.875,6.438 -12.101,7.825 -11.234,9.155C-11.216,9.009 -11.19,8.862 -11.195,8.745C-11.103,7.511 -10.66,6.298 -10.189,5.172C-8.82,1.694 -4.797,-4.355 -0.803,-4.776C-1.658,-9.517 -2.652,-14.337 -2.232,-19.174C-2.187,-19.69 -2.137,-20.206 -2.103,-20.723C-2.134,-20.852 -2.093,-21.002 -1.988,-21.083C-1.799,-21.266 -1.465,-21.182 -1.386,-20.931C-1.342,-20.273 -1.486,-19.594 -1.516,-18.929C-1.716,-16.711 -1.545,-14.445 -1.288,-12.267C-1.021,-10.137 -0.656,-8.021 -0.274,-5.908C-0.189,-5.448 -0.1,-4.987 0,-4.529"
                fill="#F96A02"
                fillRule="nonzero"
                stroke="#F86A02"
                strokeWidth="0.85px"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,1461.162413,1181.006187)">
              <path
                d="M0,40.03C0.089,40.174 0.065,40.321 -0.014,40.428C-0.029,40.448 -0.045,40.467 -0.062,40.484C-0.134,40.552 -0.229,40.594 -0.327,40.594C-0.373,40.594 -0.42,40.585 -0.465,40.563C-0.477,40.558 -0.489,40.551 -0.502,40.543L-0.503,40.543C-0.515,40.535 -0.526,40.526 -0.538,40.516L-0.539,40.516C-0.546,40.509 -0.553,40.502 -0.56,40.496C-0.582,40.475 -0.603,40.451 -0.621,40.421C-0.87,39.99 -1.117,39.558 -1.362,39.124C-1.363,39.123 -1.364,39.121 -1.364,39.121C-1.603,38.699 -1.841,38.277 -2.077,37.854C-2.603,36.913 -3.123,35.968 -3.639,35.021C-3.728,34.857 -3.818,34.693 -3.907,34.529C-4.115,34.145 -4.323,33.761 -4.531,33.375C-5.15,32.23 -5.764,31.083 -6.375,29.937C-6.501,29.715 -6.627,29.493 -6.752,29.27C-7.254,28.376 -7.753,27.48 -8.244,26.582C-8.611,25.912 -8.974,25.239 -9.332,24.566C-9.333,24.564 -9.334,24.562 -9.334,24.56C-10.293,22.757 -11.218,20.938 -12.094,19.092C-14.688,13.521 -16.903,7.78 -19.529,2.222C-19.862,1.525 -20.2,0.829 -20.539,0.134C-20.552,0.114 -20.564,0.092 -20.574,0.069C-20.585,0.046 -20.593,0.023 -20.6,-0.001C-20.629,-0.102 -20.629,-0.212 -20.592,-0.305L-20.592,-0.306C-20.585,-0.322 -20.578,-0.337 -20.569,-0.353C-20.565,-0.36 -20.559,-0.368 -20.554,-0.376C-20.544,-0.39 -20.532,-0.404 -20.52,-0.417C-20.488,-0.449 -20.449,-0.476 -20.401,-0.495C-20.263,-0.564 -20.098,-0.525 -19.991,-0.422C-19.975,-0.407 -19.961,-0.39 -19.948,-0.372L-19.948,-0.371C-19.934,-0.353 -19.923,-0.334 -19.914,-0.313C-19.854,-0.161 -19.79,-0.011 -19.723,0.138C-19.701,0.188 -19.678,0.237 -19.654,0.287C-19.608,0.385 -19.561,0.484 -19.513,0.582C-19.465,0.68 -19.416,0.779 -19.367,0.876C-19.318,0.974 -19.268,1.072 -19.219,1.17C-19.17,1.268 -19.121,1.366 -19.072,1.464L-19.072,1.465C-19.024,1.563 -18.976,1.662 -18.93,1.761C-18.883,1.86 -18.837,1.958 -18.793,2.059C-18.732,2.19 -18.671,2.322 -18.611,2.454C-18.429,2.849 -18.248,3.245 -18.069,3.641C-17.905,4.005 -17.741,4.369 -17.579,4.734C-17.416,5.098 -17.255,5.463 -17.094,5.828C-16.772,6.558 -16.453,7.291 -16.136,8.023C-16.021,8.29 -15.905,8.556 -15.79,8.823C-15.675,9.089 -15.56,9.357 -15.445,9.623C-15.388,9.756 -15.331,9.89 -15.273,10.023C-15.101,10.423 -14.929,10.823 -14.756,11.223C-14.497,11.823 -14.238,12.423 -13.978,13.022C-13.718,13.621 -13.457,14.22 -13.193,14.818C-12.959,15.349 -12.723,15.88 -12.486,16.409C-12.367,16.674 -12.247,16.938 -12.128,17.203C-12.03,17.418 -11.932,17.632 -11.834,17.847C-10.36,21.061 -8.792,24.23 -7.008,27.293C-6.923,27.441 -6.838,27.589 -6.755,27.738C-6.671,27.887 -6.587,28.035 -6.503,28.185C-6.337,28.484 -6.171,28.783 -6.006,29.084C-5.842,29.384 -5.679,29.684 -5.515,29.986C-5.353,30.287 -5.191,30.59 -5.029,30.892C-4.827,31.27 -4.626,31.648 -4.425,32.025C-4.223,32.402 -4.022,32.779 -3.82,33.155C-3.74,33.306 -3.659,33.456 -3.578,33.607C-3.498,33.757 -3.416,33.907 -3.335,34.057C-3.254,34.207 -3.172,34.356 -3.09,34.505C-2.962,34.736 -2.834,34.967 -2.707,35.198C-2.595,35.4 -2.484,35.602 -2.372,35.804C-2.149,36.208 -1.926,36.612 -1.702,37.016C-1.478,37.419 -1.254,37.822 -1.028,38.225C-0.802,38.627 -0.575,39.029 -0.346,39.43C-0.231,39.63 -0.116,39.83 0,40.03"
                fill="#F96A02"
                fillRule="nonzero"
                stroke="#F86A02"
                strokeWidth="0.85px"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,1302.094474,1383.871262)">
              <path
                d="M0,33.75C0.107,33.919 0.055,34.149 -0.114,34.256C-0.174,34.293 -0.241,34.311 -0.307,34.311C-0.43,34.311 -0.551,34.251 -0.621,34.141C-2.293,31.361 -3.837,28.503 -5.463,25.695C-7.398,22.279 -9.509,18.942 -11.388,15.505C-14.047,10.526 -16.375,5.374 -18.893,0.323C-19.228,-0.025 -18.693,-0.561 -18.348,-0.175C-18.103,0.169 -17.962,0.581 -17.768,0.955C-15.819,4.91 -13.938,8.898 -11.962,12.84C-10.796,15.162 -9.49,17.393 -8.175,19.63C-5.707,23.722 -3.373,27.892 -1.006,32.043C-0.679,32.616 -0.354,33.192 0,33.75"
                fill="#F96A02"
                fillRule="nonzero"
                stroke="#F86A02"
                strokeWidth="0.85px"
              />
            </g>
            <g transform="matrix(15.675425,0,0,15.675425,1189.334875,1545.24819)">
              <path
                d="M0,35.162C0.019,35.241 0.006,35.321 -0.029,35.392C-0.038,35.408 -0.047,35.424 -0.057,35.439L-0.057,35.44C-0.072,35.46 -0.087,35.479 -0.104,35.496C-0.121,35.514 -0.139,35.53 -0.159,35.544C-0.219,35.586 -0.289,35.612 -0.363,35.612C-0.383,35.612 -0.405,35.61 -0.425,35.606C-0.435,35.604 -0.446,35.601 -0.456,35.597C-0.466,35.594 -0.477,35.59 -0.487,35.587C-0.583,35.552 -0.648,35.482 -0.695,35.394C-0.888,35.035 -1.047,34.658 -1.212,34.286C-1.687,33.214 -2.159,32.142 -2.63,31.069C-3.706,28.554 -4.781,26.038 -5.899,23.542C-6.148,22.987 -6.398,22.433 -6.651,21.88C-7.283,20.5 -7.932,19.125 -8.605,17.762C-8.875,17.231 -9.143,16.699 -9.409,16.167C-9.609,15.767 -9.807,15.366 -10.006,14.966C-10.272,14.433 -10.537,13.9 -10.805,13.368C-10.938,13.102 -11.072,12.836 -11.207,12.57C-11.343,12.305 -11.478,12.04 -11.615,11.776C-11.752,11.511 -11.889,11.248 -12.028,10.985C-12.167,10.722 -12.307,10.46 -12.449,10.198C-12.52,10.067 -12.591,9.937 -12.663,9.807C-12.877,9.416 -13.096,9.027 -13.318,8.641C-13.986,7.484 -14.693,6.35 -15.46,5.253C-16.249,4.163 -17.07,2.996 -18.057,2.041C-18.135,1.965 -18.214,1.891 -18.294,1.818C-18.375,1.746 -18.456,1.674 -18.538,1.605C-18.593,1.558 -18.648,1.513 -18.704,1.467C-18.732,1.445 -18.761,1.422 -18.788,1.401C-18.845,1.356 -18.902,1.313 -18.96,1.27C-19.018,1.228 -19.076,1.185 -19.134,1.145C-19.193,1.104 -19.252,1.063 -19.312,1.024C-19.642,0.809 -19.991,0.62 -20.361,0.465C-20.494,0.495 -20.603,0.457 -20.68,0.383C-20.699,0.365 -20.715,0.344 -20.73,0.322C-20.784,0.243 -20.808,0.143 -20.795,0.048C-20.795,0.046 -20.795,0.045 -20.794,0.042C-20.791,0.018 -20.785,-0.006 -20.776,-0.03C-20.773,-0.039 -20.77,-0.046 -20.766,-0.055C-20.759,-0.071 -20.751,-0.087 -20.741,-0.101C-20.731,-0.116 -20.721,-0.131 -20.708,-0.144C-20.702,-0.151 -20.695,-0.158 -20.688,-0.164C-20.654,-0.196 -20.611,-0.223 -20.559,-0.243C-19.784,-0.45 -18.039,1.032 -17.485,1.578C-17.096,1.982 -16.725,2.4 -16.367,2.83C-16.248,2.974 -16.131,3.118 -16.015,3.263L-16.014,3.264C-15.924,3.378 -15.834,3.493 -15.746,3.608C-15.299,4.187 -14.876,4.783 -14.469,5.39C-14.385,5.514 -14.304,5.639 -14.222,5.764C-14.119,5.92 -14.018,6.077 -13.918,6.235C-13.786,6.441 -13.657,6.648 -13.529,6.856C-13.492,6.916 -13.454,6.976 -13.417,7.037C-13.339,7.166 -13.26,7.296 -13.182,7.425C-12.99,7.744 -12.8,8.066 -12.612,8.387C-12.518,8.549 -12.425,8.709 -12.332,8.871C-11.733,9.982 -11.143,11.098 -10.564,12.22C-10.333,12.669 -10.103,13.118 -9.874,13.568C-9.645,14.019 -9.418,14.469 -9.193,14.922C-8.855,15.599 -8.52,16.278 -8.188,16.959C-8.077,17.186 -7.967,17.413 -7.857,17.64C-7.637,18.095 -7.419,18.55 -7.203,19.006C-7.094,19.234 -6.986,19.462 -6.879,19.691C-6.663,20.147 -6.449,20.605 -6.236,21.062C-4.748,24.267 -3.327,27.504 -1.962,30.765C-1.845,31.033 -1.727,31.302 -1.609,31.57C-1.374,32.106 -1.138,32.642 -0.901,33.178C-0.782,33.446 -0.663,33.714 -0.544,33.982C-0.376,34.353 -0.22,34.731 -0.027,35.09C-0.015,35.113 -0.006,35.138 0,35.162"
                fill="#F96A02"
                fillRule="nonzero"
              />
            </g>
          </g>
        </g>

        {/* Layer-1 — line 55 */}
        <g transform="matrix(4.166667,0,0,4.166667,0,0)">
          {/* Cream card shape — line 57 */}
          <g transform="matrix(0.24,0,0,0.24,-395.28,98.64)">
            <path
              d="M17780.875,6789.597L17780.875,10673.221C17780.875,11028.984 17492.041,11317.818 17136.278,11317.818L2291.597,11317.818C1935.834,11317.818 1647,11028.984 1647,10673.221L1647,6789.597C1647,6433.834 1935.834,6145 2291.597,6145L17136.278,6145C17492.041,6145 17780.875,6433.834 17780.875,6789.597Z"
              fill="#FFF6DB"
            />

          </g>

          <g transform="matrix(1,0,0,1,91.55389,38.16)">
            {/* ON / date block — lines 60-68. Per-glyph tspan kerning in the
                source only matches "12 december"/"2026" literally, so real
                dates render as plain text runs at the same x/y instead. */}
            <g transform="matrix(1,0,0,1,680.210399,21.081018)">
              <g>
                <text x="1821.915px" y="1851.207px" className="font-signaturee" fontSize="118px" fill="#2A72D3">
                  {dateLine1}
                </text>
                <text x="1821.915px" y="1971.207px" className="font-signaturee" fontSize="118px" fill="#2A72D3">
                  {dateLine2}
                </text>
              </g>
              <text x="1821.915px" y="1708.574px" className="font-signaturee" fontSize="62.087px" fill="#2A72D3">
                o<tspan x="1867.053px" y="1708.574px">n</tspan>
              </text>
            </g>

            {/* AT / venue block — lines 69-81. "at" label kept glyph-exact
                (content never changes); venue name + address use a
                foreignObject at the same block position so arbitrary-length
                real data wraps instead of reusing a kerning table that was
                only ever valid for "lapangan bola" / "KUSUMA AGROWISATA". */}
            <g transform="matrix(1,0,0,1,-340.763256,40.08)">
              <g transform="matrix(1,0,0,1,672.137431,-66.664377)">
                <text x="148.218px" y="1756.239px" className="font-signaturee" fontSize="62.087px" fill="#2A72D3">
                  a<tspan x="187.954px" y="1756.239px">t</tspan>
                </text>
              </g>
              <foreignObject x="815" y="1760" width="1400" height="600" overflow="visible">
                {/* `event.address` holds the venue name (e.g. "Lapangan Bola
                    Kusuma Agrowisata") and `event.location` holds the
                    city/province (e.g. "Kota Batu, Jawa Timur") for how
                    this data is actually entered — opposite of what the
                    field names suggest, verified directly against the DB.
                    Big/bold line uses address (venue), small line below
                    uses location (city). */}
                <div>
                  <span
                    className="line-clamp-2 block font-signaturee font-bold uppercase"
                    style={{ color: "#2A72D3", fontSize: "105px", lineHeight: "92px" }}
                  >
                    {event.address ?? "Coming soon"}
                  </span>
                  <span
                    className="block overflow-hidden text-ellipsis whitespace-nowrap font-signaturee font-semibold"
                    style={{
                      color: "#2A72D3",
                      fontSize: "72.63px",
                      lineHeight: "80px",
                      marginTop: "16px",
                      maxWidth: "1350px",
                    }}
                  >
                    {event.location ?? ""}
                  </span>
                </div>
              </foreignObject>
            </g>

            {/* Tree icons — lines 83-88, verbatim */}
            <g transform="matrix(2.496498,0,0,2.496498,339.674349,1693.816659)">
              <path
                d="M0,114.625C-3.351,114.335 -6.702,114.056 -10.053,113.771C-11.876,113.616 -13.698,113.461 -15.521,113.306C-16.325,113.238 -17.161,113.228 -17.951,113.059C-18.858,112.867 -19.667,112.275 -20.155,111.517C-20.564,110.882 -20.709,110.166 -20.688,109.429C-20.676,109.069 -20.666,108.711 -20.655,108.351C-20.551,104.811 -20.444,101.272 -20.339,97.733C-20.282,95.816 -20.229,93.899 -20.169,91.983C-22.561,91.79 -24.956,91.644 -27.359,91.605C-32.785,91.38 -38.218,91.272 -43.631,90.828C-45.611,90.768 -46.574,88.991 -47.119,87.422C-48.042,80.578 -38.461,67.033 -32.695,63.115C-31.901,62.639 -31.072,62.189 -30.213,61.765C-33.35,61.824 -36.49,61.816 -39.63,61.774C-40.179,61.703 -40.729,61.761 -41.276,61.819C-42.045,61.9 -42.807,61.982 -43.55,61.704C-46.16,61.438 -47.449,58.097 -45.649,56.241C-44.665,50.531 -41.773,45.309 -38.528,40.519C-36.034,36.833 -32.935,33.234 -29.253,30.594C-29.985,30.568 -30.719,30.546 -31.455,30.529C-35.723,30.834 -38.269,29.244 -37.454,24.781C-35.299,11.721 -24.657,-0.013 -10.049,3.782C-0.773,6.574 4.293,13.159 7.935,21.51C11.974,29.284 5.231,31.464 -1.261,31.833C1.969,33.853 4.944,36.247 7.526,38.676C12.245,43.52 16.112,49.333 18.397,55.628C19.471,59.641 15.922,62.481 12.156,62.949C17.817,66.894 21.876,72.771 24.952,78.822C27.003,82.245 28.854,86.489 24.223,88.821C16.633,93.179 6.965,93.114 -1.537,93.352C-0.918,95.428 -0.307,97.505 0.313,99.581C1.24,102.691 2.168,105.8 3.096,108.91C3.104,108.935 3.111,108.962 3.119,108.987C3.121,108.993 3.123,108.999 3.125,109.005C3.134,109.035 3.142,109.064 3.15,109.093C3.206,109.288 3.248,109.482 3.276,109.678C3.629,110.265 3.804,110.956 3.731,111.664C3.556,113.371 2.034,114.638 0.305,114.638C0.204,114.638 0.102,114.634 0,114.625"
                fill="#FFC833"
                fillRule="nonzero"
                stroke="#F96A02"
                strokeWidth="0.1px"
              />
            </g>
            <g transform="matrix(2.415223,0,0,2.415223,2305.991757,1714.812364)">
              <path
                d="M0,104.15C0.56,102.248 1.114,100.343 1.648,98.434C2.871,94.215 3.639,89.89 4.424,85.577C0.901,85.398 -2.621,85.216 -6.143,85.034C-10.134,84.828 -14.125,84.623 -18.116,84.419C-20.183,84.313 -22.251,84.207 -24.318,84.1C-24.345,84.099 -24.372,84.096 -24.399,84.093C-24.591,84.095 -24.787,84.045 -24.968,83.937C-25.482,83.631 -25.692,82.908 -25.359,82.391C-24.305,80.747 -23.25,79.103 -22.195,77.459C-21.673,76.648 -21.171,75.821 -20.626,75.025C-20.049,74.182 -19.458,73.349 -18.869,72.515C-18.297,71.705 -17.724,70.896 -17.151,70.086C-16.889,69.716 -16.634,69.34 -16.357,68.982C-18.609,69.023 -20.86,69.063 -23.111,69.106C-23.607,69.116 -24.102,69.124 -24.597,69.133L-24.616,69.133C-24.885,69.148 -25.155,69.065 -25.369,68.9C-25.837,68.538 -25.971,67.786 -25.572,67.318C-23.159,64.486 -20.747,61.651 -18.334,58.819C-15.638,55.658 -12.945,52.494 -10.251,49.331C-8.911,47.757 -7.57,46.182 -6.23,44.608C-9.535,44.794 -12.842,44.977 -16.147,45.163C-16.384,45.177 -16.621,45.19 -16.858,45.203C-16.9,45.205 -16.941,45.205 -16.981,45.202C-17.211,45.192 -17.439,45.115 -17.623,44.973C-18.122,44.588 -18.186,43.891 -17.829,43.391C-15.664,40.371 -13.499,37.351 -11.333,34.33C-8.938,30.987 -6.542,27.644 -4.146,24.303C-1.757,20.972 0.629,17.641 3.016,14.311C5.354,11.049 7.693,7.789 10.029,4.527C11.129,2.991 12.231,1.455 13.332,-0.08C13.595,-0.447 13.858,-0.815 14.121,-1.181C14.246,-1.354 14.369,-1.528 14.494,-1.702C14.66,-1.932 14.814,-2.194 15.015,-2.395C15.401,-2.782 15.976,-2.944 16.492,-2.725C16.818,-2.588 17.066,-2.332 17.272,-2.053C17.412,-1.864 17.533,-1.66 17.658,-1.462C19.766,1.875 21.876,5.211 23.983,8.548C26.145,11.972 28.309,15.394 30.472,18.817C32.625,22.224 34.777,25.631 36.93,29.038C38.998,32.311 41.063,35.587 43.135,38.858C44.147,40.457 45.156,42.059 46.168,43.658C46.276,43.83 46.384,44.002 46.493,44.173C46.566,44.289 46.641,44.402 46.698,44.527C46.816,44.793 46.839,45.066 46.775,45.349C46.683,45.749 46.331,46.101 45.93,46.19C45.795,46.219 45.663,46.23 45.529,46.23C45.471,46.23 45.412,46.228 45.354,46.225C44.504,46.179 43.655,46.128 42.805,46.08C39.716,45.902 36.627,45.724 33.539,45.548C34.492,46.779 35.446,48.012 36.4,49.243C38.884,52.45 41.364,55.66 43.85,58.866C46.272,61.991 48.69,65.118 51.11,68.245C51.665,68.963 52.222,69.681 52.777,70.399C53.068,70.775 53.36,71.151 53.651,71.528C53.794,71.713 53.938,71.898 54.081,72.083C54.198,72.235 54.328,72.384 54.424,72.55C54.492,72.667 54.558,72.801 54.594,72.931C54.641,73.104 54.636,73.271 54.617,73.447C54.562,73.97 54.065,74.414 53.549,74.461C53.449,74.47 53.354,74.474 53.26,74.474C53.156,74.474 53.053,74.469 52.946,74.461C52.579,74.431 52.214,74.382 51.848,74.342C50.872,74.235 49.896,74.128 48.92,74.022C46.447,73.753 43.976,73.483 41.504,73.212C41.853,73.505 42.2,73.798 42.549,74.092C45.493,76.571 48.441,79.045 51.384,81.525C52.893,82.795 54.403,84.065 55.913,85.334C56.063,85.461 56.214,85.587 56.364,85.714C56.549,85.87 56.753,86.02 56.923,86.193C57.296,86.571 57.401,87.163 57.124,87.628C56.996,87.841 56.794,88.017 56.565,88.112C56.375,88.19 56.179,88.207 55.977,88.217C55.935,88.219 55.893,88.22 55.852,88.22C55.646,88.22 55.437,88.198 55.233,88.189C54.767,88.165 54.301,88.14 53.836,88.117C49.908,87.917 45.981,87.712 42.053,87.511C38.004,87.304 33.955,87.097 29.906,86.887C25.891,86.679 21.877,86.468 17.862,86.268C16.798,86.215 15.735,86.161 14.672,86.107C15.57,87.78 16.473,89.395 17.443,91.071C20.005,95.246 22.606,99.443 25.765,103.199C26.314,103.974 27.762,104.333 27.342,105.507C26.998,106.442 25.88,106.244 25.083,106.293C23.596,106.354 22.109,106.413 20.623,106.47C13.934,106.844 7.203,106.566 0.539,107.094C-0.976,106.782 -0.332,105.145 0,104.15"
                fill="#FFC833"
                fillRule="nonzero"
                stroke="#F96A02"
                strokeWidth="0.1px"
              />
            </g>
          </g>
        </g>
        </svg>
      </div>

    </QueueSection>
  );
}
