* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    height: 100vh;
    background-color: #1a1a1a;
}

/* Animated Background - Updated to match your vision */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            45deg,
            #1f7368,
            #1f7368 30px,
            #32a875 30px,
            #32a875 60px
        );
    animation: scrollBg 30s linear infinite;
    background-size: 200% 200%;
}

@keyframes scrollBg {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    gap: 2rem;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    width: 320px;
    height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #1a1a1a;
    margin-bottom: 1rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 100%;
    object-fit: contain;
}

.title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.description {
    font-size: 0.875rem;
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: auto;
}

.social-links a {
    display: block;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 60px;
    height: 60px;
    display: block;
}

/* Content Card */
.content-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    width: 700px;
    height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 0.2s;
}

.tab-btn:hover {
    transform: scale(1.05);
}

.tab-btn img {
    height: 50px;
    display: block;
}

.tab-btn .btn-active {
    display: none;
}

.tab-btn.active .btn-inactive {
    display: none;
}

.tab-btn.active .btn-active {
    display: block;
}

/* Content Area */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb {
    background: #32a875;
    border-radius: 4px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.tab-content p {
    line-height: 1.6;
    color: #333;
}

/* Grid Layout for Art & Storyboards */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.grid-item {
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.grid-item:hover {
    transform: scale(1.05);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animation Grid */
.animation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.animation-item {
    background: #f0f0f0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.animation-item video {
    width: 100%;
    display: block;
    background: #000;
}

.animation-item p {
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 1rem;
}

.nav-btn:hover {
    transform: scale(1.1);
}

.nav-btn.prev {
    left: 2rem;
}

.nav-btn.next {
    right: 2rem;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.storyboard-viewer {
    text-align: center;
}

.panel-counter {
    color: white;
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .profile-card,
    .content-card {
        width: 100%;
        max-width: 600px;
    }
}