body {
    margin: 0;
    background-color: #4b0082;
    font-family: sans-serif;
    cursor: none;
    padding: 12px;
    transform: scale(1.1);        /* 110% zoom */
    transform-origin: top center;
    min-height: 100vh;
}

html, body, * {
    overflow: hidden;
  
}

.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* doesn’t block clicks */
  z-index: 500;
  background: radial-gradient(
    circle 100px at 50% 50%, 
    transparent 0%, 
    rgba(0, 0, 0, 0.7) 100%
  );
}

/* Custom glowing circle cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 15px 5px rgba(255,255,255,0.6);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-2px, -2px); /* fine-tune so circle follows native pointer */
}

.grid-container {
    display: flex;
    flex-wrap: wrap;        /* allows items to wrap onto new lines */
    gap: 8px;               /* consistent spacing */
    justify-content: start; /* keep them packed from the left */
}

.grid-item {
    flex: 0 0 calc(100vw / 25); /* 1/21 of viewport width */
    height: calc(100vh / 18);   /* 1/13 of viewport height */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* keeps proportion without stretching */
    border-radius: 8px;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.2s;
}

.grid-item img:hover {
    transform: scale(1.5);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


.corner-element {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 300px;

    /* 🔹 Replace the flat gold with layered gradients */
    background:
      radial-gradient(120% 90% at 20% 15%, rgba(255, 255, 255, 0.253) 0 18%, rgba(255, 255, 255, 0.235) 19% 100%), /* glossy hotspot */
      radial-gradient(120% 80% at 60% 110%, rgba(120,60,0,0.4) 0 40%, rgba(120,60,0,0) 41% 100%),     /* bottom darkening */
      linear-gradient(180deg, #ffe86b 0%, #ffd23a 42%, #ffb300 72%, #f39a00 100%);                    /* main gold body */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease;

    border-radius: 50% 40% 40% 50% / 35% 60% 40% 50%;  
    transform: rotate(-5deg);

    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.263),   
        inset 0 -20px 50px rgba(0,0,0,0.25),   
        0 12px 30px rgba(0,0,0,0.35);      
}   

.corner-element.top-left {
    bottom: auto;
    right: auto;
    top: 20px;
    left: 20px;
    transform: rotate(8deg);
}

.icon {
    width: 130px;
    height: 130px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.text {
    font-size: 35px;
    font-weight: bold;
    color: #8B4513;
    text-align: center;
    text-shadow: 2px 2px 0px rgba(139, 69, 19, 0.3);
    letter-spacing: 1px;
}



