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

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Side Panels */
.side-panel {
    position: fixed;
    top: 0;
    width: 30%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.left-panel {
    left: 0;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.right-panel {
    right: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.animated-bg {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: 200vh;
    animation: scroll-bg 40s linear infinite;
    padding: 20px;
    gap: 15px;
    align-content: flex-start;
}

.anime-bg {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.manga-bg {
    background: linear-gradient(180deg, #f093fb 0%, #f5576c 50%, #fda085 100%);
}

.animated-bg img {
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.animated-bg img:hover {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
}

@keyframes scroll-bg {
    0% { transform: translateY(0); }
    50% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Center Content */
.center-content {
    position: relative;
    z-index: 2;
    width: 40%;
    margin: 0 auto;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.tagline {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 3rem;
}

/* Rotating Logo Circle – just spin, no click behavior */
.logo-circle {
    width: 200px;
    height: 200px;
    margin-bottom: 3rem;
    position: relative;
    cursor: default;
    z-index: 100;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    animation: rotate 10s linear infinite;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.anime-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.anime-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.manga-btn {
    background: linear-gradient(135deg, #f5576c 0%, #fda085 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

.manga-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.6);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.scroll-hint {
    font-size: 2rem;
    color: #d8d8d8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Timeline */
.timeline {
    position: relative;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #667eea 50%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 80px 0;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #667eea;
    border: 4px solid #000;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 20px #667eea;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    width: 45%;
    transition: all 0.3s ease;
}

.timeline-card:not(.right) {
    margin-right: auto;
    margin-left: 0;
}

.timeline-card.right {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item.active .timeline-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: #667eea;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.timeline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.timeline-card .date {
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .side-panel {
        width: 25%;
    }
    
    .center-content {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .side-panel {
        display: none;
    }
    
    .center-content {
        width: 90%;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .timeline-card {
        width: 100%;
        margin: 0 !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
    }
}

/* Mobile layout tweaks */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .side-panel {
    position: static;
    width: 100%;
    height: 200px; /* or whatever looks good */
  }

  .left-panel,
  .right-panel {
    display: none; /* or keep them as small banners if you want */
  }

  .center-content {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
  }

  .hero {
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .scroll-hint {
    font-size: 0.85rem;
  }

  /* Timeline full-width on mobile */
  .timeline {
    padding: 2rem 0.75rem;
  }

  .timeline-line {
    left: 8px; /* move line to left */
  }

  .timeline-card,
  .timeline-card.right,
  .timeline-card.left {
    width: 100%;
    margin-left: 2rem;
    margin-right: 0;
  }
}