.minewiki_main {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, #181a1c 0%, #1e2024 50%, #181a1c 100%);
    position: relative;
    overflow-x: hidden;
}

.minewiki_main::before {
    display: none;
}

.minewiki_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.minewiki_hero {
    text-align: center;
    margin-bottom: 0;
    padding: 1.5rem 0;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.minewiki_hero::before {
    display: none;
}

.minewiki_hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.75rem;
    position: relative;
    letter-spacing: 0.02em;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.minewiki_hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.minewiki_hero_cta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.5rem auto 1.5rem;
}

.minewiki_hero_cta strong {
    color: #fbbf24;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.minewiki_hero_cta strong:hover {
    color: #f59e0b;
    text-decoration-style: solid;
}

.minewiki_quick_links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.minewiki_quick_link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    color: #fbbf24;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.minewiki_quick_link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.minewiki_quick_link:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.minewiki_search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.minewiki_search_icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.minewiki_search_input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.minewiki_search_input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.minewiki_search_input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #fbbf24;
}

.minewiki_welcome_full {
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 32, 36, 0.8) 0%, rgba(37, 40, 48, 0.6) 100%);
    border-top: 1px solid rgba(251, 191, 36, 0.1);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    padding: 6rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: visible;
}

.minewiki_welcome_full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.minewiki_welcome_full h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.minewiki_welcome_full > .minewiki_container > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

#minewiki_content {
    background: linear-gradient(135deg, rgba(30, 32, 36, 0.8) 0%, rgba(37, 40, 48, 0.6) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#minewiki_content.loaded {
    opacity: 1;
    transform: scale(1);
}

#minewiki_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

#minewiki_content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.15), transparent);
    animation: slideShine 1s ease-in-out;
}

@keyframes slideShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.minewiki_modes_showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 968px) {
    .minewiki_modes_showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .minewiki_modes_showcase {
        grid-template-columns: 1fr;
    }
}

.minewiki_mode_card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.minewiki_mode_card:nth-child(1) { animation-delay: 0.1s; }
.minewiki_mode_card:nth-child(2) { animation-delay: 0.2s; }
.minewiki_mode_card:nth-child(3) { animation-delay: 0.3s; }
.minewiki_mode_card:nth-child(4) { animation-delay: 0.4s; }
.minewiki_mode_card:nth-child(5) { animation-delay: 0.5s; }
.minewiki_mode_card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.minewiki_mode_image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1a1c20;
}

.minewiki_mode_image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.minewiki_mode_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.minewiki_mode_card:hover .minewiki_mode_image img {
    transform: scale(1.15);
}

.minewiki_mode_card:hover .minewiki_mode_image::before {
    opacity: 0.7;
}

.minewiki_mode_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.minewiki_mode_info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.minewiki_mode_info h3::before {
    display: none;
}

.minewiki_mode_info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.minewiki_mode_card:hover .minewiki_mode_info {
    transform: translateY(-8px);
}

.minewiki_mode_card:hover .minewiki_mode_info p {
    opacity: 1;
}

.minewiki_mode_card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #fbbf24;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.minewiki_mode_card:hover::after {
    opacity: 1;
}

.minewiki_page h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    position: relative;
    display: inline-block;
}

.minewiki_page h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.minewiki_page h3 {
    font-size: 1.75rem;
    color: #fbbf24;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.minewiki_page h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.minewiki_page p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.minewiki_page ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.minewiki_page ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    transition: all 0.2s ease;
}

.minewiki_page ul li:hover {
    color: #fff;
    padding-left: 2.25rem;
}

.minewiki_page ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
}

.minewiki_page code {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

@media (max-width: 768px) {
    .minewiki_main {
        padding-top: 160px;
    }
    
    .minewiki_hero h1 {
        font-size: 2.5rem;
    }
    
    .minewiki_hero p {
        font-size: 1rem;
    }
    
    #minewiki_content {
        padding: 2rem 1.5rem;
    }
    
    .minewiki_page h2 {
        font-size: 2rem;
    }
    
    .minewiki_page h3 {
        font-size: 1.5rem;
    }
}
