* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #1a4d8f 0%, #0a2540 50%, #000814 100%);
    min-height: 100vh;
    color: #fff;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.floating-renders {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.render {
    position: absolute;
    opacity: 0.15;
    animation: floatRender 20s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}

.render-1 {
    width: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.render-2 {
    width: 250px;
    top: 60%;
    right: 8%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.render-3 {
    width: 280px;
    bottom: 15%;
    left: 10%;
    animation-delay: 10s;
    animation-duration: 28s;
}

.render-logo {
    width: 200px !important;
    opacity: 0.2 !important;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(255, 223, 0, 0.5));
}

.render-logo-1 {
    top: 25%;
    left: 15%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.render-logo-2 {
    bottom: 30%;
    right: 12%;
    animation-delay: 12s;
    animation-duration: 26s;
}

@keyframes floatRender {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(10px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 50px;
    padding: 20px;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 223, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 223, 0, 0.4);
    border-radius: 50px;
    text-decoration: none;
    color: #ffdf00;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    transform: translateX(-5px) scale(1.05);
    background: rgba(255, 223, 0, 0.3);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.5);
}

.back-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.back-button:hover .back-icon {
    transform: translateX(-3px);
}

.character-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(17, 24, 39, 0.6);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 223, 0, 0.3);
}

.character-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.character-avatar img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.character-title h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.character-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.model-story {
    margin-bottom: 50px;
    padding: 20px;
}

.story-post {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(255, 223, 0, 0.3);
    max-width: 900px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.story-post:last-child {
    margin-bottom: 0;
}

.story-post-highlight {
    border: 3px solid rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, rgba(255, 223, 0, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4), 0 0 60px rgba(255, 223, 0, 0.2);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4), 0 0 60px rgba(255, 223, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 50px rgba(255, 107, 107, 0.6), 0 0 80px rgba(255, 223, 0, 0.4);
    }
}

.story-post-final {
    border: 3px solid rgba(255, 223, 0, 0.8);
    background: linear-gradient(135deg, rgba(255, 223, 0, 0.15) 0%, rgba(78, 205, 196, 0.15) 100%);
    box-shadow: 0 15px 50px rgba(255, 223, 0, 0.5), 0 0 80px rgba(255, 223, 0, 0.3);
    position: relative;
    overflow: visible;
}

.story-post-final::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffdf00, #ff6b6b, #4ecdc4, #ffdf00);
    background-size: 300% 300%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientShift 4s ease infinite;
    opacity: 0.5;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 100%);
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 223, 0, 0.6);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.3rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}

.post-credits {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 223, 0, 0.3);
    font-style: italic;
    color: #9ca3af;
}

.post-credits strong {
    color: #ffdf00;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.5);
}

.post-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 223, 0, 0.2);
}

.date-icon {
    font-size: 1.5rem;
}

.date-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffdf00;
    text-shadow: 0 2px 8px rgba(255, 223, 0, 0.3);
}

.post-images {
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(255, 223, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.image-link:hover {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 10px 30px rgba(255, 223, 0, 0.4);
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-link:hover .post-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-link:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 223, 0, 0.8));
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 223, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #ffdf00;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.8);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: #ff6b6b;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffdf00;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 15px 30px;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(255, 223, 0, 0.4);
    max-width: 80%;
}

.post-title {
    margin-bottom: 25px;
}

.post-title h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffdf00 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    margin: 0;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d1d5db;
}

.post-content p {
    margin: 0;
}

.image-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 223, 0, 0.3);
}

footer p {
    color: #ffdf00;
    text-shadow: 0 2px 8px rgba(255, 223, 0, 0.3);
}

@media (max-width: 768px) {
    .back-button {
        top: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 1rem;
    }
    
    .back-text {
        display: none;
    }
    
    .back-icon {
        font-size: 1.8rem;
    }
    
    .character-header {
        flex-direction: column;
        text-align: center;
    }
    
    .character-title h1 {
        font-size: 2rem;
    }
    
    header {
        padding: 80px 20px 60px;
    }
    
    .story-post {
        padding: 25px;
    }
    
    .image-grid,
    .image-grid-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-title h2 {
        font-size: 1.5rem;
    }
}
