.content-container-spin {
  width: 95%;
  background: none;
  /* border: 0.2rem solid var(--brandco); */
  border-radius: 2rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  box-sizing: border-box;
  justify-content: flex-start;
  min-height: auto;
  text-align: center;
  margin-top:0rem;
}

.main-contentspinner{
  width: 90%;
  background: var(--backco);
  border-radius: 2rem;
  padding: 1.25rem 1.25rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0.2rem 1rem var(--passivetx);
  min-height: auto;
  box-sizing: border-box;
  justify-content: flex-start;
  /* outline: 2rem solid var(--mainco); */
  margin-top: 0rem;
}

.main-content-spin {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;        /* or a percentage for consistency with your layout */
    aspect-ratio: 1 / 1;
    max-width: 98vw;
    max-height: 98vw;
    min-width: 20rem;
    min-height: auto;
    background:
    linear-gradient(rgba(255,255,255,0.30), rgba(255,255,255,0.30)),
    url("/static/wheel_bg.jpg") center center no-repeat;
    background-size: cover;
    border-radius: 1rem;
    box-shadow: 0 0.2rem 1rem var(--passivetx);
    padding: 0;
    position: relative;
    margin: 2rem auto;
    margin-bottom:0.5rem;
    overflow: visible;
}

.wheel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    border-radius: 50%;
    margin-top: 0;
    padding-top: 0;
}

.wheel-outer {
    width: max(50%,500px);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    background: conic-gradient(
    var(--brandco) 0% 12.5%,
    var(--whiteco) 12.5% 25%,
    var(--brandco) 25% 37.5%,
    var(--whiteco) 37.5% 50%,
    var(--brandco) 50% 62.5%,
    var(--whiteco) 62.5% 75%,
    var(--brandco) 75% 87.5%,
    var(--whiteco) 87.5% 100%
    );
    border: 28px solid var(--mainco);
    box-shadow: 0 0 30px var(--passivetx);
    position: relative;
    transition: transform 6s cubic-bezier(0.23,1,0.32,1);
    z-index: 1;
    margin-top: 1rem;
    margin-bottom:1rem;
}
.wheel-labels-svg {
    width: 100%;
    height: 100%;
    position:absolute; top:0; left:0; pointer-events:none;
}
.wheel-labels-svg text {
    font-size: 2rem;
    font-family: inherit;
    font-weight: bold;
    fill: var(--mainco);
}
.center-spin-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--brandco);
    background: var(--mainco);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 1.5rem var(--passivetx);
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    border: 0.2rem solid var(--mainco);
    z-index: 20;
    transition: transform 0.1s;
}
.center-spin-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}
.pointer-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;           /* Set below or above spin button as you prefer */
    pointer-events: none;
}
.pointer-arrow svg {
    width: 180px;
    height: 180px;
    display: block;
}
.prompt-result {
    max-width: 80%;
    background: var(--mainco);
    color: var(--brandco);
    border-radius: 0.7rem;
    padding: 0.7rem 1rem;
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0.1rem 0.35rem var(--passivetx);
    min-height: 2rem;
    display: flex;
    line-height: 1.25;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    letter-spacing: 0.01em;
    margin: 0 auto;   
    transition: background 0.16s;
}
textarea {
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
    border-radius: 1rem;
    padding:1rem 1rem;
    }

.two-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-radius: 1rem;
    /* outline: 0.25rem solid var(--mainco);  */
}
.cardspin {
  background: var(--backco);
  border-radius: 1rem;
  /* border: 0.1vw solid var(--passivetx); */
  padding: 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
  color: var(--mainco);
}
.two-cards .cardspin {
    flex: 1 1 45%;
    font-size: 1rem;
    /* outline: 0.05rem solid var(--mainco); */
}
.two-cards ol, .two-cards li {
    font-size: 1rem; color: var(--mainco); line-height: 1.25; margin-top:0.5rem;
}

/* === WINDOW RESIZE MEDIA QUERY - SCALING THE CONTAINER AND WHEEL === */
html {
  font-size: 16px;   /* 1rem = 16px */
}
@media (max-width: 1365px) {
  html {
    font-size: 14px;  /* 1rem = 14px */
  }
}
@media (max-width: 1000px) {
  html {
    font-size: 12px;
  }

.two-cards {
    flex-direction: column;
    }
.two-cards .card {
width: 100%;
}
.main-content-spin {
width: 85vw;            /* Responsive width */
max-width: 400px;       /* Max cap */
min-width: 280px;       /* Min limit */
height: auto;           /* Allow height adjustment */
}
.wheel-container {
width: 100%;
height: 0;
padding-bottom: 100%;   /* Maintain square shape */
position: relative;
}
.wheel-outer {
position: absolute;     /* Position inside container */
top: 0; left: 0; right: 0; bottom: 0;
width: 100%;
aspect-ratio: 1 / 1;    /* Keep perfect circle */
border-width: 25px;     /* Scaled border */
box-sizing: border-box;
border-radius: 50%;
}
.pointer-arrow svg {
width: 150px;
height: 150px;
}
}

