@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700&display=swap");

:root {
    --background-color: #1a1a1a;
    --text-color: #b0b0b0;
    --heading-color: #ffffff;
    --stone-bg-color: rgba(40, 40, 40, 0.5);
    --stone-border-color: rgba(100, 100, 100, 0.5);
    --stone-hover-bg-color: rgba(255, 255, 255, 1);
    --stone-hover-text-color: #000000;
}

body {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow: hidden; /* Hide scrollbars for the garden view */
}

#aether-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.garden-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Subtle meditation circle in center */
.zen-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(176, 176, 176, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: zenBreath 12s ease-in-out infinite;
}

@keyframes zenBreath {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.15;
    }
}

.garden-stones {
    display: flex;
    gap: 40px;
    animation:
        fadeIn 2.5s ease-in-out,
        gentleFloat 6s ease-in-out infinite;
}

.stone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--stone-bg-color);
    border: 2px solid var(--stone-border-color);
    border-radius: 50%;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9em;
    font-weight: 300;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    position: relative;
    /* Subtle asymmetry for Wabi-Sabi */
    transform: rotate(0.5deg);
    animation: subtleBreath 8s ease-in-out infinite;
}

/* Individual stone variations for imperfect harmony */
.stone:nth-child(1) {
    transform: rotate(0.8deg) translateY(-2px);
    animation-delay: 0s;
}

.stone:nth-child(2) {
    transform: rotate(-0.3deg) translateY(1px);
    animation-delay: 2.7s;
}

.stone:nth-child(3) {
    transform: rotate(0.6deg) translateY(-1px);
    animation-delay: 5.3s;
}

.stone:nth-child(4) {
    transform: rotate(-0.4deg) translateY(0px);
    animation-delay: 1.8s;
}

/* Japanese-inspired symbols using data attributes */
.stone::before {
    content: attr(data-symbol);
    font-size: 28px;
    color: var(--text-color);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 4px;
    opacity: 0.8;
    transition: all 0.4s ease;
    font-family: "Noto Sans JP", serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}



.stone:hover {
    background-color: #d3d3d3; /* Light grey */
    color: #000000; /* Black */
    border-color: #d3d3d3; /* Light grey */
    transform: scale(1.08) rotate(-0.5deg);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.stone:hover::before {
    opacity: 0.9;
    color: #000000; /* Black */
}



.stone::after {
    content: attr(data-meaning);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.8s ease;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
}

.stone:hover::after {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle floating animation for stones */
@keyframes gentleFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Subtle breathing animation for individual stones */
@keyframes subtleBreath {
    0%,
    100% {
        transform: scale(1) rotate(0.5deg);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.02) rotate(0.3deg);
        opacity: 1;
    }
}

/* Styles for other pages like experience.html */
.content-page {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
    .garden-title h1 {
        font-size: 2.4em;
        letter-spacing: 4px;
        margin: 0 0 40px 0;
    }

    .garden-stones {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stone {
        width: 70px;
        height: 70px;
    }

    .zen-circle {
        width: 250px;
        height: 250px;
    }

    .stone::before {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .garden-container {
        padding: 15px;
    }



    .garden-stones {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .stone {
        width: 60px;
        height: 60px;
    }

    .stone::before {
        font-size: 18px;
    }

    .zen-circle {
        width: 200px;
        height: 200px;
    }
}



/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-color: #ffffff;
        --stone-border-color: rgba(255, 255, 255, 0.8);
    }


}
