* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: #0b0c10;
    color: #f5f2e8;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.cartoon-font {
    font-family: 'Bangers', cursive;
    letter-spacing: 2px;
}

.sidebar {
    width: 76px;
    transition: width 0.3s ease;
}

.sidebar:hover {
    width: 205px;
}

.sidebar-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.sidebar:hover .sidebar-label {
    opacity: 1;
    width: auto;
}

.main-content {
    margin-left: 76px;
}

.hero-section {
    background:linear-gradient(90deg, rgba(11,12,16,0.98) 0%, rgba(11,12,16,0.83) 40%, rgba(11,12,16,0.18) 100%),
    url("images/hero.png");
    background-size: cover;
    background-position: center;
}

.hero-title {
    text-shadow: 5px 5px 0 #0b0c10, 8px 8px 0 rgba(255,232,43,0.22);
}

.yellow-outline {
    -webkit-text-stroke: 1px #ffe82b;
    color: transparent;
}

.comic-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.comic-card:hover {
    transform: translateY(-7px) rotate(-1deg);
    border-color: #ffe82b;
}

.comic-card img {
    transition: transform 0.4s ease;
}

.comic-card:hover img {
    transform: scale(1.07);
}

.comic-dots {
    background-image: radial-gradient(rgba(255,232,43,0.18) 1px, transparent 1px);
    background-size: 15px 15px;
}

.ticker-track {
    white-space: nowrap;
}
.progress {
    position:fixed;
    top:0;
    left:0;
    width:3px;
    height:100%;
    background-color:yellow;
    animation: progress linear;
    z-index: 9999;
    transform-origin: 50% 0;
    animation-timeline: scroll();
}

@keyframes progress {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
