* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #224040;
    font-family: 'Glass Antiqua', cursive;
    color: #fff;
    font-weight: 500;
    min-height: 150vh;
    position: relative;

    /* Font smoothing and antialiasing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-smooth: always;

    /* Firefox-specific improvements */
    font-feature-settings: "kern" 1, "liga" 1;
    font-variant-ligatures: common-ligatures;

    /* Additional smoothing */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5vw;
    padding: 2rem;
    overflow: hidden;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    width: 35vw;
    height: 65vh;
    object-fit: contain;
}

.content-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    min-height: 500px;
    flex-shrink: 1;
}

.section-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.section-slide.exit-up {
    opacity: 0;
    transform: translateY(-100px);
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.about-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: default;
}

.about-section:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-weight: 600;
    word-wrap: break-word;
    letter-spacing: 0.01em;
    -webkit-text-stroke: 1px rgba(226, 232, 240, 0.5);
    paint-order: stroke fill;
}

.about-section p {
    font-size: 1.3rem;
    color: #d4c4a0;
    line-height: 1.8;
    margin-bottom: 1rem;
    word-wrap: break-word;
    font-weight: 500;
    -webkit-text-stroke: 1px rgba(212, 196, 160, 0.5);
    paint-order: stroke fill;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.wishlist-container {
    width: 100%;
    box-sizing: border-box;
}

.subtitle {
    font-size: 1.5rem;
    color: #d4c4a0;
    font-weight: 500;
    margin: 0;
    -webkit-text-stroke: 1px rgba(212, 196, 160, 0.5);
    paint-order: stroke fill;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    paint-order: stroke fill;

    /* Enhanced smoothing for large text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Canvas rendering support */
h1 canvas,
h2 canvas,
h3 canvas,
p canvas {
    display: block;
    margin: 0 auto;
}

.wishlist-intro {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    line-height: 1.8;
    font-weight: 500;
    -webkit-text-stroke: 1px rgba(226, 232, 240, 0.5);
    paint-order: stroke fill;
}

.note {
    font-size: 0.9rem;
    color: #c4b89a;
    font-style: italic;
    font-weight: 500;
    -webkit-text-stroke: 1px rgba(196, 184, 154, 0.5);
    paint-order: stroke fill;
}

.wishlist-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wishlist-link {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.wishlist-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.link-icon {
    font-size: 3rem;
    flex-shrink: 0;
    line-height: 1;
}

.link-content {
    text-align: left;
}

.link-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
    font-weight: 600;
    -webkit-text-stroke: 1px rgba(226, 232, 240, 0.5);
    paint-order: stroke fill;
}

.link-content p {
    font-size: 1.1rem;
    color: #c4b89a;
    line-height: 1.6;
    font-weight: 500;
    -webkit-text-stroke: 1px rgba(196, 184, 154, 0.5);
    paint-order: stroke fill;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
main {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 1.5rem;
}

.logo {
    width: 60vw;
    height: 30vh;
}

.content-wrapper {
    max-width: 90vw;
}

.text-container {
    align-items: center;
    text-align: center;
}

.about-section {
    padding: 2rem;
}

.about-section h2 {
    font-size: 2.3rem;
    text-align: center;
}

.about-section p {
    font-size: 1.2rem;
}

.wishlist-intro {
    text-align: center;
}

.wishlist-link {
    padding: 1.5rem;
}
}

@media (max-width: 640px) {
main {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
}

.logo {
    width: 70vw;
    height: 25vh;
}

.content-wrapper {
    max-width: 95vw;
}

h1 {
    font-size: 1.8rem;
}

.subtitle {
    font-size: 1.1rem;
}

.about-section {
    padding: 1.5rem;
}

.about-section h2 {
    font-size: 1.8rem;
}

.about-section p {
    font-size: 1.1rem;
}

.wishlist-intro {
    font-size: 1rem;
}

.link-content h3 {
    font-size: 1.5rem;
}

.link-content p {
    font-size: 1rem;
}

.link-icon {
    font-size: 2.5rem;
}
}
