:root{
    --bg: #0b1020;
    --card: #0f1730;
    --text: #eef3ff;
    --muted: #aab7d4;
    --accent: #7dd3fc;
    --accent-2: #f59e0b;
    --border: #1f2a4a;
  
    --btn-bg: rgba(20,29,55,0.8);
    --btn-br: #33406b;
    --btn-fg: #eaf1ff;
    --btn-hover: rgba(125,211,252,0.18);
  }
  
  * { box-sizing: border-box; }
  
  html, body {
    margin: 0;
    background: radial-gradient(80% 120% at 50% 0%, #0c1327, var(--bg));
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
  }
  
  .site-header, .site-footer {
    text-align: center;
    padding: 1rem 1rem;
  }
  
  .site-header h1 {
    margin: 0.5rem 0 0.25rem;
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  }
  .tag { color: var(--muted); margin: 0.25rem 0 0; }
  
  /* --- Layout: make left card a bit narrower --- */
  .container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  @media (min-width: 900px){
    /* Left ~46%, Right ~54% */
    .container{ grid-template-columns: 0.86fr 1.04fr; }
  }
  @media (min-width: 1200px){
    /* Left ~43%, Right ~57% for even more map area */
    .container{ grid-template-columns: 0.82fr 1.18fr; }
  }
  
  .card{
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }
  
  /* Make containers a touch taller */
  .info { display: grid; gap: 0.75rem; align-content: start; min-height: 520px; }
  .globe { min-height: 560px; }
  
  .country-name{
    font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.3px;
  }
  
  .flag-wrap{
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0b1225;
  }
  .flag-wrap img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  .flag-cap{
    color: var(--muted);
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem 0.6rem;
  }
  
  .quick-stats{
    margin-top: 0.4rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
  }
  .stats-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .stats-list li{
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.98rem;
  }
  .stats-list .k{ color: var(--muted); }
  .stats-list .v{ font-weight: 600; }
  
  .controls{ margin-top: 0.25rem; }
  .btn{
    appearance: none;
    cursor: pointer;
    border: 1px solid var(--accent);
    color: var(--text);
    background: linear-gradient(180deg, rgba(125,211,252,0.15), rgba(125,211,252,0.05));
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  }
  .btn:hover{ box-shadow: 0 8px 24px rgba(125,211,252,0.25); transform: translateY(-1px); }
  .btn:active{ transform: translateY(0); }
  .btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

  /* Passport Button Styles */
  .passport-btn {
    margin-left: 0.5rem;
    background: linear-gradient(180deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    border-color: var(--accent-2);
  }
  .passport-btn:hover {
    box-shadow: 0 8px 24px rgba(245,158,11,0.25);
  }
  .passport-btn.stamped {
    background: linear-gradient(180deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
    border-color: #22c55e;
  }
  .passport-btn.stamped:hover {
    box-shadow: 0 8px 24px rgba(34,197,94,0.25);
  }
  
  .note { color: var(--muted); margin: 0; }
  
  .globe #globe svg{
    display: block;
    width: 100%;
    height: auto;
  }
  .land { fill: #14315d; stroke: #0a1c38; stroke-width: 0.5px; }
  .water { fill: #0a1b35; }
  .graticule { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 0.6px; }
  .country { stroke-linejoin: round; }
  .borders { pointer-events: none; opacity: 0.6; }
  
  .sr-only{
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }
  
  /* Globe wrapper so we can absolutely position the controls */
  .globe-wrap{ position: relative; }
  
  .map-controls{
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
  }
  .map-controls .row{
    display: flex;
    gap: 6px;
    justify-content: center;
  }
  .map-controls .row.gap{ margin-top: 2px; }
  
  .mc-btn{
    pointer-events: auto;
    appearance: none;
    border: 1px solid var(--btn-br);
    background: var(--btn-bg);
    color: var(--btn-fg);
    min-width: 40px;
    min-height: 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  }
  .mc-btn:hover{ background: var(--btn-hover); border-color: #5b6aa3; transform: translateY(-1px); }
  .mc-btn:active{ transform: translateY(0); }
  .mc-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
  .mc-zoom{ min-width: 46px; font-size: 18px; }

/* --- Profile Section (Bento Cards) --- */
.profile-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: 
      "wikipedia wikipedia worldbank notable"
      "unesco unesco unesco unesco";
  }
  
  .wikipedia-card { grid-area: wikipedia; }
  .worldbank-card { grid-area: worldbank; }
  .unesco-card { grid-area: unesco; }
  .notable-card { grid-area: notable; }
}

.bento-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.card-header {
  margin-bottom: 0.75rem;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title .icon {
  font-size: 1.2rem;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Loading Skeleton */
.loading-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skeleton-line {
  height: 1rem;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.05) 25%, 
    rgba(255,255,255,0.1) 50%, 
    rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: skeleton-loading 1.5s infinite;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Card-specific styling */
.wikipedia-card .card-content {
  font-size: 0.95rem;
  line-height: 1.5;
}

.worldbank-card .card-content {
  font-size: 0.9rem;
}

.unesco-card .card-content {
  font-size: 0.9rem;
}

.notable-card .card-content {
  font-size: 0.9rem;
}

/* Notable Person Card Styling */
.person-image {
  margin-bottom: 0.75rem;
  text-align: center;
}

.person-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.person-info {
  margin-bottom: 0.75rem;
}

.person-name {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.person-occupation {
  margin: 0 0 0.25rem 0;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.person-years {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.person-bio {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}

.person-bio p {
  margin: 0;
}

/* Responsive adjustments for notable person card */
@media (min-width: 900px) {
  .person-image img {
    width: 100px;
    height: 100px;
  }
  
  .person-name {
    font-size: 1.1rem;
  }
}

/* UNESCO Heritage Card Styling */
.unesco-card {
  min-height: 300px;
}

.heritage-stats {
  margin-bottom: 1rem;
}

.featured-site {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.site-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.site-type {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive adjustments for heritage card */
@media (min-width: 900px) {
  .unesco-card {
    min-height: 350px;
  }
  
  .featured-site {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .site-image {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
  }
  
  .site-info {
    flex: 1;
  }
}

/* Error and empty states */
.card-content.error {
  color: #f87171;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.card-content.empty {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

/* Content formatting */
.card-content p {
  margin: 0 0 0.5rem 0;
}

.card-content p:last-child {
  margin-bottom: 0;
}

.card-content .stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.card-content .stat-item:last-child {
  margin-bottom: 0;
}

.card-content .stat-label {
  color: var(--muted);
}

.card-content .stat-value {
  font-weight: 600;
  color: var(--accent);
}

/* Passport Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.modal.show {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 90vw;
  max-height: 90vh;
  min-width: 70vw;
  min-height: 450px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  appearance: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

/* Passport Content Styles */
.passport-stamp {
  text-align: center;
  padding: 2rem 1rem;
}

.passport-stamp h3 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.passport-stamp p {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

.passport-stamp .stamp-btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--accent-2);
  color: var(--text);
  background: linear-gradient(180deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.06s ease, box-shadow 0.2s ease;
}

.passport-stamp .stamp-btn:hover {
  box-shadow: 0 8px 24px rgba(245,158,11,0.25);
  transform: translateY(-1px);
}

.passport-stamp .stamp-btn:active {
  transform: translateY(0);
}

/* Passport Header and Stats */
.passport-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.passport-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.passport-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.passport-stats .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

  .passport-stats .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Passport Sorting Controls */
.passport-sorting {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.sort-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.sort-select {
  appearance: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23aab7d4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em 1.5em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-select:hover {
  border-color: var(--accent);
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.2);
}

/* Section Headers */
.section-header {
  grid-column: 1 / -1;
  margin: 1.5rem 0 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.section-header:first-child {
  margin-top: 0;
}

.section-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Region Section Headers */
.region-header {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.1), rgba(125, 211, 252, 0.05));
  border-color: rgba(125, 211, 252, 0.3);
}

.region-header h3 {
  color: var(--accent);
}

/* Subregion Section Headers */
.subregion-header {
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.08), rgba(156, 163, 175, 0.03));
  border-color: rgba(156, 163, 175, 0.2);
  margin: 1rem 0 0.75rem 0;
  padding: 0.5rem 0.75rem;
}

.subregion-header h4 {
  color: var(--muted);
}

/* Letter Section Headers */
.letter-header {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.3);
}

.letter-header h3 {
  color: var(--accent-2);
}

/* Visited/Unvisited Section Headers */
.visited-section {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border-color: rgba(34, 197, 94, 0.3);
}

.visited-section h3 {
  color: #22c55e;
}

.unvisited-section {
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.1), rgba(156, 163, 175, 0.05));
  border-color: rgba(156, 163, 175, 0.3);
}

.unvisited-section h3 {
  color: #9ca3af;
}

/* Passport Stamps Grid */
.passport-stamps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.passport-stamps.all-countries {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.stamp-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stamp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stamp-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.stamp-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.stamp-card .stamp-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.stamp-card .stamp-region {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.8;
  padding: 0.2rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  display: inline-block;
}

/* Stamp Badges */
.stamp-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.stamp-card.visited .stamp-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.stamp-card.unvisited .stamp-badge {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Unvisited Country Styling */
.stamp-card.unvisited {
  opacity: 0.6;
  filter: grayscale(0.8);
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.05), rgba(156, 163, 175, 0.02));
  border-color: rgba(156, 163, 175, 0.3);
}

.stamp-card.unvisited:hover {
  opacity: 0.8;
  filter: grayscale(0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(156, 163, 175, 0.2);
}

.stamp-card.unvisited .unvisited-flag {
  filter: grayscale(0.8) brightness(0.7);
}

.stamp-card.unvisited h4 {
  color: var(--muted);
}

.stamp-card.unvisited .stamp-date {
  color: #9ca3af;
}

.stamp-card.unvisited .stamp-region {
  color: #6b7280;
}

/* Empty passport state */
.passport-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.passport-empty h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.passport-empty p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive modal adjustments */
@media (max-width: 600px) {
  .modal-content {
    max-width: 95vw;
    margin: 1rem;
    min-width: 320px;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .passport-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .passport-sorting {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .passport-stamps.all-countries {
    grid-template-columns: 1fr;
    max-height: 50vh;
  }
  
  .section-header {
    margin: 1rem 0 0.75rem 0;
    padding: 0.5rem 0.75rem;
  }
  
  .section-header h3 {
    font-size: 1.1rem;
  }
  
  .section-header h4 {
    font-size: 0.9rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .passport-stamps {
    grid-template-columns: 1fr;
  }
}

/* Confetti Animation Enhancements */
@keyframes confetti-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

@keyframes confetti-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Confetti piece variations */
.confetti-piece {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
}

.confetti-piece.circle {
  border-radius: 50%;
}

.confetti-piece.square {
  border-radius: 0;
}

.confetti-piece.triangle {
  width: 0;
  height: 0;
  background: transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid currentColor;
}

.confetti-piece.star {
  background: transparent;
  position: relative;
}

.confetti-piece.star::before {
  content: '★';
  color: inherit;
  font-size: inherit;
  line-height: 1;
}
  