* {
    font-family: 'PT Serif', serif;
	cursor: url('cursor/hand-point.cur'), auto;
}

a:link {
  color: #ffffff;
  border-bottom: none;
  
}
a:visited {
  color: #ffffff;
  border-bottom: none;
}

  ::-webkit-scrollbar {
  width: 6px;
}
  
  ::-webkit-scrollbar-track {
  border:1px solid CE4CB4;
}

::-webkit-scrollbar-thumb {
  background: #CE4CB4;
  border-radius: 10px;
}

*::selection {
  background: #CE4CB4;
  color: #ffffff;
}
*::-moz-selection {
  background: #CE4CB4;
  color: #ffffff;
}
*::-webkit-selection {
  background: #CE4CB4;
  color: #ffffff;
}

@font-face {
	font-family : Regular;
	src: url(/_astro/regular-webfont.DXccI02O.woff2) format("woff2"), url(/_astro/regular-webfont.Bj1HO5KE.woff) format("woff");
	font-weight: 400;
    font-style: normal;
    font-display: swap;
}

        body {
            background-image: url("img/bg_dream2.png");
            background-position: center center;
            background-attachment: fixed;
            background-size: 100% 100%;
            background-repeat: no-repeat;
            overflow-x: hidden;
            overflow-y: auto;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            padding-top: 5vh;
            margin: 0;
            min-height: 100vh;
            box-sizing: border-box;
        }

.profile {
    background-image: url("characters/bg_chara2.png");
    background-position: center center;
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 80vw;
    height: auto;
	padding : 2%;
    border: 2px solid rgba(189, 51, 149, 1);
    border-radius: 0 35px 0 35px;
    box-sizing: border-box;
    display: flex;           
    flex-direction: column;   
    justify-content: center;
    align-items: center;     
    flex-shrink: 0;
    overflow: hidden;
}

.games {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.games img {
    display: inline-block;
    width: 30%;
    max-width: 300px;
    height: auto;
    margin: 0 10px;
    vertical-align: middle;
    border-radius: 8px;
}

.grid-kapaidi {
    background-size: 300px 600px;
    background-repeat: no-repeat;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    width: 90%;
    max-height: 85%;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.grid-item {
    aspect-ratio: 1 / 2;
    width: 100%;
    background-image: url("img/bg_kapaidi.png");
    background-size: 300px 600px;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 6%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--overlay-img, url("img/bg_pz007.png"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 30;
    pointer-events: none;
    filter: var(--overlay-filter, none);
}

.grid-item::after {
    content: attr(data-name);  /* ← variable data name */
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 40;
    pointer-events: none;
    text-align: center;
    width: 90%;
    padding: 4px 10%;
}

.grid-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 170%;
    height: 170%;
    object-fit: cover;
    z-index: 20;
}

.grid-item:hover {
    transform: scale(1.05);
    border-color: rgba(189, 51, 149, 0.8);
}

.grid-item:hover {
    transform: scale(1.05);
     border-color: rgba(189, 51, 149, 0.8);
}

#arrow {
    position: absolute;
    top: 2%;
    left: 1%;
    width: 4%;
    height: auto;
    z-index: 10;
    cursor: pointer;
}

.intro-text {
    width: 90%;
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 5px 0;
	margin-top : 5px;
    z-index: 5;
    flex-shrink: 0;
}