/* Yuno - Minimalist Black & White Artist Portfolio */

/* ================================
   NAVIGATION BAR
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid #1a1a1a;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    filter: brightness(1.1) contrast(1.1);
}

.nav-logo-text {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
    transform: rotate(-2deg);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 5px 15px;
    border: 2px solid transparent;
    border-radius: 0;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.nav-link:nth-child(even) {
    transform: rotate(1deg);
}

.nav-link:hover {
    border: 2px solid #1a1a1a;
    background: #fafafa;
    transform: rotate(0deg) translateY(-2px);
}

/* ================================
   RESET & BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kalam', cursive;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TYPOGRAPHY - HAND-DRAWN STYLE
   ================================ */

.artist-title {
    font-family: 'Caveat', cursive;
    font-size: 8rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    letter-spacing: -2px;
    transform: rotate(-2deg);
}

.artist-subtitle {
    font-family: 'Kalam', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 40px;
    transform: rotate(1deg);
}

.contract-address-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.contract-address {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    background: #ffffff;
    border: 2px solid #1a1a1a;
    padding: 10px 20px;
    margin: 0;
    cursor: pointer;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 4px 4px 0px #d0d0d0;
    user-select: text;
}

.contract-address::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px dashed #666;
    pointer-events: none;
}

.contract-address:hover {
    transform: rotate(1deg) translate(-2px, -2px);
    box-shadow: 6px 6px 0px #c0c0c0;
    background: #fafafa;
}

.copy-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Kalam', cursive;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a1a;
}

.copy-tooltip.show {
    opacity: 1;
}

.section-title {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    transform: rotate(-1deg);
    position: relative;
}

.showcase-title {
    font-family: 'Amatic SC', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 30px;
    text-align: center;
    transform: rotate(1deg);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    width: 100%;
    max-width: 1200px;
}

.hero-text {
    text-align: center;
    flex: 0 0 auto;
}

.character-photo {
    flex: 0 0 auto;
}

.character-photo.left {
    transform: rotate(-5deg) translateY(0px);
    margin-top: 0px;
}

.character-photo.right {
    transform: rotate(3deg) translateY(0px);
    margin-top: 0px;
}

.photo-frame {
    transition: transform 0.3s ease;
}

.character-image {
    width: 280px;
    height: auto;
    object-fit: contain;
    background: #ffffff;
    display: block;
    border-radius: 8px;
    filter: brightness(1.1) contrast(1.1);
}

.sketch-line {
    width: 200px;
    height: 3px;
    background: #1a1a1a;
    margin: 40px auto;
    border-radius: 2px;
    position: relative;
    transform: rotate(-1deg);
}

.sketch-line::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -20px;
    width: 240px;
    height: 1px;
    background: #666;
    transform: rotate(2deg);
}

.sketch-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -20px;
    width: 180px;
    height: 1px;
    background: #666;
    transform: rotate(-1deg);
}

/* ================================
   ABOUT SECTION
   ================================ */

.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
}

.about-text {
    max-width: 600px;
    text-align: center;
}

.text-block {
    background: #ffffff;
    padding: 40px;
    border: 2px solid #1a1a1a;
    border-radius: 0;
    position: relative;
    transform: rotate(-0.5deg);
    box-shadow: 8px 8px 0px #e0e0e0;
}

.text-block::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px dashed #888;
    pointer-events: none;
}

.text-block p {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    line-height: 1.7;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
    flex-shrink: 0;
}

.about-character-image {
    width: 280px;
    height: auto;
    object-fit: contain;
    background: #ffffff;
    display: block;
    transform: rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

/* ================================
   ARTWORK SHOWCASE
   ================================ */

.artwork-showcase,
.community-showcase {
    margin-top: 60px;
    width: 100%;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.art-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.art-item:hover {
    transform: rotate(2deg) scale(1.05);
}

.art-item:nth-child(even) {
    transform: rotate(-1deg);
}

.art-item:nth-child(even):hover {
    transform: rotate(-3deg) scale(1.05);
}

.art-frame {
    position: relative;
    background: #ffffff;
    border: 3px solid #1a1a1a;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 6px 6px 0px #d0d0d0;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px dashed #666;
    pointer-events: none;
}

.artwork-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #ffffff;
    border: none;
}

.artwork-image::before {
    content: 'Your Art Here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Kalam', cursive;
    color: #888;
    font-size: 1.2rem;
}

.art-caption {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    color: #4a4a4a;
    font-weight: 400;
    transform: rotate(0.5deg);
}

/* ================================
   COMMUNITY SECTION
   ================================ */

.community {
    padding: 100px 0;
    background: #ffffff;
}

.community-description {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.community-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.community-item:hover {
    transform: rotate(-1deg) scale(1.02);
}

.community-item:nth-child(odd) {
    transform: rotate(1deg);
}

.community-item:nth-child(odd):hover {
    transform: rotate(3deg) scale(1.02);
}

.art-info {
    margin-top: 15px;
}

.artist-name {
    font-family: 'Kalam', cursive;
    font-size: 0.9rem;
    color: #666;
    font-weight: 300;
    margin-top: 5px;
    font-style: italic;
}

/* ================================
   SUBMISSION NOTE
   ================================ */

.submission-note {
    text-align: center;
    margin-top: 60px;
}

.note-frame {
    display: inline-block;
    background: #fafafa;
    border: 2px solid #1a1a1a;
    padding: 30px 40px;
    transform: rotate(1deg);
    position: relative;
    max-width: 500px;
}

.note-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px dashed #888;
    pointer-events: none;
}

.note-frame p {
    font-family: 'Kalam', cursive;
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 10px;
    line-height: 1.6;
}

.note-frame p:last-child {
    margin-bottom: 0;
}

.contact-info {
    font-weight: 600;
    color: #1a1a1a;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 60px 0 40px;
    background: #fafafa;
    text-align: center;
}

.footer-sketch {
    width: 150px;
    height: 2px;
    background: #666;
    margin: 0 auto 20px;
    border-radius: 1px;
    transform: rotate(-1deg);
}

.footer-sketch::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: #888;
    margin-top: -6px;
    transform: translateX(-50%) rotate(2deg);
}

.footer-text {
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    color: #666;
    transform: rotate(0.5deg);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .nav-logo {
        gap: 10px;
    }
    
    .nav-logo-image {
        height: 50px;
    }
    
    .nav-logo-text {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 5px 10px;
    }
    
    .artist-title {
        font-size: 5rem;
    }
    
    .artist-subtitle {
        font-size: 1.2rem;
    }
    
    .contract-address {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .showcase-title {
        font-size: 1.8rem;
    }
    
    .art-grid,
    .community-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .text-block {
        padding: 30px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-content {
        flex-wrap: wrap;
    }
    
    .about-character-image {
        width: 200px;
        margin: 0 auto;
    }
    
    .character-image {
        width: 200px;
        height: auto;
    }
    
    .character-photo.left,
    .character-photo.right {
        transform: rotate(0deg) translateY(0px);
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .artist-title {
        font-size: 4rem;
    }
    
    .art-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .artwork-image {
        height: 180px;
    }
    
    .note-frame {
        padding: 20px 25px;
        margin: 0 15px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .character-image {
        width: 160px;
        height: auto;
    }
}

/* ================================
   HOVER EFFECTS & INTERACTIONS
   ================================ */

.art-frame:hover {
    box-shadow: 10px 10px 0px #c0c0c0;
    transform: translate(-2px, -2px);
}

.text-block:hover {
    box-shadow: 12px 12px 0px #d0d0d0;
    transform: rotate(-0.5deg) translate(-2px, -2px);
}

.note-frame:hover {
    transform: rotate(1deg) scale(1.02);
}

/* ================================
   LOADING STATES FOR IMAGES
   ================================ */

.artwork-image {
    position: relative;
    background: #ffffff;
}

.artwork-image:not([src]),
.artwork-image[src=""],
.artwork-image[src$=".jpg"]:not([src*="/"]),
.character-image:not([src]),
.character-image[src=""],
.character-image[src$=".jpg"]:not([src*="/"]) {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
}

.artwork-image:not([src])::before,
.artwork-image[src=""]::before,
.artwork-image[src$=".jpg"]:not([src*="/"])::before {
    content: 'Your Art Here';
    position: static;
    transform: none;
}

.character-image:not([src])::before,
.character-image[src=""]::before,
.character-image[src$=".jpg"]:not([src*="/"])::before {
    content: 'Yuno Photo';
    position: static;
    transform: none;
}

/* ================================
   HAND-DRAWN DECORATIVE ELEMENTS
   ================================ */

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 100px;
    height: 2px;
    background: #333;
    border-radius: 1px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 80px;
    height: 1px;
    background: #666;
    border-radius: 1px;
}