@font-face {
    font-family: 'Porkys';
    src: url('PORKYS_.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    height: 100%;
    overflow-x: hidden;
}

html, body {
    min-height: 100%;
}

:root {
    --bg-base: #0a1a0f;
    --bg-gradient-to: #0f2a1a;
    --panel-blue: #4fd6a1;
    --panel-blue-alt: #5af5b8;
    --highlight-yellow: #a8e6cf;
    --highlight-orange: #ff9f2e;
    --success-green: #2ed573;
    --text-primary: #ffffff;
    --text-secondary: #c8ffd8;
    --text-muted: #8fd8a8;
    --border-glow: rgba(90, 255, 180, 0.65);
    --border-soft: rgba(255, 255, 255, 0.15);
}

body {
    font-family: 'Porkys', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-gradient-to) 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    padding: 50px;
}

/* Stars background effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 
        100px 200px 0 0 var(--text-primary),
        300px 100px 0 0 var(--text-primary),
        500px 300px 0 0 var(--text-primary),
        700px 150px 0 0 var(--text-primary),
        900px 250px 0 0 var(--text-primary),
        1100px 80px 0 0 var(--text-primary),
        200px 400px 0 0 var(--text-primary),
        400px 500px 0 0 var(--text-primary),
        600px 450px 0 0 var(--text-primary),
        800px 550px 0 0 var(--text-primary),
        1000px 600px 0 0 var(--text-primary),
        1200px 500px 0 0 var(--text-primary);
    opacity: 0.3;
    animation: twinkle 3s ease-in-out infinite;
}

.stars::after {
    animation-delay: 1.5s;
    box-shadow: 
        150px 300px 0 0 var(--text-primary),
        350px 150px 0 0 var(--text-primary),
        550px 350px 0 0 var(--text-primary),
        750px 200px 0 0 var(--text-primary),
        950px 300px 0 0 var(--text-primary),
        1150px 120px 0 0 var(--text-primary),
        250px 450px 0 0 var(--text-primary),
        450px 550px 0 0 var(--text-primary),
        650px 500px 0 0 var(--text-primary),
        850px 600px 0 0 var(--text-primary),
        1050px 650px 0 0 var(--text-primary),
        1250px 550px 0 0 var(--text-primary);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Vignette effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(7, 13, 26, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 40px;
    left: 40px;
    display: flex;
    gap: 25px;
    z-index: 100;
}

.top-right-icons {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

#wallet-connect-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.magic-eden-icon,
.opensea-icon,
.x-icon,
.discord-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(79, 214, 165, 0.2);
    border: 2px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.magic-eden-icon:hover,
.opensea-icon:hover,
.x-icon:hover,
.discord-icon:hover {
    background: rgba(79, 214, 165, 0.4);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 30px rgba(79, 214, 165, 0.6);
    transform: scale(1.1);
}

.me-icon-img,
.os-icon-img,
.x-icon-img,
.discord-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.nav-pill {
    padding: 20px 32px;
    background: rgba(79, 214, 165, 0.2);
    border: 1px solid var(--border-glow);
    border-radius: 32px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.nav-pill:hover,
.nav-pill.active {
    background: rgba(79, 214, 165, 0.4);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 20px rgba(79, 214, 165, 0.5);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 2400px;
    margin: 0 auto;
    padding: 160px 65px 100px;
    position: relative;
    z-index: 2;
}

/* Header */
.header-section {
    text-align: center;
    margin-bottom: 0;
    width: 100%;
}

.header-logo {
    width: 100%;
    height: auto;
    max-height: none;
    margin-bottom: 16px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(140, 255, 200, 0.5));
}

.subtitle {
    font-size: 30px;
    color: var(--text-muted);
    font-weight: 400;
}

.subtitle-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    margin: 60px auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(140, 255, 200, 0.4));
    transition: all 0.3s ease-out;
}

/* Otherside Gallery Section */
.otherside-gallery-section {
    margin: 65px 0 95px;
    width: 100%;
    overflow: hidden;
}

.otherside-gallery-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    position: relative;
}

.otherside-gallery-container::before,
.otherside-gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.otherside-gallery-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, rgba(10, 26, 15, 0.8) 50%, transparent 100%);
}

.otherside-gallery-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, rgba(10, 26, 15, 0.8) 50%, transparent 100%);
}

.otherside-gallery-scroll {
    display: flex;
    gap: 20px;
    animation: scrollGallery 120s linear infinite;
    will-change: transform;
}

.otherside-gallery-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.otherside-image-item {
    flex: 0 0 auto;
    width: 438px;
    height: 313px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    background: rgba(79, 214, 165, 0.1);
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.otherside-image-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 12px 40px rgba(79, 214, 165, 0.6), inset 0 0 20px rgba(90, 245, 180, 0.2);
}

.otherside-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}

.otherside-image-item:hover .otherside-image {
    transform: scale(1.1);
}

/* Otherside Modal */
.otherside-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.otherside-modal.active {
    display: flex;
    opacity: 1;
}

.otherside-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(79, 214, 165, 0.5);
    transition: opacity 0.3s ease-out;
}

.otherside-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(79, 214, 165, 0.4);
    border: 2px solid var(--border-glow);
    color: var(--text-primary);
    font-size: 64px;
    font-weight: 300;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    user-select: none;
}

.otherside-modal-nav:hover {
    background: rgba(79, 214, 165, 0.7);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 30px rgba(79, 214, 165, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.otherside-modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.otherside-modal-prev {
    left: 30px;
}

.otherside-modal-next {
    right: 30px;
}

.otherside-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease-out;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(79, 214, 165, 0.3);
    border: 2px solid var(--border-glow);
}

.otherside-modal-close:hover {
    background: rgba(79, 214, 165, 0.6);
    border-color: var(--panel-blue-alt);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(79, 214, 165, 0.8);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 38px;
    justify-content: center;
    margin-bottom: 95px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-out;
    font-family: inherit;
}

.action-btn.primary {
    background: var(--highlight-yellow);
    color: #070d1a;
    box-shadow: 0 0 20px rgba(168, 230, 207, 0.4);
}

.action-btn.primary:hover {
    background: var(--highlight-orange);
    box-shadow: 0 0 30px rgba(255, 159, 46, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.action-btn.secondary {
    background: rgba(79, 214, 165, 0.3);
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
}

.action-btn.secondary:hover {
    background: rgba(79, 214, 165, 0.5);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 20px rgba(79, 214, 165, 0.5);
    transform: translateY(-2px);
}

.action-btn .icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.2) 0%, rgba(90, 245, 180, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--panel-blue-alt), transparent);
    opacity: 0.5;
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 8px 32px rgba(79, 214, 165, 0.4), inset 0 0 20px rgba(90, 245, 180, 0.1);
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 60px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
    letter-spacing: 0.5px;
}

.stat-unit {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.stat-change {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-change.positive {
    color: var(--success-green);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.info-card {
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.2) 0%, rgba(90, 245, 180, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-out;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 8px 32px rgba(79, 214, 165, 0.4), inset 0 0 20px rgba(90, 245, 180, 0.1);
}

.info-card h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 44px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.info-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.info-sub {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(90, 245, 180, 0.3);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Trait List */
.trait-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trait-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease-out;
}

.trait-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--border-glow);
    transform: translateX(4px);
}

.trait-name {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.trait-count {
    font-size: 18px;
    color: var(--highlight-yellow);
    font-weight: 700;
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

/* Analytics Card */
.analytics-card {
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.2) 0%, rgba(90, 245, 180, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 48px;
    transition: all 0.3s ease-out;
}

.analytics-card:hover {
    transform: translateY(-4px);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 8px 32px rgba(79, 214, 165, 0.4), inset 0 0 20px rgba(90, 245, 180, 0.1);
}

.analytics-card h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.analytics-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.analytics-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.analytics-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.analytics-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--panel-blue) 0%, var(--panel-blue-alt) 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(90, 245, 180, 0.5);
    transition: width 0.5s ease-out;
}

.analytics-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 28px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--highlight-yellow);
    border: 2px solid rgba(168, 230, 207, 0.8);
    border-radius: 32px;
    padding: 44px;
    text-decoration: none;
    color: #070d1a;
    transition: all 0.3s ease-out;
    box-shadow: 0 0 20px rgba(168, 230, 207, 0.4);
    backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-4px) translateX(4px);
    background: var(--highlight-orange);
    border-color: rgba(255, 159, 46, 0.8);
    box-shadow: 0 8px 32px rgba(255, 159, 46, 0.6), inset 0 0 20px rgba(255, 159, 46, 0.2);
}

.link-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 245, 180, 0.2);
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    flex-shrink: 0;
}

.link-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--highlight-yellow);
}

.link-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.link-content p {
    font-size: 14px;
    color: #000000;
}

.link-arrow {
    font-size: 24px;
    color: var(--highlight-yellow);
    transition: transform 0.3s ease-out;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
}

/* Gallery Section */
.gallery-section {
    margin-top: 64px;
    margin-bottom: 48px;
}

.gallery-header {
    margin-bottom: 32px;
}

.gallery-header h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.gallery-controls {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    stroke: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 25px 32px 25px 88px;
    background: rgba(79, 214, 165, 0.2);
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 25px;
    font-family: inherit;
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 20px rgba(79, 214, 165, 0.4);
    background: rgba(79, 214, 165, 0.3);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.gallery-stats {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
    gap: 44px;
    margin-bottom: 75px;
}

.otter-card {
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.2) 0%, rgba(90, 245, 180, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 32px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.otter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--panel-blue-alt), transparent);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.otter-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 8px 32px rgba(79, 214, 165, 0.5), inset 0 0 20px rgba(90, 245, 180, 0.15);
}

.otter-card:hover::before {
    opacity: 0.8;
}

.otter-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease-out;
    object-fit: cover;
    object-position: center;
}

.otter-card:hover .otter-image {
    transform: scale(1.05);
}

.otter-number {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--highlight-yellow);
    text-align: center;
    border: 1px solid rgba(168, 230, 207, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.otter-card:hover .otter-number {
    opacity: 1;
}

/* Trait Overlay */
.trait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    z-index: 10;
}

.otter-card:hover .trait-overlay {
    opacity: 1;
}

.trait-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 100%;
    padding: 8px;
}

.trait-item-overlay {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(79, 214, 165, 0.25);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    transition: all 0.2s ease-out;
}

.trait-item-overlay:hover {
    background: rgba(79, 214, 165, 0.35);
    border-color: var(--panel-blue-alt);
}

.trait-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.trait-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--highlight-yellow);
    text-align: right;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.trait-loading,
.trait-error {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

.load-more-container {
    text-align: center;
    margin-top: 48px;
}

.load-more-container .action-btn {
    min-width: 280px;
    padding: 16px 40px;
    font-size: 16px;
}

/* Team Section */
/* Nifty Gallery Section */
.nifty-gallery-section {
    margin: 65px 0 95px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nifty-gallery-section .section-title {
    font-size: 75px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 50px;
    text-align: center;
    text-shadow: 0 0 20px rgba(140, 255, 200, 0.5);
}

.nifty-gallery-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    position: relative;
}

.nifty-gallery-container::before,
.nifty-gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.nifty-gallery-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, rgba(10, 26, 15, 0.8) 50%, transparent 100%);
}

.nifty-gallery-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, rgba(10, 26, 15, 0.8) 50%, transparent 100%);
}

.nifty-gallery-scroll {
    display: flex;
    gap: 20px;
    animation: scrollNiftyGallery 120s linear infinite;
    will-change: transform;
}

.nifty-gallery-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollNiftyGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.nifty-image-item {
    flex: 0 0 auto;
    width: 438px;
    height: 313px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    background: rgba(79, 214, 165, 0.1);
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.nifty-image-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 12px 40px rgba(79, 214, 165, 0.6), inset 0 0 20px rgba(90, 245, 180, 0.2);
}

.nifty-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}

.nifty-image-item:hover .nifty-image {
    transform: scale(1.1);
}

/* Nifty Modal */
.nifty-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.nifty-modal.active {
    display: flex;
    opacity: 1;
}

.nifty-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(79, 214, 165, 0.5);
    transition: opacity 0.3s ease-out;
}

.nifty-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(79, 214, 165, 0.4);
    border: 2px solid var(--border-glow);
    color: var(--text-primary);
    font-size: 64px;
    font-weight: 300;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    user-select: none;
}

.nifty-modal-nav:hover {
    background: rgba(79, 214, 165, 0.7);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 30px rgba(79, 214, 165, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nifty-modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.nifty-modal-prev {
    left: 30px;
}

.nifty-modal-next {
    right: 30px;
}

.nifty-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease-out;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(79, 214, 165, 0.3);
    border: 2px solid var(--border-glow);
}

.nifty-modal-close:hover {
    background: rgba(79, 214, 165, 0.6);
    border-color: var(--panel-blue-alt);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(79, 214, 165, 0.8);
}

/* Banners Section */
.avatar-link-text {
    text-align: center;
    margin: 40px 0 30px;
    padding: 0 20px;
}

.avatar-link-text p {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(140, 255, 200, 0.5);
    margin: 0;
}

.banners-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
    width: 100%;
    flex-wrap: wrap;
}

.banner-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--border-glow);
    background: rgba(79, 214, 165, 0.1);
    transition: all 0.3s ease-out;
}

.banner-container:hover {
    transform: translateY(-8px);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 12px 40px rgba(79, 214, 165, 0.5), inset 0 0 20px rgba(90, 245, 180, 0.2);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}

.banner-container:hover .banner-image {
    transform: scale(1.05);
}

.team-section {
    margin-top: 80px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-section .section-title {
    font-size: 75px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 63px;
    text-align: center;
    text-shadow: 0 0 20px rgba(140, 255, 200, 0.5);
}

.team-card {
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.2) 0%, rgba(90, 245, 180, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 38px;
    padding: 75px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-out;
    text-align: center;
    max-width: 625px;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 12px 40px rgba(79, 214, 165, 0.5), inset 0 0 30px rgba(90, 245, 180, 0.15);
}

.team-image-container {
    width: 313px;
    height: 313px;
    margin: 0 auto 38px;
    border-radius: 50%;
    border: 3px solid var(--border-glow);
    padding: 4px;
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.3) 0%, rgba(90, 245, 180, 0.2) 100%);
    box-shadow: 0 0 30px rgba(140, 255, 200, 0.4);
    transition: all 0.3s ease-out;
    overflow: hidden;
}

.team-card:hover .team-image-container {
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 40px rgba(140, 255, 200, 0.6);
    transform: scale(1.05);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.team-name {
    font-size: 50px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-roles {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.team-role {
    font-size: 29px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 13px 32px;
    background: rgba(79, 214, 165, 0.2);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    transition: all 0.3s ease-out;
    min-width: 150px;
}

.team-role:hover {
    background: rgba(79, 214, 165, 0.3);
    border-color: var(--panel-blue-alt);
    color: var(--text-primary);
    transform: translateX(4px);
}

.team-role-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.team-x-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(79, 214, 165, 0.2);
    border: 2px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
    text-decoration: none;
}

.team-x-icon:hover {
    background: rgba(79, 214, 165, 0.4);
    border-color: var(--panel-blue-alt);
    box-shadow: 0 0 30px rgba(79, 214, 165, 0.6);
    transform: scale(1.1);
}

.team-x-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

/* Team Footer Image */
.team-footer-image {
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.team-footer-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(140, 255, 200, 0.4));
    transition: all 0.3s ease-out;
}

.team-footer-img:hover {
    filter: drop-shadow(0 0 30px rgba(140, 255, 200, 0.6));
    transform: scale(1.02);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 214, 165, 0.3) 0%, rgba(90, 245, 180, 0.25) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 32px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease-out;
}

.modal-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto 28px;
    border: 1px solid var(--border-soft);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-soft);
    transition: all 0.3s ease-out;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
    transform: rotate(90deg);
}

.modal-info {
    text-align: center;
}

.modal-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-number {
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .action-btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Modal Traits */
.modal-traits {
    margin: 28px 0;
    padding: 24px;
    background: rgba(79, 214, 165, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
}

.modal-traits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.modal-trait-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(79, 214, 165, 0.2);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
}

.modal-trait-type {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.modal-trait-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--highlight-yellow);
    font-family: 'Bebas Neue', 'Porkys', sans-serif;
}

.modal-traits-loading,
.modal-traits-error {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading state */
.otter-card.loading {
    background: rgba(79, 214, 165, 0.1);
    border-color: rgba(140, 255, 200, 0.3);
}

.otter-card.loading .otter-image {
    opacity: 0.3;
    background: linear-gradient(90deg, rgba(79, 214, 165, 0.2) 25%, rgba(90, 245, 180, 0.2) 50%, rgba(79, 214, 165, 0.2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .top-nav {
        top: 10px;
        left: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .nav-pill {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 20px;
    }

    .top-right-icons {
        top: 10px;
        right: 10px;
        gap: 8px;
    }

    #wallet-connect-container {
        width: 100%;
        max-width: 120px;
    }

    #wallet-connect-container button {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 16px !important;
    }

    .magic-eden-icon,
    .opensea-icon,
    .x-icon,
    .discord-icon {
        width: 40px;
        height: 40px;
    }

    .me-icon-img,
    .os-icon-img,
    .x-icon-img,
    .discord-icon-img {
        width: 28px;
        height: 28px;
    }

    .container {
        padding: 100px 15px 40px;
        min-height: calc(100vh - 120px);
    }

    .header-logo {
        max-height: 80px;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 18px;
    }

    .subtitle-image {
        max-width: 120px;
        margin: 30px auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stat-value {
        font-size: 36px;
    }

    .stat-unit {
        font-size: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 24px;
    }

    .info-card h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .info-item {
        padding: 12px 0;
    }

    .info-label {
        font-size: 14px;
    }

    .info-value {
        font-size: 16px;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .link-card {
        padding: 24px;
        gap: 16px;
    }

    .link-icon {
        width: 60px;
        height: 60px;
    }

    .link-icon-img {
        width: 30px;
        height: 30px;
    }

    .link-content h3 {
        font-size: 18px;
    }

    .link-content p {
        font-size: 12px;
    }

    .quick-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .action-btn .icon {
        width: 24px;
        height: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .search-box {
        max-width: 100%;
    }

    .search-input {
        padding: 16px 24px 16px 60px;
        font-size: 16px;
    }

    .gallery-stats {
        font-size: 14px;
    }

    .gallery-header h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .trait-overlay {
        padding: 12px;
    }

    .trait-item-overlay {
        padding: 6px 10px;
    }

    .trait-type {
        font-size: 10px;
    }

    .trait-value {
        font-size: 12px;
    }

    .modal-content {
        padding: 16px;
        max-width: 95%;
    }

    .modal-content img {
        max-width: 100%;
    }

    .modal-info h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }

    .modal-actions .action-btn {
        width: 100%;
    }

    .team-section {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .team-card {
        padding: 24px 16px;
        max-width: 100%;
    }

    .team-image-container {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }

    .team-name {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .team-roles {
        flex-direction: row !important;
        gap: 8px;
    }

    .team-role {
        font-size: 14px;
        padding: 8px 16px;
        min-width: 100px;
    }

    .team-x-icon {
        width: 36px;
        height: 36px;
    }

    .team-x-icon-img {
        width: 20px;
        height: 20px;
    }

    .team-section .section-title {
        font-size: 28px;
        margin-bottom: 24px;
        letter-spacing: 2px;
    }

    .otherside-gallery-section {
        margin: 30px 0 40px;
    }

    .otherside-gallery-container::before,
    .otherside-gallery-container::after {
        width: 30px;
    }

    .otherside-image-item {
        width: 180px;
        height: 120px;
    }

    .otherside-gallery-scroll {
        animation-duration: 80s;
    }

    .otherside-modal-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
        width: 36px;
        height: 36px;
    }

    .otherside-modal img {
        max-width: 95%;
        max-height: 85%;
    }

    .otherside-modal-nav {
        width: 44px;
        height: 44px;
        font-size: 36px;
    }

    .otherside-modal-prev {
        left: 10px;
    }

    .otherside-modal-next {
        right: 10px;
    }

    .nifty-gallery-section .section-title {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .nifty-image-item {
        width: 180px;
        height: 120px;
    }

    .avatar-link-text {
        margin: 24px 0 16px;
    }

    .avatar-link-text p {
        font-size: 16px;
    }

    .banners-section {
        flex-direction: column;
        gap: 16px;
        margin: 30px 0;
    }

    .banner-container {
        min-width: 100%;
        max-width: 100%;
    }

    .team-footer-img {
        max-width: 250px;
    }
}

/* Entry animations */
.stat-card,
.info-card,
.analytics-card,
.link-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.info-card:nth-child(1) { animation-delay: 0.5s; }
.info-card:nth-child(2) { animation-delay: 0.6s; }

.analytics-card {
    animation-delay: 0.7s;
}

.link-card:nth-child(1) { animation-delay: 0.8s; }
.link-card:nth-child(2) { animation-delay: 0.9s; }

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