@font-face {
    font-family: 'MyFonts';
    src: url('../assets/Fonts/heading.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MyFonts';
    src: url('../assets/Fonts/paragraph.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

body {
    margin: 0;
    background: #121212;
    color: #ffffff;
    font-family: 'MyFonts', sans-serif;
}

header {
    position: relative;
    height: 85vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url('../assets/Image/sakura_scenery_background.jpg') top/cover no-repeat;
    border: 2px solid white;
    border-radius: 20px;
    box-shadow:
        0 0 8px rgba(138, 180, 248, 0.6),
        0 0 16px rgba(138, 180, 248, 0.4),
        0 0 24px rgba(138, 180, 248, 0.2);
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

header * {
    position: relative;
    z-index: 1;
}

.herotext {
    text-align: center;
    color: white;
}

.herotext p {
    text-align: right;
    width: 100%;
}

hr{
    border: none;
    height: 2px;
    width: 80%;
    box-shadow:
        0 0 10px rgba(255,255,255,0.5),
        0 0 20px rgba(255,255,255,0.3);
    margin: 20px auto;
    background: linear-gradient(to right, transparent, white, transparent);
}

h1 {
    margin: 0 0 2px 0;
    font-size: 60px;
    text-shadow:
        0 0 8px rgba(138, 180, 248, 0.6),
        0 0 16px rgba(138, 180, 248, 0.4),
        0 0 24px rgba(138, 180, 248, 0.2);
}

h2{
    text-align: center;
    text-decoration: underline;
    text-shadow:
        0 0 8px rgba(138, 180, 248, 0.6),
        0 0 16px rgba(138, 180, 248, 0.4),
        0 0 24px rgba(138, 180, 248, 0.2);
}

h3{
    text-decoration: underline double;
}

p {
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

.detailp{
    opacity: 0.6;
}

nav {
    position: absolute;
    bottom: 80px;
    border: 2px solid white;
    border-radius: 6px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

a {
    color: white;
    text-decoration: underline;
}

th{
    font-family: 'MyFonts',sans-serif;
    font-style: normal;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 2px auto;
    padding: 4px;
    text-align: center;
    color: #8ab4f8;
    font-weight: 600;
}

td{
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 2px auto;
    padding: 4px;
    text-align: center;
    color: #ffffff;
    font-style:oblique;
}

td:first-child {
    color: #6ea8fe;
}

td:last-child {
    color: #d0d0d0;
}

.character-sheet {
    background: #2a2a2a;
    max-width: 600px;
    width: 90%;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    box-shadow:
        0 0 8px rgba(138, 180, 248, 0.6),
        0 0 16px rgba(138, 180, 248, 0.4),
        0 0 24px rgba(138, 180, 248, 0.2);
}

.topsection {
    display: flex;
}

.statssection {
    font-family: 'MyFonts',sans-serif;
    font-style: italic;
    color: rgb(44, 44, 44);
    display: grid;
    grid-template-columns: 1fr;
}

.bottomsection{
    font-family: 'MyFonts',sans-serif;
    font-style: italic;
    color:  #e0e0e0;
}

.bottomsection p {
    color: #c792ea;
    text-align: center;
}

.game-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
}

.game-card {
    min-width: 220px;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    transition: 0.3s;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.game-card:hover {
    border-color: #8ab4f8;
    box-shadow:
        0 0 10px rgba(138,180,248,0.5),
        0 0 20px rgba(138,180,248,0.3);
    transform: translateY(-5px);
}

.skills {
    font-size: 14px;
    color: #b0b0b0;
}

.tools {
    font-size: 13px;
    color: #8ab4f8;
}

.download-btn {
    display: block;
    margin-top: 10px;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: 0.3s;
}

.quest-block {
    margin: 60px;
}

.locked {
    opacity: 0.6;
    border: 1px dashed rgba(255,255,255,0.3);
    padding: 15px;
    border-radius: 8px;
}

.paragraph{
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: auto;
}

.daily-card {
    max-width: 600px;
    width: 90%;
    margin: auto;
    padding: 20px;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    box-shadow:
        0 0 10px rgba(138,180,248,0.3),
        0 0 20px rgba(138,180,248,0.1);
}

.quest-list {
    list-style: none;
    padding: 0;
}

.quest-list li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.quest-list li:hover {
    background: rgba(138,180,248,0.1);
    transform: translateX(5px);
}

.icon {
    margin-right: 10px;
    color: #8ab4f8;
    font-size: 18px;
}

.side-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
}

.side-card {
    width: 250px;
    height: 150px;
    flex: 0 0 auto;
    padding: 15px;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    text-align: left;
    transition: 0.3s;
}

.side-card:hover {
    border-color: #8ab4f8;
    box-shadow:
        0 0 10px rgba(138,180,248,0.5),
        0 0 20px rgba(138,180,248,0.2);
    transform: translateY(-5px);
}

.skills-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-category {
    width: 220px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.skill-category h3 {
    margin-bottom: 8px;
}

.skill-category ul {
    padding-left: 18px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #8ab4f8;
    font-size: 20px;
    transition: 0.3s;
}

.contact-icons a:hover {
    color: #ffffff;
    border-color: #8ab4f8;
    box-shadow:
        0 0 10px rgba(138,180,248,0.6),
        0 0 20px rgba(138,180,248,0.3);
    transform: translateY(-3px);
}

footer {
    display: flex;
    flex-direction: column;
    background: #121212;
    color: white;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
}

.favcontacts{
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.favcontacts p{
    margin-top: 5px;
}

.favcontacts a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #8ab4f8;
    font-size: 20px;
    transition: 0.3s;
}

.favcontacts a:hover {
    color: #ffffff;
    border-color: #8ab4f8;
    box-shadow:
        0 0 10px rgba(138,180,248,0.6),
        0 0 20px rgba(138,180,248,0.3);
    transform: translateY(-3px);
}