/*
Theme Name: AlienWeb Unique
Description: Unique dark theme matching the exact design
Template: generatepress
Version: 1.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;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="6" fill="%231fb8cd"/><circle cx="8" cy="8" r="2" fill="white"/></svg>'), auto;
}

::selection {
    background: #1fb8cd;
    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: #1fb8cd;
}

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

.alien-search-box {
    width: 100%;
    padding: 1.8rem 6rem 1.8rem 2.5rem;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(31, 184, 205, 0.4);
    border-radius: 15px;
    color: #fff;
    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: #1fb8cd;
    box-shadow: 0 0 40px rgba(31, 184, 205, 0.6), 0 10px 40px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

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

.alien-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1fb8cd 0%, #17a2b8 100%);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(31, 184, 205, 0.5);
    cursor: pointer;
}

.alien-search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(31, 184, 205, 0.7);
}

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

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

.alien-toggle:hover {
    background: #1fb8cd;
    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(31, 184, 205, 0.15);
    border-color: rgba(31, 184, 205, 0.5);
    transform: translateY(-8px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(31, 184, 205, 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(31, 184, 205, 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: #1fb8cd;
    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(31, 184, 205, 0.2);
    border-left-color: #1fb8cd;
    color: #fff;
    text-decoration: none;
    padding-left: 2.5rem;
}

.alien-menu {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    background: rgba(31, 184, 205, 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(31, 184, 205, 0.4);
}

.alien-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(31, 184, 205, 0.6);
}

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

@media (max-width: 768px) {
    .alien-content {
        padding: 1rem;
    }
    
    .alien-title {
        font-size: 3rem;
        margin-bottom: 3rem;
    }
    
    .alien-search-box {
        padding: 1.5rem 5rem 1.5rem 2rem;
        font-size: 1.1rem;
    }
    
    .alien-search-btn {
        width: 55px;
        height: 55px;
        right: 8px;
    }
    
    .alien-search-icon {
        width: 24px;
        height: 24px;
    }
    
    .alien-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .alien-service {
        padding: 1.5rem 1rem;
    }
    
    .alien-menu {
        top: 1.5rem;
        left: 1.5rem;
        width: 55px;
        height: 55px;
    }
    
    .alien-sidebar {
        width: 320px;
        left: -320px;
    }
}

.alien-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    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;
}

.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: #1fb8cd;
    text-decoration: none;
}

@media (max-width: 768px) {
    .alien-footer-links {
        gap: 1.5rem;
    }
    
    .alien-footer-link {
        font-size: 0.8rem;
    }
}

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

.site-header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(31, 184, 205, 0.3);
}

.main-navigation {
    background: transparent;
}

.main-navigation a {
    color: #fff;
}

.main-navigation a:hover {
    color: #1fb8cd;
}

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

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

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

.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(31, 184, 205, 0.3);
}

.sidebar-ad {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(31, 184, 205, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #888;
    margin-bottom: 2.5rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.latest-posts {
    list-style: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.latest-posts li {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

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

.latest-posts li:hover {
    padding-left: 0.5rem;
}

.latest-posts a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.98rem;
    line-height: 1.5;
    display: block;
    font-weight: 500;
}

.latest-posts a:hover {
    color: #1fb8cd;
}

.latest-posts .post-date {
    color: #666;
    font-size: 0.82rem;
    margin-top: 0.4rem;
    font-weight: 400;
}

.entry-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(31, 184, 205, 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-meta {
    color: #999;
    font-size: 0.95rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.entry-meta a {
    color: #1fb8cd;
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #fff;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.entry-content h2 {
    font-size: 2rem;
    color: #1fb8cd;
    margin-top: 3rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid rgba(31, 184, 205, 0.3);
}

.entry-content h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-top: 2.5rem;
}

.entry-content p {
    margin-bottom: 1.8rem;
    color: #d0d0d0;
    line-height: 1.9;
}

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

.entry-content a:hover {
    border-bottom-color: #1fb8cd;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.entry-content blockquote {
    background: rgba(31, 184, 205, 0.1);
    border-left: 4px solid #1fb8cd;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #fff;
}

.entry-content code {
    background: rgba(255, 255, 255, 0.1);
    color: #1fb8cd;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.entry-content pre {
    background: rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.entry-content th,
.entry-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content th {
    background: rgba(31, 184, 205, 0.2);
    color: #fff;
    font-weight: 600;
}

/* Search Form Styling */
.search-form {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(31, 184, 205, 0.3);
    border-radius: 25px;
    color: #fff !important;
    font-size: 1rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #1fb8cd;
    box-shadow: 0 0 20px rgba(31, 184, 205, 0.3);
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #1fb8cd;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.comment-body {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-author {
    color: #1fb8cd;
    font-weight: 600;
}

.comment-content p {
    color: #e0e0e0;
}

/* Sidebar */
.widget {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title {
    color: #1fb8cd;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget a {
    color: #e0e0e0;
    text-decoration: none;
}

.widget a:hover {
    color: #1fb8cd;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover,
.pagination .current {
    background: #1fb8cd;
    color: white;
}

@media (max-width: 768px) {
    .content-area {
        padding: 0 1rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        order: -1;
        padding: 1.5rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
}

/* Home Page Ads and Posts */
.alien-ads {
    margin: 3rem auto 2rem;
    max-width: 600px;
}

.ad-banner {
    background: rgba(31, 184, 205, 0.1);
    border: 2px dashed rgba(31, 184, 205, 0.3);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: #1fb8cd;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.alien-posts {
    margin: 2rem auto;
    max-width: 700px;
}

.alien-posts h3 {
    color: #1fb8cd;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.posts-list {
    display: grid;
    gap: 1.5rem;
}

.post-item {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.post-item:hover {
    background: rgba(31, 184, 205, 0.1);
    border-color: rgba(31, 184, 205, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.post-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    padding: 1rem;
    flex: 1;
}

.post-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.post-date {
    color: #888;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .alien-services {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .alien-service {
        padding: 1rem 0.5rem;
    }
    
    .alien-service-name {
        font-size: 0.75rem;
    }
    
    .alien-footer-links {
        gap: 1rem;
    }
    
    .alien-footer-link {
        font-size: 0.75rem;
    }
    
    .content-area {
        padding: 0 0.5rem;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumb {
        width: 100%;
        height: 120px;
    }
}