@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

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

body { 
    font-family: 'Outfit', sans-serif; 
    font-size: 16px; 
    line-height: 1.6; 
    color: #e0e0e0; 
    background: #0d0d12; /* Deep dark background */
    background-image: radial-gradient(circle at top right, rgba(233, 30, 99, 0.15), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.1), transparent 40%);
    background-attachment: fixed;
}

a { color: #e91e63; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #ff6090; text-shadow: 0 0 8px rgba(233,30,99,0.4); }
img { max-width: 100%; height: auto; border-radius: 12px; }

/* HEADER */
#header-wrap { 
    background: rgba(13, 13, 18, 0.8); 
    backdrop-filter: blur(15px);
    width: 100%; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
#header { max-width: 1200px; margin: 0 auto; padding: 2em 1.5em; text-align: center; }
.site-title { font-size: 2.5em; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.site-title a { 
    background: linear-gradient(45deg, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.site-description { color: #aaa; font-size: 1em; margin-top: 0.5em; font-weight: 300; letter-spacing: 1px; }

/* MAIN WRAPPER */
#wrapper { max-width: 1200px; margin: 2em auto; padding: 0 1.5em; display: flex; flex-wrap: wrap; gap: 2em; }
#content { flex: 1; min-width: 0; }
.secondary { width: 320px; flex-shrink: 0; }

/* POST CARDS (Homepage Grid) */
body:not(.single-post) #content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
    align-items: start;
}

body:not(.single-post) .post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body:not(.single-post) .post:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(233, 30, 99, 0.2);
    border-color: rgba(233, 30, 99, 0.3);
}

body:not(.single-post) .post::before {
    content: 'VIP';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #d4af37, #f9a826);
    color: #000;
    font-size: 0.7em;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.post .entry-title { font-size: 1.5em; font-weight: 800; line-height: 1.3; margin-bottom: 0.8em; }
.post .entry-title a { color: #fff; }
.post .entry-title a:hover { color: #d4af37; text-shadow: none; }

body:not(.single-post) .entry-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #999;
    font-size: 0.95em;
    margin-bottom: 1.5em;
}

.read-more { 
    display: inline-block; 
    margin-top: auto; 
    padding: 0.8em 1.5em; 
    background: linear-gradient(45deg, #e91e63, #c2185b); 
    color: #fff; 
    font-weight: 600; 
    font-size: 0.9em; 
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(233,30,99,0.3);
}
.read-more:hover { background: linear-gradient(45deg, #c2185b, #e91e63); color: #fff; box-shadow: 0 6px 20px rgba(233,30,99,0.5); transform: scale(1.02); }

.post-meta-bottom { margin-top: 1.5em; padding-top: 1em; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.8em; color: #777; }
.post-meta-bottom a { color: #d4af37; }
.post-meta-bottom .meta-label { font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }

/* PAGINATION */
.pagination { text-align: center; padding: 2em 0; grid-column: 1 / -1; }
.pagination a, .pagination span { 
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; margin: 0 0.3em; 
    background: rgba(255,255,255,0.05); color: #fff; 
    font-weight: 600; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
}
.pagination span.current { background: linear-gradient(45deg, #e91e63, #c2185b); border-color: transparent; box-shadow: 0 0 10px rgba(233,30,99,0.4); }
.pagination a:hover { background: rgba(255,255,255,0.1); border-color: #d4af37; color: #d4af37; }

/* SIDEBAR WIDGETS */
.widget { 
    background: rgba(255,255,255,0.02); 
    padding: 1.5em; 
    margin-bottom: 1.5em; 
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.widget h3 { font-size: 1.2em; margin-bottom: 1em; color: #fff; font-weight: 800; border-bottom: 2px solid #e91e63; padding-bottom: 0.5em; display: inline-block; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { margin-bottom: 0.8em; font-size: 0.95em; position: relative; padding-left: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.8em; }
.widget ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.widget ul li::before { content: '›'; position: absolute; left: 0; color: #e91e63; font-weight: bold; font-size: 1.2em; top: -2px; }
.widget ul li a { color: #bbb; }
.widget ul li a:hover { color: #fff; }

.search-widget form { display: flex; gap: 10px; }
.search-widget input[type="text"] { 
    flex: 1; padding: 0.8em; 
    background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); 
    color: #fff; border-radius: 8px; outline: none; transition: border 0.3s;
}
.search-widget input[type="text"]:focus { border-color: #e91e63; }
.search-widget button { 
    padding: 0.8em 1.2em; background: #e91e63; color: #fff; 
    border: none; border-radius: 8px; font-weight: 600; cursor: pointer; 
}
.search-widget button:hover { background: #c2185b; }

/* SINGLE POST STYLES */
.single-post .post {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2.5em;
}
.single-post .entry-title { font-size: 2.5em; margin-bottom: 0.2em; color: #d4af37; text-align: center; }
.single-post .entry-meta { text-align: center; color: #666; margin-bottom: 2em; font-size: 0.9em; }

/* PROFILE STATS INJECTED BLOCK */
.profile-stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 2em 0;
    padding: 2em;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.profile-stats-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, #d4af37, #e91e63);
}
.stat-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 1em;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.03);
}
.stat-label {
    display: block;
    font-size: 0.8em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.stat-value {
    display: block;
    font-size: 1.5em;
    font-weight: 800;
    color: #fff;
}
.contact-btn-container {
    flex-basis: 100%;
    margin-top: 10px;
    text-align: center;
}
.reveal-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #111, #222);
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 1em 2em;
    font-size: 1.1em;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
.reveal-contact-btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}
.hidden-phone {
    display: none;
    font-size: 1.2em;
    letter-spacing: 2px;
}
.reveal-contact-btn.revealed .hidden-phone {
    display: inline-block;
}
.reveal-contact-btn.revealed .btn-text {
    display: none;
}

.single-post .entry-content p { margin-bottom: 1.2em; font-size: 1.05em; line-height: 1.8; color: #ccc; }
.single-post .entry-content h3 { font-size: 1.6em; color: #fff; margin: 1.5em 0 0.8em; }

/* COMMENTS */
.comment-form { background: rgba(255,255,255,0.02); padding: 2em; margin-top: 2em; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.comment-form h3 { font-size: 1.5em; color: #fff; margin-bottom: 1em; }
.comment-form label { color: #aaa; margin-bottom: 0.5em; }
.comment-form input, .comment-form textarea {
    width: 100%; padding: 1em; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; border-radius: 8px; margin-bottom: 1.2em; outline: none; transition: border 0.3s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #d4af37; }
.comment-form button {
    padding: 1em 2em; background: linear-gradient(45deg, #d4af37, #f3e5ab); color: #000;
    border: none; border-radius: 8px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s;
}
.comment-form button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212,175,55,0.3); }

/* FOOTER */
#footer-wrap { background: #050508; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 3em; padding: 2em 0; }
#footer { max-width: 1200px; margin: 0 auto; padding: 0 1.5em; display: flex; justify-content: space-between; color: #666; }
#footer span.smiley { color: #e91e63; }

@media (max-width: 900px) {
    #wrapper { flex-direction: column; }
    .secondary { width: 100%; }
    .single-post .post { padding: 1.5em; }
    .profile-stats-container { padding: 1.5em 1em; }
}
