/* ========================================== */
/* SEKCJA: ZMIENNE GLOBALNE I MOTYWY KOLORYSTYCZNE */
/* ========================================== */
:root {
    --bg-color: #030303;
    --text-main: #dfdedc;
    --text-muted: #737270;
    --accent-orange: #e5822e;
    --border-color: #1a1a1a;
    --card-bg: #09090a;
    --card-hover: #121214;
	
    --font-serif: 'Newsreader', Georgia, serif;
    --font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Motyw: Zielony (Emerald) */
body.theme-emerald {
    --accent-orange: #2ee584;
}

/* Motyw: Fioletowy (Cyberpunk / Violet) */
body.theme-violet {
    --accent-orange: #a855f7;
}

/* Motyw: Niebieski (Cyan) */
body.theme-cyan {
    --accent-orange: #38bdf8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px 20px;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Subtelna poświata gradientowa w tle */
.bg-gradient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, rgba(255, 140, 50, 0.12) 0%, rgba(220, 90, 20, 0.06) 40%, rgba(15, 15, 15, 0.95) 85%);
    z-index: -1;
    pointer-events: none;
    transition: background 0.5s ease;
}

.page-wrapper {
    width: 100%;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

/* ========================================== */
/* SEKCJA: GÓRNA BELKA NAWIGACJI               */
/* ========================================== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.nav-links {
    display: flex;
    gap: 20px;
    background: transparent;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.nav-item.active, .nav-item:hover {
    color: var(--accent-orange);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Stylowy przycisk Vibe Toggle */
.vibe-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.vibe-toggle:hover {
    border-color: var(--accent-orange);
    color: var(--text-main);
}

.vibe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-orange);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.vibe-toggle strong {
    color: var(--accent-orange);
    text-transform: capitalize;
}

/* Widoki zakładek (przełączanie stron) */
.page-pane {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.page-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================== */
/* SEKCJA: NAGŁÓWEK, BIO I TEKSTY              */
/* ========================================== */
.profile-section, .section-title-area, .work-title-area {
    margin-bottom: 50px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.bio {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 300;
}

.highlight {
    color: var(--text-main);
    text-decoration: underline;
    text-decoration-color: rgba(223, 222, 220, 0.3);
    text-underline-offset: 3px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* ========================================== */
/* SEKCJA: AKTYWNOŚĆ (LIVE FEED)              */
/* ========================================== */
.contributions-section {
    margin-bottom: 50px;
    border-top: 1px dashed var(--border-color);
    padding-top: 40px;
}

.contrib-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.contrib-header h2 {
    font-size: 0.75rem;
    font-weight: 400;
}

.contrib-count {
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.status-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange) !important;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: counterPulseAnim 2s infinite ease-in-out;
}

.activity-feed-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.3s ease;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.activity-feed-box:hover {
    border-color: color-mix(in srgb, var(--accent-orange) 40%, transparent);
}

.activity-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 450px; /* Zwiększona wysokość okienka aktywności */
    overflow-y: auto;
    padding-right: 4px;
}

.activity-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.3s ease-in-out;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.act-time {
    color: var(--text-muted);
    font-size: 0.72rem;
    flex-shrink: 0;
}

.act-type {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    flex-shrink: 0;
}

.act-type.commit { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.act-type.deploy { background: rgba(46, 229, 132, 0.15); color: #2ee584; border: 1px solid rgba(46, 229, 132, 0.3); }
.act-type.write { background: rgba(229, 130, 46, 0.15); color: var(--accent-orange); border: 1px solid color-mix(in srgb, var(--accent-orange) 30%, transparent); }
.act-type.code { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }

.act-desc {
    color: var(--text-main);
    font-weight: 300;
    word-break: break-word;
}

.act-desc strong {
    font-weight: 500;
    color: var(--text-main);
}

.activity-footer-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ========================================== */
/* SEKCJA: NOW (TERAZ)                        */
/* ========================================== */
.now-section {
    border-top: 1px dashed var(--border-color);
    padding-top: 40px;
}

.now-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.now-header h2 {
    font-size: 0.75rem;
    font-weight: 400;
}

.update-date {
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.now-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.now-column {
    display: flex;
    flex-direction: column;
}

.now-block {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.now-block.border-top {
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
}

.block-label {
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.block-content {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-main);
}

.book-title {
    font-style: italic;
}

.rating {
    color: var(--accent-orange);
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================== */
/* SEKCJA: WORK / EXPERIENCE (OŚ CZASU)       */
/* ========================================== */
.section-category-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-main);
}

.exp-list {
    position: relative;
    display: flex;
    flex-direction: column;
}

.exp-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    border-left: 1px dashed color-mix(in srgb, var(--accent-orange) 50%, rgba(255, 255, 255, 0.1));
    z-index: 1;
}

.exp-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 36px;
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.exp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: relative;
    z-index: 2;
}

.exp-company-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-dot {
    color: var(--accent-orange);
    font-size: 1.1rem;
    line-height: 1;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
}

.exp-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.exp-body {
    padding-left: 18px;
    position: relative;
    z-index: 2;
}

.exp-role {
    color: var(--text-muted);
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.exp-desc {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* Galeria miniaturek w doświadczeniach */
.photo-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-top: 12px;
}

.photo-card {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #111;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:active {
    transform: scale(0.94);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(85%) hue-rotate(-20deg) saturate(1.4) brightness(0.65);
    transition: filter 0.2s ease;
}

.photo-card:hover img {
    filter: sepia(40%) hue-rotate(-10deg) saturate(1.2) brightness(0.85);
}

/* ========================================== */
/* SEKCJA: KARTY, LISTY I EFEKT GLOW (POŚWIATA) */
/* ========================================== */
.list-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.item-card.clickable:hover {
    border-color: var(--text-muted);
    background-color: var(--card-hover);
}

.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        color-mix(in srgb, var(--accent-orange) 15%, transparent),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.glow-card:hover .card-glow {
    opacity: 1;
}

.glow-card > *:not(.card-glow) {
    position: relative;
    z-index: 2;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.item-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
}

.item-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.item-tag {
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================== */
/* SEKCJA: DOWNLOAD I MINIATURKI PLIKÓW       */
/* ========================================== */
.download-item h3 {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.download-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-thumb {
    width: 80px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #111;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(40%) contrast(1.1) brightness(0.85);
    transition: filter 0.2s ease;
}

.file-thumb:hover {
    border-color: var(--accent-orange);
    transform: scale(1.08);
}

.file-thumb:hover img {
    filter: sepia(0%) contrast(1.2) brightness(1);
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.file-icon {
    width: 13px;
    height: 13px;
    stroke: var(--accent-orange);
    display: inline-block;
    vertical-align: middle;
}

.download-item:hover .download-badge {
    border-color: color-mix(in srgb, var(--accent-orange) 40%, transparent);
    background: rgba(255, 255, 255, 0.06);
}

/* ========================================== */
/* SEKCJA: TAGI I FILTRY                      */
/* ========================================== */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.tech-tag {
    padding: 6px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: inline-block;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.tech-tag:hover {
    transform: translateY(-4px) scale(1.08);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.work-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: inherit;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.filter-btn.active, .filter-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

/* ========================================== */
/* SEKCJA: RETRO TERMINAL CLI                 */
/* ========================================== */
#retroTerminal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 650px;
    height: 320px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#retroTerminal.open {
    opacity: 1;
    visibility: visible;
}

.terminal-header {
    background: rgba(255,255,255,0.05);
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    cursor: grab;
    user-select: none;
}

.terminal-header:active {
    cursor: grabbing;
}

.terminal-body {
    padding: 14px;
    flex: 1;
    overflow-y: auto;
    font-size: 0.85rem;
    color: #4af626;
    line-height: 1.4;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
}

.terminal-input-line input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    outline: none;
    flex: 1;
    margin-left: 8px;
}

/* ========================================== */
/* SEKCJA: LIGHTBOX                           */
/* ========================================== */
#imageLightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#imageLightbox.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#imageLightbox .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.5) translateY(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.6s ease;
}

#imageLightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#imageLightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

#imageLightbox p {
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-align: center;
}

#imageLightbox button {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================== */
/* SEKCJA: LOGO, AVATAR I LICZNIK ODWIEDZIN   */
/* ========================================== */
.techno-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 6px;
    color: var(--text-main);
    letter-spacing: -0.2px;
    cursor: default;
    transition: all 0.25s ease;
    font-size: 1.75rem;
    font-family: 'JetBrains Mono', monospace;
}

.techno-logo:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px color-mix(in srgb, var(--accent-orange) 20%, transparent);
}

.logo-bracket {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-text {
    font-weight: 500;
    color: var(--text-main);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    margin-left: 4px;
    box-shadow: 0 0 8px var(--accent-orange);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-header-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    gap: 15px;
}

.brand-avatar {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(40%) grayscale(50%) contrast(1.1) brightness(0.85);
    transition: filter 0.25s ease;
}

.brand-avatar:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent-orange) 25%, transparent);
}

.brand-avatar:hover img {
    filter: sepia(0%) grayscale(0%) contrast(1.2) brightness(1);
}

.visitor-counter {
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    user-select: none;
}

.visitor-counter:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent-orange) 25%, transparent);
}

.counter-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

.counter-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: counterPulseAnim 2s infinite ease-in-out;
}

@keyframes counterPulseAnim {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@media(max-width: 640px) {
    .now-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .main-title {
        font-size: 2rem;
    }
}