/*
Theme Name: AlienWeb Final
Description: Final dark theme with improved layout and design
Template: generatepress
Version: 3.0.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #2a2a2a;
    color: #fff;
    overflow-x: hidden;
}

::selection {
    background: #0d7377;
    color: white;
}

.alien-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
}

.alien-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.alien-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 200;
    margin-bottom: 4rem;
    color: #fff;
    letter-spacing: -2px;
}

.alien-domain {
    color: #0d7377;
}

.alien-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.alien-search-box {
    width: 100%;
    padding: 0.8rem 3.5rem 0.8rem 1.2rem;
    font-size: 0.95rem;
    background: #000 !important;
    border: 2px solid rgba(13, 115, 119, 0.4);
    border-radius: 25px;
    color: #fff !important;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.alien-search-box:focus {
    outline: none;
    border-color: #0d7377;
    box-shadow: 0 0 40px rgba(13, 115, 119, 0.6), 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #000 !important;
}

.alien-search-box::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.alien-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 115, 119, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alien-search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: #0d7377;
}

.alien-search-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.alien-toggle {
    background: transparent;
    border: 2px solid #0d7377;
    color: #0d7377;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alien-toggle:hover {
    background: #0d7377;
    color: white;
    transform: translateY(-2px);
}

.alien-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.alien-services.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.alien-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.alien-service:hover {
    background: rgba(13, 115, 119, 0.15);
    border-color: rgba(13, 115, 119, 0.5);
    transform: translateY(-8px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(13, 115, 119, 0.2);
}

.alien-service-icon {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.alien-service:hover .alien-service-icon {
    filter: grayscale(0);
}

.alien-service-name {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.alien-sidebar {
    position: fixed;
    left: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(13, 115, 119, 0.3);
}

.alien-sidebar.active {
    left: 0;
}

.alien-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alien-sidebar-title {
    color: #0d7377;
    font-size: 1.8rem;
    font-weight: 600;
}

.alien-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.alien-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.alien-sidebar-links {
    padding: 2rem 0;
}

.alien-sidebar-link {
    display: block;
    padding: 1.2rem 2rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 1.1rem;
}

.alien-sidebar-link:hover {
    background: rgba(13, 115, 119, 0.2);
    border-left-color: #0d7377;
    color: #fff;
    text-decoration: none;
    padding-left: 2.5rem;
}

.alien-menu {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    background: rgba(13, 115, 119, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(13, 115, 119, 0.4);
}

.alien-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 115, 119, 0.6);
}

.alien-menu-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.alien-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    margin-top: 2rem;
}

.alien-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.alien-footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.alien-footer-link:hover {
    color: #0d7377;
    text-decoration: none;
}

.top-ad-section {
    width: 100%;
    background: rgba(13, 115, 119, 0.05);
    border-bottom: 1px solid rgba(13, 115, 119, 0.2);
    padding: 1rem 0;
}

.top-ad-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(13, 115, 119, 0.08);
    border: 2px dashed rgba(13, 115, 119, 0.25);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #0d7377;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
}

/* Blog Post Styling */
body:not(.home) {
    background: #1a1a1a;
}

.site-content {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 4rem 0;
    min-height: 100vh;
}

.content-area {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.main-content {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    order: 1;
}

.sidebar {
    order: 2;
    position: sticky;
    top: 2rem;
    height: fit-content;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar h3 {
    color: #0d7377;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 115, 119, 0.3);
}

.sidebar-posts {
    list-style: none;
    padding: 0;
}

.sidebar-posts li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-posts a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    font-weight: 500;
}

.sidebar-posts a:hover {
    color: #0d7377;
}

.entry-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(13, 115, 119, 0.2);
}

.entry-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.15rem;
    color: #d0d0d0;
    text-align: left;
}

.entry-content h2 {
    font-size: 2rem;
    color: #0d7377;
    margin-top: 3rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid rgba(13, 115, 119, 0.3);
}

.entry-content a {
    color: #0d7377;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.entry-content a:hover {
    border-bottom-color: #0d7377;
}



@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 3fr 1fr;
    }
    
    .main-content {
        padding: 3rem 4rem;
    }
}

@media (max-width: 900px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 2rem 3rem;
    }
}

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

@media (max-width: 768px) {
    .content-area {
        padding: 0 1rem;
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 2rem 1.5rem;
        order: 1;
    }
    
    .sidebar {
        order: 2;
    }
    
    .alien-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .alien-service {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 500px) {
    .posts-list {
        grid-template-columns: 1fr;
    }
}