.craic-big-button-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 200px;
    /* Adjust as needed */
    height: 200px;
    /* Adjust as needed */
}

.craic-big-button-image {
    width: 100px;
    /* Adjust the size as needed */
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.craic-big-button-icon {
    width: 50px;
    /* Adjust the size as needed */
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--arrow-rotation));
    z-index: 2;
}

.craic-big-button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* Ensure it covers the button area */
    height: 100%;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    /* Set text color to white */
    font-family: Inter;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.craic-big-button-wrapper .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center the ring */
    transform-origin: center center;
    /* Rotate around the center */
    --char-count: var(--char-count);
    --inner-angle: calc(300deg / var(--char-count));
    --radius: 80px;
    /* Adjust to control the size of the circle */
}

@media (prefers-reduced-motion: no-preference) {
    .craic-big-button-wrapper .ring {
        animation: spin 6s infinite linear;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
        /* Rotate the entire ring around its center */
    }
}

.craic-big-button-wrapper .char {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    /* Transform around its own position */
    transform:
        rotate(calc(var(--inner-angle) * var(--char-index))) translateY(var(--radius));
}

@media (max-width: 768px) {
    .craic-big-button-wrapper {
        width: 150px;
        height: 150px;
    }

    .craic-big-button-image {
        width: 70px;
        height: 70px;
    }

    .craic-big-button-wrapper .ring {
        --radius: 50px;
    }

    .craic-big-button-wrapper .char {
        font-size: 0.9rem;
    }
}