/* ==========================================================
   PROJECT VISION · PATCH NOTES STYLES
   ========================================================== */

.patch-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

/* ===== PATCH VERSION ===== */
.patch-version {
    background: rgba(19, 26, 36, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.patch-version:hover {
    border-color: var(--border-bright);
}

.version-header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface), rgba(0, 229, 255, 0.03));
    position: relative;
}

.version-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
}

.version-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.version-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--cyan);
    color: var(--bg);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.version-tag.latest {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--cyan-glow); }
    50% { box-shadow: 0 0 30px var(--cyan), 0 0 60px var(--cyan-glow); }
}

.version-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px var(--cyan-glow);
}

.version-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-faint);
    margin-left: auto;
}

.version-summary h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.version-summary p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== PATCH CATEGORIES ===== */
.patch-categories {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.patch-category {
    padding: 20px 24px;
    border-radius: 8px;
    background: rgba(10, 13, 18, 0.5);
    border: 1px solid;
    transition: all 0.3s ease;
}

.cat-new {
    border-color: rgba(0, 217, 122, 0.3);
    background: rgba(0, 217, 122, 0.04);
}

.cat-improved {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.04);
}

.cat-fixed {
    border-color: rgba(255, 184, 0, 0.3);
    background: rgba(255, 184, 0, 0.04);
}

.cat-removed {
    border-color: rgba(255, 56, 96, 0.3);
    background: rgba(255, 56, 96, 0.04);
}

.patch-category:hover {
    transform: translateX(4px);
}

.patch-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.patch-cat-icon {
    font-size: 18px;
}

.cat-new .patch-cat-title { color: #4dd99a; }
.cat-improved .patch-cat-title { color: var(--cyan); }
.cat-fixed .patch-cat-title { color: var(--warn); }
.cat-removed .patch-cat-title { color: var(--danger); }

.patch-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.patch-list li {
    padding: 8px 0 8px 28px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid rgba(31, 42, 56, 0.4);
}

.patch-list li:last-child {
    border-bottom: none;
}

.patch-list li::before {
    content: '▸';
    position: absolute;
    left: 8px;
    font-weight: 700;
}

.cat-new .patch-list li::before { color: #4dd99a; }
.cat-improved .patch-list li::before { color: var(--cyan); }
.cat-fixed .patch-list li::before { color: var(--warn); }
.cat-removed .patch-list li::before { color: var(--danger); }

/* ===== COMING SOON ===== */
.patch-coming-soon {
    margin-top: 60px;
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(176, 77, 255, 0.05));
    border: 1px dashed var(--cyan);
    border-radius: 12px;
    text-align: center;
}

.coming-icon {
    font-size: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px var(--cyan-glow));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.patch-coming-soon h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.patch-coming-soon > p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.coming-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.coming-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(19, 26, 36, 0.6);
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.coming-item:hover {
    border-color: var(--cyan);
    color: var(--text);
    transform: translateY(-2px);
}

.coming-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .patch-container { padding: 24px 16px 80px; }
    .version-header { padding: 20px; }
    .version-info { gap: 10px; }
    .version-date { margin-left: 0; width: 100%; }
    .patch-categories { padding: 20px; gap: 16px; }
    .patch-category { padding: 16px 18px; }
    .coming-list { flex-direction: column; align-items: center; }
}

/* ===== TOM-TILSTAND ===== */
.patch-empty {
    text-align: center;
    padding: 100px 40px;
    background: rgba(19, 26, 36, 0.4);
    border: 1px dashed var(--border-bright);
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.patch-empty-icon {
    font-size: 100px;
    margin-bottom: 24px;
    opacity: 0.6;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.patch-empty h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.patch-empty p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.patch-empty-sub {
    font-size: 14px !important;
    color: var(--text-faint) !important;
    margin-bottom: 32px !important;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .patch-empty { padding: 60px 24px; }
    .patch-empty-icon { font-size: 70px; }
}
