/* Minecraft Pixel Art Style CSS */
@font-face {
  font-family: 'PressStart2P';
  src: url('/static/fonts/Press_Start_2P/PressStart2P-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
    --grass-green: #7cb518;
    --dark-green: #5a8a14;
    --dirt-brown: #8b5a2b;
    --wood-brown: #a0642a;
    --stone-gray: #7a7a7a;
    --dark-gray: #5a5a5a;
    --text-white: #ffffff;
    --text-yellow: #ffff55;
    --error-red: #ff5555;
    --water-blue: #5555ff;
    --iron-gray: #c6c6c6;
    --diamond-cyan: #55ffff;
    --coal-black: #2a2a2a;
}

/* Уведомления в правом верхнем углу */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.notification {
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--dark-green) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
    pointer-events: auto;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--dark-green) 100%);
}

.notification.error {
    background: linear-gradient(135deg, var(--error-red) 0%, #cc4444 100%);
}

.notification.info {
    background: linear-gradient(135deg, var(--water-blue) 0%, var(--diamond-cyan) 100%);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 4px, 
            rgba(255,255,255,0.1) 4px, 
            rgba(255,255,255,0.1) 8px);
    pointer-events: none;
}

.notification-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    text-shadow: 1px 1px 0 var(--coal-black);
    z-index: 2;
    padding: 4px;
    border-radius: 2px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(0,0,0,0.3);
}

/* Прогресс бар для автоскрытия */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--text-yellow);
    border-radius: 0 0 4px 4px;
    transition: width linear;
    z-index: 1;
}

/* Социальные кнопки */
.social-share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.social-share-content {
    background: linear-gradient(135deg, var(--stone-gray) 0%, var(--dark-gray) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 16px rgba(0,0,0,0.7);
    position: relative;
}

.social-share-content h3 {
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.social-btn {
    background: var(--grass-green);
    border: 2px solid var(--dark-green);
    border-radius: 4px;
    padding: 12px 8px;
    color: var(--text-white);
    text-decoration: none;
    text-shadow: 1px 1px 0 var(--coal-black);
    font-size: 8px;
    transition: all 0.2s;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    cursor: pointer;
}

.social-btn.discord {
    background: #5865f2;
    border-color: #4752c4;
}

.social-btn.vk {
    background: #0077ff;
    border-color: #0066cc;
}

.social-btn.telegram {
    background: #0088cc;
    border-color: #006699;
}

.social-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.social-btn-icon {
    font-size: 16px;
}

.social-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--error-red);
    border: 2px solid var(--coal-black);
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-white);
    font-size: 10px;
    cursor: pointer;
    font-family: inherit;
    text-shadow: 1px 1px 0 var(--coal-black);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,0,0,0.3);
}

.social-close:hover {
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

* {
    box-sizing: border-box;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'PressStart2P', monospace;
    background: linear-gradient(180deg, #87ceeb 0%, #87ceeb 30%, var(--grass-green) 30%, var(--grass-green) 35%, var(--dirt-brown) 35%, var(--dirt-brown) 100%);
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 12px;
}

/* Pixelated background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: 0 0, 8px 8px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, var(--wood-brown) 0%, var(--dirt-brown) 100%);
    border-bottom: 4px solid var(--coal-black);
    padding: 16px 0;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.5);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 25%, 
        rgba(255,255,255,0.3) 75%, 
        transparent 100%);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 48px;
    height: 48px;
    background: var(--grass-green);
    border: 2px solid var(--dark-green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3),
        2px 2px 4px rgba(0,0,0,0.5);
}

.site-name {
    font-size: 18px;
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.header-mods-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--stone-gray);
    color: var(--text-white);
    text-decoration: none;
    padding: 12px 16px;
    border: 2px solid var(--dark-gray);
    border-radius: 4px;
    font-size: 10px;
    transition: all 0.2s;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3),
        2px 2px 4px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.header-mods-link:hover {
    background: var(--iron-gray);
    transform: translate(1px, 1px);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.5),
        inset -2px -2px 0 rgba(0,0,0,0.5),
        1px 1px 2px rgba(0,0,0,0.5);
}

.header-mods-link:active {
    transform: translate(2px, 2px);
    box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
}

.slime-icon {
    width: 24px;
    height: 24px;
    background: var(--grass-green);
    border: 1px solid var(--dark-green);
    border-radius: 2px;
    display: inline-block;
}

/* Main Content */
.main {
    padding: 32px 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(135deg, var(--wood-brown) 0%, var(--dirt-brown) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 8px, 
            rgba(255,255,255,0.1) 8px, 
            rgba(255,255,255,0.1) 16px);
    pointer-events: none;
}

.hero h1 {
    font-size: 24px;
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 12px;
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.version-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.version-btn {
    background: var(--grass-green);
    color: var(--text-white);
    text-decoration: none;
    padding: 12px 20px;
    border: 2px solid var(--dark-green);
    border-radius: 4px;
    font-size: 10px;
    transition: all 0.2s;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3),
        2px 2px 4px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.version-btn:hover {
    background: var(--diamond-cyan);
    border-color: var(--water-blue);
    transform: translate(1px, 1px);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.5),
        inset -2px -2px 0 rgba(0,0,0,0.5),
        1px 1px 2px rgba(0,0,0,0.5);
}

/* Page Header */
.page-header {
    text-align: center;
    background: linear-gradient(135deg, var(--wood-brown) 0%, var(--dirt-brown) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.page-header h1 {
    font-size: 20px;
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 10px;
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin: 0;
}

.mods-count {
    display: inline-block;
    background: var(--grass-green);
    color: var(--text-white);
    padding: 8px 16px;
    border: 2px solid var(--dark-green);
    border-radius: 4px;
    font-size: 10px;
    margin-top: 12px;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 24px;
}

.sidebar-block {
    background: linear-gradient(135deg, var(--stone-gray) 0%, var(--dark-gray) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.sidebar-block h3 {
    font-size: 12px;
    color: var(--text-yellow);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--coal-black);
}

/* Popular Mods List */
.popular-mods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-mods li {
    margin-bottom: 8px;
}

.popular-mods a {
    color: var(--text-white);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    background: var(--dirt-brown);
    border: 2px solid var(--wood-brown);
    border-radius: 4px;
    font-size: 10px;
    transition: all 0.2s;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.2),
        inset -1px -1px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.popular-mods a:hover {
    background: var(--grass-green);
    border-color: var(--dark-green);
    transform: translate(1px, 1px);
}

/* Servers List */
.servers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servers-list li {
    margin-bottom: 8px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 12px;
    background: var(--dirt-brown);
    border: 2px solid var(--wood-brown);
    border-radius: 4px;
    font-size: 10px;
    transition: all 0.2s;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.2),
        inset -1px -1px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.server-item:hover {
    background: var(--water-blue);
    border-color: var(--diamond-cyan);
    transform: translate(1px, 1px);
}

.server-name {
    font-weight: normal;
}

.server-players {
    font-size: 8px;
    opacity: 0.8;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    max-width: 400px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--coal-black);
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: var(--text-white);
    color: var(--coal-black);
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    outline: none;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.3);
}

.search-input:focus {
    background: var(--text-yellow);
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.5);
}

.search-btn {
    padding: 12px 20px;
    border: 2px solid var(--coal-black);
    border-radius: 0 4px 4px 0;
    background: var(--grass-green);
    color: var(--text-white);
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.search-btn:hover {
    background: var(--dark-green);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

/* Mods List */
.mods-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.mod-card {
    background: linear-gradient(135deg, var(--stone-gray) 0%, var(--dark-gray) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.mod-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.3),
        inset -4px -4px 0 rgba(0,0,0,0.4),
        6px 6px 12px rgba(0,0,0,0.6);
    border-color: var(--text-yellow);
}

.mod-image {
    width: 100%;
    height: 150px;
    background: var(--dirt-brown);
    border-bottom: 2px solid var(--coal-black);
    overflow: hidden;
    position: relative;
}

.mod-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 4px, 
            rgba(0,0,0,0.1) 4px, 
            rgba(0,0,0,0.1) 8px);
    pointer-events: none;
}

.mod-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: transform 0.3s ease;
}

.mod-card:hover .mod-image img {
    transform: scale(1.1);
}

.mod-card-info {
    padding: 16px;
}

.mod-card-info h2 {
    font-size: 12px;
    color: var(--text-yellow);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.mod-card-info h2 a {
    color: inherit;
    text-decoration: none;
}

.mod-card-info p {
    font-size: 10px;
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mod-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mod-version, .mod-downloads {
    display: inline-block;
    padding: 4px 8px;
    border: 2px solid;
    border-radius: 4px;
    font-size: 8px;
    margin-right: 4px;
    margin-bottom: 4px;
    text-shadow: 1px 1px 0 var(--coal-black);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,0,0,0.3);
}

.mod-version {
    background: var(--grass-green);
    color: var(--text-white);
    border-color: var(--dark-green);
}

.mod-downloads {
    background: var(--water-blue);
    color: var(--text-white);
    border-color: var(--diamond-cyan);
    text-transform: uppercase;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
}

.page-btn {
    background: var(--stone-gray);
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 12px;
    border: 2px solid var(--coal-black);
    border-radius: 4px;
    font-size: 10px;
    font-family: 'PressStart2P', monospace;
    transition: all 0.2s;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.page-btn:hover, .page-btn.active {
    background: var(--grass-green);
    border-color: var(--dark-green);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Version Selector */
.version-selector {
    margin-bottom: 20px;
    text-align: center;
}

.version-selector label {
    display: block;
    color: var(--text-yellow);
    margin-bottom: 8px;
    font-size: 10px;
    text-shadow: 1px 1px 0 var(--coal-black);
}

.version-select {
    background: var(--text-white);
    color: var(--coal-black);
    border: 2px solid var(--coal-black);
    border-radius: 4px;
    padding: 8px 12px;
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    outline: none;
    cursor: pointer;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.3);
}

.version-select:focus {
    background: var(--text-yellow);
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.5);
}

/* Mod Detail Page */
.mod-detail {
    background: linear-gradient(135deg, var(--stone-gray) 0%, var(--dark-gray) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.mod-detail h1 {
    font-size: 20px;
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 24px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 4px solid var(--coal-black);
}

/* Slider */
.mod-slider {
    margin-bottom: 32px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    overflow: hidden;
    background: var(--dirt-brown);
    box-shadow: 
        inset 4px 4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--stone-gray);
    color: var(--text-white);
    border: 2px solid var(--coal-black);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-family: 'PressStart2P', monospace;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 var(--coal-black);
}

.slider-btn:hover {
    background: var(--grass-green);
    border-color: var(--dark-green);
    transform: translateY(-50%) translate(1px, 1px);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--stone-gray);
    border: 2px solid var(--coal-black);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,0,0,0.3);
}

.dot.active {
    background: var(--grass-green);
    border-color: var(--dark-green);
}

/* Mod Description */
.mod-description-full {
    margin-bottom: 32px;
}

.mod-description-full h3, .mod-description-full h4 {
    color: var(--text-yellow);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin: 20px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--coal-black);
}

.mod-description-full h3 {
    font-size: 14px;
}

.mod-description-full h4 {
    font-size: 12px;
}

.mod-description-full p, .mod-description-full li {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mod-description-full ul, .mod-description-full ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--wood-brown) 0%, var(--dirt-brown) 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.download-section h3 {
    font-size: 16px;
    color: var(--text-yellow);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--coal-black);
}

.download-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.download-btn {
    display: inline-block;
    padding: 12px 20px;
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    text-decoration: none;
    border: 2px solid;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    text-shadow: 1px 1px 0 var(--coal-black);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
}

.download-btn.primary {
    background: var(--grass-green);
    color: var(--text-white);
    border-color: var(--dark-green);
}

.download-btn.primary:hover {
    background: var(--dark-green);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.download-btn.secondary {
    background: var(--stone-gray);
    color: var(--text-white);
    border-color: var(--coal-black);
}

.download-btn.secondary:hover {
    background: var(--iron-gray);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--wood-brown) 0%, var(--dirt-brown) 100%);
    border-top: 4px solid var(--coal-black);
    color: var(--text-white);
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    box-shadow: 
        inset 0 4px 0 rgba(255,255,255,0.2),
        0 -4px 8px rgba(0,0,0,0.5);
}

.footer p {
    margin: 0;
    font-size: 10px;
    text-shadow: 1px 1px 0 var(--coal-black);
}

/* Error Page */
.error-page {
    text-align: center;
    background: linear-gradient(135deg, var(--error-red) 0%, #cc4444 100%);
    border: 4px solid var(--coal-black);
    border-radius: 8px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 
        inset 4px 4px 0 rgba(255,255,255,0.2),
        inset -4px -4px 0 rgba(0,0,0,0.3),
        4px 4px 8px rgba(0,0,0,0.5);
}

.error-page h1 {
    font-size: 24px;
    color: var(--text-white);
    text-shadow: 2px 2px 0 var(--coal-black);
    margin-bottom: 16px;
}

.error-page p {
    font-size: 12px;
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--coal-black);
    margin-bottom: 24px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-block;
    padding: 12px 20px;
    text-decoration: none;
    border: 2px solid;
    border-radius: 4px;
    font-family: 'PressStart2P', monospace;
    font-size: 10px;
    transition: all 0.2s;
    text-shadow: 1px 1px 0 var(--coal-black);
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.3),
        inset -2px -2px 0 rgba(0,0,0,0.3);
}

.error-actions .btn.primary {
    background: var(--grass-green);
    color: var(--text-white);
    border-color: var(--dark-green);
}

.error-actions .btn.primary:hover {
    background: var(--dark-green);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.error-actions .btn.secondary {
    background: var(--stone-gray);
    color: var(--text-white);
    border-color: var(--coal-black);
}

.error-actions .btn.secondary:hover {
    background: var(--iron-gray);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

/* Responsive Design */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sidebar {
        position: static;
    }
    
    .mods-list {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .download-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 10px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .header-mods-link {
        padding: 8px 12px;
        font-size: 8px;
    }
    
    .site-name {
        font-size: 14px;
    }
    
    .site-logo {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .slime-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero h1 {
        font-size: 16px;
    }
    
    .hero p {
        font-size: 10px;
    }
    
    .version-btn {
        padding: 8px 12px;
        font-size: 8px;
    }
    
    .page-header h1 {
        font-size: 14px;
    }
    
    .mod-detail {
        padding: 16px;
    }
    
    .mod-detail h1 {
        font-size: 16px;
    }
    
    .slider-container {
        height: 200px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .download-section {
        padding: 16px;
    }
    
    .download-section h3 {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .search-form {
        max-width: 100%;
    }
    
    .search-input, .search-btn {
        font-size: 8px;
        padding: 8px 12px;
    }
    
    .version-list {
        flex-direction: column;
        align-items: center;
    }
    
    .version-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
} 